From 5452f6b8bdcd1b0833b29c668a74cbbe1de4e1cc Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 10:48:57 -0700 Subject: [PATCH 01/22] Generated from 39693d5bf0b0ec572700408818f3b1e84be93fba (#1317) (#1319) Plug SwaggerToSdk to LogAnalyticsMgmt --- azure_sdk/lib/azure_sdk.rb | 2 +- .../operationalinsights_profile_module.rb | 78 +++--- .../azure_mgmt_operational_insights.rb | 29 ++- .../models/core_summary.rb | 3 - .../models/link_target.rb | 5 - .../models/operation.rb | 3 - .../models/operation_display.rb | 4 - .../models/operation_list_result.rb | 3 - .../models/proxy_resource.rb | 6 - .../models/purge_state.rb | 16 ++ .../models/resource.rb | 7 - .../models/saved_search.rb | 11 - .../models/saved_searches_list_result.rb | 4 - .../models/search_error.rb | 3 - .../models/search_get_schema_response.rb | 4 - .../models/search_highlight.rb | 3 - .../models/search_metadata.rb | 20 -- .../models/search_metadata_schema.rb | 3 - .../models/search_parameters.rb | 6 - .../models/search_results_response.rb | 6 - .../models/search_schema_value.rb | 9 - .../models/search_sort.rb | 3 - .../models/storage_account.rb | 3 - .../models/storage_insight.rb | 13 - .../models/storage_insight_list_result.rb | 4 - .../models/storage_insight_status.rb | 3 - .../models/tag.rb | 3 - .../models/workspace_purge_body.rb | 63 +++++ .../models/workspace_purge_body_filters.rb | 68 ++++++ .../models/workspace_purge_response.rb | 45 ++++ .../models/workspace_purge_status_response.rb | 45 ++++ .../operational_insights_management_client.rb | 15 +- .../operations.rb | 11 +- .../saved_searches.rb | 72 +++--- .../storage_insights.rb | 75 +++--- .../version.rb | 8 + .../workspaces.rb | 229 +++++++++++++++--- .../data_sources.rb | 75 +++--- .../linked_services.rb | 58 ++--- .../models/data_source.rb | 9 - .../models/data_source_filter.rb | 2 - .../models/data_source_list_result.rb | 4 - .../models/intelligence_pack.rb | 4 - .../models/linked_service.rb | 7 - .../models/linked_service_list_result.rb | 3 - .../models/management_group.rb | 9 - .../models/metric_name.rb | 3 - .../models/operation.rb | 3 - .../models/operation_display.rb | 4 - .../models/operation_list_result.rb | 4 - .../models/proxy_resource.rb | 6 - .../models/resource.rb | 7 - .../models/shared_keys.rb | 3 - .../models/sku.rb | 5 +- .../models/sku_name_enum.rb | 1 + .../models/usage_metric.rb | 7 - .../models/workspace.rb | 14 -- ...workspace_list_management_groups_result.rb | 3 - .../models/workspace_list_result.rb | 3 - .../models/workspace_list_usages_result.rb | 3 - .../operational_insights_management_client.rb | 7 +- .../operations.rb | 28 +-- .../version.rb | 8 + .../workspaces.rb | 173 ++++++------- .../lib/azure_mgmt_operational_insights.rb | 2 +- .../operationalinsights_profile_module.rb | 78 +++--- 66 files changed, 772 insertions(+), 646 deletions(-) create mode 100644 management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/purge_state.rb create mode 100644 management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb create mode 100644 management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb create mode 100644 management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb create mode 100644 management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb create mode 100644 management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/version.rb create mode 100644 management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/version.rb diff --git a/azure_sdk/lib/azure_sdk.rb b/azure_sdk/lib/azure_sdk.rb index 4de13c3d8b..3d3eabaa94 100644 --- a/azure_sdk/lib/azure_sdk.rb +++ b/azure_sdk/lib/azure_sdk.rb @@ -2,5 +2,5 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require 'latest/latest_profile_client' require 'v2017_03_09/v2017_03_09_profile_client' +require 'latest/latest_profile_client' diff --git a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb index 433f83f104..5f7eec328a 100644 --- a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb @@ -15,26 +15,31 @@ module Mgmt Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations module Models - SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError - SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue - LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse - CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary SearchHighlight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight - SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema + LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget SearchParameters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters - SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch + CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount + SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus - Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag - SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort + 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 + SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError + WorkspacePurgeBodyFilters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters + Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + 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 + WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse 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 MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName OperationDisplay = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric @@ -103,57 +108,69 @@ def method_missing(method, *args) end class ModelClasses - def search_error - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError - end - def search_results_response - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse - end def search_schema_value Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue end - def link_target - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget - end def search_get_schema_response Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse end - def core_summary - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary - end def search_highlight Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight end - def search_metadata_schema - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema + def link_target + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget end def search_parameters Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters end - def saved_search - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch + def core_summary + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary end def storage_account Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount end + def search_metadata_schema + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema + end def storage_insight_status Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus end - def tag - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag - end - def search_sort - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort + 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 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 + def workspace_purge_body_filters + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters + end + def tag + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + end + def workspace_purge_body + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody + end + def workspace_purge_response + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse + end def search_metadata Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata 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 end @@ -163,6 +180,9 @@ def search_sort_enum def storage_insight_state Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState end + def purge_state + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState + end def metric_name Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName end diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights.rb index 098a8d5748..b4fbe7f59c 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights.rb @@ -27,30 +27,35 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20 autoload :OperationalInsightsManagementClient, '2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb' module Models - autoload :SearchError, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb' - autoload :SearchResultsResponse, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb' - autoload :Operation, '2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb' autoload :SearchSchemaValue, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_schema_value.rb' - autoload :LinkTarget, '2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb' autoload :SearchGetSchemaResponse, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb' - autoload :CoreSummary, '2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb' + autoload :Operation, '2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb' autoload :SearchHighlight, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_highlight.rb' - autoload :SearchMetadataSchema, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb' + autoload :LinkTarget, '2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb' autoload :SearchParameters, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb' - autoload :SavedSearch, '2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb' + autoload :CoreSummary, '2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb' autoload :StorageAccount, '2015-03-20/generated/azure_mgmt_operational_insights/models/storage_account.rb' - autoload :OperationDisplay, '2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb' + autoload :SearchMetadataSchema, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb' autoload :StorageInsightStatus, '2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb' - autoload :Tag, '2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb' - autoload :SearchSort, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort.rb' + autoload :SavedSearch, '2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb' autoload :SavedSearchesListResult, '2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb' + autoload :SearchResultsResponse, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb' autoload :StorageInsightListResult, '2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb' - autoload :SearchMetadata, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb' - autoload :Resource, '2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb' autoload :OperationListResult, '2015-03-20/generated/azure_mgmt_operational_insights/models/operation_list_result.rb' + autoload :Resource, '2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb' + autoload :SearchSort, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort.rb' autoload :ProxyResource, '2015-03-20/generated/azure_mgmt_operational_insights/models/proxy_resource.rb' + autoload :SearchError, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb' + autoload :WorkspacePurgeBodyFilters, '2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb' + autoload :Tag, '2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb' + autoload :WorkspacePurgeBody, '2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb' + autoload :OperationDisplay, '2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb' + autoload :WorkspacePurgeResponse, '2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb' + autoload :SearchMetadata, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb' + autoload :WorkspacePurgeStatusResponse, '2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb' autoload :StorageInsight, '2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight.rb' autoload :SearchSortEnum, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb' autoload :StorageInsightState, '2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb' + autoload :PurgeState, '2015-03-20/generated/azure_mgmt_operational_insights/models/purge_state.rb' end end diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb index 6cadd2dacd..d68f8f41f5 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb @@ -25,7 +25,6 @@ class CoreSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CoreSummary', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'CoreSummary', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, number_of_documents: { - client_side_validation: true, required: true, serialized_name: 'numberOfDocuments', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb index 1505816449..df2f4a4656 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb @@ -31,7 +31,6 @@ class LinkTarget # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinkTarget', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'LinkTarget', model_properties: { customer_id: { - client_side_validation: true, required: false, serialized_name: 'customerId', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'accountName', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, workspace_name: { - client_side_validation: true, required: false, serialized_name: 'workspaceName', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb index f1701555cd..28c258cddd 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb @@ -26,7 +26,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb index 257a8e8a7e..1d1581fe46 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb @@ -28,7 +28,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_list_result.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_list_result.rb index 6570056b10..286b34b521 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_list_result.rb @@ -23,7 +23,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'OperationListResult', 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_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/proxy_resource.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/proxy_resource.rb index 3d91acffd6..acca4d46d7 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/proxy_resource.rb @@ -31,7 +31,6 @@ class ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ProxyResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ProxyResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -66,13 +62,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_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/purge_state.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/purge_state.rb new file mode 100644 index 0000000000..dcd8cde22f --- /dev/null +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/purge_state.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::OperationalInsights::Mgmt::V2015_03_20 + module Models + # + # Defines values for PurgeState + # + module PurgeState + Pending = "Pending" + Completed = "Completed" + end + end +end diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb index e65f371de6..2ea9ce92fb 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb index f14304175d..d090925002 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb @@ -50,7 +50,6 @@ class SavedSearch # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SavedSearch', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'SavedSearch', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -67,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -76,7 +73,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -85,7 +81,6 @@ def self.mapper() } }, e_tag: { - client_side_validation: true, required: false, serialized_name: 'eTag', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, category: { - client_side_validation: true, required: true, serialized_name: 'properties.category', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: true, serialized_name: 'properties.displayName', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, query: { - client_side_validation: true, required: true, serialized_name: 'properties.query', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: true, serialized_name: 'properties.version', constraints: { @@ -129,13 +120,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'properties.tags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TagElementType', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb index 63e14ea9a3..66b899d20a 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb @@ -25,7 +25,6 @@ class SavedSearchesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SavedSearchesListResult', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SavedSearchesListResult', model_properties: { metadata: { - client_side_validation: true, required: false, serialized_name: 'metaData', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SavedSearchElementType', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb index f3d54ea320..1b3ba3134c 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb @@ -25,7 +25,6 @@ class SearchError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SearchError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SearchError', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb index e534177757..4079c33a3a 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb @@ -25,7 +25,6 @@ class SearchGetSchemaResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SearchGetSchemaResponse', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SearchGetSchemaResponse', model_properties: { metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SearchSchemaValueElementType', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_highlight.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_highlight.rb index 6cf868755d..04e46b4ff3 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_highlight.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_highlight.rb @@ -25,7 +25,6 @@ class SearchHighlight # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SearchHighlight', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SearchHighlight', model_properties: { pre: { - client_side_validation: true, required: false, serialized_name: 'pre', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, post: { - client_side_validation: true, required: false, serialized_name: 'post', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb index 37dbc050ef..9b97c251bd 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb @@ -70,7 +70,6 @@ class SearchMetadata # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SearchMetadata', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'SearchMetadata', model_properties: { search_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, result_type: { - client_side_validation: true, required: false, serialized_name: 'resultType', type: { @@ -94,7 +91,6 @@ def self.mapper() } }, total: { - client_side_validation: true, required: false, serialized_name: 'total', type: { @@ -102,7 +98,6 @@ def self.mapper() } }, top: { - client_side_validation: true, required: false, serialized_name: 'top', type: { @@ -110,7 +105,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -118,13 +112,11 @@ def self.mapper() } }, core_summaries: { - client_side_validation: true, required: false, serialized_name: 'coreSummaries', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'CoreSummaryElementType', type: { @@ -135,7 +127,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -143,7 +134,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -151,7 +141,6 @@ def self.mapper() } }, last_updated: { - client_side_validation: true, required: false, serialized_name: 'lastUpdated', type: { @@ -159,7 +148,6 @@ def self.mapper() } }, e_tag: { - client_side_validation: true, required: false, serialized_name: 'eTag', type: { @@ -167,13 +155,11 @@ def self.mapper() } }, sort: { - client_side_validation: true, required: false, serialized_name: 'sort', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SearchSortElementType', type: { @@ -184,7 +170,6 @@ def self.mapper() } }, request_time: { - client_side_validation: true, required: false, serialized_name: 'requestTime', type: { @@ -192,7 +177,6 @@ def self.mapper() } }, aggregated_value_field: { - client_side_validation: true, required: false, serialized_name: 'aggregatedValueField', type: { @@ -200,7 +184,6 @@ def self.mapper() } }, aggregated_grouping_fields: { - client_side_validation: true, required: false, serialized_name: 'aggregatedGroupingFields', type: { @@ -208,7 +191,6 @@ def self.mapper() } }, sum: { - client_side_validation: true, required: false, serialized_name: 'sum', type: { @@ -216,7 +198,6 @@ def self.mapper() } }, max: { - client_side_validation: true, required: false, serialized_name: 'max', type: { @@ -224,7 +205,6 @@ def self.mapper() } }, schema: { - client_side_validation: true, required: false, serialized_name: 'schema', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb index 9341e42c25..1a618e4aac 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb @@ -25,7 +25,6 @@ class SearchMetadataSchema # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SearchMetadataSchema', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SearchMetadataSchema', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb index a7cdb8cd4b..9722b8aadb 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb @@ -37,7 +37,6 @@ class SearchParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SearchParameters', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'SearchParameters', model_properties: { top: { - client_side_validation: true, required: false, serialized_name: 'top', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, highlight: { - client_side_validation: true, required: false, serialized_name: 'highlight', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, query: { - client_side_validation: true, required: true, serialized_name: 'query', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, start: { - client_side_validation: true, required: false, serialized_name: 'start', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, end_property: { - client_side_validation: true, required: false, serialized_name: 'end', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb index 30edf0c49d..65a7a867f4 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb @@ -31,7 +31,6 @@ class SearchResultsResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SearchResultsResponse', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'SearchResultsResponse', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'metaData', type: { @@ -57,13 +54,11 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { @@ -73,7 +68,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_schema_value.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_schema_value.rb index 39938d7fa6..289d891b76 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_schema_value.rb @@ -43,7 +43,6 @@ class SearchSchemaValue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SearchSchemaValue', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'SearchSchemaValue', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, indexed: { - client_side_validation: true, required: true, serialized_name: 'indexed', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, stored: { - client_side_validation: true, required: true, serialized_name: 'stored', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, facet: { - client_side_validation: true, required: true, serialized_name: 'facet', type: { @@ -99,13 +92,11 @@ def self.mapper() } }, owner_type: { - client_side_validation: true, required: false, serialized_name: 'ownerType', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort.rb index 6c649b4141..d2a6ac4526 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort.rb @@ -26,7 +26,6 @@ class SearchSort # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SearchSort', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'SearchSort', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, order: { - client_side_validation: true, required: false, serialized_name: 'order', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_account.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_account.rb index d432a926a8..bb0a2cf634 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_account.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_account.rb @@ -26,7 +26,6 @@ class StorageAccount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'StorageAccount', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, key: { - client_side_validation: true, required: true, serialized_name: 'key', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight.rb index e2a9c27aae..a2a4144ac8 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight.rb @@ -36,7 +36,6 @@ class StorageInsight < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageInsight', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'StorageInsight', 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,13 +67,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: { @@ -87,13 +81,11 @@ def self.mapper() } }, containers: { - client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +95,11 @@ def self.mapper() } }, tables: { - client_side_validation: true, required: false, serialized_name: 'properties.tables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +109,6 @@ def self.mapper() } }, storage_account: { - client_side_validation: true, required: true, serialized_name: 'properties.storageAccount', type: { @@ -128,7 +117,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', @@ -138,7 +126,6 @@ def self.mapper() } }, e_tag: { - client_side_validation: true, required: false, serialized_name: 'eTag', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb index e6c991e258..8d278e74e9 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageInsightListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'StorageInsightListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageInsightElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, odata_next_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb index 5f190500b1..1eff249c60 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb @@ -26,7 +26,6 @@ class StorageInsightStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageInsightStatus', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'StorageInsightStatus', model_properties: { state: { - client_side_validation: true, required: true, serialized_name: 'state', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb index 5d639f90fd..7e894e98c0 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb @@ -25,7 +25,6 @@ class Tag # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Tag', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Tag', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb new file mode 100644 index 0000000000..6f433657e6 --- /dev/null +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb @@ -0,0 +1,63 @@ +# 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::OperationalInsights::Mgmt::V2015_03_20 + module Models + # + # Describes the body of a purge request for an App Insights Workspace + # + class WorkspacePurgeBody + + include MsRestAzure + + # @return [String] Table from which to purge data. + attr_accessor :table + + # @return [Array] The set of columns and + # filters (queries) to run over them to purge the resulting data. + attr_accessor :filters + + + # + # Mapper for WorkspacePurgeBody class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'WorkspacePurgeBody', + type: { + name: 'Composite', + class_name: 'WorkspacePurgeBody', + model_properties: { + table: { + required: true, + serialized_name: 'table', + type: { + name: 'String' + } + }, + filters: { + required: true, + serialized_name: 'filters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'WorkspacePurgeBodyFiltersElementType', + type: { + name: 'Composite', + class_name: 'WorkspacePurgeBodyFilters' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb new file mode 100644 index 0000000000..5d48240e5a --- /dev/null +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb @@ -0,0 +1,68 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::OperationalInsights::Mgmt::V2015_03_20 + module Models + # + # User-defined filters to return data which will be purged from the table. + # + class WorkspacePurgeBodyFilters + + include MsRestAzure + + # @return [String] The column of the table over which the given query + # should run + attr_accessor :column + + # @return [String] A query operator to evaluate over the provided column + # and value(s). + attr_accessor :operator + + # @return the value for the operator to function over. This can be a + # number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of + # values. + attr_accessor :value + + + # + # Mapper for WorkspacePurgeBodyFilters class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'WorkspacePurgeBodyFilters', + type: { + name: 'Composite', + class_name: 'WorkspacePurgeBodyFilters', + model_properties: { + column: { + required: false, + serialized_name: 'column', + type: { + name: 'String' + } + }, + operator: { + required: false, + serialized_name: 'operator', + type: { + name: 'String' + } + }, + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Object' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb new file mode 100644 index 0000000000..9c3928371e --- /dev/null +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_response.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::OperationalInsights::Mgmt::V2015_03_20 + module Models + # + # Response containing operationId for a specific purge action. + # + class WorkspacePurgeResponse + + include MsRestAzure + + # @return [String] Id to use when querying for status for a particular + # purge operation. + attr_accessor :operation_id + + + # + # Mapper for WorkspacePurgeResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'WorkspacePurgeResponse', + type: { + name: 'Composite', + class_name: 'WorkspacePurgeResponse', + model_properties: { + operation_id: { + required: true, + serialized_name: 'operationId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb new file mode 100644 index 0000000000..d769bf2b17 --- /dev/null +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.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::OperationalInsights::Mgmt::V2015_03_20 + module Models + # + # Response containing status for a specific purge operation. + # + class WorkspacePurgeStatusResponse + + include MsRestAzure + + # @return [PurgeState] Status of the operation represented by the + # requested Id. Possible values include: 'Pending', 'Completed' + attr_accessor :status + + + # + # Mapper for WorkspacePurgeStatusResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'WorkspacePurgeStatusResponse', + type: { + name: 'Composite', + class_name: 'WorkspacePurgeStatusResponse', + model_properties: { + status: { + required: true, + serialized_name: 'status', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb index d3a42688f7..5e02c4ef7c 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb @@ -25,6 +25,14 @@ class OperationalInsightsManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client Api Version. attr_reader :api_version + # @return [WorkspacePurgeBody] Describes the body of a request to purge + # data in a single table of an Log Analytics Workspace + attr_accessor :body + + # @return [String] In a purge status request, this is the Id of the + # operation the status of which is returned. + attr_accessor :purge_id + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language @@ -118,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? @@ -137,7 +142,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_operational_insights' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::OperationalInsights::Mgmt::V2015_03_20::VERSION + sdk_information = "#{sdk_information}/#{Azure::OperationalInsights::Mgmt::V2015_03_20::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/operations.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/operations.rb index 4b528987e7..12e9891067 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/operations.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] 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 @@ -42,8 +42,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 # @@ -54,12 +54,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_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb index 75ec75673e..4831ab8c2c 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb @@ -32,8 +32,8 @@ def initialize(client) # will be added to the HTTP request. # # - def delete(resource_group_name, workspace_name, saved_search_name, custom_headers:nil) - response = delete_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value! + def delete(resource_group_name, workspace_name, saved_search_name, custom_headers = nil) + response = delete_async(resource_group_name, workspace_name, saved_search_name, custom_headers).value! nil end @@ -49,8 +49,8 @@ def delete(resource_group_name, workspace_name, saved_search_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers:nil) - delete_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers = nil) + delete_async(resource_group_name, workspace_name, saved_search_name, custom_headers).value! end # @@ -65,11 +65,8 @@ def delete_with_http_info(resource_group_name, workspace_name, saved_search_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, workspace_name, saved_search_name, custom_headers:nil) + def delete_async(resource_group_name, workspace_name, saved_search_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'saved_search_name is nil' if saved_search_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -77,7 +74,6 @@ def delete_async(resource_group_name, workspace_name, saved_search_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -125,8 +121,8 @@ def delete_async(resource_group_name, workspace_name, saved_search_name, custom_ # # @return [SavedSearch] operation results. # - def create_or_update(resource_group_name, workspace_name, saved_search_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, workspace_name, saved_search_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, workspace_name, saved_search_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, workspace_name, saved_search_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def create_or_update(resource_group_name, workspace_name, saved_search_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, workspace_name, saved_search_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, workspace_name, saved_search_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, workspace_name, saved_search_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, workspace_name, saved_search_name, parameters, custom_headers).value! end # @@ -160,11 +156,8 @@ def create_or_update_with_http_info(resource_group_name, workspace_name, saved_s # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, workspace_name, saved_search_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, workspace_name, saved_search_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'saved_search_name is nil' if saved_search_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -173,12 +166,13 @@ def create_or_update_async(resource_group_name, workspace_name, saved_search_nam 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::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -237,8 +231,8 @@ def create_or_update_async(resource_group_name, workspace_name, saved_search_nam # # @return [SavedSearch] operation results. # - def get(resource_group_name, workspace_name, saved_search_name, custom_headers:nil) - response = get_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value! + def get(resource_group_name, workspace_name, saved_search_name, custom_headers = nil) + response = get_async(resource_group_name, workspace_name, saved_search_name, custom_headers).value! response.body unless response.nil? end @@ -254,8 +248,8 @@ def get(resource_group_name, workspace_name, saved_search_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers:nil) - get_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers = nil) + get_async(resource_group_name, workspace_name, saved_search_name, custom_headers).value! end # @@ -270,11 +264,8 @@ def get_with_http_info(resource_group_name, workspace_name, saved_search_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, workspace_name, saved_search_name, custom_headers:nil) + def get_async(resource_group_name, workspace_name, saved_search_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'saved_search_name is nil' if saved_search_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -282,7 +273,6 @@ def get_async(resource_group_name, workspace_name, saved_search_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -338,8 +328,8 @@ def get_async(resource_group_name, workspace_name, saved_search_name, custom_hea # # @return [SavedSearchesListResult] operation results. # - def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil) - response = list_by_workspace_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_by_workspace(resource_group_name, workspace_name, custom_headers = nil) + response = list_by_workspace_async(resource_group_name, workspace_name, custom_headers).value! response.body unless response.nil? end @@ -354,8 +344,8 @@ def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_workspace_with_http_info(resource_group_name, workspace_name, custom_headers:nil) - list_by_workspace_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_by_workspace_with_http_info(resource_group_name, workspace_name, custom_headers = nil) + list_by_workspace_async(resource_group_name, workspace_name, custom_headers).value! end # @@ -369,18 +359,14 @@ def list_by_workspace_with_http_info(resource_group_name, workspace_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_workspace_async(resource_group_name, workspace_name, custom_headers:nil) + def list_by_workspace_async(resource_group_name, workspace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -437,8 +423,8 @@ def list_by_workspace_async(resource_group_name, workspace_name, custom_headers: # # @return [SearchResultsResponse] operation results. # - def get_results(resource_group_name, workspace_name, saved_search_name, custom_headers:nil) - response = get_results_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value! + def get_results(resource_group_name, workspace_name, saved_search_name, custom_headers = nil) + response = get_results_async(resource_group_name, workspace_name, saved_search_name, custom_headers).value! response.body unless response.nil? end @@ -454,8 +440,8 @@ def get_results(resource_group_name, workspace_name, saved_search_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_results_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers:nil) - get_results_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value! + def get_results_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers = nil) + get_results_async(resource_group_name, workspace_name, saved_search_name, custom_headers).value! end # @@ -470,11 +456,8 @@ def get_results_with_http_info(resource_group_name, workspace_name, saved_search # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_results_async(resource_group_name, workspace_name, saved_search_name, custom_headers:nil) + def get_results_async(resource_group_name, workspace_name, saved_search_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'saved_search_name is nil' if saved_search_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -482,7 +465,6 @@ def get_results_async(resource_group_name, workspace_name, saved_search_name, cu 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_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb index 83f9c0987e..3ef690d63d 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [StorageInsight] operation results. # - def create_or_update(resource_group_name, workspace_name, storage_insight_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, workspace_name, storage_insight_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, workspace_name, storage_insight_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, workspace_name, storage_insight_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -58,8 +58,8 @@ def create_or_update(resource_group_name, workspace_name, storage_insight_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, workspace_name, storage_insight_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, workspace_name, storage_insight_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, workspace_name, storage_insight_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, workspace_name, storage_insight_name, parameters, custom_headers).value! end # @@ -78,11 +78,8 @@ def create_or_update_with_http_info(resource_group_name, workspace_name, storage # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, workspace_name, storage_insight_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, workspace_name, storage_insight_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'storage_insight_name is nil' if storage_insight_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -91,12 +88,13 @@ def create_or_update_async(resource_group_name, workspace_name, storage_insight_ 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::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -167,8 +165,8 @@ def create_or_update_async(resource_group_name, workspace_name, storage_insight_ # # @return [StorageInsight] operation results. # - def get(resource_group_name, workspace_name, storage_insight_name, custom_headers:nil) - response = get_async(resource_group_name, workspace_name, storage_insight_name, custom_headers:custom_headers).value! + def get(resource_group_name, workspace_name, storage_insight_name, custom_headers = nil) + response = get_async(resource_group_name, workspace_name, storage_insight_name, custom_headers).value! response.body unless response.nil? end @@ -186,8 +184,8 @@ def get(resource_group_name, workspace_name, storage_insight_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, workspace_name, storage_insight_name, custom_headers:nil) - get_async(resource_group_name, workspace_name, storage_insight_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, workspace_name, storage_insight_name, custom_headers = nil) + get_async(resource_group_name, workspace_name, storage_insight_name, custom_headers).value! end # @@ -204,11 +202,8 @@ def get_with_http_info(resource_group_name, workspace_name, storage_insight_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, workspace_name, storage_insight_name, custom_headers:nil) + def get_async(resource_group_name, workspace_name, storage_insight_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'storage_insight_name is nil' if storage_insight_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -216,7 +211,6 @@ def get_async(resource_group_name, workspace_name, storage_insight_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -274,8 +268,8 @@ def get_async(resource_group_name, workspace_name, storage_insight_name, custom_ # will be added to the HTTP request. # # - def delete(resource_group_name, workspace_name, storage_insight_name, custom_headers:nil) - response = delete_async(resource_group_name, workspace_name, storage_insight_name, custom_headers:custom_headers).value! + def delete(resource_group_name, workspace_name, storage_insight_name, custom_headers = nil) + response = delete_async(resource_group_name, workspace_name, storage_insight_name, custom_headers).value! nil end @@ -293,8 +287,8 @@ def delete(resource_group_name, workspace_name, storage_insight_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, workspace_name, storage_insight_name, custom_headers:nil) - delete_async(resource_group_name, workspace_name, storage_insight_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, workspace_name, storage_insight_name, custom_headers = nil) + delete_async(resource_group_name, workspace_name, storage_insight_name, custom_headers).value! end # @@ -311,11 +305,8 @@ def delete_with_http_info(resource_group_name, workspace_name, storage_insight_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, workspace_name, storage_insight_name, custom_headers:nil) + def delete_async(resource_group_name, workspace_name, storage_insight_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'storage_insight_name is nil' if storage_insight_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -323,7 +314,6 @@ def delete_async(resource_group_name, workspace_name, storage_insight_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -370,8 +360,8 @@ def delete_async(resource_group_name, workspace_name, storage_insight_name, cust # # @return [Array] operation results. # - def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil) - first_page = list_by_workspace_as_lazy(resource_group_name, workspace_name, custom_headers:custom_headers) + def list_by_workspace(resource_group_name, workspace_name, custom_headers = nil) + first_page = list_by_workspace_as_lazy(resource_group_name, workspace_name, custom_headers) first_page.get_all_items end @@ -387,8 +377,8 @@ def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_workspace_with_http_info(resource_group_name, workspace_name, custom_headers:nil) - list_by_workspace_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_by_workspace_with_http_info(resource_group_name, workspace_name, custom_headers = nil) + list_by_workspace_async(resource_group_name, workspace_name, custom_headers).value! end # @@ -403,18 +393,14 @@ def list_by_workspace_with_http_info(resource_group_name, workspace_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_workspace_async(resource_group_name, workspace_name, custom_headers:nil) + def list_by_workspace_async(resource_group_name, workspace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -469,8 +455,8 @@ def list_by_workspace_async(resource_group_name, workspace_name, custom_headers: # # @return [StorageInsightListResult] operation results. # - def list_by_workspace_next(next_page_link, custom_headers:nil) - response = list_by_workspace_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_workspace_next(next_page_link, custom_headers = nil) + response = list_by_workspace_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -484,8 +470,8 @@ def list_by_workspace_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_workspace_next_with_http_info(next_page_link, custom_headers:nil) - list_by_workspace_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_workspace_next_with_http_info(next_page_link, custom_headers = nil) + list_by_workspace_next_async(next_page_link, custom_headers).value! end # @@ -498,12 +484,11 @@ def list_by_workspace_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_workspace_next_async(next_page_link, custom_headers:nil) + def list_by_workspace_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,12 +545,12 @@ def list_by_workspace_next_async(next_page_link, custom_headers:nil) # @return [StorageInsightListResult] which provide lazy access to pages of the # response. # - def list_by_workspace_as_lazy(resource_group_name, workspace_name, custom_headers:nil) - response = list_by_workspace_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_by_workspace_as_lazy(resource_group_name, workspace_name, custom_headers = nil) + response = list_by_workspace_async(resource_group_name, workspace_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_workspace_next_async(next_page_link, custom_headers:custom_headers) + list_by_workspace_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/version.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/version.rb new file mode 100644 index 0000000000..60787abd16 --- /dev/null +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/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::OperationalInsights::Mgmt::V2015_03_20 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb index 7962b48285..e4167a9154 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_link_targets(custom_headers:nil) - response = list_link_targets_async(custom_headers:custom_headers).value! + def list_link_targets(custom_headers = nil) + response = list_link_targets_async(custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list_link_targets(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_link_targets_with_http_info(custom_headers:nil) - list_link_targets_async(custom_headers:custom_headers).value! + def list_link_targets_with_http_info(custom_headers = nil) + list_link_targets_async(custom_headers).value! end # @@ -60,13 +60,12 @@ def list_link_targets_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_link_targets_async(custom_headers:nil) + def list_link_targets_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -99,13 +98,11 @@ def list_link_targets_async(custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LinkTargetElementType', type: { @@ -138,8 +135,8 @@ def list_link_targets_async(custom_headers:nil) # # @return [SearchGetSchemaResponse] operation results. # - def get_schema(resource_group_name, workspace_name, custom_headers:nil) - response = get_schema_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def get_schema(resource_group_name, workspace_name, custom_headers = nil) + response = get_schema_async(resource_group_name, workspace_name, custom_headers).value! response.body unless response.nil? end @@ -154,8 +151,8 @@ def get_schema(resource_group_name, workspace_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_schema_with_http_info(resource_group_name, workspace_name, custom_headers:nil) - get_schema_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def get_schema_with_http_info(resource_group_name, workspace_name, custom_headers = nil) + get_schema_async(resource_group_name, workspace_name, custom_headers).value! end # @@ -169,18 +166,14 @@ def get_schema_with_http_info(resource_group_name, workspace_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_schema_async(resource_group_name, workspace_name, custom_headers:nil) + def get_schema_async(resource_group_name, workspace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -240,8 +233,8 @@ def get_schema_async(resource_group_name, workspace_name, custom_headers:nil) # # @return [SearchResultsResponse] operation results. # - def get_search_results(resource_group_name, workspace_name, parameters, custom_headers:nil) - response = get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers).value! + def get_search_results(resource_group_name, workspace_name, parameters, custom_headers = nil) + response = get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -257,9 +250,9 @@ def get_search_results(resource_group_name, workspace_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers:nil) + def get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers = nil) # Send request - promise = begin_get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers) + promise = begin_get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -288,8 +281,8 @@ def get_search_results_async(resource_group_name, workspace_name, parameters, cu # # @return [SearchResultsResponse] operation results. # - def update_search_results(resource_group_name, workspace_name, id, custom_headers:nil) - response = update_search_results_async(resource_group_name, workspace_name, id, custom_headers:custom_headers).value! + def update_search_results(resource_group_name, workspace_name, id, custom_headers = nil) + response = update_search_results_async(resource_group_name, workspace_name, id, custom_headers).value! response.body unless response.nil? end @@ -306,8 +299,8 @@ def update_search_results(resource_group_name, workspace_name, id, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_search_results_with_http_info(resource_group_name, workspace_name, id, custom_headers:nil) - update_search_results_async(resource_group_name, workspace_name, id, custom_headers:custom_headers).value! + def update_search_results_with_http_info(resource_group_name, workspace_name, id, custom_headers = nil) + update_search_results_async(resource_group_name, workspace_name, id, custom_headers).value! end # @@ -323,11 +316,8 @@ def update_search_results_with_http_info(resource_group_name, workspace_name, id # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_search_results_async(resource_group_name, workspace_name, id, custom_headers:nil) + def update_search_results_async(resource_group_name, workspace_name, id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'id is nil' if id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -335,7 +325,6 @@ def update_search_results_async(resource_group_name, workspace_name, id, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -380,6 +369,56 @@ def update_search_results_async(resource_group_name, workspace_name, id, custom_ promise.execute end + # + # Purges data in an Log Analytics workspace by a set of user-defined filters. + # + # @param resource_group_name [String] The name of the resource group to get. + # The name is case insensitive. + # @param workspace_name [String] Log Analytics workspace name + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Object] operation results. + # + def purge(resource_group_name, workspace_name, custom_headers = nil) + response = purge_async(resource_group_name, workspace_name, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group to get. + # The name is case insensitive. + # @param workspace_name [String] Log Analytics workspace name + # @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 purge_async(resource_group_name, workspace_name, custom_headers = nil) + # Send request + promise = begin_purge_async(resource_group_name, workspace_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = { + required: false, + serialized_name: 'parsed_response', + type: { + name: 'Object' + } + } + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + # # Submit a search for a given workspace. The response will contain an id to # track the search. User can use the id to poll the search status and get the @@ -395,8 +434,8 @@ def update_search_results_async(resource_group_name, workspace_name, id, custom_ # # @return [SearchResultsResponse] operation results. # - def begin_get_search_results(resource_group_name, workspace_name, parameters, custom_headers:nil) - response = begin_get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers).value! + def begin_get_search_results(resource_group_name, workspace_name, parameters, custom_headers = nil) + response = begin_get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -415,8 +454,8 @@ def begin_get_search_results(resource_group_name, workspace_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_search_results_with_http_info(resource_group_name, workspace_name, parameters, custom_headers:nil) - begin_get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers).value! + def begin_get_search_results_with_http_info(resource_group_name, workspace_name, parameters, custom_headers = nil) + begin_get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers).value! end # @@ -434,11 +473,8 @@ def begin_get_search_results_with_http_info(resource_group_name, workspace_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers:nil) + def begin_get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -446,12 +482,13 @@ def begin_get_search_results_async(resource_group_name, workspace_name, paramete 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::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -498,5 +535,119 @@ def begin_get_search_results_async(resource_group_name, workspace_name, paramete promise.execute end + # + # Purges data in an Log Analytics workspace by a set of user-defined filters. + # + # @param resource_group_name [String] The name of the resource group to get. + # The name is case insensitive. + # @param workspace_name [String] Log Analytics workspace name + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Object] operation results. + # + def begin_purge(resource_group_name, workspace_name, custom_headers = nil) + response = begin_purge_async(resource_group_name, workspace_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Purges data in an Log Analytics workspace by a set of user-defined filters. + # + # @param resource_group_name [String] The name of the resource group to get. + # The name is case insensitive. + # @param workspace_name [String] Log Analytics workspace name + # @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_purge_with_http_info(resource_group_name, workspace_name, custom_headers = nil) + begin_purge_async(resource_group_name, workspace_name, custom_headers).value! + end + + # + # Purges data in an Log Analytics workspace by a set of user-defined filters. + # + # @param resource_group_name [String] The name of the resource group to get. + # The name is case insensitive. + # @param workspace_name [String] Log Analytics workspace name + # @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_purge_async(resource_group_name, workspace_name, custom_headers = 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? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? + fail ArgumentError, '@client.body is nil' if @client.body.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::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody.mapper() + request_content = @client.serialize(request_mapper, @client.body) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/purge' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'workspaceName' => workspace_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 == 202 || 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 == 202 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse.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 + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse.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_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb index f95ea8da01..00c55df808 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [DataSource] operation results. # - def create_or_update(resource_group_name, workspace_name, data_source_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, workspace_name, data_source_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, workspace_name, data_source_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, workspace_name, data_source_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -56,8 +56,8 @@ def create_or_update(resource_group_name, workspace_name, data_source_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, workspace_name, data_source_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, workspace_name, data_source_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, workspace_name, data_source_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, workspace_name, data_source_name, parameters, custom_headers).value! end # @@ -75,11 +75,8 @@ def create_or_update_with_http_info(resource_group_name, workspace_name, data_so # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, workspace_name, data_source_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, workspace_name, data_source_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'data_source_name is nil' if data_source_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -88,12 +85,13 @@ def create_or_update_async(resource_group_name, workspace_name, data_source_name 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::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -162,8 +160,8 @@ def create_or_update_async(resource_group_name, workspace_name, data_source_name # will be added to the HTTP request. # # - def delete(resource_group_name, workspace_name, data_source_name, custom_headers:nil) - response = delete_async(resource_group_name, workspace_name, data_source_name, custom_headers:custom_headers).value! + def delete(resource_group_name, workspace_name, data_source_name, custom_headers = nil) + response = delete_async(resource_group_name, workspace_name, data_source_name, custom_headers).value! nil end @@ -180,8 +178,8 @@ def delete(resource_group_name, workspace_name, data_source_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, workspace_name, data_source_name, custom_headers:nil) - delete_async(resource_group_name, workspace_name, data_source_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, workspace_name, data_source_name, custom_headers = nil) + delete_async(resource_group_name, workspace_name, data_source_name, custom_headers).value! end # @@ -197,11 +195,8 @@ def delete_with_http_info(resource_group_name, workspace_name, data_source_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, workspace_name, data_source_name, custom_headers:nil) + def delete_async(resource_group_name, workspace_name, data_source_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'data_source_name is nil' if data_source_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -209,7 +204,6 @@ def delete_async(resource_group_name, workspace_name, data_source_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -257,8 +251,8 @@ def delete_async(resource_group_name, workspace_name, data_source_name, custom_h # # @return [DataSource] operation results. # - def get(resource_group_name, workspace_name, data_source_name, custom_headers:nil) - response = get_async(resource_group_name, workspace_name, data_source_name, custom_headers:custom_headers).value! + def get(resource_group_name, workspace_name, data_source_name, custom_headers = nil) + response = get_async(resource_group_name, workspace_name, data_source_name, custom_headers).value! response.body unless response.nil? end @@ -275,8 +269,8 @@ def get(resource_group_name, workspace_name, data_source_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, workspace_name, data_source_name, custom_headers:nil) - get_async(resource_group_name, workspace_name, data_source_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, workspace_name, data_source_name, custom_headers = nil) + get_async(resource_group_name, workspace_name, data_source_name, custom_headers).value! end # @@ -292,11 +286,8 @@ def get_with_http_info(resource_group_name, workspace_name, data_source_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, workspace_name, data_source_name, custom_headers:nil) + def get_async(resource_group_name, workspace_name, data_source_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'data_source_name is nil' if data_source_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -304,7 +295,6 @@ def get_async(resource_group_name, workspace_name, data_source_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -364,8 +354,8 @@ def get_async(resource_group_name, workspace_name, data_source_name, custom_head # # @return [Array] operation results. # - def list_by_workspace(resource_group_name, workspace_name, filter, skiptoken:nil, custom_headers:nil) - first_page = list_by_workspace_as_lazy(resource_group_name, workspace_name, filter, skiptoken:skiptoken, custom_headers:custom_headers) + def list_by_workspace(resource_group_name, workspace_name, filter, skiptoken = nil, custom_headers = nil) + first_page = list_by_workspace_as_lazy(resource_group_name, workspace_name, filter, skiptoken, custom_headers) first_page.get_all_items end @@ -384,8 +374,8 @@ def list_by_workspace(resource_group_name, workspace_name, filter, skiptoken:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_workspace_with_http_info(resource_group_name, workspace_name, filter, skiptoken:nil, custom_headers:nil) - list_by_workspace_async(resource_group_name, workspace_name, filter, skiptoken:skiptoken, custom_headers:custom_headers).value! + def list_by_workspace_with_http_info(resource_group_name, workspace_name, filter, skiptoken = nil, custom_headers = nil) + list_by_workspace_async(resource_group_name, workspace_name, filter, skiptoken, custom_headers).value! end # @@ -403,11 +393,8 @@ def list_by_workspace_with_http_info(resource_group_name, workspace_name, filter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_workspace_async(resource_group_name, workspace_name, filter, skiptoken:nil, custom_headers:nil) + def list_by_workspace_async(resource_group_name, workspace_name, filter, skiptoken = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'filter is nil' if filter.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -415,7 +402,6 @@ def list_by_workspace_async(resource_group_name, workspace_name, filter, skiptok request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -471,8 +457,8 @@ def list_by_workspace_async(resource_group_name, workspace_name, filter, skiptok # # @return [DataSourceListResult] operation results. # - def list_by_workspace_next(next_page_link, custom_headers:nil) - response = list_by_workspace_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_workspace_next(next_page_link, custom_headers = nil) + response = list_by_workspace_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -487,8 +473,8 @@ def list_by_workspace_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_workspace_next_with_http_info(next_page_link, custom_headers:nil) - list_by_workspace_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_workspace_next_with_http_info(next_page_link, custom_headers = nil) + list_by_workspace_next_async(next_page_link, custom_headers).value! end # @@ -502,12 +488,11 @@ def list_by_workspace_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_workspace_next_async(next_page_link, custom_headers:nil) + def list_by_workspace_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -567,12 +552,12 @@ def list_by_workspace_next_async(next_page_link, custom_headers:nil) # @return [DataSourceListResult] which provide lazy access to pages of the # response. # - def list_by_workspace_as_lazy(resource_group_name, workspace_name, filter, skiptoken:nil, custom_headers:nil) - response = list_by_workspace_async(resource_group_name, workspace_name, filter, skiptoken:skiptoken, custom_headers:custom_headers).value! + def list_by_workspace_as_lazy(resource_group_name, workspace_name, filter, skiptoken = nil, custom_headers = nil) + response = list_by_workspace_async(resource_group_name, workspace_name, filter, skiptoken, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_workspace_next_async(next_page_link, custom_headers:custom_headers) + list_by_workspace_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb index 7e33e507df..7e2af31a70 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [LinkedService] operation results. # - def create_or_update(resource_group_name, workspace_name, linked_service_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, workspace_name, linked_service_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, workspace_name, linked_service_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, workspace_name, linked_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -56,8 +56,8 @@ def create_or_update(resource_group_name, workspace_name, linked_service_name, p # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, workspace_name, linked_service_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, workspace_name, linked_service_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, workspace_name, linked_service_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, workspace_name, linked_service_name, parameters, custom_headers).value! end # @@ -75,11 +75,8 @@ def create_or_update_with_http_info(resource_group_name, workspace_name, linked_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, workspace_name, linked_service_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, workspace_name, linked_service_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'linked_service_name is nil' if linked_service_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -88,12 +85,13 @@ def create_or_update_async(resource_group_name, workspace_name, linked_service_n 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::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -162,8 +160,8 @@ def create_or_update_async(resource_group_name, workspace_name, linked_service_n # will be added to the HTTP request. # # - def delete(resource_group_name, workspace_name, linked_service_name, custom_headers:nil) - response = delete_async(resource_group_name, workspace_name, linked_service_name, custom_headers:custom_headers).value! + def delete(resource_group_name, workspace_name, linked_service_name, custom_headers = nil) + response = delete_async(resource_group_name, workspace_name, linked_service_name, custom_headers).value! nil end @@ -180,8 +178,8 @@ def delete(resource_group_name, workspace_name, linked_service_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, workspace_name, linked_service_name, custom_headers:nil) - delete_async(resource_group_name, workspace_name, linked_service_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, workspace_name, linked_service_name, custom_headers = nil) + delete_async(resource_group_name, workspace_name, linked_service_name, custom_headers).value! end # @@ -197,11 +195,8 @@ def delete_with_http_info(resource_group_name, workspace_name, linked_service_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, workspace_name, linked_service_name, custom_headers:nil) + def delete_async(resource_group_name, workspace_name, linked_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'linked_service_name is nil' if linked_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -209,7 +204,6 @@ def delete_async(resource_group_name, workspace_name, linked_service_name, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -257,8 +251,8 @@ def delete_async(resource_group_name, workspace_name, linked_service_name, custo # # @return [LinkedService] operation results. # - def get(resource_group_name, workspace_name, linked_service_name, custom_headers:nil) - response = get_async(resource_group_name, workspace_name, linked_service_name, custom_headers:custom_headers).value! + def get(resource_group_name, workspace_name, linked_service_name, custom_headers = nil) + response = get_async(resource_group_name, workspace_name, linked_service_name, custom_headers).value! response.body unless response.nil? end @@ -275,8 +269,8 @@ def get(resource_group_name, workspace_name, linked_service_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, workspace_name, linked_service_name, custom_headers:nil) - get_async(resource_group_name, workspace_name, linked_service_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, workspace_name, linked_service_name, custom_headers = nil) + get_async(resource_group_name, workspace_name, linked_service_name, custom_headers).value! end # @@ -292,11 +286,8 @@ def get_with_http_info(resource_group_name, workspace_name, linked_service_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, workspace_name, linked_service_name, custom_headers:nil) + def get_async(resource_group_name, workspace_name, linked_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'linked_service_name is nil' if linked_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -304,7 +295,6 @@ def get_async(resource_group_name, workspace_name, linked_service_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -361,8 +351,8 @@ def get_async(resource_group_name, workspace_name, linked_service_name, custom_h # # @return [LinkedServiceListResult] operation results. # - def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil) - response = list_by_workspace_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_by_workspace(resource_group_name, workspace_name, custom_headers = nil) + response = list_by_workspace_async(resource_group_name, workspace_name, custom_headers).value! response.body unless response.nil? end @@ -378,8 +368,8 @@ def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_workspace_with_http_info(resource_group_name, workspace_name, custom_headers:nil) - list_by_workspace_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_by_workspace_with_http_info(resource_group_name, workspace_name, custom_headers = nil) + list_by_workspace_async(resource_group_name, workspace_name, custom_headers).value! end # @@ -394,18 +384,14 @@ def list_by_workspace_with_http_info(resource_group_name, workspace_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_workspace_async(resource_group_name, workspace_name, custom_headers:nil) + def list_by_workspace_async(resource_group_name, workspace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb index 158268d9a5..3a39f03acf 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb @@ -34,7 +34,6 @@ class DataSource < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataSource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'DataSource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,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: { @@ -85,7 +79,6 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: true, serialized_name: 'properties', type: { @@ -93,7 +86,6 @@ def self.mapper() } }, e_tag: { - client_side_validation: true, required: false, serialized_name: 'eTag', type: { @@ -101,7 +93,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: true, serialized_name: 'kind', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb index 9da9e74717..479eab1598 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb @@ -27,7 +27,6 @@ class DataSourceFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataSourceFilter', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'DataSourceFilter', model_properties: { kind: { - client_side_validation: true, required: false, serialized_name: 'kind', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb index eed51b6e1f..915cfda168 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataSourceListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'DataSourceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataSourceElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb index b362217acd..cd56bf1583 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb @@ -29,7 +29,6 @@ class IntelligencePack # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IntelligencePack', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'IntelligencePack', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb index 2a53c07b01..ac33e1df44 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb @@ -23,7 +23,6 @@ class LinkedService < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinkedService', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'LinkedService', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -40,7 +38,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -49,7 +46,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -58,13 +54,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: { @@ -74,7 +68,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: true, serialized_name: 'properties.resourceId', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb index a8420eafa6..7f0f328d33 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb @@ -23,7 +23,6 @@ class LinkedServiceListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinkedServiceListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'LinkedServiceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LinkedServiceElementType', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb index 8fb35e77b8..754f0cb288 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb @@ -48,7 +48,6 @@ class ManagementGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ManagementGroup', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'ManagementGroup', model_properties: { server_count: { - client_side_validation: true, required: false, serialized_name: 'properties.serverCount', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, is_gateway: { - client_side_validation: true, required: false, serialized_name: 'properties.isGateway', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'properties.name', type: { @@ -80,7 +76,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'properties.id', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, serialized_name: 'properties.created', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, data_received: { - client_side_validation: true, required: false, serialized_name: 'properties.dataReceived', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'properties.version', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb index 9343d6d935..c36e848d6c 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb @@ -25,7 +25,6 @@ class MetricName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'MetricName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb index 0dff57521e..177ea21ee0 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb @@ -26,7 +26,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb index a6f9920a48..d9cafa0b47 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb @@ -28,7 +28,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb index 94d957232c..e4ee61847f 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'OperationListResult', 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: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb index 4fe6a616a4..d34513dddd 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb @@ -31,7 +31,6 @@ class ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ProxyResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ProxyResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -66,13 +62,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_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb index 36e42057c3..0f296b7832 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb index 88db64ee37..2085399233 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb @@ -25,7 +25,6 @@ class SharedKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SharedKeys', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SharedKeys', model_properties: { primary_shared_key: { - client_side_validation: true, required: false, serialized_name: 'primarySharedKey', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, secondary_shared_key: { - client_side_validation: true, required: false, serialized_name: 'secondarySharedKey', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb index ef04d9f370..68811dadd0 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb @@ -13,7 +13,8 @@ class Sku include MsRestAzure # @return [SkuNameEnum] The name of the SKU. Possible values include: - # 'Free', 'Standard', 'Premium', 'Unlimited', 'PerNode', 'Standalone' + # 'Free', 'Standard', 'Premium', 'Unlimited', 'PerNode', 'PerGB2018', + # 'Standalone' attr_accessor :name @@ -23,7 +24,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -31,7 +31,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb index 7990689fcd..37292b3b67 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb @@ -14,6 +14,7 @@ module SkuNameEnum Premium = "Premium" Unlimited = "Unlimited" PerNode = "PerNode" + PerGB2018 = "PerGB2018" Standalone = "Standalone" end end diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb index 798598a8c7..6d0f6a1cf5 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb @@ -38,7 +38,6 @@ class UsageMetric # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageMetric', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'UsageMetric', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, serialized_name: 'currentValue', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, serialized_name: 'limit', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, next_reset_time: { - client_side_validation: true, required: false, serialized_name: 'nextResetTime', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, quota_period: { - client_side_validation: true, required: false, serialized_name: 'quotaPeriod', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb index 8356ed6696..ab9bf62cd3 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb @@ -51,7 +51,6 @@ class Workspace < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Workspace', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'Workspace', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,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: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'properties.source', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, customer_id: { - client_side_validation: true, required: false, serialized_name: 'properties.customerId', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, portal_url: { - client_side_validation: true, required: false, serialized_name: 'properties.portalUrl', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -151,7 +139,6 @@ def self.mapper() } }, retention_in_days: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionInDays', constraints: { @@ -163,7 +150,6 @@ def self.mapper() } }, e_tag: { - client_side_validation: true, required: false, serialized_name: 'eTag', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb index f3c1187059..c8be187857 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb @@ -23,7 +23,6 @@ class WorkspaceListManagementGroupsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WorkspaceListManagementGroupsResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WorkspaceListManagementGroupsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ManagementGroupElementType', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb index 9d33f66531..f12f79fbbe 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb @@ -22,7 +22,6 @@ class WorkspaceListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WorkspaceListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'WorkspaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WorkspaceElementType', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb index d277678492..b067f35039 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb @@ -23,7 +23,6 @@ class WorkspaceListUsagesResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WorkspaceListUsagesResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WorkspaceListUsagesResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageMetricElementType', type: { diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb index 12529129c9..7090040ebe 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb @@ -118,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? @@ -137,7 +134,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_operational_insights' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::OperationalInsights::Mgmt::V2015_11_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::OperationalInsights::Mgmt::V2015_11_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operations.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operations.rb index be5084ad75..3fc5859f34 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operations.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,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 # @@ -54,12 +54,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 @@ -113,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -128,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -142,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -200,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/version.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/version.rb new file mode 100644 index 0000000000..e75ece5af2 --- /dev/null +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/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::OperationalInsights::Mgmt::V2015_11_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb index e551dd5975..cad0d3e87b 100644 --- a/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +++ b/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb @@ -33,8 +33,8 @@ def initialize(client) # will be added to the HTTP request. # # - def disable_intelligence_pack(resource_group_name, workspace_name, intelligence_pack_name, custom_headers:nil) - response = disable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers:custom_headers).value! + def disable_intelligence_pack(resource_group_name, workspace_name, intelligence_pack_name, custom_headers = nil) + response = disable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers).value! nil end @@ -51,8 +51,8 @@ def disable_intelligence_pack(resource_group_name, workspace_name, intelligence_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def disable_intelligence_pack_with_http_info(resource_group_name, workspace_name, intelligence_pack_name, custom_headers:nil) - disable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers:custom_headers).value! + def disable_intelligence_pack_with_http_info(resource_group_name, workspace_name, intelligence_pack_name, custom_headers = nil) + disable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers).value! end # @@ -68,11 +68,8 @@ def disable_intelligence_pack_with_http_info(resource_group_name, workspace_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def disable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers:nil) + def disable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'intelligence_pack_name is nil' if intelligence_pack_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -80,7 +77,6 @@ def disable_intelligence_pack_async(resource_group_name, workspace_name, intelli request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def disable_intelligence_pack_async(resource_group_name, workspace_name, intelli # will be added to the HTTP request. # # - def enable_intelligence_pack(resource_group_name, workspace_name, intelligence_pack_name, custom_headers:nil) - response = enable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers:custom_headers).value! + def enable_intelligence_pack(resource_group_name, workspace_name, intelligence_pack_name, custom_headers = nil) + response = enable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers).value! nil end @@ -145,8 +141,8 @@ def enable_intelligence_pack(resource_group_name, workspace_name, intelligence_p # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def enable_intelligence_pack_with_http_info(resource_group_name, workspace_name, intelligence_pack_name, custom_headers:nil) - enable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers:custom_headers).value! + def enable_intelligence_pack_with_http_info(resource_group_name, workspace_name, intelligence_pack_name, custom_headers = nil) + enable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers).value! end # @@ -162,11 +158,8 @@ def enable_intelligence_pack_with_http_info(resource_group_name, workspace_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def enable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers:nil) + def enable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, 'intelligence_pack_name is nil' if intelligence_pack_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -174,7 +167,6 @@ def enable_intelligence_pack_async(resource_group_name, workspace_name, intellig request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -221,8 +213,8 @@ def enable_intelligence_pack_async(resource_group_name, workspace_name, intellig # # @return [Array] operation results. # - def list_intelligence_packs(resource_group_name, workspace_name, custom_headers:nil) - response = list_intelligence_packs_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_intelligence_packs(resource_group_name, workspace_name, custom_headers = nil) + response = list_intelligence_packs_async(resource_group_name, workspace_name, custom_headers).value! response.body unless response.nil? end @@ -238,8 +230,8 @@ def list_intelligence_packs(resource_group_name, workspace_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_intelligence_packs_with_http_info(resource_group_name, workspace_name, custom_headers:nil) - list_intelligence_packs_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_intelligence_packs_with_http_info(resource_group_name, workspace_name, custom_headers = nil) + list_intelligence_packs_async(resource_group_name, workspace_name, custom_headers).value! end # @@ -254,18 +246,14 @@ def list_intelligence_packs_with_http_info(resource_group_name, workspace_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_intelligence_packs_async(resource_group_name, workspace_name, custom_headers:nil) + def list_intelligence_packs_async(resource_group_name, workspace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -298,13 +286,11 @@ def list_intelligence_packs_async(resource_group_name, workspace_name, custom_he begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IntelligencePackElementType', type: { @@ -337,8 +323,8 @@ def list_intelligence_packs_async(resource_group_name, workspace_name, custom_he # # @return [SharedKeys] operation results. # - def get_shared_keys(resource_group_name, workspace_name, custom_headers:nil) - response = get_shared_keys_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def get_shared_keys(resource_group_name, workspace_name, custom_headers = nil) + response = get_shared_keys_async(resource_group_name, workspace_name, custom_headers).value! response.body unless response.nil? end @@ -353,8 +339,8 @@ def get_shared_keys(resource_group_name, workspace_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_keys_with_http_info(resource_group_name, workspace_name, custom_headers:nil) - get_shared_keys_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def get_shared_keys_with_http_info(resource_group_name, workspace_name, custom_headers = nil) + get_shared_keys_async(resource_group_name, workspace_name, custom_headers).value! end # @@ -368,18 +354,14 @@ def get_shared_keys_with_http_info(resource_group_name, workspace_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_keys_async(resource_group_name, workspace_name, custom_headers:nil) + def get_shared_keys_async(resource_group_name, workspace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -435,8 +417,8 @@ def get_shared_keys_async(resource_group_name, workspace_name, custom_headers:ni # # @return [WorkspaceListUsagesResult] operation results. # - def list_usages(resource_group_name, workspace_name, custom_headers:nil) - response = list_usages_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_usages(resource_group_name, workspace_name, custom_headers = nil) + response = list_usages_async(resource_group_name, workspace_name, custom_headers).value! response.body unless response.nil? end @@ -451,8 +433,8 @@ def list_usages(resource_group_name, workspace_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usages_with_http_info(resource_group_name, workspace_name, custom_headers:nil) - list_usages_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_usages_with_http_info(resource_group_name, workspace_name, custom_headers = nil) + list_usages_async(resource_group_name, workspace_name, custom_headers).value! end # @@ -466,18 +448,14 @@ def list_usages_with_http_info(resource_group_name, workspace_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usages_async(resource_group_name, workspace_name, custom_headers:nil) + def list_usages_async(resource_group_name, workspace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -533,8 +511,8 @@ def list_usages_async(resource_group_name, workspace_name, custom_headers:nil) # # @return [WorkspaceListManagementGroupsResult] operation results. # - def list_management_groups(resource_group_name, workspace_name, custom_headers:nil) - response = list_management_groups_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_management_groups(resource_group_name, workspace_name, custom_headers = nil) + response = list_management_groups_async(resource_group_name, workspace_name, custom_headers).value! response.body unless response.nil? end @@ -549,8 +527,8 @@ def list_management_groups(resource_group_name, workspace_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_management_groups_with_http_info(resource_group_name, workspace_name, custom_headers:nil) - list_management_groups_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def list_management_groups_with_http_info(resource_group_name, workspace_name, custom_headers = nil) + list_management_groups_async(resource_group_name, workspace_name, custom_headers).value! end # @@ -564,18 +542,14 @@ def list_management_groups_with_http_info(resource_group_name, workspace_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_management_groups_async(resource_group_name, workspace_name, custom_headers:nil) + def list_management_groups_async(resource_group_name, workspace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -630,8 +604,8 @@ def list_management_groups_async(resource_group_name, workspace_name, custom_hea # # @return [WorkspaceListResult] 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 @@ -645,8 +619,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 # @@ -659,17 +633,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, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -722,8 +692,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [WorkspaceListResult] 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 @@ -735,8 +705,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 # @@ -747,13 +717,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -810,8 +779,8 @@ def list_async(custom_headers:nil) # # @return [Workspace] operation results. # - def create_or_update(resource_group_name, workspace_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, workspace_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -826,9 +795,9 @@ def create_or_update(resource_group_name, workspace_name, parameters, custom_hea # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -853,8 +822,8 @@ def create_or_update_async(resource_group_name, workspace_name, parameters, cust # will be added to the HTTP request. # # - def delete(resource_group_name, workspace_name, custom_headers:nil) - response = delete_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def delete(resource_group_name, workspace_name, custom_headers = nil) + response = delete_async(resource_group_name, workspace_name, custom_headers).value! nil end @@ -868,8 +837,8 @@ def delete(resource_group_name, workspace_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, workspace_name, custom_headers:nil) - delete_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, workspace_name, custom_headers = nil) + delete_async(resource_group_name, workspace_name, custom_headers).value! end # @@ -882,7 +851,7 @@ def delete_with_http_info(resource_group_name, workspace_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, workspace_name, custom_headers:nil) + def delete_async(resource_group_name, workspace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -890,7 +859,6 @@ def delete_async(resource_group_name, workspace_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 @@ -935,8 +903,8 @@ def delete_async(resource_group_name, workspace_name, custom_headers:nil) # # @return [Workspace] operation results. # - def get(resource_group_name, workspace_name, custom_headers:nil) - response = get_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def get(resource_group_name, workspace_name, custom_headers = nil) + response = get_async(resource_group_name, workspace_name, custom_headers).value! response.body unless response.nil? end @@ -950,8 +918,8 @@ def get(resource_group_name, workspace_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, workspace_name, custom_headers:nil) - get_async(resource_group_name, workspace_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, workspace_name, custom_headers = nil) + get_async(resource_group_name, workspace_name, custom_headers).value! end # @@ -964,7 +932,7 @@ def get_with_http_info(resource_group_name, workspace_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, workspace_name, custom_headers:nil) + def get_async(resource_group_name, workspace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -972,7 +940,6 @@ def get_async(resource_group_name, workspace_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 @@ -1028,8 +995,8 @@ def get_async(resource_group_name, workspace_name, custom_headers:nil) # # @return [Workspace] operation results. # - def update(resource_group_name, workspace_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, workspace_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, workspace_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1044,8 +1011,8 @@ def update(resource_group_name, workspace_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, workspace_name, parameters, custom_headers:nil) - update_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, workspace_name, parameters, custom_headers = nil) + update_async(resource_group_name, workspace_name, parameters, custom_headers).value! end # @@ -1059,24 +1026,22 @@ def update_with_http_info(resource_group_name, workspace_name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, workspace_name, parameters, custom_headers:nil) + def update_async(resource_group_name, workspace_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? - fail ArgumentError, "'workspace_name' should satisfy the constraint - 'MaxLength': '63'" if !workspace_name.nil? && workspace_name.length > 63 - fail ArgumentError, "'workspace_name' should satisfy the constraint - 'MinLength': '4'" if !workspace_name.nil? && workspace_name.length < 4 - fail ArgumentError, "'workspace_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$'" if !workspace_name.nil? && workspace_name.match(Regexp.new('^^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$$')).nil? fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1135,8 +1100,8 @@ def update_async(resource_group_name, workspace_name, parameters, custom_headers # # @return [Workspace] operation results. # - def begin_create_or_update(resource_group_name, workspace_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, workspace_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1152,8 +1117,8 @@ def begin_create_or_update(resource_group_name, workspace_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, workspace_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, workspace_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers).value! end # @@ -1168,24 +1133,22 @@ def begin_create_or_update_with_http_info(resource_group_name, workspace_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'workspace_name is nil' if workspace_name.nil? - fail ArgumentError, "'workspace_name' should satisfy the constraint - 'MaxLength': '63'" if !workspace_name.nil? && workspace_name.length > 63 - fail ArgumentError, "'workspace_name' should satisfy the constraint - 'MinLength': '4'" if !workspace_name.nil? && workspace_name.length < 4 - fail ArgumentError, "'workspace_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$'" if !workspace_name.nil? && workspace_name.match(Regexp.new('^^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$$')).nil? fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_operational_insights/lib/azure_mgmt_operational_insights.rb b/management/azure_mgmt_operational_insights/lib/azure_mgmt_operational_insights.rb index e73deccedc..b46add3ca1 100644 --- a/management/azure_mgmt_operational_insights/lib/azure_mgmt_operational_insights.rb +++ b/management/azure_mgmt_operational_insights/lib/azure_mgmt_operational_insights.rb @@ -2,6 +2,6 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require '2015-03-20/generated/azure_mgmt_operational_insights' require '2015-11-01-preview/generated/azure_mgmt_operational_insights' +require '2015-03-20/generated/azure_mgmt_operational_insights' require 'profiles/latest/operationalinsights_latest_profile_client' diff --git a/management/azure_mgmt_operational_insights/lib/profiles/latest/modules/operationalinsights_profile_module.rb b/management/azure_mgmt_operational_insights/lib/profiles/latest/modules/operationalinsights_profile_module.rb index 05504e00ac..517e4e0720 100644 --- a/management/azure_mgmt_operational_insights/lib/profiles/latest/modules/operationalinsights_profile_module.rb +++ b/management/azure_mgmt_operational_insights/lib/profiles/latest/modules/operationalinsights_profile_module.rb @@ -14,26 +14,31 @@ module Mgmt Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations module Models - SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError - SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue - LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse - CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary SearchHighlight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight - SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema + LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget SearchParameters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters - SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch + CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount + SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus - Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag - SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort + 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 + SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError + WorkspacePurgeBodyFilters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters + Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + 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 + WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse 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 MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName OperationDisplay = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric @@ -117,57 +122,69 @@ def method_missing(method, *args) end class ModelClasses - def search_error - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError - end - def search_results_response - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse - end def search_schema_value Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue end - def link_target - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget - end def search_get_schema_response Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse end - def core_summary - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary - end def search_highlight Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight end - def search_metadata_schema - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema + def link_target + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget end def search_parameters Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters end - def saved_search - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch + def core_summary + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary end def storage_account Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount end + def search_metadata_schema + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema + end def storage_insight_status Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus end - def tag - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag - end - def search_sort - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort + 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 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 + def workspace_purge_body_filters + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters + end + def tag + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + end + def workspace_purge_body + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody + end + def workspace_purge_response + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse + end def search_metadata Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata 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 end @@ -177,6 +194,9 @@ def search_sort_enum def storage_insight_state Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState end + def purge_state + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState + end def metric_name Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName end From a94a49b0a951e552eb9679fafdb0addc5d2d28d4 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 10:50:06 -0700 Subject: [PATCH 02/22] [AutoPR] automation/resource-manager (#1323) * Generated from da1a51b7fc9dc3e5988ad259a215ebeb7a730b96 (#1312) Added GroupType property in HybridWorkerGroup * Generated from 242fce7837617e22108998354a5e903be42a3be3 (#1333) Refactoring Job Definitions --- .../modules/automation_profile_module.rb | 496 ++++++++++-------- .../generated/azure_mgmt_automation.rb | 151 +++--- .../activity_operations.rb | 56 +- .../agent_registration_information.rb | 40 +- .../automation_account_operations.rb | 109 ++-- .../automation_client.rb | 28 +- .../certificate_operations.rb | 117 +++-- .../connection_operations.rb | 117 +++-- .../connection_type_operations.rb | 96 ++-- .../credential_operations.rb | 117 +++-- .../dsc_compilation_job_operations.rb | 96 ++-- .../dsc_compilation_job_stream.rb | 120 +++++ .../dsc_configuration_operations.rb | 251 +++++++-- .../dsc_node_configuration_operations.rb | 108 ++-- .../dsc_node_operations.rb | 96 ++-- .../generated/azure_mgmt_automation/fields.rb | 19 +- .../hybrid_runbook_worker_group_operations.rb | 102 ++-- .../azure_mgmt_automation/job_operations.rb | 174 +++--- .../job_schedule_operations.rb | 102 ++-- .../job_stream_operations.rb | 56 +- .../generated/azure_mgmt_automation/keys.rb | 116 ++++ .../linked_workspace_operations.rb | 116 ++++ .../azure_mgmt_automation/models/activity.rb | 11 - .../models/activity_list_result.rb | 4 - .../models/activity_output_type.rb | 3 - .../models/activity_parameter.rb | 9 - .../models/activity_parameter_set.rb | 4 - .../models/advanced_schedule.rb | 7 - .../advanced_schedule_monthly_occurrence.rb | 5 +- .../models/agent_registration.rb | 5 - .../models/agent_registration_key_name.rb | 4 +- .../models/agent_registration_keys.rb | 3 - ...t_registration_regenerate_key_parameter.rb | 10 +- .../models/automation_account.rb | 30 +- ...ion_account_create_or_update_parameters.rb | 6 - .../models/automation_account_list_result.rb | 4 - .../automation_account_update_parameters.rb | 6 - .../models/automation_key_name.rb | 16 + .../models/automation_key_permissions.rb | 15 + .../models/certificate.rb | 21 +- ...certificate_create_or_update_parameters.rb | 6 - .../models/certificate_list_result.rb | 4 - .../models/certificate_update_parameters.rb | 3 - .../models/connection.rb | 21 +- .../connection_create_or_update_parameters.rb | 6 - .../models/connection_list_result.rb | 4 - .../models/connection_type.rb | 10 - .../connection_type_association_property.rb | 2 - ...ection_type_create_or_update_parameters.rb | 5 - .../models/connection_type_list_result.rb | 4 - .../models/connection_update_parameters.rb | 5 - .../models/content_hash.rb | 3 - .../models/content_link.rb | 4 - .../models/content_source.rb | 5 - .../models/credential.rb | 19 +- .../credential_create_or_update_parameters.rb | 5 - .../models/credential_list_result.rb | 4 - .../models/credential_update_parameters.rb | 5 - .../models/dsc_compilation_job.rb | 59 ++- .../dsc_compilation_job_create_parameters.rb | 9 - .../models/dsc_compilation_job_list_result.rb | 4 - .../models/dsc_configuration.rb | 44 +- .../dsc_configuration_association_property.rb | 2 - ...nfiguration_create_or_update_parameters.rb | 11 - .../models/dsc_configuration_list_result.rb | 15 +- .../models/dsc_configuration_parameter.rb | 5 - .../dsc_configuration_update_parameters.rb | 122 +++++ .../models/dsc_meta_configuration.rb | 8 - .../azure_mgmt_automation/models/dsc_node.rb | 40 +- .../models/dsc_node_configuration.rb | 38 +- ...node_configuration_association_property.rb | 2 - ...nfiguration_create_or_update_parameters.rb | 13 +- .../dsc_node_configuration_list_result.rb | 4 - ..._extension_handler_association_property.rb | 3 - .../models/dsc_node_list_result.rb | 4 - .../models/dsc_node_report.rb | 24 - .../models/dsc_node_report_list_result.rb | 4 - .../models/dsc_node_update_parameters.rb | 3 - .../models/dsc_report_error.rb | 7 - .../models/dsc_report_resource.rb | 12 - .../models/dsc_report_resource_navigation.rb | 2 - .../models/error_response.rb | 3 - .../models/field_definition.rb | 4 - .../models/group_type_enum.rb | 16 + .../models/hybrid_runbook_worker.rb | 14 +- .../models/hybrid_runbook_worker_group.rb | 6 - ..._runbook_worker_group_update_parameters.rb | 2 - ...ybrid_runbook_worker_groups_list_result.rb | 4 - .../azure_mgmt_automation/models/job.rb | 30 +- .../models/job_create_parameters.rb | 47 -- .../models/job_list_result.rb | 4 - .../models/job_provisioning_state.rb | 18 + .../models/job_provisioning_state_property.rb | 47 ++ .../models/job_schedule.rb | 10 - .../models/job_schedule_create_parameters.rb | 6 - .../models/job_schedule_list_result.rb | 4 - .../models/job_stream.rb | 9 - .../models/job_stream_list_result.rb | 4 - .../azure_mgmt_automation/models/key.rb | 66 +++ .../models/key_list_result.rb | 53 ++ .../models/linked_workspace.rb | 45 ++ .../module_create_or_update_parameters.rb | 6 - .../models/module_error_info.rb | 3 - .../models/module_list_result.rb | 4 - .../models/module_model.rb | 34 +- .../models/module_update_parameters.rb | 6 - .../azure_mgmt_automation/models/operation.rb | 3 - .../models/operation_display.rb | 4 - .../models/operation_list_result.rb | 3 - .../models/proxy_resource.rb | 59 +++ .../azure_mgmt_automation/models/resource.rb | 42 +- .../run_as_credential_association_property.rb | 2 - .../azure_mgmt_automation/models/runbook.rb | 41 +- .../models/runbook_association_property.rb | 2 - ...nbook_create_or_update_draft_parameters.rb | 2 - ...nbook_create_or_update_draft_properties.rb | 7 - .../runbook_create_or_update_parameters.rb | 12 - .../models/runbook_draft.rb | 9 - .../models/runbook_draft_undo_edit_result.rb | 3 - .../models/runbook_list_result.rb | 4 - .../models/runbook_parameter.rb | 5 - .../models/runbook_update_parameters.rb | 9 - .../azure_mgmt_automation/models/schedule.rb | 18 - .../models/schedule_association_property.rb | 2 - .../schedule_create_or_update_parameters.rb | 9 - .../models/schedule_list_result.rb | 4 - .../models/schedule_update_parameters.rb | 4 - .../azure_mgmt_automation/models/sku.rb | 4 - .../models/statistics.rb | 6 - .../models/statistics_list_result.rb | 3 - .../models/sub_resource.rb | 2 - .../azure_mgmt_automation/models/test_job.rb | 22 +- .../models/test_job_create_parameters.rb | 15 - .../models/tracked_resource.rb | 85 +++ .../models/type_field.rb | 3 - .../models/type_field_list_result.rb | 3 - .../azure_mgmt_automation/models/usage.rb | 7 - .../models/usage_counter_name.rb | 3 - .../models/usage_list_result.rb | 3 - .../azure_mgmt_automation/models/variable.rb | 20 +- .../variable_create_or_update_parameters.rb | 5 - .../models/variable_list_result.rb | 4 - .../models/variable_update_parameters.rb | 4 - .../azure_mgmt_automation/models/webhook.rb | 42 +- .../webhook_create_or_update_parameters.rb | 9 - .../models/webhook_list_result.rb | 4 - .../models/webhook_update_parameters.rb | 9 +- .../module_model_operations.rb | 117 +++-- .../azure_mgmt_automation/node_reports.rb | 94 ++-- .../object_data_types.rb | 38 +- .../azure_mgmt_automation/operations.rb | 11 +- .../runbook_draft_operations.rb | 217 +++++--- .../runbook_operations.rb | 180 ++++--- .../schedule_operations.rb | 117 +++-- .../statistics_operations.rb | 12 +- .../test_job_operations.rb | 486 +++++++++++++++++ .../azure_mgmt_automation/test_job_streams.rb | 69 +-- .../generated/azure_mgmt_automation/usages.rb | 12 +- .../variable_operations.rb | 117 +++-- .../azure_mgmt_automation/version.rb | 8 + .../webhook_operations.rb | 137 ++--- .../modules/automation_profile_module.rb | 496 ++++++++++-------- 162 files changed, 3756 insertions(+), 2693 deletions(-) create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/keys.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state_property.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/key.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/linked_workspace.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/test_job_operations.rb create mode 100644 management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/version.rb diff --git a/azure_sdk/lib/latest/modules/automation_profile_module.rb b/azure_sdk/lib/latest/modules/automation_profile_module.rb index 9aa7f7b23a..d948bdc974 100644 --- a/azure_sdk/lib/latest/modules/automation_profile_module.rb +++ b/azure_sdk/lib/latest/modules/automation_profile_module.rb @@ -11,11 +11,13 @@ module Mgmt Operations = Azure::Automation::Mgmt::V2015_10_31::Operations StatisticsOperations = Azure::Automation::Mgmt::V2015_10_31::StatisticsOperations Usages = Azure::Automation::Mgmt::V2015_10_31::Usages + 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 DscCompilationJobOperations = Azure::Automation::Mgmt::V2015_10_31::DscCompilationJobOperations + DscCompilationJobStream = Azure::Automation::Mgmt::V2015_10_31::DscCompilationJobStream DscConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscConfigurationOperations AgentRegistrationInformation = Azure::Automation::Mgmt::V2015_10_31::AgentRegistrationInformation DscNodeOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeOperations @@ -25,6 +27,7 @@ module Mgmt JobOperations = Azure::Automation::Mgmt::V2015_10_31::JobOperations JobStreamOperations = Azure::Automation::Mgmt::V2015_10_31::JobStreamOperations JobScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::JobScheduleOperations + LinkedWorkspaceOperations = Azure::Automation::Mgmt::V2015_10_31::LinkedWorkspaceOperations ActivityOperations = Azure::Automation::Mgmt::V2015_10_31::ActivityOperations ModuleModelOperations = Azure::Automation::Mgmt::V2015_10_31::ModuleModelOperations ObjectDataTypes = Azure::Automation::Mgmt::V2015_10_31::ObjectDataTypes @@ -32,125 +35,136 @@ module Mgmt RunbookDraftOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookDraftOperations RunbookOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookOperations TestJobStreams = Azure::Automation::Mgmt::V2015_10_31::TestJobStreams - TestJobs = Azure::Automation::Mgmt::V2015_10_31::TestJobs + TestJobOperations = Azure::Automation::Mgmt::V2015_10_31::TestJobOperations ScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::ScheduleOperations VariableOperations = Azure::Automation::Mgmt::V2015_10_31::VariableOperations WebhookOperations = Azure::Automation::Mgmt::V2015_10_31::WebhookOperations module Models + AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse + AgentRegistrationRegenerateKeyParameter = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + KeyListResult = Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult DscCompilationJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters - DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob - UsageCounterName = Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage + JobStream = Azure::Automation::Mgmt::V2015_10_31::Models::JobStream + Statistics = Azure::Automation::Mgmt::V2015_10_31::Models::Statistics + JobStreamListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult + RunbookAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty DscCompilationJobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult + AgentRegistrationKeys = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys + Key = Azure::Automation::Mgmt::V2015_10_31::Models::Key + DscConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty + UsageCounterName = Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + JobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters UsageListResult = Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult - DscConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult + JobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult StatisticsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult + Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job + VariableUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters + RunbookParameter = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter + VariableListResult = Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult + ContentLink = Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink + WebhookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters + DscNodeConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult + DscConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult + DscNodeConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters DscConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters - ContentHash = Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash + DscConfigurationParameter = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter + DscConfigurationUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters + WebhookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters DscMetaConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration - RunbookDraft = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft - DscNodeConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters - ModuleErrorInfo = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo - DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration - DscNodeExtensionHandlerAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty - DscNodeConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult - DscNodeConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty - ContentSource = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource WebhookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult - DscNodeListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult - Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku + DscNodeConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty + OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + DscNodeExtensionHandlerAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult DscNodeUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters - AutomationAccountListResult = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult + AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters DscReportError = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError - Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation + CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters DscReportResourceNavigation = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation - AutomationAccountCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters + ConnectionListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult DscReportResource = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource - Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + ConnectionCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters DscNodeReport = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport - CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters + ConnectionType = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType DscNodeReportListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult - ConnectionTypeAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty + ConnectionTypeCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters HybridRunbookWorker = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker - ConnectionListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult + CredentialUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters RunAsCredentialAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty - ConnectionCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters + ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter HybridRunbookWorkerGroup = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup - ConnectionType = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType + ActivityOutputType = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType HybridRunbookWorkerGroupsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupsListResult - ConnectionTypeCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters + ActivityListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult HybridRunbookWorkerGroupUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupUpdateParameters - CredentialListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult - RunbookAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty - CredentialCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialCreateOrUpdateParameters - Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job - ActivityParameterSet = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet - JobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters - Activity = Azure::Automation::Mgmt::V2015_10_31::Models::Activity - JobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult - AdvancedScheduleMonthlyOccurrence = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + AdvancedSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule ScheduleAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleAssociationProperty - AgentRegistrationKeys = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys JobScheduleCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters - AgentRegistrationRegenerateKeyParameter = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource JobSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::JobSchedule - ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse + RunbookDraft = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft JobScheduleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleListResult - Statistics = Azure::Automation::Mgmt::V2015_10_31::Models::Statistics - JobStream = Azure::Automation::Mgmt::V2015_10_31::Models::JobStream - ContentLink = Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink - JobStreamListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult - Webhook = Azure::Automation::Mgmt::V2015_10_31::Models::Webhook - DscConfigurationParameter = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter + ContentSource = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource + LinkedWorkspace = Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace + Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku ModuleCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters - WebhookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters + Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation ModuleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult - OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult - ModuleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters CertificateListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult + ModuleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters + ConnectionUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters RunbookDraftUndoEditResult = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult - Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection + ConnectionTypeListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeListResult RunbookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters - FieldDefinition = Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition + CredentialCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialCreateOrUpdateParameters RunbookCreateOrUpdateDraftProperties = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftProperties - Credential = Azure::Automation::Mgmt::V2015_10_31::Models::Credential + Activity = Azure::Automation::Mgmt::V2015_10_31::Models::Activity RunbookCreateOrUpdateDraftParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters - ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter + JobProvisioningStateProperty = Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningStateProperty RunbookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookUpdateParameters - ActivityListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult + ContentHash = Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash RunbookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult - AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + DscNodeListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult ScheduleCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleCreateOrUpdateParameters - Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage + AutomationAccountCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters Schedule = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule - WebhookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters - Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource + FieldDefinition = Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition ScheduleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters - AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + ActivityParameterSet = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet ScheduleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult - ConnectionUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters + ConnectionTypeAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty SubResource = Azure::Automation::Mgmt::V2015_10_31::Models::SubResource - CredentialUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters + AutomationAccountListResult = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult TestJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters - AdvancedSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule + CredentialListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult TestJob = Azure::Automation::Mgmt::V2015_10_31::Models::TestJob - RunbookParameter = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter + ModuleErrorInfo = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo TypeField = Azure::Automation::Mgmt::V2015_10_31::Models::TypeField - CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + AdvancedScheduleMonthlyOccurrence = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence TypeFieldListResult = Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult - ActivityOutputType = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType + CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters VariableCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters - OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + ProxyResource = Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource + Webhook = Azure::Automation::Mgmt::V2015_10_31::Models::Webhook Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable - DscConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty - VariableListResult = Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult - ConnectionTypeListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeListResult - VariableUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters + DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + Credential = Azure::Automation::Mgmt::V2015_10_31::Models::Credential + Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection + Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + TrackedResource = Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook ModuleModel = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel - DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode DscConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount + DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode + DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + 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 + JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum RunbookState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookState RunbookProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookProvisioningState @@ -162,14 +176,13 @@ module Models AutomationAccountState = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState ScheduleDay = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay AgentRegistrationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName - JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType HttpStatusCode = Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency end class AutomationManagementClass - attr_reader :automation_account_operations, :operations, :statistics_operations, :usages, :certificate_operations, :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :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, :activity_operations, :module_model_operations, :object_data_types, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_jobs, :schedule_operations, :variable_operations, :webhook_operations, :configurable, :base_url, :options, :model_classes + attr_reader :automation_account_operations, :operations, :statistics_operations, :usages, :keys, :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, :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, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -183,11 +196,13 @@ def initialize(configurable, base_url=nil, options=nil) @operations = @client_0.operations @statistics_operations = @client_0.statistics_operations @usages = @client_0.usages + @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 @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 @agent_registration_information = @client_0.agent_registration_information @dsc_node_operations = @client_0.dsc_node_operations @@ -197,6 +212,7 @@ def initialize(configurable, base_url=nil, options=nil) @job_operations = @client_0.job_operations @job_stream_operations = @client_0.job_stream_operations @job_schedule_operations = @client_0.job_schedule_operations + @linked_workspace_operations = @client_0.linked_workspace_operations @activity_operations = @client_0.activity_operations @module_model_operations = @client_0.module_model_operations @object_data_types = @client_0.object_data_types @@ -204,7 +220,7 @@ def initialize(configurable, base_url=nil, options=nil) @runbook_draft_operations = @client_0.runbook_draft_operations @runbook_operations = @client_0.runbook_operations @test_job_streams = @client_0.test_job_streams - @test_jobs = @client_0.test_jobs + @test_job_operations = @client_0.test_job_operations @schedule_operations = @client_0.schedule_operations @variable_operations = @client_0.variable_operations @webhook_operations = @client_0.webhook_operations @@ -226,329 +242,347 @@ def method_missing(method, *args) end class ModelClasses + def agent_registration + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + end + def error_response + Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse + end + def agent_registration_regenerate_key_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + end + def key_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult + end def dsc_compilation_job_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters end - def dsc_compilation_job - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + def usage + Azure::Automation::Mgmt::V2015_10_31::Models::Usage end - def usage_counter_name - Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + def job_stream + Azure::Automation::Mgmt::V2015_10_31::Models::JobStream + end + def statistics + Azure::Automation::Mgmt::V2015_10_31::Models::Statistics + end + def job_stream_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult + end + def runbook_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty end def dsc_compilation_job_list_result Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult end + def agent_registration_keys + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys + end + def key + Azure::Automation::Mgmt::V2015_10_31::Models::Key + end + def dsc_configuration_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty + end + def usage_counter_name + Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + end + def job_create_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters + end def usage_list_result Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult end - def dsc_configuration_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult + def job_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult end def statistics_list_result Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult end - def dsc_configuration_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters + def job + Azure::Automation::Mgmt::V2015_10_31::Models::Job end - def content_hash - Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash + def variable_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters end - def dsc_meta_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration + def runbook_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter end - def runbook_draft - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft + def variable_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult + end + def content_link + Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink + end + def webhook_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters + end + def dsc_node_configuration_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult + end + def dsc_configuration_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult end def dsc_node_configuration_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters end - def module_error_info - Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo - end - def dsc_node_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + def dsc_configuration_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters end - def dsc_node_extension_handler_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + def dsc_configuration_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter end - def dsc_node_configuration_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult + def dsc_configuration_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters end - def dsc_node_configuration_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty + def webhook_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters end - def content_source - Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource + def dsc_meta_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration end def webhook_list_result Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult end - def dsc_node_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult + def dsc_node_configuration_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty end - def sku - Azure::Automation::Mgmt::V2015_10_31::Models::Sku + def operation_display + Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + end + def dsc_node_extension_handler_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + end + def operation_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult end def dsc_node_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters end - def automation_account_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult + def automation_account_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters end def dsc_report_error Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError end - def operation - Azure::Automation::Mgmt::V2015_10_31::Models::Operation + def certificate_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters end def dsc_report_resource_navigation Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation end - def automation_account_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters + def connection_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult end def dsc_report_resource Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource end - def certificate - Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + def connection_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters end def dsc_node_report Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport end - def certificate_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters + def connection_type + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType end def dsc_node_report_list_result Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult end - def connection_type_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty + def connection_type_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters end def hybrid_runbook_worker Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker end - def connection_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult + def credential_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters end def run_as_credential_association_property Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty end - def connection_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters + def activity_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter end def hybrid_runbook_worker_group Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup end - def connection_type - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType + def activity_output_type + Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType end def hybrid_runbook_worker_groups_list_result Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupsListResult end - def connection_type_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters + def activity_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult end def hybrid_runbook_worker_group_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupUpdateParameters end - def credential_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult - end - def runbook_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty - end - def credential_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CredentialCreateOrUpdateParameters - end - def job - Azure::Automation::Mgmt::V2015_10_31::Models::Job - end - def activity_parameter_set - Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet - end - def job_create_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters - end - def activity - Azure::Automation::Mgmt::V2015_10_31::Models::Activity - end - def job_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult - end - def advanced_schedule_monthly_occurrence - Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + def advanced_schedule + Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule end def schedule_association_property Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleAssociationProperty end - def agent_registration_keys - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys - end def job_schedule_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters end - def agent_registration_regenerate_key_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + def resource + Azure::Automation::Mgmt::V2015_10_31::Models::Resource end def job_schedule Azure::Automation::Mgmt::V2015_10_31::Models::JobSchedule end - def error_response - Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse + def runbook_draft + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft end def job_schedule_list_result Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleListResult end - def statistics - Azure::Automation::Mgmt::V2015_10_31::Models::Statistics - end - def job_stream - Azure::Automation::Mgmt::V2015_10_31::Models::JobStream - end - def content_link - Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink - end - def job_stream_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult + def content_source + Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource end - def webhook - Azure::Automation::Mgmt::V2015_10_31::Models::Webhook + def linked_workspace + Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace end - def dsc_configuration_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter + def sku + Azure::Automation::Mgmt::V2015_10_31::Models::Sku end def module_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters end - def webhook_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters + def operation + Azure::Automation::Mgmt::V2015_10_31::Models::Operation end def module_list_result Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult end - def operation_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult + def certificate_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult end def module_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters end - def certificate_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult + def connection_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters end def runbook_draft_undo_edit_result Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult end - def connection - Azure::Automation::Mgmt::V2015_10_31::Models::Connection + def connection_type_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeListResult end def runbook_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters end - def field_definition - Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition + def credential_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CredentialCreateOrUpdateParameters end 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 + def activity + Azure::Automation::Mgmt::V2015_10_31::Models::Activity end def runbook_create_or_update_draft_parameters Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters end - def activity_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter + def job_provisioning_state_property + Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningStateProperty end def runbook_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::RunbookUpdateParameters end - def activity_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult + def content_hash + Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash end def runbook_list_result Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult end - def agent_registration - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + def dsc_node_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult end def schedule_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleCreateOrUpdateParameters end - def usage - Azure::Automation::Mgmt::V2015_10_31::Models::Usage + def automation_account_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters end def schedule Azure::Automation::Mgmt::V2015_10_31::Models::Schedule end - def webhook_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters - end - def resource - Azure::Automation::Mgmt::V2015_10_31::Models::Resource + def field_definition + Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition end def schedule_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters end - def automation_account_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + def activity_parameter_set + Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet end def schedule_list_result Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult end - def connection_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters + def connection_type_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty end def sub_resource Azure::Automation::Mgmt::V2015_10_31::Models::SubResource end - def credential_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters + def automation_account_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult end def test_job_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters end - def advanced_schedule - Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule + def credential_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult end def test_job Azure::Automation::Mgmt::V2015_10_31::Models::TestJob end - def runbook_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter + def module_error_info + Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo end def type_field Azure::Automation::Mgmt::V2015_10_31::Models::TypeField end - def certificate_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + def advanced_schedule_monthly_occurrence + Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence end def type_field_list_result Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult end - def activity_output_type - Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType + def certificate_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters end def variable_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters end - def operation_display - Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + def proxy_resource + Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource + end + def webhook + Azure::Automation::Mgmt::V2015_10_31::Models::Webhook end def variable Azure::Automation::Mgmt::V2015_10_31::Models::Variable end - def dsc_configuration_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty + def dsc_compilation_job + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob end - def variable_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult + def credential + Azure::Automation::Mgmt::V2015_10_31::Models::Credential end - def connection_type_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeListResult + def connection + Azure::Automation::Mgmt::V2015_10_31::Models::Connection end - def variable_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters + def certificate + Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + end + def tracked_resource + Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource end def runbook Azure::Automation::Mgmt::V2015_10_31::Models::Runbook @@ -556,15 +590,30 @@ def runbook def module_model Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel end - def dsc_node - Azure::Automation::Mgmt::V2015_10_31::Models::DscNode - end def dsc_configuration Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration end def automation_account Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount end + def dsc_node + Azure::Automation::Mgmt::V2015_10_31::Models::DscNode + end + def dsc_node_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + 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 job_status + Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus + end def runbook_type_enum Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum end @@ -598,9 +647,6 @@ def schedule_day def agent_registration_key_name Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName end - def job_status - Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus - end def job_stream_type Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation.rb index 119409a4ab..f857566689 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation.rb @@ -24,11 +24,13 @@ module Azure::Automation::Mgmt::V2015_10_31 autoload :Operations, '2015-10-31/generated/azure_mgmt_automation/operations.rb' autoload :StatisticsOperations, '2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb' autoload :Usages, '2015-10-31/generated/azure_mgmt_automation/usages.rb' + autoload :Keys, '2015-10-31/generated/azure_mgmt_automation/keys.rb' autoload :CertificateOperations, '2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb' autoload :ConnectionOperations, '2015-10-31/generated/azure_mgmt_automation/connection_operations.rb' autoload :ConnectionTypeOperations, '2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb' autoload :CredentialOperations, '2015-10-31/generated/azure_mgmt_automation/credential_operations.rb' autoload :DscCompilationJobOperations, '2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb' + autoload :DscCompilationJobStream, '2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb' autoload :DscConfigurationOperations, '2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb' autoload :AgentRegistrationInformation, '2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb' autoload :DscNodeOperations, '2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb' @@ -38,6 +40,7 @@ module Azure::Automation::Mgmt::V2015_10_31 autoload :JobOperations, '2015-10-31/generated/azure_mgmt_automation/job_operations.rb' autoload :JobStreamOperations, '2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb' autoload :JobScheduleOperations, '2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb' + autoload :LinkedWorkspaceOperations, '2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb' autoload :ActivityOperations, '2015-10-31/generated/azure_mgmt_automation/activity_operations.rb' autoload :ModuleModelOperations, '2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb' autoload :ObjectDataTypes, '2015-10-31/generated/azure_mgmt_automation/object_data_types.rb' @@ -45,126 +48,137 @@ module Azure::Automation::Mgmt::V2015_10_31 autoload :RunbookDraftOperations, '2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb' autoload :RunbookOperations, '2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb' autoload :TestJobStreams, '2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb' - autoload :TestJobs, '2015-10-31/generated/azure_mgmt_automation/test_jobs.rb' + autoload :TestJobOperations, '2015-10-31/generated/azure_mgmt_automation/test_job_operations.rb' autoload :ScheduleOperations, '2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb' autoload :VariableOperations, '2015-10-31/generated/azure_mgmt_automation/variable_operations.rb' autoload :WebhookOperations, '2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb' autoload :AutomationClient, '2015-10-31/generated/azure_mgmt_automation/automation_client.rb' module Models + autoload :AgentRegistration, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb' + autoload :ErrorResponse, '2015-10-31/generated/azure_mgmt_automation/models/error_response.rb' + autoload :AgentRegistrationRegenerateKeyParameter, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb' + autoload :KeyListResult, '2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb' autoload :DscCompilationJobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb' - autoload :DscCompilationJob, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb' - autoload :UsageCounterName, '2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb' + autoload :Usage, '2015-10-31/generated/azure_mgmt_automation/models/usage.rb' + autoload :JobStream, '2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb' + autoload :Statistics, '2015-10-31/generated/azure_mgmt_automation/models/statistics.rb' + autoload :JobStreamListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb' + autoload :RunbookAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb' autoload :DscCompilationJobListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb' + autoload :AgentRegistrationKeys, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb' + autoload :Key, '2015-10-31/generated/azure_mgmt_automation/models/key.rb' + autoload :DscConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb' + autoload :UsageCounterName, '2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb' + autoload :JobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb' autoload :UsageListResult, '2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb' - autoload :DscConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb' + autoload :JobListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb' autoload :StatisticsListResult, '2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb' + autoload :Job, '2015-10-31/generated/azure_mgmt_automation/models/job.rb' + autoload :VariableUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb' + autoload :RunbookParameter, '2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb' + autoload :VariableListResult, '2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb' + autoload :ContentLink, '2015-10-31/generated/azure_mgmt_automation/models/content_link.rb' + autoload :WebhookCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb' + autoload :DscNodeConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb' + autoload :DscConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb' + autoload :DscNodeConfigurationCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb' autoload :DscConfigurationCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb' - autoload :ContentHash, '2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb' + autoload :DscConfigurationParameter, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb' + autoload :DscConfigurationUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb' + autoload :WebhookUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb' autoload :DscMetaConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb' - autoload :RunbookDraft, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb' - autoload :DscNodeConfigurationCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb' - autoload :ModuleErrorInfo, '2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb' - autoload :DscNodeConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb' - autoload :DscNodeExtensionHandlerAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb' - autoload :DscNodeConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb' - autoload :DscNodeConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb' - autoload :ContentSource, '2015-10-31/generated/azure_mgmt_automation/models/content_source.rb' autoload :WebhookListResult, '2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb' - autoload :DscNodeListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb' - autoload :Sku, '2015-10-31/generated/azure_mgmt_automation/models/sku.rb' + autoload :DscNodeConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb' + autoload :OperationDisplay, '2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb' + autoload :DscNodeExtensionHandlerAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb' + autoload :OperationListResult, '2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb' autoload :DscNodeUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb' - autoload :AutomationAccountListResult, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb' + autoload :AutomationAccountUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb' autoload :DscReportError, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb' - autoload :Operation, '2015-10-31/generated/azure_mgmt_automation/models/operation.rb' + autoload :CertificateUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb' autoload :DscReportResourceNavigation, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb' - autoload :AutomationAccountCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb' + autoload :ConnectionListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb' autoload :DscReportResource, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb' - autoload :Certificate, '2015-10-31/generated/azure_mgmt_automation/models/certificate.rb' + autoload :ConnectionCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb' autoload :DscNodeReport, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report.rb' - autoload :CertificateUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb' + autoload :ConnectionType, '2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb' autoload :DscNodeReportListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb' - autoload :ConnectionTypeAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb' + autoload :ConnectionTypeCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb' autoload :HybridRunbookWorker, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb' - autoload :ConnectionListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb' + autoload :CredentialUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb' autoload :RunAsCredentialAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb' - autoload :ConnectionCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb' + autoload :ActivityParameter, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb' autoload :HybridRunbookWorkerGroup, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb' - autoload :ConnectionType, '2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb' + autoload :ActivityOutputType, '2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb' autoload :HybridRunbookWorkerGroupsListResult, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb' - autoload :ConnectionTypeCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb' + autoload :ActivityListResult, '2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb' autoload :HybridRunbookWorkerGroupUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb' - autoload :CredentialListResult, '2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb' - autoload :RunbookAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb' - autoload :CredentialCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb' - autoload :Job, '2015-10-31/generated/azure_mgmt_automation/models/job.rb' - autoload :ActivityParameterSet, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb' - autoload :JobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb' - autoload :Activity, '2015-10-31/generated/azure_mgmt_automation/models/activity.rb' - autoload :JobListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb' - autoload :AdvancedScheduleMonthlyOccurrence, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb' + autoload :AdvancedSchedule, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb' autoload :ScheduleAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb' - autoload :AgentRegistrationKeys, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb' autoload :JobScheduleCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb' - autoload :AgentRegistrationRegenerateKeyParameter, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb' + autoload :Resource, '2015-10-31/generated/azure_mgmt_automation/models/resource.rb' autoload :JobSchedule, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb' - autoload :ErrorResponse, '2015-10-31/generated/azure_mgmt_automation/models/error_response.rb' + autoload :RunbookDraft, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb' autoload :JobScheduleListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb' - autoload :Statistics, '2015-10-31/generated/azure_mgmt_automation/models/statistics.rb' - autoload :JobStream, '2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb' - autoload :ContentLink, '2015-10-31/generated/azure_mgmt_automation/models/content_link.rb' - autoload :JobStreamListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb' - autoload :Webhook, '2015-10-31/generated/azure_mgmt_automation/models/webhook.rb' - autoload :DscConfigurationParameter, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb' + autoload :ContentSource, '2015-10-31/generated/azure_mgmt_automation/models/content_source.rb' + autoload :LinkedWorkspace, '2015-10-31/generated/azure_mgmt_automation/models/linked_workspace.rb' + autoload :Sku, '2015-10-31/generated/azure_mgmt_automation/models/sku.rb' autoload :ModuleCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb' - autoload :WebhookUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb' + autoload :Operation, '2015-10-31/generated/azure_mgmt_automation/models/operation.rb' autoload :ModuleListResult, '2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb' - autoload :OperationListResult, '2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb' - autoload :ModuleUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb' autoload :CertificateListResult, '2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb' + autoload :ModuleUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb' + autoload :ConnectionUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb' autoload :RunbookDraftUndoEditResult, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb' - autoload :Connection, '2015-10-31/generated/azure_mgmt_automation/models/connection.rb' + autoload :ConnectionTypeListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb' autoload :RunbookCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb' - autoload :FieldDefinition, '2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb' + autoload :CredentialCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb' autoload :RunbookCreateOrUpdateDraftProperties, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb' - autoload :Credential, '2015-10-31/generated/azure_mgmt_automation/models/credential.rb' + autoload :Activity, '2015-10-31/generated/azure_mgmt_automation/models/activity.rb' autoload :RunbookCreateOrUpdateDraftParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb' - autoload :ActivityParameter, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb' + autoload :JobProvisioningStateProperty, '2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state_property.rb' autoload :RunbookUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_update_parameters.rb' - autoload :ActivityListResult, '2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb' + autoload :ContentHash, '2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb' autoload :RunbookListResult, '2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb' - autoload :AgentRegistration, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb' + autoload :DscNodeListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb' autoload :ScheduleCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb' - autoload :Usage, '2015-10-31/generated/azure_mgmt_automation/models/usage.rb' + autoload :AutomationAccountCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb' autoload :Schedule, '2015-10-31/generated/azure_mgmt_automation/models/schedule.rb' - autoload :WebhookCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb' - autoload :Resource, '2015-10-31/generated/azure_mgmt_automation/models/resource.rb' + autoload :FieldDefinition, '2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb' autoload :ScheduleUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb' - autoload :AutomationAccountUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb' + autoload :ActivityParameterSet, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb' autoload :ScheduleListResult, '2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb' - autoload :ConnectionUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb' + autoload :ConnectionTypeAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb' autoload :SubResource, '2015-10-31/generated/azure_mgmt_automation/models/sub_resource.rb' - autoload :CredentialUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb' + autoload :AutomationAccountListResult, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb' autoload :TestJobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb' - autoload :AdvancedSchedule, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb' + autoload :CredentialListResult, '2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb' autoload :TestJob, '2015-10-31/generated/azure_mgmt_automation/models/test_job.rb' - autoload :RunbookParameter, '2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb' + autoload :ModuleErrorInfo, '2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb' autoload :TypeField, '2015-10-31/generated/azure_mgmt_automation/models/type_field.rb' - autoload :CertificateCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb' + autoload :AdvancedScheduleMonthlyOccurrence, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb' autoload :TypeFieldListResult, '2015-10-31/generated/azure_mgmt_automation/models/type_field_list_result.rb' - autoload :ActivityOutputType, '2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb' + autoload :CertificateCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb' autoload :VariableCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb' - autoload :OperationDisplay, '2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb' + autoload :ProxyResource, '2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb' + autoload :Webhook, '2015-10-31/generated/azure_mgmt_automation/models/webhook.rb' autoload :Variable, '2015-10-31/generated/azure_mgmt_automation/models/variable.rb' - autoload :DscConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb' - autoload :VariableListResult, '2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb' - autoload :ConnectionTypeListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb' - autoload :VariableUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb' + autoload :DscCompilationJob, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb' + autoload :Credential, '2015-10-31/generated/azure_mgmt_automation/models/credential.rb' + autoload :Connection, '2015-10-31/generated/azure_mgmt_automation/models/connection.rb' + autoload :Certificate, '2015-10-31/generated/azure_mgmt_automation/models/certificate.rb' + autoload :TrackedResource, '2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb' autoload :Runbook, '2015-10-31/generated/azure_mgmt_automation/models/runbook.rb' autoload :ModuleModel, '2015-10-31/generated/azure_mgmt_automation/models/module_model.rb' - autoload :DscNode, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb' autoload :DscConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb' autoload :AutomationAccount, '2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb' + autoload :DscNode, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb' + autoload :DscNodeConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb' + autoload :AutomationKeyName, '2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb' + autoload :AutomationKeyPermissions, '2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb' + autoload :JobProvisioningState, '2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb' + autoload :JobStatus, '2015-10-31/generated/azure_mgmt_automation/models/job_status.rb' autoload :RunbookTypeEnum, '2015-10-31/generated/azure_mgmt_automation/models/runbook_type_enum.rb' autoload :RunbookState, '2015-10-31/generated/azure_mgmt_automation/models/runbook_state.rb' autoload :RunbookProvisioningState, '2015-10-31/generated/azure_mgmt_automation/models/runbook_provisioning_state.rb' @@ -176,7 +190,6 @@ module Models autoload :AutomationAccountState, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_state.rb' autoload :ScheduleDay, '2015-10-31/generated/azure_mgmt_automation/models/schedule_day.rb' autoload :AgentRegistrationKeyName, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb' - autoload :JobStatus, '2015-10-31/generated/azure_mgmt_automation/models/job_status.rb' autoload :JobStreamType, '2015-10-31/generated/azure_mgmt_automation/models/job_stream_type.rb' autoload :HttpStatusCode, '2015-10-31/generated/azure_mgmt_automation/models/http_status_code.rb' autoload :ScheduleFrequency, '2015-10-31/generated/azure_mgmt_automation/models/schedule_frequency.rb' diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb index 51f9c7d9bc..93d0e0d883 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb @@ -25,6 +25,7 @@ def initialize(client) # Retrieve the activity in the module identified by module name and activity # name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param activity_name [String] The name of activity. @@ -33,8 +34,8 @@ def initialize(client) # # @return [Activity] operation results. # - def get(automation_account_name, module_name, activity_name, custom_headers:nil) - response = get_async(automation_account_name, module_name, activity_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, module_name, activity_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers).value! response.body unless response.nil? end @@ -42,6 +43,7 @@ def get(automation_account_name, module_name, activity_name, custom_headers:nil) # Retrieve the activity in the module identified by module name and activity # name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param activity_name [String] The name of activity. @@ -50,14 +52,15 @@ def get(automation_account_name, module_name, activity_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, module_name, activity_name, custom_headers:nil) - get_async(automation_account_name, module_name, activity_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, module_name, activity_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers).value! end # # Retrieve the activity in the module identified by module name and activity # name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param activity_name [String] The name of activity. @@ -66,9 +69,8 @@ def get_with_http_info(automation_account_name, module_name, activity_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, module_name, activity_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'module_name is nil' if module_name.nil? fail ArgumentError, 'activity_name is nil' if activity_name.nil? @@ -77,7 +79,6 @@ def get_async(automation_account_name, module_name, activity_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 @@ -88,7 +89,7 @@ def get_async(automation_account_name, module_name, activity_name, custom_header options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'activityName' => activity_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'activityName' => activity_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -125,6 +126,7 @@ def get_async(automation_account_name, module_name, activity_name, custom_header # # Retrieve a list of activities in the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -132,14 +134,15 @@ def get_async(automation_account_name, module_name, activity_name, custom_header # # @return [Array] operation results. # - def list_by_module(automation_account_name, module_name, custom_headers:nil) - first_page = list_by_module_as_lazy(automation_account_name, module_name, custom_headers:custom_headers) + def list_by_module(resource_group_name, automation_account_name, module_name, custom_headers = nil) + first_page = list_by_module_as_lazy(resource_group_name, automation_account_name, module_name, custom_headers) first_page.get_all_items end # # Retrieve a list of activities in the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -147,13 +150,14 @@ def list_by_module(automation_account_name, module_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_module_with_http_info(automation_account_name, module_name, custom_headers:nil) - list_by_module_async(automation_account_name, module_name, custom_headers:custom_headers).value! + def list_by_module_with_http_info(resource_group_name, automation_account_name, module_name, custom_headers = nil) + list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers).value! end # # Retrieve a list of activities in the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -161,9 +165,8 @@ def list_by_module_with_http_info(automation_account_name, module_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_module_async(automation_account_name, module_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'module_name is nil' if module_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -171,7 +174,6 @@ def list_by_module_async(automation_account_name, module_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -182,7 +184,7 @@ def list_by_module_async(automation_account_name, module_name, custom_headers:ni options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -226,8 +228,8 @@ def list_by_module_async(automation_account_name, module_name, custom_headers:ni # # @return [ActivityListResult] operation results. # - def list_by_module_next(next_page_link, custom_headers:nil) - response = list_by_module_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_module_next(next_page_link, custom_headers = nil) + response = list_by_module_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -241,8 +243,8 @@ def list_by_module_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_module_next_with_http_info(next_page_link, custom_headers:nil) - list_by_module_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_module_next_with_http_info(next_page_link, custom_headers = nil) + list_by_module_next_async(next_page_link, custom_headers).value! end # @@ -255,12 +257,11 @@ def list_by_module_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_module_next_async(next_page_link, custom_headers:nil) + def list_by_module_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -307,6 +308,7 @@ def list_by_module_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of activities in the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -315,12 +317,12 @@ def list_by_module_next_async(next_page_link, custom_headers:nil) # @return [ActivityListResult] which provide lazy access to pages of the # response. # - def list_by_module_as_lazy(automation_account_name, module_name, custom_headers:nil) - response = list_by_module_async(automation_account_name, module_name, custom_headers:custom_headers).value! + def list_by_module_as_lazy(resource_group_name, automation_account_name, module_name, custom_headers = nil) + response = list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_module_next_async(next_page_link, custom_headers:custom_headers) + list_by_module_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb index 7b04696944..f118e4e6ce 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb @@ -24,49 +24,50 @@ def initialize(client) # # Retrieve the automation agent registration information. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [AgentRegistration] operation results. # - def get(automation_account_name, custom_headers:nil) - response = get_async(automation_account_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the automation agent registration information. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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(automation_account_name, custom_headers:nil) - get_async(automation_account_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, custom_headers).value! end # # Retrieve the automation agent registration information. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -77,7 +78,7 @@ def get_async(automation_account_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -114,6 +115,7 @@ def get_async(automation_account_name, custom_headers:nil) # # Regenerate a primary or secondary agent registration key # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param parameters [AgentRegistrationRegenerateKeyParameter] The name of the # agent registration key to be regenerated @@ -122,14 +124,15 @@ def get_async(automation_account_name, custom_headers:nil) # # @return [AgentRegistration] operation results. # - def regenerate_key(automation_account_name, parameters, custom_headers:nil) - response = regenerate_key_async(automation_account_name, parameters, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, automation_account_name, parameters, custom_headers = nil) + response = regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers).value! response.body unless response.nil? end # # Regenerate a primary or secondary agent registration key # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param parameters [AgentRegistrationRegenerateKeyParameter] The name of the # agent registration key to be regenerated @@ -138,13 +141,14 @@ def regenerate_key(automation_account_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(automation_account_name, parameters, custom_headers:nil) - regenerate_key_async(automation_account_name, parameters, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, automation_account_name, parameters, custom_headers = nil) + regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers).value! end # # Regenerate a primary or secondary agent registration key # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param parameters [AgentRegistrationRegenerateKeyParameter] The name of the # agent registration key to be regenerated @@ -153,9 +157,8 @@ def regenerate_key_with_http_info(automation_account_name, parameters, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(automation_account_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -163,12 +166,13 @@ def regenerate_key_async(automation_account_name, parameters, 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 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::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -180,7 +184,7 @@ def regenerate_key_async(automation_account_name, parameters, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb index 58ff1bcaef..4af2928248 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [AutomationAccount] operation results. # - def update(resource_group_name, automation_account_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, automation_account_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, automation_account_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def update(resource_group_name, automation_account_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, automation_account_name, parameters, custom_headers:nil) - update_async(resource_group_name, automation_account_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, automation_account_name, parameters, custom_headers = nil) + update_async(resource_group_name, automation_account_name, parameters, custom_headers).value! end # @@ -66,9 +66,8 @@ def update_with_http_info(resource_group_name, automation_account_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, automation_account_name, parameters, custom_headers:nil) + def update_async(resource_group_name, automation_account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -76,12 +75,13 @@ def update_async(resource_group_name, automation_account_name, parameters, custo 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::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -141,8 +141,8 @@ def update_async(resource_group_name, automation_account_name, parameters, custo # # @return [AutomationAccount] operation results. # - def create_or_update(resource_group_name, automation_account_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, automation_account_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, automation_account_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -159,8 +159,8 @@ def create_or_update(resource_group_name, automation_account_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, automation_account_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, automation_account_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, parameters, custom_headers).value! end # @@ -176,9 +176,8 @@ def create_or_update_with_http_info(resource_group_name, automation_account_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, automation_account_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, automation_account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -186,12 +185,13 @@ def create_or_update_async(resource_group_name, automation_account_name, paramet 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::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -257,8 +257,8 @@ def create_or_update_async(resource_group_name, automation_account_name, paramet # will be added to the HTTP request. # # - def delete(resource_group_name, automation_account_name, custom_headers:nil) - response = delete_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, custom_headers).value! nil end @@ -272,8 +272,8 @@ def delete(resource_group_name, automation_account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, automation_account_name, custom_headers:nil) - delete_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, custom_headers).value! end # @@ -286,16 +286,14 @@ def delete_with_http_info(resource_group_name, automation_account_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, automation_account_name, custom_headers:nil) + def delete_async(resource_group_name, automation_account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -340,8 +338,8 @@ def delete_async(resource_group_name, automation_account_name, custom_headers:ni # # @return [AutomationAccount] operation results. # - def get(resource_group_name, automation_account_name, custom_headers:nil) - response = get_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, custom_headers).value! response.body unless response.nil? end @@ -355,8 +353,8 @@ def get(resource_group_name, automation_account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, automation_account_name, custom_headers:nil) - get_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, custom_headers).value! end # @@ -369,16 +367,14 @@ def get_with_http_info(resource_group_name, automation_account_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, automation_account_name, custom_headers:nil) + def get_async(resource_group_name, automation_account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -432,8 +428,8 @@ def get_async(resource_group_name, automation_account_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -446,8 +442,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 # @@ -459,15 +455,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, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).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 @@ -522,8 +516,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -537,8 +531,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 # @@ -551,13 +545,12 @@ 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.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 @@ -612,8 +605,8 @@ def list_async(custom_headers:nil) # # @return [AutomationAccountListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -627,8 +620,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -641,12 +634,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -702,8 +694,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [AutomationAccountListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -719,8 +711,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -735,12 +727,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -794,12 +785,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AutomationAccountListResult] which provide lazy access to pages of # the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -816,12 +807,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [AutomationAccountListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb index 1b711e8416..1fb49fb531 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb @@ -25,9 +25,6 @@ class AutomationClient < MsRestAzure::AzureServiceClient # for every service call. attr_accessor :subscription_id - # @return [String] The resource group name. - attr_accessor :resource_group_name - # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language @@ -51,6 +48,9 @@ class AutomationClient < MsRestAzure::AzureServiceClient # @return [Usages] usages attr_reader :usages + # @return [Keys] keys + attr_reader :keys + # @return [CertificateOperations] certificate_operations attr_reader :certificate_operations @@ -66,6 +66,9 @@ class AutomationClient < MsRestAzure::AzureServiceClient # @return [DscCompilationJobOperations] dsc_compilation_job_operations attr_reader :dsc_compilation_job_operations + # @return [DscCompilationJobStream] dsc_compilation_job_stream + attr_reader :dsc_compilation_job_stream + # @return [DscConfigurationOperations] dsc_configuration_operations attr_reader :dsc_configuration_operations @@ -95,6 +98,9 @@ class AutomationClient < MsRestAzure::AzureServiceClient # @return [JobScheduleOperations] job_schedule_operations attr_reader :job_schedule_operations + # @return [LinkedWorkspaceOperations] linked_workspace_operations + attr_reader :linked_workspace_operations + # @return [ActivityOperations] activity_operations attr_reader :activity_operations @@ -116,8 +122,8 @@ class AutomationClient < MsRestAzure::AzureServiceClient # @return [TestJobStreams] test_job_streams attr_reader :test_job_streams - # @return [TestJobs] test_jobs - attr_reader :test_jobs + # @return [TestJobOperations] test_job_operations + attr_reader :test_job_operations # @return [ScheduleOperations] schedule_operations attr_reader :schedule_operations @@ -145,11 +151,13 @@ def initialize(credentials = nil, base_url = nil, options = nil) @operations = Operations.new(self) @statistics_operations = StatisticsOperations.new(self) @usages = Usages.new(self) + @keys = Keys.new(self) @certificate_operations = CertificateOperations.new(self) @connection_operations = ConnectionOperations.new(self) @connection_type_operations = ConnectionTypeOperations.new(self) @credential_operations = CredentialOperations.new(self) @dsc_compilation_job_operations = DscCompilationJobOperations.new(self) + @dsc_compilation_job_stream = DscCompilationJobStream.new(self) @dsc_configuration_operations = DscConfigurationOperations.new(self) @agent_registration_information = AgentRegistrationInformation.new(self) @dsc_node_operations = DscNodeOperations.new(self) @@ -159,6 +167,7 @@ def initialize(credentials = nil, base_url = nil, options = nil) @job_operations = JobOperations.new(self) @job_stream_operations = JobStreamOperations.new(self) @job_schedule_operations = JobScheduleOperations.new(self) + @linked_workspace_operations = LinkedWorkspaceOperations.new(self) @activity_operations = ActivityOperations.new(self) @module_model_operations = ModuleModelOperations.new(self) @object_data_types = ObjectDataTypes.new(self) @@ -166,7 +175,7 @@ def initialize(credentials = nil, base_url = nil, options = nil) @runbook_draft_operations = RunbookDraftOperations.new(self) @runbook_operations = RunbookOperations.new(self) @test_job_streams = TestJobStreams.new(self) - @test_jobs = TestJobs.new(self) + @test_job_operations = TestJobOperations.new(self) @schedule_operations = ScheduleOperations.new(self) @variable_operations = VariableOperations.new(self) @webhook_operations = WebhookOperations.new(self) @@ -223,9 +232,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? @@ -242,7 +248,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_automation' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Automation::Mgmt::V2015_10_31::VERSION + sdk_information = "#{sdk_information}/#{Azure::Automation::Mgmt::V2015_10_31::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb index 5dddc31aaa..6db6f8a294 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb @@ -24,20 +24,22 @@ def initialize(client) # # Delete the certificate. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The name of certificate. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def delete(automation_account_name, certificate_name, custom_headers:nil) - response = delete_async(automation_account_name, certificate_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, certificate_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, certificate_name, custom_headers).value! nil end # # Delete the certificate. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The name of certificate. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -45,13 +47,14 @@ def delete(automation_account_name, certificate_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, certificate_name, custom_headers:nil) - delete_async(automation_account_name, certificate_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, certificate_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, certificate_name, custom_headers).value! end # # Delete the certificate. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The name of certificate. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -59,9 +62,8 @@ def delete_with_http_info(automation_account_name, certificate_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, certificate_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, certificate_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'certificate_name is nil' if certificate_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -69,7 +71,6 @@ def delete_async(automation_account_name, certificate_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 @@ -80,7 +81,7 @@ def delete_async(automation_account_name, certificate_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'certificateName' => certificate_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'certificateName' => certificate_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -107,6 +108,7 @@ def delete_async(automation_account_name, certificate_name, custom_headers:nil) # # Retrieve the certificate identified by certificate name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The name of certificate. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -114,14 +116,15 @@ def delete_async(automation_account_name, certificate_name, custom_headers:nil) # # @return [Certificate] operation results. # - def get(automation_account_name, certificate_name, custom_headers:nil) - response = get_async(automation_account_name, certificate_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, certificate_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, certificate_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the certificate identified by certificate name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The name of certificate. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -129,13 +132,14 @@ def get(automation_account_name, certificate_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, certificate_name, custom_headers:nil) - get_async(automation_account_name, certificate_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, certificate_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, certificate_name, custom_headers).value! end # # Retrieve the certificate identified by certificate name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The name of certificate. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -143,9 +147,8 @@ def get_with_http_info(automation_account_name, certificate_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, certificate_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, certificate_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'certificate_name is nil' if certificate_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -153,7 +156,6 @@ def get_async(automation_account_name, certificate_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 @@ -164,7 +166,7 @@ def get_async(automation_account_name, certificate_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'certificateName' => certificate_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'certificateName' => certificate_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -201,6 +203,7 @@ def get_async(automation_account_name, certificate_name, custom_headers:nil) # # Create a certificate. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The parameters supplied to the create or # update certificate operation. @@ -211,14 +214,15 @@ def get_async(automation_account_name, certificate_name, custom_headers:nil) # # @return [Certificate] operation results. # - def create_or_update(automation_account_name, certificate_name, parameters, custom_headers:nil) - response = create_or_update_async(automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers).value! response.body unless response.nil? end # # Create a certificate. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The parameters supplied to the create or # update certificate operation. @@ -229,13 +233,14 @@ def create_or_update(automation_account_name, certificate_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(automation_account_name, certificate_name, parameters, custom_headers:nil) - create_or_update_async(automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers).value! end # # Create a certificate. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The parameters supplied to the create or # update certificate operation. @@ -246,9 +251,8 @@ def create_or_update_with_http_info(automation_account_name, certificate_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(automation_account_name, certificate_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_or_update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'certificate_name is nil' if certificate_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -257,12 +261,13 @@ def create_or_update_async(automation_account_name, certificate_name, 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::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -274,7 +279,7 @@ def create_or_update_async(automation_account_name, certificate_name, parameters options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'certificateName' => certificate_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'certificateName' => certificate_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -322,6 +327,7 @@ def create_or_update_async(automation_account_name, certificate_name, parameters # # Update a certificate. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The parameters supplied to the update # certificate operation. @@ -332,14 +338,15 @@ def create_or_update_async(automation_account_name, certificate_name, parameters # # @return [Certificate] operation results. # - def update(automation_account_name, certificate_name, parameters, custom_headers:nil) - response = update_async(automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers).value! response.body unless response.nil? end # # Update a certificate. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The parameters supplied to the update # certificate operation. @@ -350,13 +357,14 @@ def update(automation_account_name, certificate_name, parameters, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(automation_account_name, certificate_name, parameters, custom_headers:nil) - update_async(automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers = nil) + update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers).value! end # # Update a certificate. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param certificate_name [String] The parameters supplied to the update # certificate operation. @@ -367,9 +375,8 @@ def update_with_http_info(automation_account_name, certificate_name, parameters, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(automation_account_name, certificate_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'certificate_name is nil' if certificate_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -378,12 +385,13 @@ def update_async(automation_account_name, certificate_name, parameters, custom_h 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::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -395,7 +403,7 @@ def update_async(automation_account_name, certificate_name, parameters, custom_h options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'certificateName' => certificate_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'certificateName' => certificate_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -433,49 +441,50 @@ def update_async(automation_account_name, certificate_name, parameters, custom_h # # Retrieve a list of certificates. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers) first_page.get_all_items end # # Retrieve a list of certificates. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_with_http_info(automation_account_name, custom_headers:nil) - list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! end # # Retrieve a list of certificates. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -486,7 +495,7 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -530,8 +539,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil # # @return [CertificateListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -545,8 +554,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -559,12 +568,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -611,6 +619,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of certificates. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -618,12 +627,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [CertificateListResult] which provide lazy access to pages of the # response. # - def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb index 2ce91677df..96e9090df7 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb @@ -24,6 +24,7 @@ def initialize(client) # # Delete the connection. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The name of connection. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -31,14 +32,15 @@ def initialize(client) # # @return [Connection] operation results. # - def delete(automation_account_name, connection_name, custom_headers:nil) - response = delete_async(automation_account_name, connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, connection_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, connection_name, custom_headers).value! response.body unless response.nil? end # # Delete the connection. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The name of connection. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -46,13 +48,14 @@ def delete(automation_account_name, connection_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, connection_name, custom_headers:nil) - delete_async(automation_account_name, connection_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, connection_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, connection_name, custom_headers).value! end # # Delete the connection. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The name of connection. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -60,9 +63,8 @@ def delete_with_http_info(automation_account_name, connection_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, connection_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, connection_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'connection_name is nil' if connection_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -70,7 +72,6 @@ def delete_async(automation_account_name, connection_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 @@ -81,7 +82,7 @@ def delete_async(automation_account_name, connection_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'connectionName' => connection_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'connectionName' => connection_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -118,6 +119,7 @@ def delete_async(automation_account_name, connection_name, custom_headers:nil) # # Retrieve the connection identified by connection name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The name of connection. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -125,14 +127,15 @@ def delete_async(automation_account_name, connection_name, custom_headers:nil) # # @return [Connection] operation results. # - def get(automation_account_name, connection_name, custom_headers:nil) - response = get_async(automation_account_name, connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, connection_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, connection_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the connection identified by connection name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The name of connection. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -140,13 +143,14 @@ def get(automation_account_name, connection_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, connection_name, custom_headers:nil) - get_async(automation_account_name, connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, connection_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, connection_name, custom_headers).value! end # # Retrieve the connection identified by connection name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The name of connection. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -154,9 +158,8 @@ def get_with_http_info(automation_account_name, connection_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, connection_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, connection_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'connection_name is nil' if connection_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -164,7 +167,6 @@ def get_async(automation_account_name, connection_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 @@ -175,7 +177,7 @@ def get_async(automation_account_name, connection_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'connectionName' => connection_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'connectionName' => connection_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -212,6 +214,7 @@ def get_async(automation_account_name, connection_name, custom_headers:nil) # # Create or update a connection. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The parameters supplied to the create or # update connection operation. @@ -222,14 +225,15 @@ def get_async(automation_account_name, connection_name, custom_headers:nil) # # @return [Connection] operation results. # - def create_or_update(automation_account_name, connection_name, parameters, custom_headers:nil) - response = create_or_update_async(automation_account_name, connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, automation_account_name, connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers).value! response.body unless response.nil? end # # Create or update a connection. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The parameters supplied to the create or # update connection operation. @@ -240,13 +244,14 @@ def create_or_update(automation_account_name, connection_name, parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(automation_account_name, connection_name, parameters, custom_headers:nil) - create_or_update_async(automation_account_name, connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, connection_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers).value! end # # Create or update a connection. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The parameters supplied to the create or # update connection operation. @@ -257,9 +262,8 @@ def create_or_update_with_http_info(automation_account_name, connection_name, pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(automation_account_name, connection_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_or_update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'connection_name is nil' if connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -268,12 +272,13 @@ def create_or_update_async(automation_account_name, connection_name, 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::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -285,7 +290,7 @@ def create_or_update_async(automation_account_name, connection_name, parameters, options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'connectionName' => connection_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'connectionName' => connection_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -333,6 +338,7 @@ def create_or_update_async(automation_account_name, connection_name, parameters, # # Update a connection. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The parameters supplied to the update a # connection operation. @@ -343,14 +349,15 @@ def create_or_update_async(automation_account_name, connection_name, parameters, # # @return [Connection] operation results. # - def update(automation_account_name, connection_name, parameters, custom_headers:nil) - response = update_async(automation_account_name, connection_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, automation_account_name, connection_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers).value! response.body unless response.nil? end # # Update a connection. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The parameters supplied to the update a # connection operation. @@ -361,13 +368,14 @@ def update(automation_account_name, connection_name, parameters, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(automation_account_name, connection_name, parameters, custom_headers:nil) - update_async(automation_account_name, connection_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, automation_account_name, connection_name, parameters, custom_headers = nil) + update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers).value! end # # Update a connection. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_name [String] The parameters supplied to the update a # connection operation. @@ -378,9 +386,8 @@ def update_with_http_info(automation_account_name, connection_name, parameters, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(automation_account_name, connection_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'connection_name is nil' if connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -389,12 +396,13 @@ def update_async(automation_account_name, connection_name, parameters, custom_he 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::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -406,7 +414,7 @@ def update_async(automation_account_name, connection_name, parameters, custom_he options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'connectionName' => connection_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'connectionName' => connection_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -444,49 +452,50 @@ def update_async(automation_account_name, connection_name, parameters, custom_he # # Retrieve a list of connections. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers) first_page.get_all_items end # # Retrieve a list of connections. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_with_http_info(automation_account_name, custom_headers:nil) - list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! end # # Retrieve a list of connections. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -497,7 +506,7 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -541,8 +550,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil # # @return [ConnectionListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -556,8 +565,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -570,12 +579,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -622,6 +630,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of connections. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -629,12 +638,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [ConnectionListResult] which provide lazy access to pages of the # response. # - def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb index 7e5d7ec802..f8ad691909 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb @@ -24,20 +24,22 @@ def initialize(client) # # Delete the connectiontype. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_type_name [String] The name of connectiontype. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def delete(automation_account_name, connection_type_name, custom_headers:nil) - response = delete_async(automation_account_name, connection_type_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, connection_type_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, connection_type_name, custom_headers).value! nil end # # Delete the connectiontype. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_type_name [String] The name of connectiontype. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -45,13 +47,14 @@ def delete(automation_account_name, connection_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, connection_type_name, custom_headers:nil) - delete_async(automation_account_name, connection_type_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, connection_type_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, connection_type_name, custom_headers).value! end # # Delete the connectiontype. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_type_name [String] The name of connectiontype. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -59,9 +62,8 @@ def delete_with_http_info(automation_account_name, connection_type_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, connection_type_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, connection_type_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'connection_type_name is nil' if connection_type_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -69,7 +71,6 @@ def delete_async(automation_account_name, connection_type_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -80,7 +81,7 @@ def delete_async(automation_account_name, connection_type_name, custom_headers:n options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'connectionTypeName' => connection_type_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'connectionTypeName' => connection_type_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -107,6 +108,7 @@ def delete_async(automation_account_name, connection_type_name, custom_headers:n # # Retrieve the connectiontype identified by connectiontype name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_type_name [String] The name of connectiontype. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -114,14 +116,15 @@ def delete_async(automation_account_name, connection_type_name, custom_headers:n # # @return [ConnectionType] operation results. # - def get(automation_account_name, connection_type_name, custom_headers:nil) - response = get_async(automation_account_name, connection_type_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, connection_type_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, connection_type_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the connectiontype identified by connectiontype name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_type_name [String] The name of connectiontype. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -129,13 +132,14 @@ def get(automation_account_name, connection_type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, connection_type_name, custom_headers:nil) - get_async(automation_account_name, connection_type_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, connection_type_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, connection_type_name, custom_headers).value! end # # Retrieve the connectiontype identified by connectiontype name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_type_name [String] The name of connectiontype. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -143,9 +147,8 @@ def get_with_http_info(automation_account_name, connection_type_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, connection_type_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, connection_type_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'connection_type_name is nil' if connection_type_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -153,7 +156,6 @@ def get_async(automation_account_name, connection_type_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 @@ -164,7 +166,7 @@ def get_async(automation_account_name, connection_type_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'connectionTypeName' => connection_type_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'connectionTypeName' => connection_type_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -201,6 +203,7 @@ def get_async(automation_account_name, connection_type_name, custom_headers:nil) # # Create a connectiontype. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_type_name [String] The parameters supplied to the create or # update connectiontype operation. @@ -211,14 +214,15 @@ def get_async(automation_account_name, connection_type_name, custom_headers:nil) # # @return [ConnectionType] operation results. # - def create_or_update(automation_account_name, connection_type_name, parameters, custom_headers:nil) - response = create_or_update_async(automation_account_name, connection_type_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers).value! response.body unless response.nil? end # # Create a connectiontype. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_type_name [String] The parameters supplied to the create or # update connectiontype operation. @@ -229,13 +233,14 @@ def create_or_update(automation_account_name, connection_type_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(automation_account_name, connection_type_name, parameters, custom_headers:nil) - create_or_update_async(automation_account_name, connection_type_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers).value! end # # Create a connectiontype. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param connection_type_name [String] The parameters supplied to the create or # update connectiontype operation. @@ -246,9 +251,8 @@ def create_or_update_with_http_info(automation_account_name, connection_type_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(automation_account_name, connection_type_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_or_update_async(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'connection_type_name is nil' if connection_type_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -257,12 +261,13 @@ def create_or_update_async(automation_account_name, connection_type_name, parame 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::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -274,7 +279,7 @@ def create_or_update_async(automation_account_name, connection_type_name, parame options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'connectionTypeName' => connection_type_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'connectionTypeName' => connection_type_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -322,49 +327,50 @@ def create_or_update_async(automation_account_name, connection_type_name, parame # # Retrieve a list of connectiontypes. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers) first_page.get_all_items end # # Retrieve a list of connectiontypes. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_with_http_info(automation_account_name, custom_headers:nil) - list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! end # # Retrieve a list of connectiontypes. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -375,7 +381,7 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -419,8 +425,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil # # @return [ConnectionTypeListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -434,8 +440,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -448,12 +454,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -500,6 +505,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of connectiontypes. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -507,12 +513,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [ConnectionTypeListResult] which provide lazy access to pages of the # response. # - def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb index 8aee79ae32..2bb01297e0 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb @@ -24,20 +24,22 @@ def initialize(client) # # Delete the credential. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The name of credential. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def delete(automation_account_name, credential_name, custom_headers:nil) - response = delete_async(automation_account_name, credential_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, credential_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, credential_name, custom_headers).value! nil end # # Delete the credential. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The name of credential. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -45,13 +47,14 @@ def delete(automation_account_name, credential_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, credential_name, custom_headers:nil) - delete_async(automation_account_name, credential_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, credential_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, credential_name, custom_headers).value! end # # Delete the credential. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The name of credential. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -59,9 +62,8 @@ def delete_with_http_info(automation_account_name, credential_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, credential_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, credential_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'credential_name is nil' if credential_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -69,7 +71,6 @@ def delete_async(automation_account_name, credential_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 @@ -80,7 +81,7 @@ def delete_async(automation_account_name, credential_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'credentialName' => credential_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'credentialName' => credential_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -107,6 +108,7 @@ def delete_async(automation_account_name, credential_name, custom_headers:nil) # # Retrieve the credential identified by credential name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The name of credential. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -114,14 +116,15 @@ def delete_async(automation_account_name, credential_name, custom_headers:nil) # # @return [Credential] operation results. # - def get(automation_account_name, credential_name, custom_headers:nil) - response = get_async(automation_account_name, credential_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, credential_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, credential_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the credential identified by credential name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The name of credential. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -129,13 +132,14 @@ def get(automation_account_name, credential_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, credential_name, custom_headers:nil) - get_async(automation_account_name, credential_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, credential_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, credential_name, custom_headers).value! end # # Retrieve the credential identified by credential name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The name of credential. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -143,9 +147,8 @@ def get_with_http_info(automation_account_name, credential_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, credential_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, credential_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'credential_name is nil' if credential_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -153,7 +156,6 @@ def get_async(automation_account_name, credential_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 @@ -164,7 +166,7 @@ def get_async(automation_account_name, credential_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'credentialName' => credential_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'credentialName' => credential_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -201,6 +203,7 @@ def get_async(automation_account_name, credential_name, custom_headers:nil) # # Create a credential. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The parameters supplied to the create or # update credential operation. @@ -211,14 +214,15 @@ def get_async(automation_account_name, credential_name, custom_headers:nil) # # @return [Credential] operation results. # - def create_or_update(automation_account_name, credential_name, parameters, custom_headers:nil) - response = create_or_update_async(automation_account_name, credential_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, automation_account_name, credential_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers).value! response.body unless response.nil? end # # Create a credential. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The parameters supplied to the create or # update credential operation. @@ -229,13 +233,14 @@ def create_or_update(automation_account_name, credential_name, parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(automation_account_name, credential_name, parameters, custom_headers:nil) - create_or_update_async(automation_account_name, credential_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, credential_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers).value! end # # Create a credential. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The parameters supplied to the create or # update credential operation. @@ -246,9 +251,8 @@ def create_or_update_with_http_info(automation_account_name, credential_name, pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(automation_account_name, credential_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_or_update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'credential_name is nil' if credential_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -257,12 +261,13 @@ def create_or_update_async(automation_account_name, credential_name, 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::Automation::Mgmt::V2015_10_31::Models::CredentialCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -274,7 +279,7 @@ def create_or_update_async(automation_account_name, credential_name, parameters, options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'credentialName' => credential_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'credentialName' => credential_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -322,6 +327,7 @@ def create_or_update_async(automation_account_name, credential_name, parameters, # # Update a credential. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The parameters supplied to the Update # credential operation. @@ -332,14 +338,15 @@ def create_or_update_async(automation_account_name, credential_name, parameters, # # @return [Credential] operation results. # - def update(automation_account_name, credential_name, parameters, custom_headers:nil) - response = update_async(automation_account_name, credential_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, automation_account_name, credential_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers).value! response.body unless response.nil? end # # Update a credential. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The parameters supplied to the Update # credential operation. @@ -350,13 +357,14 @@ def update(automation_account_name, credential_name, parameters, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(automation_account_name, credential_name, parameters, custom_headers:nil) - update_async(automation_account_name, credential_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, automation_account_name, credential_name, parameters, custom_headers = nil) + update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers).value! end # # Update a credential. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param credential_name [String] The parameters supplied to the Update # credential operation. @@ -367,9 +375,8 @@ def update_with_http_info(automation_account_name, credential_name, parameters, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(automation_account_name, credential_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'credential_name is nil' if credential_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -378,12 +385,13 @@ def update_async(automation_account_name, credential_name, parameters, custom_he 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::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -395,7 +403,7 @@ def update_async(automation_account_name, credential_name, parameters, custom_he options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'credentialName' => credential_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'credentialName' => credential_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -433,49 +441,50 @@ def update_async(automation_account_name, credential_name, parameters, custom_he # # Retrieve a list of credentials. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers) first_page.get_all_items end # # Retrieve a list of credentials. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_with_http_info(automation_account_name, custom_headers:nil) - list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! end # # Retrieve a list of credentials. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -486,7 +495,7 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -530,8 +539,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil # # @return [CredentialListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -545,8 +554,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -559,12 +568,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -611,6 +619,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of credentials. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -618,12 +627,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [CredentialListResult] which provide lazy access to pages of the # response. # - def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb index 88fb96c112..67f223385e 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb @@ -24,6 +24,7 @@ def initialize(client) # # Creates the Dsc compilation job of the configuration. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param compilation_job_id The the DSC configuration Id. # @param parameters [DscCompilationJobCreateParameters] The parameters supplied @@ -33,14 +34,15 @@ def initialize(client) # # @return [DscCompilationJob] operation results. # - def create(automation_account_name, compilation_job_id, parameters, custom_headers:nil) - response = create_async(automation_account_name, compilation_job_id, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, automation_account_name, compilation_job_id, parameters, custom_headers = nil) + response = create_async(resource_group_name, automation_account_name, compilation_job_id, parameters, custom_headers).value! response.body unless response.nil? end # # Creates the Dsc compilation job of the configuration. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param compilation_job_id The the DSC configuration Id. # @param parameters [DscCompilationJobCreateParameters] The parameters supplied @@ -50,13 +52,14 @@ def create(automation_account_name, compilation_job_id, parameters, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_with_http_info(automation_account_name, compilation_job_id, parameters, custom_headers:nil) - create_async(automation_account_name, compilation_job_id, parameters, custom_headers:custom_headers).value! + def create_with_http_info(resource_group_name, automation_account_name, compilation_job_id, parameters, custom_headers = nil) + create_async(resource_group_name, automation_account_name, compilation_job_id, parameters, custom_headers).value! end # # Creates the Dsc compilation job of the configuration. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param compilation_job_id The the DSC configuration Id. # @param parameters [DscCompilationJobCreateParameters] The parameters supplied @@ -66,9 +69,8 @@ def create_with_http_info(automation_account_name, compilation_job_id, parameter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_async(automation_account_name, compilation_job_id, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_async(resource_group_name, automation_account_name, compilation_job_id, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'compilation_job_id is nil' if compilation_job_id.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -77,12 +79,13 @@ def create_async(automation_account_name, compilation_job_id, parameters, custom 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::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -94,7 +97,7 @@ def create_async(automation_account_name, compilation_job_id, parameters, custom options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'compilationJobId' => compilation_job_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'compilationJobId' => compilation_job_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -132,6 +135,7 @@ def create_async(automation_account_name, compilation_job_id, parameters, custom # # Retrieve the Dsc configuration compilation job identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param compilation_job_id The Dsc configuration compilation job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -139,14 +143,15 @@ def create_async(automation_account_name, compilation_job_id, parameters, custom # # @return [DscCompilationJob] operation results. # - def get(automation_account_name, compilation_job_id, custom_headers:nil) - response = get_async(automation_account_name, compilation_job_id, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, compilation_job_id, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, compilation_job_id, custom_headers).value! response.body unless response.nil? end # # Retrieve the Dsc configuration compilation job identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param compilation_job_id The Dsc configuration compilation job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -154,13 +159,14 @@ def get(automation_account_name, compilation_job_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, compilation_job_id, custom_headers:nil) - get_async(automation_account_name, compilation_job_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, compilation_job_id, custom_headers = nil) + get_async(resource_group_name, automation_account_name, compilation_job_id, custom_headers).value! end # # Retrieve the Dsc configuration compilation job identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param compilation_job_id The Dsc configuration compilation job id. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -168,9 +174,8 @@ def get_with_http_info(automation_account_name, compilation_job_id, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, compilation_job_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, compilation_job_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'compilation_job_id is nil' if compilation_job_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -178,7 +183,6 @@ def get_async(automation_account_name, compilation_job_id, 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 @@ -189,7 +193,7 @@ def get_async(automation_account_name, compilation_job_id, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'compilationJobId' => compilation_job_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'compilationJobId' => compilation_job_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -226,6 +230,7 @@ def get_async(automation_account_name, compilation_job_id, custom_headers:nil) # # Retrieve a list of dsc compilation jobs. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -233,14 +238,15 @@ def get_async(automation_account_name, compilation_job_id, custom_headers:nil) # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, filter:nil, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, filter:filter, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter, custom_headers) first_page.get_all_items end # # Retrieve a list of dsc compilation jobs. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -248,13 +254,14 @@ def list_by_automation_account(automation_account_name, filter:nil, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_with_http_info(automation_account_name, filter:nil, custom_headers:nil) - list_by_automation_account_async(automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! end # # Retrieve a list of dsc compilation jobs. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -262,16 +269,14 @@ def list_by_automation_account_with_http_info(automation_account_name, filter:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_async(automation_account_name, filter:nil, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -282,7 +287,7 @@ def list_by_automation_account_async(automation_account_name, filter:nil, custom options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'$filter' => filter,'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -319,6 +324,7 @@ def list_by_automation_account_async(automation_account_name, filter:nil, custom # # Retrieve the job stream identified by job stream id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param job_stream_id [String] The job stream id. @@ -327,14 +333,15 @@ def list_by_automation_account_async(automation_account_name, filter:nil, custom # # @return [JobStream] operation results. # - def get_stream(automation_account_name, job_id, job_stream_id, custom_headers:nil) - response = get_stream_async(automation_account_name, job_id, job_stream_id, custom_headers:custom_headers).value! + def get_stream(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers = nil) + response = get_stream_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers).value! response.body unless response.nil? end # # Retrieve the job stream identified by job stream id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param job_stream_id [String] The job stream id. @@ -343,13 +350,14 @@ def get_stream(automation_account_name, job_id, job_stream_id, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stream_with_http_info(automation_account_name, job_id, job_stream_id, custom_headers:nil) - get_stream_async(automation_account_name, job_id, job_stream_id, custom_headers:custom_headers).value! + def get_stream_with_http_info(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers = nil) + get_stream_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers).value! end # # Retrieve the job stream identified by job stream id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param job_stream_id [String] The job stream id. @@ -358,9 +366,8 @@ def get_stream_with_http_info(automation_account_name, job_id, job_stream_id, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stream_async(automation_account_name, job_id, job_stream_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_stream_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_id is nil' if job_id.nil? fail ArgumentError, 'job_stream_id is nil' if job_stream_id.nil? @@ -369,7 +376,6 @@ def get_stream_async(automation_account_name, job_id, job_stream_id, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -380,7 +386,7 @@ def get_stream_async(automation_account_name, job_id, job_stream_id, custom_head options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'jobStreamId' => job_stream_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'jobStreamId' => job_stream_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -424,8 +430,8 @@ def get_stream_async(automation_account_name, job_id, job_stream_id, custom_head # # @return [DscCompilationJobListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -439,8 +445,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -453,12 +459,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -505,6 +510,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of dsc compilation jobs. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -513,12 +519,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [DscCompilationJobListResult] which provide lazy access to pages of # the response. # - def list_by_automation_account_as_lazy(automation_account_name, filter:nil, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb new file mode 100644 index 0000000000..7ae5b3de91 --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb @@ -0,0 +1,120 @@ +# 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::Automation::Mgmt::V2015_10_31 + # + # Automation Client + # + class DscCompilationJobStream + include MsRestAzure + + # + # Creates and initializes a new instance of the DscCompilationJobStream class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AutomationClient] reference to the AutomationClient + attr_reader :client + + # + # Retrieve all the job streams for the compilation Job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param job_id The job id. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobStreamListResult] operation results. + # + def list_by_job(resource_group_name, automation_account_name, job_id, custom_headers = nil) + response = list_by_job_async(resource_group_name, automation_account_name, job_id, custom_headers).value! + response.body unless response.nil? + end + + # + # Retrieve all the job streams for the compilation Job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param job_id The job id. + # @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_job_with_http_info(resource_group_name, automation_account_name, job_id, custom_headers = nil) + list_by_job_async(resource_group_name, automation_account_name, job_id, custom_headers).value! + end + + # + # Retrieve all the job streams for the compilation Job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param job_id The job id. + # @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_job_async(resource_group_name, automation_account_name, job_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? + fail ArgumentError, 'job_id is nil' if job_id.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams/' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult.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_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb index 23ad5ca404..1b141ea50c 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb @@ -24,20 +24,22 @@ def initialize(client) # # Delete the dsc configuration identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The configuration name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def delete(automation_account_name, configuration_name, custom_headers:nil) - response = delete_async(automation_account_name, configuration_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, configuration_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, configuration_name, custom_headers).value! nil end # # Delete the dsc configuration identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The configuration name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -45,13 +47,14 @@ def delete(automation_account_name, configuration_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, configuration_name, custom_headers:nil) - delete_async(automation_account_name, configuration_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, configuration_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, configuration_name, custom_headers).value! end # # Delete the dsc configuration identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The configuration name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -59,9 +62,8 @@ def delete_with_http_info(automation_account_name, configuration_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, configuration_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, configuration_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'configuration_name is nil' if configuration_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -69,7 +71,6 @@ def delete_async(automation_account_name, configuration_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 @@ -80,7 +81,7 @@ def delete_async(automation_account_name, configuration_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'configurationName' => configuration_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'configurationName' => configuration_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -107,6 +108,7 @@ def delete_async(automation_account_name, configuration_name, custom_headers:nil # # Retrieve the configuration identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The configuration name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -114,14 +116,15 @@ def delete_async(automation_account_name, configuration_name, custom_headers:nil # # @return [DscConfiguration] operation results. # - def get(automation_account_name, configuration_name, custom_headers:nil) - response = get_async(automation_account_name, configuration_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, configuration_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, configuration_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the configuration identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The configuration name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -129,13 +132,14 @@ def get(automation_account_name, configuration_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, configuration_name, custom_headers:nil) - get_async(automation_account_name, configuration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, configuration_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, configuration_name, custom_headers).value! end # # Retrieve the configuration identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The configuration name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -143,9 +147,8 @@ def get_with_http_info(automation_account_name, configuration_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, configuration_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, configuration_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'configuration_name is nil' if configuration_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -153,7 +156,6 @@ def get_async(automation_account_name, configuration_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 @@ -164,7 +166,7 @@ def get_async(automation_account_name, configuration_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'configurationName' => configuration_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'configurationName' => configuration_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -201,6 +203,7 @@ def get_async(automation_account_name, configuration_name, custom_headers:nil) # # Create the configuration identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The create or update parameters for # configuration. @@ -211,14 +214,15 @@ def get_async(automation_account_name, configuration_name, custom_headers:nil) # # @return [DscConfiguration] operation results. # - def create_or_update(automation_account_name, configuration_name, parameters, custom_headers:nil) - response = create_or_update_async(automation_account_name, configuration_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, automation_account_name, configuration_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, configuration_name, parameters, custom_headers).value! response.body unless response.nil? end # # Create the configuration identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The create or update parameters for # configuration. @@ -229,13 +233,14 @@ def create_or_update(automation_account_name, configuration_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(automation_account_name, configuration_name, parameters, custom_headers:nil) - create_or_update_async(automation_account_name, configuration_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, configuration_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, configuration_name, parameters, custom_headers).value! end # # Create the configuration identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The create or update parameters for # configuration. @@ -246,9 +251,8 @@ def create_or_update_with_http_info(automation_account_name, configuration_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(automation_account_name, configuration_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_or_update_async(resource_group_name, automation_account_name, configuration_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'configuration_name is nil' if configuration_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -257,12 +261,13 @@ def create_or_update_async(automation_account_name, configuration_name, paramete 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::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -274,7 +279,7 @@ def create_or_update_async(automation_account_name, configuration_name, paramete options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'configurationName' => configuration_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'configurationName' => configuration_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -319,24 +324,139 @@ def create_or_update_async(automation_account_name, configuration_name, paramete promise.execute end + # + # Create the configuration identified by configuration name. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param configuration_name [String] The create or update parameters for + # configuration. + # @param parameters [DscConfigurationUpdateParameters] The create or update + # parameters for configuration. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DscConfiguration] operation results. + # + def update(resource_group_name, automation_account_name, configuration_name, parameters = nil, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, configuration_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Create the configuration identified by configuration name. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param configuration_name [String] The create or update parameters for + # configuration. + # @param parameters [DscConfigurationUpdateParameters] The create or update + # parameters for configuration. + # @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 update_with_http_info(resource_group_name, automation_account_name, configuration_name, parameters = nil, custom_headers = nil) + update_async(resource_group_name, automation_account_name, configuration_name, parameters, custom_headers).value! + end + + # + # Create the configuration identified by configuration name. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param configuration_name [String] The create or update parameters for + # configuration. + # @param parameters [DscConfigurationUpdateParameters] The create or update + # parameters for configuration. + # @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 update_async(resource_group_name, automation_account_name, configuration_name, parameters = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? + fail ArgumentError, 'configuration_name is nil' if configuration_name.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'configurationName' => configuration_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration.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 + # # Retrieve the configuration script identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The configuration name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [NOT_IMPLEMENTED] operation results. + # @return [String] operation results. # - def get_content(automation_account_name, configuration_name, custom_headers:nil) - response = get_content_async(automation_account_name, configuration_name, custom_headers:custom_headers).value! + def get_content(resource_group_name, automation_account_name, configuration_name, custom_headers = nil) + response = get_content_async(resource_group_name, automation_account_name, configuration_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the configuration script identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The configuration name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -344,13 +464,14 @@ def get_content(automation_account_name, configuration_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_content_with_http_info(automation_account_name, configuration_name, custom_headers:nil) - get_content_async(automation_account_name, configuration_name, custom_headers:custom_headers).value! + def get_content_with_http_info(resource_group_name, automation_account_name, configuration_name, custom_headers = nil) + get_content_async(resource_group_name, automation_account_name, configuration_name, custom_headers).value! end # # Retrieve the configuration script identified by configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param configuration_name [String] The configuration name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -358,9 +479,8 @@ def get_content_with_http_info(automation_account_name, configuration_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_content_async(automation_account_name, configuration_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_content_async(resource_group_name, automation_account_name, configuration_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'configuration_name is nil' if configuration_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -368,7 +488,6 @@ def get_content_async(automation_account_name, configuration_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 @@ -379,7 +498,7 @@ def get_content_async(automation_account_name, configuration_name, custom_header options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'configurationName' => configuration_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'configurationName' => configuration_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -401,11 +520,10 @@ def get_content_async(automation_account_name, configuration_name, custom_header begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { - name: 'Stream' + name: 'String' } } result.body = @client.deserialize(result_mapper, parsed_response) @@ -423,49 +541,62 @@ def get_content_async(automation_account_name, configuration_name, custom_header # # Retrieve a list of configurations. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. + # @param skip [Integer] The number of rows to skip. + # @param top [Integer] The the number of rows to take. + # @param inlinecount [String] Return total rows. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, filter = nil, skip = nil, top = nil, inlinecount = nil, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter, skip, top, inlinecount, custom_headers) first_page.get_all_items end # # Retrieve a list of configurations. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. + # @param skip [Integer] The number of rows to skip. + # @param top [Integer] The the number of rows to take. + # @param inlinecount [String] Return total rows. # @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_automation_account_with_http_info(automation_account_name, custom_headers:nil) - list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, filter = nil, skip = nil, top = nil, inlinecount = nil, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, filter, skip, top, inlinecount, custom_headers).value! end # # Retrieve a list of configurations. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. + # @param skip [Integer] The number of rows to skip. + # @param top [Integer] The the number of rows to take. + # @param inlinecount [String] Return total rows. # @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_automation_account_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, skip = nil, top = nil, inlinecount = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -476,8 +607,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, - query_params: {'api-version' => @client.api_version}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + query_params: {'api-version' => @client.api_version,'$filter' => filter,'$skip' => skip,'$top' => top,'$inlinecount' => inlinecount}, headers: request_headers.merge(custom_headers || {}), base_url: request_url } @@ -520,8 +651,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil # # @return [DscConfigurationListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +666,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +680,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -601,19 +731,24 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of configurations. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. + # @param skip [Integer] The number of rows to skip. + # @param top [Integer] The the number of rows to take. + # @param inlinecount [String] Return total rows. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [DscConfigurationListResult] which provide lazy access to pages of # the response. # - def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter = nil, skip = nil, top = nil, inlinecount = nil, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, filter, skip, top, inlinecount, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb index 395b92e73a..5ac6eeebc0 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb @@ -24,20 +24,22 @@ def initialize(client) # # Delete the Dsc node configurations by node configuration. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_configuration_name [String] The Dsc node configuration name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def delete(automation_account_name, node_configuration_name, custom_headers:nil) - response = delete_async(automation_account_name, node_configuration_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, node_configuration_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, node_configuration_name, custom_headers).value! nil end # # Delete the Dsc node configurations by node configuration. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_configuration_name [String] The Dsc node configuration name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -45,13 +47,14 @@ def delete(automation_account_name, node_configuration_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, node_configuration_name, custom_headers:nil) - delete_async(automation_account_name, node_configuration_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, node_configuration_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, node_configuration_name, custom_headers).value! end # # Delete the Dsc node configurations by node configuration. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_configuration_name [String] The Dsc node configuration name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -59,9 +62,8 @@ def delete_with_http_info(automation_account_name, node_configuration_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, node_configuration_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, node_configuration_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'node_configuration_name is nil' if node_configuration_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -69,7 +71,6 @@ def delete_async(automation_account_name, node_configuration_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 @@ -80,7 +81,7 @@ def delete_async(automation_account_name, node_configuration_name, custom_header options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeConfigurationName' => node_configuration_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeConfigurationName' => node_configuration_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -107,6 +108,7 @@ def delete_async(automation_account_name, node_configuration_name, custom_header # # Retrieve the Dsc node configurations by node configuration. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_configuration_name [String] The Dsc node configuration name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -114,14 +116,15 @@ def delete_async(automation_account_name, node_configuration_name, custom_header # # @return [DscNodeConfiguration] operation results. # - def get(automation_account_name, node_configuration_name, custom_headers:nil) - response = get_async(automation_account_name, node_configuration_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, node_configuration_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, node_configuration_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the Dsc node configurations by node configuration. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_configuration_name [String] The Dsc node configuration name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -129,13 +132,14 @@ def get(automation_account_name, node_configuration_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, node_configuration_name, custom_headers:nil) - get_async(automation_account_name, node_configuration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, node_configuration_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, node_configuration_name, custom_headers).value! end # # Retrieve the Dsc node configurations by node configuration. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_configuration_name [String] The Dsc node configuration name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -143,9 +147,8 @@ def get_with_http_info(automation_account_name, node_configuration_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, node_configuration_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, node_configuration_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'node_configuration_name is nil' if node_configuration_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -153,7 +156,6 @@ def get_async(automation_account_name, node_configuration_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -164,7 +166,7 @@ def get_async(automation_account_name, node_configuration_name, custom_headers:n options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeConfigurationName' => node_configuration_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeConfigurationName' => node_configuration_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -201,6 +203,7 @@ def get_async(automation_account_name, node_configuration_name, custom_headers:n # # Create the node configuration identified by node configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_configuration_name [String] The create or update parameters for # configuration. @@ -211,14 +214,15 @@ def get_async(automation_account_name, node_configuration_name, custom_headers:n # # @return [DscNodeConfiguration] operation results. # - def create_or_update(automation_account_name, node_configuration_name, parameters, custom_headers:nil) - response = create_or_update_async(automation_account_name, node_configuration_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers).value! response.body unless response.nil? end # # Create the node configuration identified by node configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_configuration_name [String] The create or update parameters for # configuration. @@ -229,13 +233,14 @@ def create_or_update(automation_account_name, node_configuration_name, parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(automation_account_name, node_configuration_name, parameters, custom_headers:nil) - create_or_update_async(automation_account_name, node_configuration_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers).value! end # # Create the node configuration identified by node configuration name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_configuration_name [String] The create or update parameters for # configuration. @@ -246,9 +251,8 @@ def create_or_update_with_http_info(automation_account_name, node_configuration_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(automation_account_name, node_configuration_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_or_update_async(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'node_configuration_name is nil' if node_configuration_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -257,12 +261,13 @@ def create_or_update_async(automation_account_name, node_configuration_name, par 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::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -274,7 +279,7 @@ def create_or_update_async(automation_account_name, node_configuration_name, par options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeConfigurationName' => node_configuration_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeConfigurationName' => node_configuration_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -286,7 +291,7 @@ def create_or_update_async(automation_account_name, node_configuration_name, par http_response = result.response status_code = http_response.status response_content = http_response.body - unless status_code == 200 || status_code == 201 + unless status_code == 200 error_model = JSON.load(response_content) fail MsRest::HttpOperationError.new(result.request, http_response, error_model) end @@ -302,16 +307,6 @@ def create_or_update_async(automation_account_name, node_configuration_name, par fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) end end - # Deserialize Response - if status_code == 201 - begin - parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration.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 @@ -322,6 +317,7 @@ def create_or_update_async(automation_account_name, node_configuration_name, par # # Retrieve a list of dsc node configurations. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -329,14 +325,15 @@ def create_or_update_async(automation_account_name, node_configuration_name, par # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, filter:nil, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, filter:filter, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter, custom_headers) first_page.get_all_items end # # Retrieve a list of dsc node configurations. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -344,13 +341,14 @@ def list_by_automation_account(automation_account_name, filter:nil, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_with_http_info(automation_account_name, filter:nil, custom_headers:nil) - list_by_automation_account_async(automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! end # # Retrieve a list of dsc node configurations. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -358,16 +356,14 @@ def list_by_automation_account_with_http_info(automation_account_name, filter:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_async(automation_account_name, filter:nil, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -378,7 +374,7 @@ def list_by_automation_account_async(automation_account_name, filter:nil, custom options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'$filter' => filter,'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -422,8 +418,8 @@ def list_by_automation_account_async(automation_account_name, filter:nil, custom # # @return [DscNodeConfigurationListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -437,8 +433,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -451,12 +447,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -503,6 +498,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of dsc node configurations. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -511,12 +507,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [DscNodeConfigurationListResult] which provide lazy access to pages # of the response. # - def list_by_automation_account_as_lazy(automation_account_name, filter:nil, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb index 221e9170fe..db60f6d0b7 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb @@ -24,6 +24,7 @@ def initialize(client) # # Delete the dsc node identified by node id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] Automation account name. # @param node_id [String] The node id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -31,14 +32,15 @@ def initialize(client) # # @return [DscNode] operation results. # - def delete(automation_account_name, node_id, custom_headers:nil) - response = delete_async(automation_account_name, node_id, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, node_id, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, node_id, custom_headers).value! response.body unless response.nil? end # # Delete the dsc node identified by node id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] Automation account name. # @param node_id [String] The node id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -46,13 +48,14 @@ def delete(automation_account_name, node_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, node_id, custom_headers:nil) - delete_async(automation_account_name, node_id, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, node_id, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, node_id, custom_headers).value! end # # Delete the dsc node identified by node id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] Automation account name. # @param node_id [String] The node id. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -60,9 +63,8 @@ def delete_with_http_info(automation_account_name, node_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, node_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, node_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'node_id is nil' if node_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -70,7 +72,6 @@ def delete_async(automation_account_name, node_id, 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 @@ -81,7 +82,7 @@ def delete_async(automation_account_name, node_id, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -118,6 +119,7 @@ def delete_async(automation_account_name, node_id, custom_headers:nil) # # Retrieve the dsc node identified by node id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The node id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -125,14 +127,15 @@ def delete_async(automation_account_name, node_id, custom_headers:nil) # # @return [DscNode] operation results. # - def get(automation_account_name, node_id, custom_headers:nil) - response = get_async(automation_account_name, node_id, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, node_id, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, node_id, custom_headers).value! response.body unless response.nil? end # # Retrieve the dsc node identified by node id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The node id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -140,13 +143,14 @@ def get(automation_account_name, node_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, node_id, custom_headers:nil) - get_async(automation_account_name, node_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, node_id, custom_headers = nil) + get_async(resource_group_name, automation_account_name, node_id, custom_headers).value! end # # Retrieve the dsc node identified by node id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The node id. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -154,9 +158,8 @@ def get_with_http_info(automation_account_name, node_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, node_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, node_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'node_id is nil' if node_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -164,7 +167,6 @@ def get_async(automation_account_name, node_id, 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 @@ -175,7 +177,7 @@ def get_async(automation_account_name, node_id, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -212,6 +214,7 @@ def get_async(automation_account_name, node_id, custom_headers:nil) # # Update the dsc node. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] Parameters supplied to the update dsc node. # @param parameters [DscNodeUpdateParameters] Parameters supplied to the update @@ -221,14 +224,15 @@ def get_async(automation_account_name, node_id, custom_headers:nil) # # @return [DscNode] operation results. # - def update(automation_account_name, node_id, parameters, custom_headers:nil) - response = update_async(automation_account_name, node_id, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, automation_account_name, node_id, parameters, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, node_id, parameters, custom_headers).value! response.body unless response.nil? end # # Update the dsc node. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] Parameters supplied to the update dsc node. # @param parameters [DscNodeUpdateParameters] Parameters supplied to the update @@ -238,13 +242,14 @@ def update(automation_account_name, node_id, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(automation_account_name, node_id, parameters, custom_headers:nil) - update_async(automation_account_name, node_id, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, automation_account_name, node_id, parameters, custom_headers = nil) + update_async(resource_group_name, automation_account_name, node_id, parameters, custom_headers).value! end # # Update the dsc node. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] Parameters supplied to the update dsc node. # @param parameters [DscNodeUpdateParameters] Parameters supplied to the update @@ -254,9 +259,8 @@ def update_with_http_info(automation_account_name, node_id, parameters, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(automation_account_name, node_id, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def update_async(resource_group_name, automation_account_name, node_id, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'node_id is nil' if node_id.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -265,12 +269,13 @@ def update_async(automation_account_name, node_id, parameters, custom_headers:ni 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::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -282,7 +287,7 @@ def update_async(automation_account_name, node_id, parameters, custom_headers:ni options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -320,6 +325,7 @@ def update_async(automation_account_name, node_id, parameters, custom_headers:ni # # Retrieve a list of dsc nodes. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -327,14 +333,15 @@ def update_async(automation_account_name, node_id, parameters, custom_headers:ni # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, filter:nil, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, filter:filter, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter, custom_headers) first_page.get_all_items end # # Retrieve a list of dsc nodes. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -342,13 +349,14 @@ def list_by_automation_account(automation_account_name, filter:nil, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_with_http_info(automation_account_name, filter:nil, custom_headers:nil) - list_by_automation_account_async(automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! end # # Retrieve a list of dsc nodes. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -356,16 +364,14 @@ def list_by_automation_account_with_http_info(automation_account_name, filter:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_async(automation_account_name, filter:nil, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -376,7 +382,7 @@ def list_by_automation_account_async(automation_account_name, filter:nil, custom options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'$filter' => filter,'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -420,8 +426,8 @@ def list_by_automation_account_async(automation_account_name, filter:nil, custom # # @return [DscNodeListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -435,8 +441,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -449,12 +455,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -501,6 +506,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of dsc nodes. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -509,12 +515,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [DscNodeListResult] which provide lazy access to pages of the # response. # - def list_by_automation_account_as_lazy(automation_account_name, filter:nil, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb index 00fbf40444..310af14dc6 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb @@ -24,6 +24,7 @@ def initialize(client) # # Retrieve a list of fields of a given type identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param type_name [String] The name of type. @@ -32,14 +33,15 @@ def initialize(client) # # @return [TypeFieldListResult] operation results. # - def list_by_type(automation_account_name, module_name, type_name, custom_headers:nil) - response = list_by_type_async(automation_account_name, module_name, type_name, custom_headers:custom_headers).value! + def list_by_type(resource_group_name, automation_account_name, module_name, type_name, custom_headers = nil) + response = list_by_type_async(resource_group_name, automation_account_name, module_name, type_name, custom_headers).value! response.body unless response.nil? end # # Retrieve a list of fields of a given type identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param type_name [String] The name of type. @@ -48,13 +50,14 @@ def list_by_type(automation_account_name, module_name, type_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_type_with_http_info(automation_account_name, module_name, type_name, custom_headers:nil) - list_by_type_async(automation_account_name, module_name, type_name, custom_headers:custom_headers).value! + def list_by_type_with_http_info(resource_group_name, automation_account_name, module_name, type_name, custom_headers = nil) + list_by_type_async(resource_group_name, automation_account_name, module_name, type_name, custom_headers).value! end # # Retrieve a list of fields of a given type identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param type_name [String] The name of type. @@ -63,9 +66,8 @@ def list_by_type_with_http_info(automation_account_name, module_name, type_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_type_async(automation_account_name, module_name, type_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_type_async(resource_group_name, automation_account_name, module_name, type_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'module_name is nil' if module_name.nil? fail ArgumentError, 'type_name is nil' if type_name.nil? @@ -74,7 +76,6 @@ def list_by_type_async(automation_account_name, module_name, type_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -85,7 +86,7 @@ def list_by_type_async(automation_account_name, module_name, type_name, custom_h options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'typeName' => type_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'typeName' => type_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb index 3b27ae59b2..a20122b846 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb @@ -24,6 +24,7 @@ def initialize(client) # # Delete a hybrid runbook worker group. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] Automation account name. # @param hybrid_runbook_worker_group_name [String] The hybrid runbook worker # group name @@ -31,14 +32,15 @@ def initialize(client) # will be added to the HTTP request. # # - def delete(automation_account_name, hybrid_runbook_worker_group_name, custom_headers:nil) - response = delete_async(automation_account_name, hybrid_runbook_worker_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers).value! nil end # # Delete a hybrid runbook worker group. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] Automation account name. # @param hybrid_runbook_worker_group_name [String] The hybrid runbook worker # group name @@ -47,13 +49,14 @@ def delete(automation_account_name, hybrid_runbook_worker_group_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, hybrid_runbook_worker_group_name, custom_headers:nil) - delete_async(automation_account_name, hybrid_runbook_worker_group_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers).value! end # # Delete a hybrid runbook worker group. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] Automation account name. # @param hybrid_runbook_worker_group_name [String] The hybrid runbook worker # group name @@ -62,9 +65,8 @@ def delete_with_http_info(automation_account_name, hybrid_runbook_worker_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, hybrid_runbook_worker_group_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'hybrid_runbook_worker_group_name is nil' if hybrid_runbook_worker_group_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -72,7 +74,6 @@ def delete_async(automation_account_name, hybrid_runbook_worker_group_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -83,7 +84,7 @@ def delete_async(automation_account_name, hybrid_runbook_worker_group_name, cust options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'hybridRunbookWorkerGroupName' => hybrid_runbook_worker_group_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'hybridRunbookWorkerGroupName' => hybrid_runbook_worker_group_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -110,6 +111,7 @@ def delete_async(automation_account_name, hybrid_runbook_worker_group_name, cust # # Retrieve a hybrid runbook worker group. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param hybrid_runbook_worker_group_name [String] The hybrid runbook worker # group name @@ -118,14 +120,15 @@ def delete_async(automation_account_name, hybrid_runbook_worker_group_name, cust # # @return [HybridRunbookWorkerGroup] operation results. # - def get(automation_account_name, hybrid_runbook_worker_group_name, custom_headers:nil) - response = get_async(automation_account_name, hybrid_runbook_worker_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers).value! response.body unless response.nil? end # # Retrieve a hybrid runbook worker group. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param hybrid_runbook_worker_group_name [String] The hybrid runbook worker # group name @@ -134,13 +137,14 @@ def get(automation_account_name, hybrid_runbook_worker_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, hybrid_runbook_worker_group_name, custom_headers:nil) - get_async(automation_account_name, hybrid_runbook_worker_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers).value! end # # Retrieve a hybrid runbook worker group. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param hybrid_runbook_worker_group_name [String] The hybrid runbook worker # group name @@ -149,9 +153,8 @@ def get_with_http_info(automation_account_name, hybrid_runbook_worker_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, hybrid_runbook_worker_group_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'hybrid_runbook_worker_group_name is nil' if hybrid_runbook_worker_group_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -159,7 +162,6 @@ def get_async(automation_account_name, hybrid_runbook_worker_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,7 +172,7 @@ def get_async(automation_account_name, hybrid_runbook_worker_group_name, custom_ options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'hybridRunbookWorkerGroupName' => hybrid_runbook_worker_group_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'hybridRunbookWorkerGroupName' => hybrid_runbook_worker_group_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -207,6 +209,7 @@ def get_async(automation_account_name, hybrid_runbook_worker_group_name, custom_ # # Update a hybrid runbook worker group. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param hybrid_runbook_worker_group_name [String] The hybrid runbook worker # group name @@ -217,14 +220,15 @@ def get_async(automation_account_name, hybrid_runbook_worker_group_name, custom_ # # @return [HybridRunbookWorkerGroup] operation results. # - def update(automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers:nil) - response = update_async(automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers).value! response.body unless response.nil? end # # Update a hybrid runbook worker group. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param hybrid_runbook_worker_group_name [String] The hybrid runbook worker # group name @@ -235,13 +239,14 @@ def update(automation_account_name, hybrid_runbook_worker_group_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers:nil) - update_async(automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers = nil) + update_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers).value! end # # Update a hybrid runbook worker group. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param hybrid_runbook_worker_group_name [String] The hybrid runbook worker # group name @@ -252,9 +257,8 @@ def update_with_http_info(automation_account_name, hybrid_runbook_worker_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def update_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'hybrid_runbook_worker_group_name is nil' if hybrid_runbook_worker_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -263,12 +267,13 @@ def update_async(automation_account_name, hybrid_runbook_worker_group_name, para 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::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -280,7 +285,7 @@ def update_async(automation_account_name, hybrid_runbook_worker_group_name, para options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'hybridRunbookWorkerGroupName' => hybrid_runbook_worker_group_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'hybridRunbookWorkerGroupName' => hybrid_runbook_worker_group_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -318,49 +323,53 @@ def update_async(automation_account_name, hybrid_runbook_worker_group_name, para # # Retrieve a list of hybrid runbook worker groups. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter, custom_headers) first_page.get_all_items end # # Retrieve a list of hybrid runbook worker groups. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. # @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_automation_account_with_http_info(automation_account_name, custom_headers:nil) - list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! end # # Retrieve a list of hybrid runbook worker groups. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. # @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_automation_account_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -371,8 +380,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, - query_params: {'api-version' => @client.api_version}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + query_params: {'$filter' => filter,'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url } @@ -415,8 +424,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil # # @return [HybridRunbookWorkerGroupsListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -430,8 +439,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -444,12 +453,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -496,19 +504,21 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of hybrid runbook worker groups. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [HybridRunbookWorkerGroupsListResult] which provide lazy access to # pages of the response. # - def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb index 77be4530a5..abce1eff7b 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb @@ -24,6 +24,7 @@ def initialize(client) # # Retrieve the job output identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -31,14 +32,15 @@ def initialize(client) # # @return [NOT_IMPLEMENTED] operation results. # - def get_output(automation_account_name, job_id, custom_headers:nil) - response = get_output_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def get_output(resource_group_name, automation_account_name, job_id, custom_headers = nil) + response = get_output_async(resource_group_name, automation_account_name, job_id, custom_headers).value! response.body unless response.nil? end # # Retrieve the job output identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -46,13 +48,14 @@ def get_output(automation_account_name, job_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_output_with_http_info(automation_account_name, job_id, custom_headers:nil) - get_output_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def get_output_with_http_info(resource_group_name, automation_account_name, job_id, custom_headers = nil) + get_output_async(resource_group_name, automation_account_name, job_id, custom_headers).value! end # # Retrieve the job output identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job id. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -60,9 +63,8 @@ def get_output_with_http_info(automation_account_name, job_id, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_output_async(automation_account_name, job_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_output_async(resource_group_name, automation_account_name, job_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_id is nil' if job_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -70,7 +72,6 @@ def get_output_async(automation_account_name, job_id, 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 @@ -81,7 +82,7 @@ def get_output_async(automation_account_name, job_id, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -103,7 +104,6 @@ def get_output_async(automation_account_name, job_id, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -125,6 +125,7 @@ def get_output_async(automation_account_name, job_id, custom_headers:nil) # # Retrieve the runbook content of the job identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -132,14 +133,15 @@ def get_output_async(automation_account_name, job_id, custom_headers:nil) # # @return [NOT_IMPLEMENTED] operation results. # - def get_runbook_content(automation_account_name, job_id, custom_headers:nil) - response = get_runbook_content_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def get_runbook_content(resource_group_name, automation_account_name, job_id, custom_headers = nil) + response = get_runbook_content_async(resource_group_name, automation_account_name, job_id, custom_headers).value! response.body unless response.nil? end # # Retrieve the runbook content of the job identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -147,13 +149,14 @@ def get_runbook_content(automation_account_name, job_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_runbook_content_with_http_info(automation_account_name, job_id, custom_headers:nil) - get_runbook_content_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def get_runbook_content_with_http_info(resource_group_name, automation_account_name, job_id, custom_headers = nil) + get_runbook_content_async(resource_group_name, automation_account_name, job_id, custom_headers).value! end # # Retrieve the runbook content of the job identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job id. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -161,9 +164,8 @@ def get_runbook_content_with_http_info(automation_account_name, job_id, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_runbook_content_async(automation_account_name, job_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_runbook_content_async(resource_group_name, automation_account_name, job_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_id is nil' if job_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -171,7 +173,6 @@ def get_runbook_content_async(automation_account_name, job_id, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -182,7 +183,7 @@ def get_runbook_content_async(automation_account_name, job_id, custom_headers:ni options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -204,7 +205,6 @@ def get_runbook_content_async(automation_account_name, job_id, custom_headers:ni begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -226,20 +226,22 @@ def get_runbook_content_async(automation_account_name, job_id, custom_headers:ni # # Suspend the job identified by jobId. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def suspend(automation_account_name, job_id, custom_headers:nil) - response = suspend_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def suspend(resource_group_name, automation_account_name, job_id, custom_headers = nil) + response = suspend_async(resource_group_name, automation_account_name, job_id, custom_headers).value! nil end # # Suspend the job identified by jobId. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -247,13 +249,14 @@ def suspend(automation_account_name, job_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def suspend_with_http_info(automation_account_name, job_id, custom_headers:nil) - suspend_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def suspend_with_http_info(resource_group_name, automation_account_name, job_id, custom_headers = nil) + suspend_async(resource_group_name, automation_account_name, job_id, custom_headers).value! end # # Suspend the job identified by jobId. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -261,9 +264,8 @@ def suspend_with_http_info(automation_account_name, job_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def suspend_async(automation_account_name, job_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def suspend_async(resource_group_name, automation_account_name, job_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_id is nil' if job_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -271,7 +273,6 @@ def suspend_async(automation_account_name, job_id, 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 @@ -282,7 +283,7 @@ def suspend_async(automation_account_name, job_id, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -309,20 +310,22 @@ def suspend_async(automation_account_name, job_id, custom_headers:nil) # # Stop the job identified by jobId. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def stop(automation_account_name, job_id, custom_headers:nil) - response = stop_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def stop(resource_group_name, automation_account_name, job_id, custom_headers = nil) + response = stop_async(resource_group_name, automation_account_name, job_id, custom_headers).value! nil end # # Stop the job identified by jobId. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -330,13 +333,14 @@ def stop(automation_account_name, job_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def stop_with_http_info(automation_account_name, job_id, custom_headers:nil) - stop_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def stop_with_http_info(resource_group_name, automation_account_name, job_id, custom_headers = nil) + stop_async(resource_group_name, automation_account_name, job_id, custom_headers).value! end # # Stop the job identified by jobId. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -344,9 +348,8 @@ def stop_with_http_info(automation_account_name, job_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def stop_async(automation_account_name, job_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def stop_async(resource_group_name, automation_account_name, job_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_id is nil' if job_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -354,7 +357,6 @@ def stop_async(automation_account_name, job_id, 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 @@ -365,7 +367,7 @@ def stop_async(automation_account_name, job_id, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -392,6 +394,7 @@ def stop_async(automation_account_name, job_id, custom_headers:nil) # # Retrieve the job identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -399,14 +402,15 @@ def stop_async(automation_account_name, job_id, custom_headers:nil) # # @return [Job] operation results. # - def get(automation_account_name, job_id, custom_headers:nil) - response = get_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, job_id, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, job_id, custom_headers).value! response.body unless response.nil? end # # Retrieve the job identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -414,13 +418,14 @@ def get(automation_account_name, job_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, job_id, custom_headers:nil) - get_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, job_id, custom_headers = nil) + get_async(resource_group_name, automation_account_name, job_id, custom_headers).value! end # # Retrieve the job identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -428,9 +433,8 @@ def get_with_http_info(automation_account_name, job_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, job_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, job_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_id is nil' if job_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -438,7 +442,6 @@ def get_async(automation_account_name, job_id, 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 @@ -449,7 +452,7 @@ def get_async(automation_account_name, job_id, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -486,6 +489,7 @@ def get_async(automation_account_name, job_id, custom_headers:nil) # # Create a job of the runbook. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param parameters [JobCreateParameters] The parameters supplied to the create @@ -495,14 +499,15 @@ def get_async(automation_account_name, job_id, custom_headers:nil) # # @return [Job] operation results. # - def create(automation_account_name, job_id, parameters, custom_headers:nil) - response = create_async(automation_account_name, job_id, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, automation_account_name, job_id, parameters, custom_headers = nil) + response = create_async(resource_group_name, automation_account_name, job_id, parameters, custom_headers).value! response.body unless response.nil? end # # Create a job of the runbook. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param parameters [JobCreateParameters] The parameters supplied to the create @@ -512,13 +517,14 @@ def create(automation_account_name, job_id, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_with_http_info(automation_account_name, job_id, parameters, custom_headers:nil) - create_async(automation_account_name, job_id, parameters, custom_headers:custom_headers).value! + def create_with_http_info(resource_group_name, automation_account_name, job_id, parameters, custom_headers = nil) + create_async(resource_group_name, automation_account_name, job_id, parameters, custom_headers).value! end # # Create a job of the runbook. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param parameters [JobCreateParameters] The parameters supplied to the create @@ -528,9 +534,8 @@ def create_with_http_info(automation_account_name, job_id, parameters, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_async(automation_account_name, job_id, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_async(resource_group_name, automation_account_name, job_id, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_id is nil' if job_id.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -539,12 +544,13 @@ def create_async(automation_account_name, job_id, parameters, 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 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::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -556,7 +562,7 @@ def create_async(automation_account_name, job_id, parameters, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -594,6 +600,7 @@ def create_async(automation_account_name, job_id, parameters, custom_headers:nil # # Retrieve a list of jobs. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -601,14 +608,15 @@ def create_async(automation_account_name, job_id, parameters, custom_headers:nil # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, filter:nil, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, filter:filter, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter, custom_headers) first_page.get_all_items end # # Retrieve a list of jobs. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -616,13 +624,14 @@ def list_by_automation_account(automation_account_name, filter:nil, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_with_http_info(automation_account_name, filter:nil, custom_headers:nil) - list_by_automation_account_async(automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! end # # Retrieve a list of jobs. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -630,16 +639,14 @@ def list_by_automation_account_with_http_info(automation_account_name, filter:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_async(automation_account_name, filter:nil, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -650,7 +657,7 @@ def list_by_automation_account_async(automation_account_name, filter:nil, custom options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'$filter' => filter,'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -687,20 +694,22 @@ def list_by_automation_account_async(automation_account_name, filter:nil, custom # # Resume the job identified by jobId. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def resume(automation_account_name, job_id, custom_headers:nil) - response = resume_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def resume(resource_group_name, automation_account_name, job_id, custom_headers = nil) + response = resume_async(resource_group_name, automation_account_name, job_id, custom_headers).value! nil end # # Resume the job identified by jobId. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -708,13 +717,14 @@ def resume(automation_account_name, job_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def resume_with_http_info(automation_account_name, job_id, custom_headers:nil) - resume_async(automation_account_name, job_id, custom_headers:custom_headers).value! + def resume_with_http_info(resource_group_name, automation_account_name, job_id, custom_headers = nil) + resume_async(resource_group_name, automation_account_name, job_id, custom_headers).value! end # # Resume the job identified by jobId. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id The job id. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -722,9 +732,8 @@ def resume_with_http_info(automation_account_name, job_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def resume_async(automation_account_name, job_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def resume_async(resource_group_name, automation_account_name, job_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_id is nil' if job_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -732,7 +741,6 @@ def resume_async(automation_account_name, job_id, 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 @@ -743,7 +751,7 @@ def resume_async(automation_account_name, job_id, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -777,8 +785,8 @@ def resume_async(automation_account_name, job_id, custom_headers:nil) # # @return [JobListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -792,8 +800,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -806,12 +814,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -858,6 +865,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of jobs. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -865,12 +873,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # @return [JobListResult] which provide lazy access to pages of the response. # - def list_by_automation_account_as_lazy(automation_account_name, filter:nil, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb index 99fd95cc3e..23464f5a8c 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb @@ -24,20 +24,22 @@ def initialize(client) # # Delete the job schedule identified by job schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_schedule_id The job schedule name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def delete(automation_account_name, job_schedule_id, custom_headers:nil) - response = delete_async(automation_account_name, job_schedule_id, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, job_schedule_id, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers).value! nil end # # Delete the job schedule identified by job schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_schedule_id The job schedule name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -45,13 +47,14 @@ def delete(automation_account_name, job_schedule_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, job_schedule_id, custom_headers:nil) - delete_async(automation_account_name, job_schedule_id, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, job_schedule_id, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers).value! end # # Delete the job schedule identified by job schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_schedule_id The job schedule name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -59,9 +62,8 @@ def delete_with_http_info(automation_account_name, job_schedule_id, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, job_schedule_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_schedule_id is nil' if job_schedule_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -69,7 +71,6 @@ def delete_async(automation_account_name, job_schedule_id, 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 @@ -80,7 +81,7 @@ def delete_async(automation_account_name, job_schedule_id, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobScheduleId' => job_schedule_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobScheduleId' => job_schedule_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -107,6 +108,7 @@ def delete_async(automation_account_name, job_schedule_id, custom_headers:nil) # # Retrieve the job schedule identified by job schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_schedule_id The job schedule name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -114,14 +116,15 @@ def delete_async(automation_account_name, job_schedule_id, custom_headers:nil) # # @return [JobSchedule] operation results. # - def get(automation_account_name, job_schedule_id, custom_headers:nil) - response = get_async(automation_account_name, job_schedule_id, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, job_schedule_id, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers).value! response.body unless response.nil? end # # Retrieve the job schedule identified by job schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_schedule_id The job schedule name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -129,13 +132,14 @@ def get(automation_account_name, job_schedule_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, job_schedule_id, custom_headers:nil) - get_async(automation_account_name, job_schedule_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, job_schedule_id, custom_headers = nil) + get_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers).value! end # # Retrieve the job schedule identified by job schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_schedule_id The job schedule name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -143,9 +147,8 @@ def get_with_http_info(automation_account_name, job_schedule_id, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, job_schedule_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_schedule_id is nil' if job_schedule_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -153,7 +156,6 @@ def get_async(automation_account_name, job_schedule_id, 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 @@ -164,7 +166,7 @@ def get_async(automation_account_name, job_schedule_id, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobScheduleId' => job_schedule_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobScheduleId' => job_schedule_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -201,6 +203,7 @@ def get_async(automation_account_name, job_schedule_id, custom_headers:nil) # # Create a job schedule. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_schedule_id The job schedule name. # @param parameters [JobScheduleCreateParameters] The parameters supplied to @@ -210,14 +213,15 @@ def get_async(automation_account_name, job_schedule_id, custom_headers:nil) # # @return [JobSchedule] operation results. # - def create(automation_account_name, job_schedule_id, parameters, custom_headers:nil) - response = create_async(automation_account_name, job_schedule_id, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers = nil) + response = create_async(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers).value! response.body unless response.nil? end # # Create a job schedule. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_schedule_id The job schedule name. # @param parameters [JobScheduleCreateParameters] The parameters supplied to @@ -227,13 +231,14 @@ def create(automation_account_name, job_schedule_id, parameters, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_with_http_info(automation_account_name, job_schedule_id, parameters, custom_headers:nil) - create_async(automation_account_name, job_schedule_id, parameters, custom_headers:custom_headers).value! + def create_with_http_info(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers = nil) + create_async(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers).value! end # # Create a job schedule. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_schedule_id The job schedule name. # @param parameters [JobScheduleCreateParameters] The parameters supplied to @@ -243,9 +248,8 @@ def create_with_http_info(automation_account_name, job_schedule_id, parameters, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_async(automation_account_name, job_schedule_id, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_async(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_schedule_id is nil' if job_schedule_id.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -254,12 +258,13 @@ def create_async(automation_account_name, job_schedule_id, parameters, custom_he 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::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -271,7 +276,7 @@ def create_async(automation_account_name, job_schedule_id, parameters, custom_he options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobScheduleId' => job_schedule_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobScheduleId' => job_schedule_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -309,49 +314,53 @@ def create_async(automation_account_name, job_schedule_id, parameters, custom_he # # Retrieve a list of job schedules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter, custom_headers) first_page.get_all_items end # # Retrieve a list of job schedules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. # @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_automation_account_with_http_info(automation_account_name, custom_headers:nil) - list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! end # # Retrieve a list of job schedules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. # @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_automation_account_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -362,8 +371,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, - query_params: {'api-version' => @client.api_version}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + query_params: {'$filter' => filter,'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url } @@ -406,8 +415,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil # # @return [JobScheduleListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -421,8 +430,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -435,12 +444,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -487,19 +495,21 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of job schedules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. + # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [JobScheduleListResult] which provide lazy access to pages of the # response. # - def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb index 519901fd0f..4fee4df865 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb @@ -24,6 +24,7 @@ def initialize(client) # # Retrieve the job stream identified by job stream id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job id. # @param job_stream_id [String] The job stream id. @@ -32,14 +33,15 @@ def initialize(client) # # @return [JobStream] operation results. # - def get(automation_account_name, job_id, job_stream_id, custom_headers:nil) - response = get_async(automation_account_name, job_id, job_stream_id, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers).value! response.body unless response.nil? end # # Retrieve the job stream identified by job stream id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job id. # @param job_stream_id [String] The job stream id. @@ -48,13 +50,14 @@ def get(automation_account_name, job_id, job_stream_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, job_id, job_stream_id, custom_headers:nil) - get_async(automation_account_name, job_id, job_stream_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers = nil) + get_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers).value! end # # Retrieve the job stream identified by job stream id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job id. # @param job_stream_id [String] The job stream id. @@ -63,9 +66,8 @@ def get_with_http_info(automation_account_name, job_id, job_stream_id, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, job_id, job_stream_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, job_id, job_stream_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_id is nil' if job_id.nil? fail ArgumentError, 'job_stream_id is nil' if job_stream_id.nil? @@ -74,7 +76,6 @@ def get_async(automation_account_name, job_id, job_stream_id, 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 @@ -85,7 +86,7 @@ def get_async(automation_account_name, job_id, job_stream_id, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'jobStreamId' => job_stream_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'jobStreamId' => job_stream_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -122,6 +123,7 @@ def get_async(automation_account_name, job_id, job_stream_id, custom_headers:nil # # Retrieve a list of jobs streams identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job Id. # @param filter [String] The filter to apply on the operation. @@ -130,14 +132,15 @@ def get_async(automation_account_name, job_id, job_stream_id, custom_headers:nil # # @return [Array] operation results. # - def list_by_job(automation_account_name, job_id, filter:nil, custom_headers:nil) - first_page = list_by_job_as_lazy(automation_account_name, job_id, filter:filter, custom_headers:custom_headers) + def list_by_job(resource_group_name, automation_account_name, job_id, filter = nil, custom_headers = nil) + first_page = list_by_job_as_lazy(resource_group_name, automation_account_name, job_id, filter, custom_headers) first_page.get_all_items end # # Retrieve a list of jobs streams identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job Id. # @param filter [String] The filter to apply on the operation. @@ -146,13 +149,14 @@ def list_by_job(automation_account_name, job_id, filter:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_job_with_http_info(automation_account_name, job_id, filter:nil, custom_headers:nil) - list_by_job_async(automation_account_name, job_id, filter:filter, custom_headers:custom_headers).value! + def list_by_job_with_http_info(resource_group_name, automation_account_name, job_id, filter = nil, custom_headers = nil) + list_by_job_async(resource_group_name, automation_account_name, job_id, filter, custom_headers).value! end # # Retrieve a list of jobs streams identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job Id. # @param filter [String] The filter to apply on the operation. @@ -161,9 +165,8 @@ def list_by_job_with_http_info(automation_account_name, job_id, filter:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_job_async(automation_account_name, job_id, filter:nil, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_job_async(resource_group_name, automation_account_name, job_id, filter = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'job_id is nil' if job_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -171,7 +174,6 @@ def list_by_job_async(automation_account_name, job_id, filter:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -182,7 +184,7 @@ def list_by_job_async(automation_account_name, job_id, filter:nil, custom_header options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'jobId' => job_id,'subscriptionId' => @client.subscription_id}, query_params: {'$filter' => filter,'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -226,8 +228,8 @@ def list_by_job_async(automation_account_name, job_id, filter:nil, custom_header # # @return [JobStreamListResult] operation results. # - def list_by_job_next(next_page_link, custom_headers:nil) - response = list_by_job_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_job_next(next_page_link, custom_headers = nil) + response = list_by_job_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -241,8 +243,8 @@ def list_by_job_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_job_next_with_http_info(next_page_link, custom_headers:nil) - list_by_job_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_job_next_with_http_info(next_page_link, custom_headers = nil) + list_by_job_next_async(next_page_link, custom_headers).value! end # @@ -255,12 +257,11 @@ def list_by_job_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_job_next_async(next_page_link, custom_headers:nil) + def list_by_job_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -307,6 +308,7 @@ def list_by_job_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of jobs streams identified by job id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param job_id [String] The job Id. # @param filter [String] The filter to apply on the operation. @@ -316,12 +318,12 @@ def list_by_job_next_async(next_page_link, custom_headers:nil) # @return [JobStreamListResult] which provide lazy access to pages of the # response. # - def list_by_job_as_lazy(automation_account_name, job_id, filter:nil, custom_headers:nil) - response = list_by_job_async(automation_account_name, job_id, filter:filter, custom_headers:custom_headers).value! + def list_by_job_as_lazy(resource_group_name, automation_account_name, job_id, filter = nil, custom_headers = nil) + response = list_by_job_async(resource_group_name, automation_account_name, job_id, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_job_next_async(next_page_link, custom_headers:custom_headers) + list_by_job_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/keys.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/keys.rb new file mode 100644 index 0000000000..830ec4d5ec --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/keys.rb @@ -0,0 +1,116 @@ +# 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::Automation::Mgmt::V2015_10_31 + # + # Automation Client + # + class Keys + include MsRestAzure + + # + # Creates and initializes a new instance of the Keys class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AutomationClient] reference to the AutomationClient + attr_reader :client + + # + # Retrieve the automation keys for an account. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [KeyListResult] operation results. + # + def list_by_automation_account(resource_group_name, automation_account_name, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Retrieve the automation keys for an account. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @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_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! + end + + # + # Retrieve the automation keys for an account. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @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_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/listKeys' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'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(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult.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_automation/lib/2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb new file mode 100644 index 0000000000..ca96884f84 --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb @@ -0,0 +1,116 @@ +# 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::Automation::Mgmt::V2015_10_31 + # + # Automation Client + # + class LinkedWorkspaceOperations + include MsRestAzure + + # + # Creates and initializes a new instance of the LinkedWorkspaceOperations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AutomationClient] reference to the AutomationClient + attr_reader :client + + # + # Retrieve the linked workspace for the account id. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LinkedWorkspace] operation results. + # + def get(resource_group_name, automation_account_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Retrieve the linked workspace for the account id. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @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, automation_account_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, custom_headers).value! + end + + # + # Retrieve the linked workspace for the account id. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @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, automation_account_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/linkedWorkspace' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace.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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity.rb index 6f300591e7..d3d7a55c73 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity.rb @@ -45,7 +45,6 @@ class Activity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Activity', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'Activity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -70,7 +67,6 @@ def self.mapper() } }, definition: { - client_side_validation: true, required: false, serialized_name: 'properties.definition', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, parameter_sets: { - client_side_validation: true, required: false, serialized_name: 'properties.parameterSets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ActivityParameterSetElementType', type: { @@ -95,13 +89,11 @@ def self.mapper() } }, output_types: { - client_side_validation: true, required: false, serialized_name: 'properties.outputTypes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ActivityOutputTypeElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { @@ -120,7 +111,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { @@ -128,7 +118,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb index fbc23ddee0..5fac33cc56 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ActivityListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ActivityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ActivityElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb index 132cf6d476..9a54ba7e4b 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb @@ -25,7 +25,6 @@ class ActivityOutputType # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ActivityOutputType', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ActivityOutputType', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb index ae573711e9..e27f43b1d2 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb @@ -58,7 +58,6 @@ class ActivityParameter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ActivityParameter', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'ActivityParameter', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, is_mandatory: { - client_side_validation: true, required: false, serialized_name: 'isMandatory', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, is_dynamic: { - client_side_validation: true, required: false, serialized_name: 'isDynamic', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, position: { - client_side_validation: true, required: false, serialized_name: 'position', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, value_from_pipeline: { - client_side_validation: true, required: false, serialized_name: 'valueFromPipeline', type: { @@ -114,7 +107,6 @@ def self.mapper() } }, value_from_pipeline_by_property_name: { - client_side_validation: true, required: false, serialized_name: 'valueFromPipelineByPropertyName', type: { @@ -122,7 +114,6 @@ def self.mapper() } }, value_from_remaining_arguments: { - client_side_validation: true, required: false, serialized_name: 'valueFromRemainingArguments', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb index 8db0c86a43..2d6811be57 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb @@ -26,7 +26,6 @@ class ActivityParameterSet # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ActivityParameterSet', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ActivityParameterSet', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ActivityParameterElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb index 71ccbc1894..86cf073326 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb @@ -31,7 +31,6 @@ class AdvancedSchedule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdvancedSchedule', type: { @@ -39,13 +38,11 @@ def self.mapper() class_name: 'AdvancedSchedule', model_properties: { week_days: { - client_side_validation: true, required: false, serialized_name: 'weekDays', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, month_days: { - client_side_validation: true, required: false, serialized_name: 'monthDays', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, monthly_occurrences: { - client_side_validation: true, required: false, serialized_name: 'monthlyOccurrences', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdvancedScheduleMonthlyOccurrenceElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb index 969f9afd4c..6f5706d6d8 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb @@ -17,7 +17,7 @@ class AdvancedScheduleMonthlyOccurrence attr_accessor :occurrence # @return [ScheduleDay] Day of the occurrence. Must be one of monday, - # tuesday, wednesday,thursday, friday, saturday, sunday. Possible values + # tuesday, wednesday, thursday, friday, saturday, sunday. Possible values # include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', # 'Saturday', 'Sunday' attr_accessor :day @@ -29,7 +29,6 @@ class AdvancedScheduleMonthlyOccurrence # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdvancedScheduleMonthlyOccurrence', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AdvancedScheduleMonthlyOccurrence', model_properties: { occurrence: { - client_side_validation: true, required: false, serialized_name: 'occurrence', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, day: { - client_side_validation: true, required: false, serialized_name: 'day', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb index 8dde8d071f..fbce0285f1 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb @@ -32,7 +32,6 @@ class AgentRegistration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AgentRegistration', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'AgentRegistration', model_properties: { dsc_meta_configuration: { - client_side_validation: true, required: false, serialized_name: 'dscMetaConfiguration', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, endpoint: { - client_side_validation: true, required: false, serialized_name: 'endpoint', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, keys: { - client_side_validation: true, required: false, serialized_name: 'keys', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb index 347f7630a3..d247ac91be 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb @@ -9,8 +9,8 @@ module Models # Defines values for AgentRegistrationKeyName # module AgentRegistrationKeyName - Primary = "Primary" - Secondary = "Secondary" + Primary = "primary" + Secondary = "secondary" end end end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb index 4187efceef..8b099cdac3 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb @@ -25,7 +25,6 @@ class AgentRegistrationKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AgentRegistrationKeys', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'AgentRegistrationKeys', model_properties: { primary: { - client_side_validation: true, required: false, serialized_name: 'primary', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, secondary: { - client_side_validation: true, required: false, serialized_name: 'secondary', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb index 16e700cdaa..8fb5607852 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb @@ -13,8 +13,8 @@ class AgentRegistrationRegenerateKeyParameter include MsRestAzure # @return [AgentRegistrationKeyName] Gets or sets the agent registration - # key name - Primary or Secondary. Possible values include: 'Primary', - # 'Secondary' + # key name - primary or secondary. Possible values include: 'primary', + # 'secondary' attr_accessor :key_name # @return [String] Gets or sets the name of the resource. @@ -34,7 +34,6 @@ class AgentRegistrationRegenerateKeyParameter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AgentRegistrationRegenerateKeyParameter', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AgentRegistrationRegenerateKeyParameter', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -66,13 +62,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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb index efa3b2cec7..258662f728 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb @@ -8,7 +8,7 @@ module Models # # Definition of the automation account type. # - class AutomationAccount < Resource + class AutomationAccount < TrackedResource include MsRestAzure @@ -41,7 +41,6 @@ class AutomationAccount < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AutomationAccount', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'AutomationAccount', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -58,7 +56,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -67,7 +64,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -75,22 +71,12 @@ def self.mapper() name: 'String' } }, - location: { - client_side_validation: true, - required: true, - serialized_name: 'location', - type: { - name: 'String' - } - }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,8 +85,14 @@ def self.mapper() } } }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -117,7 +108,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -126,7 +116,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', @@ -135,7 +124,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', @@ -144,7 +132,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -152,7 +139,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb index 8eddf0498a..75a54c9b56 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb @@ -34,7 +34,6 @@ class AutomationAccountCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AutomationAccountCreateOrUpdateParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AutomationAccountCreateOrUpdateParameters', model_properties: { sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb index 3e8d008ce8..a4bae1ab0e 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AutomationAccountListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'AutomationAccountListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AutomationAccountElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb index f0ba325829..0bc8e67f13 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb @@ -32,7 +32,6 @@ class AutomationAccountUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AutomationAccountUpdateParameters', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'AutomationAccountUpdateParameters', model_properties: { sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -65,13 +61,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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb new file mode 100644 index 0000000000..fea77defa3 --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.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::Automation::Mgmt::V2015_10_31 + module Models + # + # Defines values for AutomationKeyName + # + module AutomationKeyName + Primary = "primary" + Secondary = "secondary" + end + end +end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb new file mode 100644 index 0000000000..837dfbb687 --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb @@ -0,0 +1,15 @@ +# 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::Automation::Mgmt::V2015_10_31 + module Models + # + # Defines values for AutomationKeyPermissions + # + module AutomationKeyPermissions + Full = "Full" + end + end +end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb index 05a3d20835..7ad8c98c93 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb @@ -8,19 +8,10 @@ module Models # # Definition of the certificate. # - class Certificate + class Certificate < ProxyResource include MsRestAzure - # @return [String] Gets the id of the resource. - attr_accessor :id - - # @return [String] Gets the name of the certificate. - attr_accessor :name - - # @return [String] Resource type - attr_accessor :type - # @return [String] Gets the thumbprint of the certificate. attr_accessor :thumbprint @@ -46,7 +37,6 @@ class Certificate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Certificate', type: { @@ -54,7 +44,6 @@ def self.mapper() class_name: 'Certificate', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +52,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -72,7 +60,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -81,7 +68,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.thumbprint', @@ -90,7 +76,6 @@ def self.mapper() } }, expiry_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.expiryTime', @@ -99,7 +84,6 @@ def self.mapper() } }, is_exportable: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isExportable', @@ -108,7 +92,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', @@ -117,7 +100,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', @@ -126,7 +108,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb index 9248ff0379..031c03358e 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb @@ -37,7 +37,6 @@ class CertificateCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CertificateCreateOrUpdateParameters', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'CertificateCreateOrUpdateParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, base64value: { - client_side_validation: true, required: true, serialized_name: 'properties.base64Value', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, is_exportable: { - client_side_validation: true, required: false, serialized_name: 'properties.isExportable', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb index a57fbf669c..893d263a95 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CertificateListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'CertificateListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'CertificateElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb index f84125fe7f..99eb87f3c6 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb @@ -25,7 +25,6 @@ class CertificateUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CertificateUpdateParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'CertificateUpdateParameters', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb index dfe2ce3c0b..87e3e24b0b 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb @@ -8,19 +8,10 @@ module Models # # Definition of the connection. # - class Connection + class Connection < ProxyResource include MsRestAzure - # @return [String] Gets the id of the resource. - attr_accessor :id - - # @return [String] Gets the name of the connection. - attr_accessor :name - - # @return [String] Resource type - attr_accessor :type - # @return [ConnectionTypeAssociationProperty] Gets or sets the # connectionType of the connection. attr_accessor :connection_type @@ -45,7 +36,6 @@ class Connection # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Connection', type: { @@ -53,7 +43,6 @@ def self.mapper() class_name: 'Connection', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -62,7 +51,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +59,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +67,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionType', type: { @@ -89,14 +75,12 @@ def self.mapper() } }, field_definition_values: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.fieldDefinitionValues', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -106,7 +90,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', @@ -115,7 +98,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', @@ -124,7 +106,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb index 9227d7822b..eca922b537 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb @@ -33,7 +33,6 @@ class ConnectionCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionCreateOrUpdateParameters', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'ConnectionCreateOrUpdateParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, field_definition_values: { - client_side_validation: true, required: false, serialized_name: 'properties.fieldDefinitionValues', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb index faca238a13..750ac015a4 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb index 91940830f2..5bf3bb701f 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb @@ -45,7 +45,6 @@ class ConnectionType # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionType', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'ConnectionType', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, is_global: { - client_side_validation: true, required: false, serialized_name: 'properties.isGlobal', type: { @@ -88,14 +83,12 @@ def self.mapper() } }, field_definitions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.fieldDefinitions', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'FieldDefinitionElementType', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', @@ -115,7 +107,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb index 71afe1e648..041b8c0c7b 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb @@ -22,7 +22,6 @@ class ConnectionTypeAssociationProperty # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionTypeAssociationProperty', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionTypeAssociationProperty', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb index f9009d3e9a..0a032246ef 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb @@ -31,7 +31,6 @@ class ConnectionTypeCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionTypeCreateOrUpdateParameters', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ConnectionTypeCreateOrUpdateParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, is_global: { - client_side_validation: true, required: false, serialized_name: 'properties.isGlobal', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, field_definitions: { - client_side_validation: true, required: true, serialized_name: 'properties.fieldDefinitions', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'FieldDefinitionElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb index c2b0bae935..01f44bf888 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionTypeListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ConnectionTypeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionTypeElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb index 0ef72b45d4..3883e2e6c1 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb @@ -29,7 +29,6 @@ class ConnectionUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionUpdateParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ConnectionUpdateParameters', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, field_definition_values: { - client_side_validation: true, required: false, serialized_name: 'properties.fieldDefinitionValues', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb index 977a493014..e9e55471a7 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb @@ -26,7 +26,6 @@ class ContentHash # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentHash', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContentHash', model_properties: { algorithm: { - client_side_validation: true, required: true, serialized_name: 'algorithm', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb index eb40617360..0d2d13bb46 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb @@ -28,7 +28,6 @@ class ContentLink # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentLink', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ContentLink', model_properties: { uri: { - client_side_validation: true, required: false, serialized_name: 'uri', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, content_hash: { - client_side_validation: true, required: false, serialized_name: 'contentHash', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_source.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_source.rb index 01f5030614..50f989ff44 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_source.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/content_source.rb @@ -33,7 +33,6 @@ class ContentSource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentSource', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'ContentSource', model_properties: { hash: { - client_side_validation: true, required: false, serialized_name: 'hash', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb index 62f460f72e..ebd606492d 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb @@ -8,19 +8,10 @@ module Models # # Definition of the credential. # - class Credential + class Credential < ProxyResource include MsRestAzure - # @return [String] Gets the id of the resource. - attr_accessor :id - - # @return [String] Gets the name of the credential. - attr_accessor :name - - # @return [String] Resource type - attr_accessor :type - # @return [String] Gets the user name of the credential. attr_accessor :user_name @@ -40,7 +31,6 @@ class Credential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Credential', type: { @@ -48,7 +38,6 @@ def self.mapper() class_name: 'Credential', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -57,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -66,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -75,7 +62,6 @@ def self.mapper() } }, user_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.userName', @@ -84,7 +70,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', @@ -93,7 +78,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', @@ -102,7 +86,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb index 5500db9696..1f9481209c 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb @@ -31,7 +31,6 @@ class CredentialCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CredentialCreateOrUpdateParameters', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'CredentialCreateOrUpdateParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, user_name: { - client_side_validation: true, required: true, serialized_name: 'properties.userName', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: true, serialized_name: 'properties.password', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb index 667a50d95b..10211925ef 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CredentialListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'CredentialListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'CredentialElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb index 509f34ce5b..54e2a28283 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb @@ -31,7 +31,6 @@ class CredentialUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CredentialUpdateParameters', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'CredentialUpdateParameters', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, user_name: { - client_side_validation: true, required: false, serialized_name: 'properties.userName', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb index 286d05899b..e4339828e2 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb @@ -8,13 +8,10 @@ module Models # # Definition of the Dsc Compilation job. # - class DscCompilationJob + class DscCompilationJob < ProxyResource include MsRestAzure - # @return [String] Gets the id of the resource. - attr_accessor :id - # @return [DscConfigurationAssociationProperty] Gets or sets the # configuration. attr_accessor :configuration @@ -28,6 +25,14 @@ class DscCompilationJob # @return [DateTime] Gets the creation time of the job. attr_accessor :creation_time + # @return [JobProvisioningStateProperty] The current provisioning state + # of the job. + attr_accessor :provisioning_state + + # @return [String] Gets or sets the runOn which specifies the group name + # where the job is to be executed. + attr_accessor :run_on + # @return [JobStatus] Gets or sets the status of the job. Possible values # include: 'New', 'Activating', 'Running', 'Completed', 'Failed', # 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', @@ -63,7 +68,6 @@ class DscCompilationJob # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscCompilationJob', type: { @@ -71,7 +75,6 @@ def self.mapper() class_name: 'DscCompilationJob', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -79,8 +82,23 @@ def self.mapper() 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' + } + }, configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.configuration', type: { @@ -89,7 +107,6 @@ def self.mapper() } }, started_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.startedBy', @@ -98,7 +115,6 @@ def self.mapper() } }, job_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.jobId', @@ -107,7 +123,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', @@ -115,8 +130,22 @@ def self.mapper() name: 'DateTime' } }, + provisioning_state: { + required: false, + serialized_name: 'properties.provisioningState', + type: { + name: 'Composite', + class_name: 'JobProvisioningStateProperty' + } + }, + run_on: { + required: false, + serialized_name: 'properties.runOn', + type: { + name: 'String' + } + }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -124,7 +153,6 @@ def self.mapper() } }, status_details: { - client_side_validation: true, required: false, serialized_name: 'properties.statusDetails', type: { @@ -132,7 +160,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.startTime', @@ -141,7 +168,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endTime', @@ -150,7 +176,6 @@ def self.mapper() } }, exception: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.exception', @@ -159,7 +184,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', @@ -168,7 +192,6 @@ def self.mapper() } }, last_status_modified_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastStatusModifiedTime', @@ -177,13 +200,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb index 4357a1d899..70e4f48077 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb @@ -41,7 +41,6 @@ class DscCompilationJobCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscCompilationJobCreateParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'DscCompilationJobCreateParameters', model_properties: { configuration: { - client_side_validation: true, required: true, serialized_name: 'properties.configuration', type: { @@ -58,13 +56,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, new_node_configuration_build_version_required: { - client_side_validation: true, required: false, serialized_name: 'properties.newNodeConfigurationBuildVersionRequired', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -98,13 +91,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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb index 3e6406860b..ab4217215f 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscCompilationJobListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'DscCompilationJobListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DscCompilationJobElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb index fceb2ec102..94e84ec9ce 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb @@ -8,7 +8,7 @@ module Models # # Definition of the configuration type. # - class DscConfiguration < Resource + class DscConfiguration < TrackedResource include MsRestAzure @@ -40,6 +40,9 @@ class DscConfiguration < Resource # @return [DateTime] Gets or sets the last modified time. attr_accessor :last_modified_time + # @return [Integer] Gets the number of compiled node configurations. + attr_accessor :node_configuration_count + # @return [String] Gets or sets the description. attr_accessor :description @@ -53,7 +56,6 @@ class DscConfiguration < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscConfiguration', type: { @@ -61,7 +63,6 @@ def self.mapper() class_name: 'DscConfiguration', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -70,7 +71,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -87,22 +86,12 @@ def self.mapper() name: 'String' } }, - location: { - client_side_validation: true, - required: true, - serialized_name: 'location', - type: { - name: 'String' - } - }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -111,8 +100,14 @@ def self.mapper() } } }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -121,7 +116,6 @@ def self.mapper() } }, job_count: { - client_side_validation: true, required: false, serialized_name: 'properties.jobCount', type: { @@ -129,13 +123,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'DscConfigurationParameterElementType', type: { @@ -146,7 +138,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'properties.source', type: { @@ -155,7 +146,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -163,7 +153,6 @@ def self.mapper() } }, log_verbose: { - client_side_validation: true, required: false, serialized_name: 'properties.logVerbose', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { @@ -179,15 +167,20 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { name: 'DateTime' } }, + node_configuration_count: { + required: false, + serialized_name: 'properties.nodeConfigurationCount', + type: { + name: 'Number' + } + }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -195,7 +188,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb index c1187e1c45..6a1419cb91 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb @@ -22,7 +22,6 @@ class DscConfigurationAssociationProperty # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscConfigurationAssociationProperty', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DscConfigurationAssociationProperty', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb index e5f05311c0..29ccc44702 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb @@ -45,7 +45,6 @@ class DscConfigurationCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscConfigurationCreateOrUpdateParameters', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'DscConfigurationCreateOrUpdateParameters', model_properties: { log_verbose: { - client_side_validation: true, required: false, serialized_name: 'properties.logVerbose', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, log_progress: { - client_side_validation: true, required: false, serialized_name: 'properties.logProgress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'DscConfigurationParameterElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -119,13 +110,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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb index 5a725fca6e..7aa9c29e7f 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb @@ -20,6 +20,10 @@ class DscConfigurationListResult # @return [String] Gets or sets the next link. attr_accessor :next_link + # @return [Integer] Gets the total number of configurations matching + # filter criteria. + attr_accessor :total_count + # return [Proc] with next page method call. attr_accessor :next_method @@ -58,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscConfigurationListResult', type: { @@ -66,13 +69,11 @@ def self.mapper() class_name: 'DscConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DscConfigurationElementType', type: { @@ -83,12 +84,18 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { name: 'String' } + }, + total_count: { + required: false, + serialized_name: 'totalCount', + type: { + name: 'Number' + } } } } diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb index 5b122cb336..7e0138eaa4 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb @@ -32,7 +32,6 @@ class DscConfigurationParameter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscConfigurationParameter', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'DscConfigurationParameter', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, is_mandatory: { - client_side_validation: true, required: false, serialized_name: 'isMandatory', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, position: { - client_side_validation: true, required: false, serialized_name: 'position', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, default_value: { - client_side_validation: true, required: false, serialized_name: 'defaultValue', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb new file mode 100644 index 0000000000..5abc06f85f --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb @@ -0,0 +1,122 @@ +# 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::Automation::Mgmt::V2015_10_31 + module Models + # + # The parameters supplied to the create or update configuration operation. + # + class DscConfigurationUpdateParameters + + include MsRestAzure + + # @return [Boolean] Gets or sets verbose log option. + attr_accessor :log_verbose + + # @return [Boolean] Gets or sets progress log option. + attr_accessor :log_progress + + # @return [ContentSource] Gets or sets the source. + attr_accessor :source + + # @return [Hash{String => DscConfigurationParameter}] Gets or sets the + # configuration parameters. + attr_accessor :parameters + + # @return [String] Gets or sets the description of the configuration. + attr_accessor :description + + # @return [String] Gets or sets name of the resource. + attr_accessor :name + + # @return [Hash{String => String}] Gets or sets the tags attached to the + # resource. + attr_accessor :tags + + + # + # Mapper for DscConfigurationUpdateParameters class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DscConfigurationUpdateParameters', + type: { + name: 'Composite', + class_name: 'DscConfigurationUpdateParameters', + model_properties: { + log_verbose: { + required: false, + serialized_name: 'properties.logVerbose', + type: { + name: 'Boolean' + } + }, + log_progress: { + required: false, + serialized_name: 'properties.logProgress', + type: { + name: 'Boolean' + } + }, + source: { + required: true, + serialized_name: 'properties.source', + type: { + name: 'Composite', + class_name: 'ContentSource' + } + }, + parameters: { + required: false, + serialized_name: 'properties.parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'DscConfigurationParameterElementType', + type: { + name: 'Composite', + class_name: 'DscConfigurationParameter' + } + } + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + name: { + required: false, + serialized_name: 'name', + 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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb index 0e69adf36e..56705fc23f 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb @@ -47,7 +47,6 @@ class DscMetaConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscMetaConfiguration', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'DscMetaConfiguration', model_properties: { configuration_mode_frequency_mins: { - client_side_validation: true, required: false, serialized_name: 'configurationModeFrequencyMins', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, reboot_node_if_needed: { - client_side_validation: true, required: false, serialized_name: 'rebootNodeIfNeeded', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, configuration_mode: { - client_side_validation: true, required: false, serialized_name: 'configurationMode', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, action_after_reboot: { - client_side_validation: true, required: false, serialized_name: 'actionAfterReboot', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, certificate_id: { - client_side_validation: true, required: false, serialized_name: 'certificateId', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, refresh_frequency_mins: { - client_side_validation: true, required: false, serialized_name: 'refreshFrequencyMins', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, allow_module_overwrite: { - client_side_validation: true, required: false, serialized_name: 'allowModuleOverwrite', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb index f2c460c14c..824f0ceb11 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb @@ -8,7 +8,7 @@ module Models # # Definition of the dsc node type. # - class DscNode < Resource + class DscNode < ProxyResource include MsRestAzure @@ -48,7 +48,6 @@ class DscNode < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscNode', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'DscNode', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -65,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -74,7 +71,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -82,32 +78,7 @@ def self.mapper() name: 'String' } }, - location: { - client_side_validation: true, - required: true, - serialized_name: 'location', - type: { - name: 'String' - } - }, - tags: { - client_side_validation: true, - required: false, - serialized_name: 'tags', - type: { - name: 'Dictionary', - value: { - client_side_validation: true, - required: false, - serialized_name: 'StringElementType', - type: { - name: 'String' - } - } - } - }, last_seen: { - client_side_validation: true, required: false, serialized_name: 'lastSeen', type: { @@ -115,7 +86,6 @@ def self.mapper() } }, registration_time: { - client_side_validation: true, required: false, serialized_name: 'registrationTime', type: { @@ -123,7 +93,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { @@ -131,7 +100,6 @@ def self.mapper() } }, account_id: { - client_side_validation: true, required: false, serialized_name: 'accountId', type: { @@ -139,7 +107,6 @@ def self.mapper() } }, node_configuration: { - client_side_validation: true, required: false, serialized_name: 'nodeConfiguration', type: { @@ -148,7 +115,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -156,7 +122,6 @@ def self.mapper() } }, node_id: { - client_side_validation: true, required: false, serialized_name: 'nodeId', type: { @@ -164,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -172,13 +136,11 @@ def self.mapper() } }, extension_handler: { - client_side_validation: true, required: false, serialized_name: 'extensionHandler', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DscNodeExtensionHandlerAssociationPropertyElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb index 7f105bf859..15a3acf1bc 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb @@ -8,13 +8,10 @@ module Models # # Definition of the dsc node configuration. # - class DscNodeConfiguration + class DscNodeConfiguration < ProxyResource include MsRestAzure - # @return [String] Gets or sets the node configuration name. - attr_accessor :name - # @return [DateTime] Gets or sets the last modified time. attr_accessor :last_modified_time @@ -25,9 +22,6 @@ class DscNodeConfiguration # configuration of the node. attr_accessor :configuration - # @return [String] Gets or sets the id of the resource. - attr_accessor :id - # # Mapper for DscNodeConfiguration class as Ruby Hash. @@ -35,23 +29,37 @@ class DscNodeConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscNodeConfiguration', type: { name: 'Composite', class_name: 'DscNodeConfiguration', model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, name: { - client_side_validation: true, required: false, + read_only: true, serialized_name: 'name', type: { name: 'String' } }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'lastModifiedTime', type: { @@ -59,7 +67,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'creationTime', type: { @@ -67,21 +74,12 @@ def self.mapper() } }, configuration: { - client_side_validation: true, required: false, serialized_name: 'configuration', type: { name: 'Composite', class_name: 'DscConfigurationAssociationProperty' } - }, - id: { - client_side_validation: true, - required: false, - serialized_name: 'id', - type: { - name: 'String' - } } } } diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb index 96ab509871..3ae237e679 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb @@ -22,7 +22,6 @@ class DscNodeConfigurationAssociationProperty # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscNodeConfigurationAssociationProperty', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DscNodeConfigurationAssociationProperty', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb index cf60049e4e..7b97cdb31f 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb @@ -16,7 +16,7 @@ class DscNodeConfigurationCreateOrUpdateParameters # @return [ContentSource] Gets or sets the source. attr_accessor :source - # @return [String] Gets or sets the type of the parameter. + # @return [String] Name of the node configuration. attr_accessor :name # @return [DscConfigurationAssociationProperty] Gets or sets the @@ -25,7 +25,7 @@ class DscNodeConfigurationCreateOrUpdateParameters # @return [Boolean] If a new build version of NodeConfiguration is # required. - attr_accessor :new_node_configuration_build_version_required + attr_accessor :increment_node_configuration_build # @@ -35,7 +35,6 @@ class DscNodeConfigurationCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscNodeConfigurationCreateOrUpdateParameters', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'DscNodeConfigurationCreateOrUpdateParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, configuration: { - client_side_validation: true, required: true, serialized_name: 'configuration', type: { @@ -68,10 +64,9 @@ def self.mapper() class_name: 'DscConfigurationAssociationProperty' } }, - new_node_configuration_build_version_required: { - client_side_validation: true, + increment_node_configuration_build: { required: false, - serialized_name: 'newNodeConfigurationBuildVersionRequired', + serialized_name: 'incrementNodeConfigurationBuild', type: { name: 'Boolean' } diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb index 61556eac1e..5a7950a31b 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscNodeConfigurationListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'DscNodeConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DscNodeConfigurationElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb index 7bb5577ef5..8285f282b3 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb @@ -26,7 +26,6 @@ class DscNodeExtensionHandlerAssociationProperty # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscNodeExtensionHandlerAssociationProperty', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'DscNodeExtensionHandlerAssociationProperty', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb index 2685d72675..9a243aeec8 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscNodeListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'DscNodeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DscNodeElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report.rb index 9a10e5507a..3349c0a4d1 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report.rb @@ -86,7 +86,6 @@ class DscNodeReport # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscNodeReport', type: { @@ -94,7 +93,6 @@ def self.mapper() class_name: 'DscNodeReport', model_properties: { end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'lastModifiedTime', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, report_id: { - client_side_validation: true, required: false, serialized_name: 'reportId', type: { @@ -134,7 +128,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -142,7 +135,6 @@ def self.mapper() } }, refresh_mode: { - client_side_validation: true, required: false, serialized_name: 'refreshMode', type: { @@ -150,7 +142,6 @@ def self.mapper() } }, reboot_requested: { - client_side_validation: true, required: false, serialized_name: 'rebootRequested', type: { @@ -158,7 +149,6 @@ def self.mapper() } }, report_format_version: { - client_side_validation: true, required: false, serialized_name: 'reportFormatVersion', type: { @@ -166,7 +156,6 @@ def self.mapper() } }, configuration_version: { - client_side_validation: true, required: false, serialized_name: 'configurationVersion', type: { @@ -174,7 +163,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -182,13 +170,11 @@ def self.mapper() } }, errors: { - client_side_validation: true, required: false, serialized_name: 'errors', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DscReportErrorElementType', type: { @@ -199,13 +185,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DscReportResourceElementType', type: { @@ -216,7 +200,6 @@ def self.mapper() } }, meta_configuration: { - client_side_validation: true, required: false, serialized_name: 'metaConfiguration', type: { @@ -225,7 +208,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'hostName', type: { @@ -233,13 +215,11 @@ def self.mapper() } }, i_pv4addresses: { - client_side_validation: true, required: false, serialized_name: 'iPV4Addresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -249,13 +229,11 @@ def self.mapper() } }, i_pv6addresses: { - client_side_validation: true, required: false, serialized_name: 'iPV6Addresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -265,7 +243,6 @@ def self.mapper() } }, number_of_resources: { - client_side_validation: true, required: false, serialized_name: 'numberOfResources', type: { @@ -273,7 +250,6 @@ def self.mapper() } }, raw_errors: { - client_side_validation: true, required: false, serialized_name: 'rawErrors', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb index b55b5ed231..7beefdd912 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscNodeReportListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'DscNodeReportListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DscNodeReportElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb index 727a6ec125..9b5a4c5b09 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb @@ -26,7 +26,6 @@ class DscNodeUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscNodeUpdateParameters', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'DscNodeUpdateParameters', model_properties: { node_id: { - client_side_validation: true, required: false, serialized_name: 'nodeId', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, node_configuration: { - client_side_validation: true, required: false, serialized_name: 'nodeConfiguration', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb index f3960f9c9e..4acf2dc3ff 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb @@ -38,7 +38,6 @@ class DscReportError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscReportError', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'DscReportError', model_properties: { error_source: { - client_side_validation: true, required: false, serialized_name: 'errorSource', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, error_code: { - client_side_validation: true, required: false, serialized_name: 'errorCode', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, error_message: { - client_side_validation: true, required: false, serialized_name: 'errorMessage', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, locale: { - client_side_validation: true, required: false, serialized_name: 'locale', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, error_details: { - client_side_validation: true, required: false, serialized_name: 'errorDetails', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb index bd1240a819..6aa03ba100 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb @@ -50,7 +50,6 @@ class DscReportResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscReportResource', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'DscReportResource', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, source_info: { - client_side_validation: true, required: false, serialized_name: 'sourceInfo', type: { @@ -74,13 +71,11 @@ def self.mapper() } }, depends_on: { - client_side_validation: true, required: false, serialized_name: 'dependsOn', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DscReportResourceNavigationElementType', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, module_name: { - client_side_validation: true, required: false, serialized_name: 'moduleName', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, module_version: { - client_side_validation: true, required: false, serialized_name: 'moduleVersion', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, resource_name: { - client_side_validation: true, required: false, serialized_name: 'resourceName', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -131,7 +121,6 @@ def self.mapper() } }, duration_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'durationInSeconds', type: { @@ -139,7 +128,6 @@ def self.mapper() } }, start_date: { - client_side_validation: true, required: false, serialized_name: 'startDate', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb index 72746277fd..f3b208bf3a 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb @@ -22,7 +22,6 @@ class DscReportResourceNavigation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DscReportResourceNavigation', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DscReportResourceNavigation', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/error_response.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/error_response.rb index 80fa71a3ea..71129c6fd9 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/error_response.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/error_response.rb @@ -25,7 +25,6 @@ class ErrorResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorResponse', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ErrorResponse', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb index 8a16109256..527b0b2fae 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb @@ -31,7 +31,6 @@ class FieldDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FieldDefinition', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'FieldDefinition', model_properties: { is_encrypted: { - client_side_validation: true, required: false, serialized_name: 'isEncrypted', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, is_optional: { - client_side_validation: true, required: false, serialized_name: 'isOptional', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.rb new file mode 100644 index 0000000000..e12cd156de --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.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::Automation::Mgmt::V2015_10_31 + module Models + # + # Defines values for GroupTypeEnum + # + module GroupTypeEnum + User = "User" + System = "System" + end + end +end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb index a7699733a8..6d1e516efb 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb @@ -22,6 +22,9 @@ class HybridRunbookWorker # machine. attr_accessor :registration_time + # @return [DateTime] Last Heartbeat from the Worker + attr_accessor :last_seen_date_time + # # Mapper for HybridRunbookWorker class as Ruby Hash. @@ -29,7 +32,6 @@ class HybridRunbookWorker # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HybridRunbookWorker', type: { @@ -37,7 +39,6 @@ def self.mapper() class_name: 'HybridRunbookWorker', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -45,7 +46,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { @@ -53,12 +53,18 @@ def self.mapper() } }, registration_time: { - client_side_validation: true, required: false, serialized_name: 'registrationTime', type: { name: 'DateTime' } + }, + last_seen_date_time: { + required: false, + serialized_name: 'lastSeenDateTime', + type: { + name: 'DateTime' + } } } } diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb index ead5e2377b..30bd460fb3 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb @@ -33,7 +33,6 @@ class HybridRunbookWorkerGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HybridRunbookWorkerGroup', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'HybridRunbookWorkerGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -57,13 +54,11 @@ def self.mapper() } }, hybrid_runbook_workers: { - client_side_validation: true, required: false, serialized_name: 'hybridRunbookWorkers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HybridRunbookWorkerElementType', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, credential: { - client_side_validation: true, required: false, serialized_name: 'credential', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb index b4b790a033..615713477e 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb @@ -23,7 +23,6 @@ class HybridRunbookWorkerGroupUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HybridRunbookWorkerGroupUpdateParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'HybridRunbookWorkerGroupUpdateParameters', model_properties: { credential: { - client_side_validation: true, required: false, serialized_name: 'credential', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb index f3e2ce87c1..6fc46568f3 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HybridRunbookWorkerGroupsListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'HybridRunbookWorkerGroupsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HybridRunbookWorkerGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb index 1730b1d0b9..09a7904207 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb @@ -12,7 +12,7 @@ class Job include MsRestAzure - # @return [String] Gets or sets the id of the resource. + # @return [String] Id of the resource. attr_accessor :id # @return [RunbookAssociationProperty] Gets or sets the runbook. @@ -60,6 +60,10 @@ class Job # job. attr_accessor :parameters + # @return [JobProvisioningStateProperty] The provisioning state of a + # resource. + attr_accessor :provisioning_state + # # Mapper for Job class as Ruby Hash. @@ -67,7 +71,6 @@ class Job # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Job', type: { @@ -75,7 +78,6 @@ def self.mapper() class_name: 'Job', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -83,7 +85,6 @@ def self.mapper() } }, runbook: { - client_side_validation: true, required: false, serialized_name: 'properties.runbook', type: { @@ -92,7 +93,6 @@ def self.mapper() } }, started_by: { - client_side_validation: true, required: false, serialized_name: 'properties.startedBy', type: { @@ -100,7 +100,6 @@ def self.mapper() } }, run_on: { - client_side_validation: true, required: false, serialized_name: 'properties.runOn', type: { @@ -108,7 +107,6 @@ def self.mapper() } }, job_id: { - client_side_validation: true, required: false, serialized_name: 'properties.jobId', type: { @@ -116,7 +114,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { @@ -124,7 +121,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -132,7 +128,6 @@ def self.mapper() } }, status_details: { - client_side_validation: true, required: false, serialized_name: 'properties.statusDetails', type: { @@ -140,7 +135,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { @@ -148,7 +142,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'properties.endTime', type: { @@ -156,7 +149,6 @@ def self.mapper() } }, exception: { - client_side_validation: true, required: false, serialized_name: 'properties.exception', type: { @@ -164,7 +156,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { @@ -172,7 +163,6 @@ def self.mapper() } }, last_status_modified_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastStatusModifiedTime', type: { @@ -180,13 +170,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -194,6 +182,14 @@ def self.mapper() } } } + }, + provisioning_state: { + required: false, + serialized_name: 'properties.provisioningState', + type: { + name: 'Composite', + class_name: 'JobProvisioningStateProperty' + } } } } diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb index 5f389635a1..b667267688 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb @@ -23,16 +23,6 @@ class JobCreateParameters # where the job is to be executed. attr_accessor :run_on - # @return [String] Gets or sets name of the resource. - attr_accessor :name - - # @return [String] Gets or sets the location of the resource. - attr_accessor :location - - # @return [Hash{String => String}] Gets or sets the tags attached to the - # resource. - attr_accessor :tags - # # Mapper for JobCreateParameters class as Ruby Hash. @@ -40,7 +30,6 @@ class JobCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobCreateParameters', type: { @@ -48,7 +37,6 @@ def self.mapper() class_name: 'JobCreateParameters', model_properties: { runbook: { - client_side_validation: true, required: true, serialized_name: 'properties.runbook', type: { @@ -57,13 +45,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -73,44 +59,11 @@ def self.mapper() } }, run_on: { - client_side_validation: true, required: false, serialized_name: 'properties.runOn', type: { name: 'String' } - }, - name: { - client_side_validation: true, - required: false, - serialized_name: 'name', - type: { - name: 'String' - } - }, - location: { - client_side_validation: true, - required: false, - serialized_name: 'location', - type: { - name: 'String' - } - }, - tags: { - client_side_validation: true, - required: false, - serialized_name: 'tags', - type: { - name: 'Dictionary', - value: { - client_side_validation: true, - required: false, - serialized_name: 'StringElementType', - type: { - name: 'String' - } - } - } } } } diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb index 3d7c9b8bf1..7bc98a481f 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'JobListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'JobElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb new file mode 100644 index 0000000000..abd7a2fdea --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb @@ -0,0 +1,18 @@ +# 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::Automation::Mgmt::V2015_10_31 + module Models + # + # Defines values for JobProvisioningState + # + module JobProvisioningState + Failed = "Failed" + Succeeded = "Succeeded" + Suspended = "Suspended" + Processing = "Processing" + end + end +end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state_property.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state_property.rb new file mode 100644 index 0000000000..3fac27d086 --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state_property.rb @@ -0,0 +1,47 @@ +# 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::Automation::Mgmt::V2015_10_31 + module Models + # + # The provisioning state property. + # + class JobProvisioningStateProperty + + include MsRestAzure + + # @return [JobProvisioningState] The provisioning state of the resource. + # Possible values include: 'Failed', 'Succeeded', 'Suspended', + # 'Processing' + attr_accessor :provisioning_state + + + # + # Mapper for JobProvisioningStateProperty class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobProvisioningStateProperty', + type: { + name: 'Composite', + class_name: 'JobProvisioningStateProperty', + model_properties: { + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'provisioningState', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb index fdca999a4e..fde07e5e12 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb @@ -45,7 +45,6 @@ class JobSchedule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobSchedule', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'JobSchedule', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, job_schedule_id: { - client_side_validation: true, required: false, serialized_name: 'properties.jobScheduleId', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, schedule: { - client_side_validation: true, required: false, serialized_name: 'properties.schedule', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, runbook: { - client_side_validation: true, required: false, serialized_name: 'properties.runbook', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, run_on: { - client_side_validation: true, required: false, serialized_name: 'properties.runOn', type: { @@ -114,13 +106,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb index c6bc17f3c1..60b37cfa03 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb @@ -32,7 +32,6 @@ class JobScheduleCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobScheduleCreateParameters', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'JobScheduleCreateParameters', model_properties: { schedule: { - client_side_validation: true, required: true, serialized_name: 'properties.schedule', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, runbook: { - client_side_validation: true, required: true, serialized_name: 'properties.runbook', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, run_on: { - client_side_validation: true, required: false, serialized_name: 'properties.runOn', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb index eb6c340320..cd6a72ee3c 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobScheduleListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'JobScheduleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'JobScheduleElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb index 8dd893ee3e..3410324d04 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb @@ -42,7 +42,6 @@ class JobStream # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobStream', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'JobStream', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, job_stream_id: { - client_side_validation: true, required: false, serialized_name: 'properties.jobStreamId', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'properties.time', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, stream_type: { - client_side_validation: true, required: false, serialized_name: 'properties.streamType', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, stream_text: { - client_side_validation: true, required: false, serialized_name: 'properties.streamText', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'properties.summary', type: { @@ -98,13 +91,11 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'properties.value', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb index 71e65eee38..7c7044372d 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobStreamListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'JobStreamListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'JobStreamElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/key.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/key.rb new file mode 100644 index 0000000000..9ea56d0539 --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/key.rb @@ -0,0 +1,66 @@ +# 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::Automation::Mgmt::V2015_10_31 + module Models + # + # Automation key which is used to register a DSC Node + # + class Key + + include MsRestAzure + + # @return [AutomationKeyName] Automation key name. Possible values + # include: 'primary', 'secondary' + attr_accessor :key_name + + # @return [AutomationKeyPermissions] Automation key permissions. Possible + # values include: 'Full' + attr_accessor :permissions + + # @return [String] Value of the Automation Key used for registration. + attr_accessor :value + + + # + # Mapper for Key class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Key', + type: { + name: 'Composite', + class_name: 'Key', + model_properties: { + key_name: { + required: false, + serialized_name: 'keyName', + type: { + name: 'String' + } + }, + permissions: { + required: false, + serialized_name: 'permissions', + type: { + name: 'String' + } + }, + value: { + required: false, + serialized_name: 'value', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb new file mode 100644 index 0000000000..4ac3113645 --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb @@ -0,0 +1,53 @@ +# 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::Automation::Mgmt::V2015_10_31 + module Models + # + # Model object. + # + # + class KeyListResult + + include MsRestAzure + + # @return [Array] Lists the automation keys. + attr_accessor :value + + + # + # Mapper for KeyListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'KeyListResult', + type: { + name: 'Composite', + class_name: 'KeyListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'KeyElementType', + type: { + name: 'Composite', + class_name: 'Key' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/linked_workspace.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/linked_workspace.rb new file mode 100644 index 0000000000..7e2418459c --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/linked_workspace.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::Automation::Mgmt::V2015_10_31 + module Models + # + # Definition of the linked workspace. + # + class LinkedWorkspace + + include MsRestAzure + + # @return [String] Gets the id of the linked workspace. + attr_accessor :id + + + # + # Mapper for LinkedWorkspace class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LinkedWorkspace', + type: { + name: 'Composite', + class_name: 'LinkedWorkspace', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb index 83b3cabca9..4ddb97a215 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb @@ -32,7 +32,6 @@ class ModuleCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ModuleCreateOrUpdateParameters', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ModuleCreateOrUpdateParameters', model_properties: { content_link: { - client_side_validation: true, required: true, serialized_name: 'properties.contentLink', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -65,13 +61,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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb index 36e26c2224..7189382c95 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb @@ -25,7 +25,6 @@ class ModuleErrorInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ModuleErrorInfo', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ModuleErrorInfo', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb index 73356ee4a2..80d4846561 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ModuleListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ModuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ModuleModelElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb index 26c73468d2..f78ced0751 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb @@ -8,7 +8,7 @@ module Models # # Definition of the module type. # - class ModuleModel < Resource + class ModuleModel < TrackedResource include MsRestAzure @@ -58,7 +58,6 @@ class ModuleModel < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Module', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'ModuleModel', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -75,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -84,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -92,22 +88,12 @@ def self.mapper() name: 'String' } }, - location: { - client_side_validation: true, - required: true, - serialized_name: 'location', - type: { - name: 'String' - } - }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -116,8 +102,14 @@ def self.mapper() } } }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, is_global: { - client_side_validation: true, required: false, serialized_name: 'properties.isGlobal', type: { @@ -125,7 +117,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'properties.version', type: { @@ -133,7 +124,6 @@ def self.mapper() } }, size_in_bytes: { - client_side_validation: true, required: false, serialized_name: 'properties.sizeInBytes', type: { @@ -141,7 +131,6 @@ def self.mapper() } }, activity_count: { - client_side_validation: true, required: false, serialized_name: 'properties.activityCount', type: { @@ -149,7 +138,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -158,7 +146,6 @@ def self.mapper() } }, content_link: { - client_side_validation: true, required: false, serialized_name: 'properties.contentLink', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'properties.error', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { @@ -192,7 +176,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -200,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb index 41c7b1f476..4651ed0eed 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb @@ -32,7 +32,6 @@ class ModuleUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ModuleUpdateParameters', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ModuleUpdateParameters', model_properties: { content_link: { - client_side_validation: true, required: false, serialized_name: 'properties.contentLink', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -65,13 +61,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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation.rb index 3403810e46..36d07ef1f6 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation.rb @@ -25,7 +25,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb index 07e3de21a9..d4207de353 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb @@ -29,7 +29,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb index daf5d03f8b..b8635bd76f 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb @@ -23,7 +23,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'OperationListResult', 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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb new file mode 100644 index 0000000000..acd8f4be69 --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.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::Automation::Mgmt::V2015_10_31 + module Models + # + # The resource model definition for a ARM proxy resource. It will have + # everything other than required location and tags + # + class ProxyResource < Resource + + include MsRestAzure + + + # + # Mapper for ProxyResource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ProxyResource', + type: { + name: 'Composite', + class_name: 'ProxyResource', + 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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb index 0d94ef68ce..ff3c961ebd 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb @@ -6,27 +6,21 @@ module Azure::Automation::Mgmt::V2015_10_31 module Models # - # The Resource definition. + # The core properties of ARM resources # class Resource include MsRestAzure - # @return [String] Resource Id + # @return [String] Fully qualified resource Id for the resource attr_accessor :id - # @return [String] Resource name + # @return [String] The name of the resource attr_accessor :name - # @return [String] Resource type + # @return [String] The type of the resource. attr_accessor :type - # @return [String] Resource location - attr_accessor :location - - # @return [Hash{String => String}] Resource tags - attr_accessor :tags - # # Mapper for Resource class as Ruby Hash. @@ -34,7 +28,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +35,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,37 +51,12 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } - }, - location: { - client_side_validation: true, - required: true, - serialized_name: 'location', - type: { - name: 'String' - } - }, - tags: { - client_side_validation: true, - required: false, - serialized_name: 'tags', - type: { - name: 'Dictionary', - value: { - client_side_validation: true, - required: false, - serialized_name: 'StringElementType', - type: { - name: 'String' - } - } - } } } } diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb index ba864398ee..324329750d 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb @@ -22,7 +22,6 @@ class RunAsCredentialAssociationProperty # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunAsCredentialAssociationProperty', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'RunAsCredentialAssociationProperty', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb index 9aa1c81411..411a6bb5a4 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb @@ -8,7 +8,7 @@ module Models # # Definition of the runbook type. # - class Runbook < Resource + class Runbook < TrackedResource include MsRestAzure @@ -73,7 +73,6 @@ class Runbook < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Runbook', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'Runbook', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -90,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -99,7 +96,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -107,22 +103,12 @@ def self.mapper() name: 'String' } }, - location: { - client_side_validation: true, - required: true, - serialized_name: 'location', - type: { - name: 'String' - } - }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -131,8 +117,14 @@ def self.mapper() } } }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, runbook_type: { - client_side_validation: true, required: false, serialized_name: 'properties.runbookType', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, publish_content_link: { - client_side_validation: true, required: false, serialized_name: 'properties.publishContentLink', type: { @@ -149,7 +140,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -157,7 +147,6 @@ def self.mapper() } }, log_verbose: { - client_side_validation: true, required: false, serialized_name: 'properties.logVerbose', type: { @@ -165,7 +154,6 @@ def self.mapper() } }, log_progress: { - client_side_validation: true, required: false, serialized_name: 'properties.logProgress', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, log_activity_trace: { - client_side_validation: true, required: false, serialized_name: 'properties.logActivityTrace', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, job_count: { - client_side_validation: true, required: false, serialized_name: 'properties.jobCount', type: { @@ -189,13 +175,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'RunbookParameterElementType', type: { @@ -206,13 +190,11 @@ def self.mapper() } }, output_types: { - client_side_validation: true, required: false, serialized_name: 'properties.outputTypes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -222,7 +204,6 @@ def self.mapper() } }, draft: { - client_side_validation: true, required: false, serialized_name: 'properties.draft', type: { @@ -231,7 +212,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -240,7 +220,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -248,7 +227,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { @@ -256,7 +234,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { @@ -264,7 +241,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -272,7 +248,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb index 978101ee27..f1a8fac2f2 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb @@ -22,7 +22,6 @@ class RunbookAssociationProperty # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunbookAssociationProperty', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'RunbookAssociationProperty', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb index 089fb38dae..6f7528daf6 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb @@ -22,7 +22,6 @@ class RunbookCreateOrUpdateDraftParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunbookCreateOrUpdateDraftParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'RunbookCreateOrUpdateDraftParameters', model_properties: { runbook_content: { - client_side_validation: true, required: true, serialized_name: 'runbookContent', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb index 23f416b147..da34684877 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb @@ -41,7 +41,6 @@ class RunbookCreateOrUpdateDraftProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunbookCreateOrUpdateDraftProperties', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'RunbookCreateOrUpdateDraftProperties', model_properties: { log_verbose: { - client_side_validation: true, required: false, serialized_name: 'logVerbose', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, log_progress: { - client_side_validation: true, required: false, serialized_name: 'logProgress', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, runbook_type: { - client_side_validation: true, required: true, serialized_name: 'runbookType', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, draft: { - client_side_validation: true, required: true, serialized_name: 'draft', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, log_activity_trace: { - client_side_validation: true, required: false, serialized_name: 'logActivityTrace', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb index caa6fd581d..443032129e 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb @@ -53,7 +53,6 @@ class RunbookCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunbookCreateOrUpdateParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'RunbookCreateOrUpdateParameters', model_properties: { log_verbose: { - client_side_validation: true, required: false, serialized_name: 'properties.logVerbose', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, log_progress: { - client_side_validation: true, required: false, serialized_name: 'properties.logProgress', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, runbook_type: { - client_side_validation: true, required: true, serialized_name: 'properties.runbookType', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, draft: { - client_side_validation: true, required: false, serialized_name: 'properties.draft', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, publish_content_link: { - client_side_validation: true, required: false, serialized_name: 'properties.publishContentLink', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, log_activity_trace: { - client_side_validation: true, required: false, serialized_name: 'properties.logActivityTrace', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -135,13 +125,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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb index 6091555bf0..2429b73c66 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb @@ -39,7 +39,6 @@ class RunbookDraft # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunbookDraft', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'RunbookDraft', model_properties: { in_edit: { - client_side_validation: true, required: false, serialized_name: 'inEdit', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, draft_content_link: { - client_side_validation: true, required: false, serialized_name: 'draftContentLink', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'creationTime', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'lastModifiedTime', type: { @@ -80,13 +75,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'RunbookParameterElementType', type: { @@ -97,13 +90,11 @@ def self.mapper() } }, output_types: { - client_side_validation: true, required: false, serialized_name: 'outputTypes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb index 5ef623ba61..b952dd6b07 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb @@ -38,7 +38,6 @@ class RunbookDraftUndoEditResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunbookDraftUndoEditResult', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'RunbookDraftUndoEditResult', model_properties: { status_code: { - client_side_validation: true, required: false, serialized_name: 'statusCode', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb index fb91cb281a..3e627bd301 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunbookListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RunbookListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunbookElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb index 075a5b07a1..fac9351b4a 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb @@ -32,7 +32,6 @@ class RunbookParameter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunbookParameter', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'RunbookParameter', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, is_mandatory: { - client_side_validation: true, required: false, serialized_name: 'isMandatory', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, position: { - client_side_validation: true, required: false, serialized_name: 'position', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, default_value: { - client_side_validation: true, required: false, serialized_name: 'defaultValue', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_update_parameters.rb index 5bf4d397e0..fda367d44f 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_update_parameters.rb @@ -42,7 +42,6 @@ class RunbookUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunbookUpdateParameters', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'RunbookUpdateParameters', model_properties: { description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, log_verbose: { - client_side_validation: true, required: false, serialized_name: 'properties.logVerbose', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, log_progress: { - client_side_validation: true, required: false, serialized_name: 'properties.logProgress', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, log_activity_trace: { - client_side_validation: true, required: false, serialized_name: 'properties.logActivityTrace', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -98,13 +91,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_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb index 2ccd5b3115..a860bfc7d3 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb @@ -72,7 +72,6 @@ class Schedule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Schedule', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'Schedule', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -89,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -98,7 +95,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -107,7 +103,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { @@ -115,7 +110,6 @@ def self.mapper() } }, start_time_offset_minutes: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.startTimeOffsetMinutes', @@ -124,7 +118,6 @@ def self.mapper() } }, expiry_time: { - client_side_validation: true, required: false, serialized_name: 'properties.expiryTime', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, expiry_time_offset_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.expiryTimeOffsetMinutes', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, is_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.isEnabled', default_value: false, @@ -149,7 +140,6 @@ def self.mapper() } }, next_run: { - client_side_validation: true, required: false, serialized_name: 'properties.nextRun', type: { @@ -157,7 +147,6 @@ def self.mapper() } }, next_run_offset_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.nextRunOffsetMinutes', type: { @@ -165,7 +154,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, frequency: { - client_side_validation: true, required: false, serialized_name: 'properties.frequency', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'properties.timeZone', type: { @@ -189,7 +175,6 @@ def self.mapper() } }, advanced_schedule: { - client_side_validation: true, required: false, serialized_name: 'properties.advancedSchedule', type: { @@ -198,7 +183,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { @@ -206,7 +190,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { @@ -214,7 +197,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb index 642d1896d1..1a85f5271a 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb @@ -22,7 +22,6 @@ class ScheduleAssociationProperty # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ScheduleAssociationProperty', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ScheduleAssociationProperty', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb index 33f09ad13f..5edead8e2a 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb @@ -44,7 +44,6 @@ class ScheduleCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ScheduleCreateOrUpdateParameters', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ScheduleCreateOrUpdateParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: true, serialized_name: 'properties.startTime', type: { @@ -76,7 +72,6 @@ def self.mapper() } }, expiry_time: { - client_side_validation: true, required: false, serialized_name: 'properties.expiryTime', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, frequency: { - client_side_validation: true, required: true, serialized_name: 'properties.frequency', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'properties.timeZone', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, advanced_schedule: { - client_side_validation: true, required: false, serialized_name: 'properties.advancedSchedule', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb index e28ed26115..6d0c71fd9d 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ScheduleListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ScheduleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ScheduleElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb index 30fde5d19a..bc0d23eacf 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb @@ -29,7 +29,6 @@ class ScheduleUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ScheduleUpdateParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ScheduleUpdateParameters', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, is_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.isEnabled', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/sku.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/sku.rb index 172ea1dc1c..562ae2aaf5 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/sku.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/sku.rb @@ -29,7 +29,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb index 1083c85178..a65383efde 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb @@ -34,7 +34,6 @@ class Statistics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Statistics', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Statistics', model_properties: { counter_property: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'counterProperty', @@ -51,7 +49,6 @@ def self.mapper() } }, counter_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'counterValue', @@ -60,7 +57,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -69,7 +65,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -78,7 +73,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb index a3ca9e88a2..37b95bda8a 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb @@ -22,7 +22,6 @@ class StatisticsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StatisticsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'StatisticsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StatisticsElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/sub_resource.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/sub_resource.rb index ab6e1876cd..04c27da184 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/sub_resource.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb index 762900170b..b13686d91d 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb @@ -45,6 +45,9 @@ class TestJob # test job. attr_accessor :parameters + # @return [Integer] The activity-level tracing options of the runbook. + attr_accessor :log_activity_trace + # # Mapper for TestJob class as Ruby Hash. @@ -52,7 +55,6 @@ class TestJob # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TestJob', type: { @@ -60,7 +62,6 @@ def self.mapper() class_name: 'TestJob', model_properties: { creation_time: { - client_side_validation: true, required: false, serialized_name: 'creationTime', type: { @@ -68,7 +69,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -76,7 +76,6 @@ def self.mapper() } }, status_details: { - client_side_validation: true, required: false, serialized_name: 'statusDetails', type: { @@ -84,7 +83,6 @@ def self.mapper() } }, run_on: { - client_side_validation: true, required: false, serialized_name: 'runOn', type: { @@ -92,7 +90,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -100,7 +97,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -108,7 +104,6 @@ def self.mapper() } }, exception: { - client_side_validation: true, required: false, serialized_name: 'exception', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'lastModifiedTime', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, last_status_modified_time: { - client_side_validation: true, required: false, serialized_name: 'lastStatusModifiedTime', type: { @@ -132,13 +125,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -146,6 +137,13 @@ def self.mapper() } } } + }, + log_activity_trace: { + required: false, + serialized_name: 'logActivityTrace', + type: { + name: 'Number' + } } } } diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb index 9e7e471a24..dd1ae852bb 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb @@ -12,9 +12,6 @@ class TestJobCreateParameters include MsRestAzure - # @return [String] Gets or sets the runbook name. - attr_accessor :runbook_name - # @return [Hash{String => String}] Gets or sets the parameters of the # test job. attr_accessor :parameters @@ -30,29 +27,18 @@ class TestJobCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TestJobCreateParameters', type: { name: 'Composite', class_name: 'TestJobCreateParameters', model_properties: { - runbook_name: { - client_side_validation: true, - required: true, - serialized_name: 'runbookName', - type: { - name: 'String' - } - }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -62,7 +48,6 @@ def self.mapper() } }, run_on: { - client_side_validation: true, required: false, serialized_name: 'runOn', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb new file mode 100644 index 0000000000..9b05da2c17 --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/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::Automation::Mgmt::V2015_10_31 + module Models + # + # The resource model definition for a ARM tracked top level resource + # + class TrackedResource < Resource + + include MsRestAzure + + # @return [Hash{String => String}] Resource tags. + attr_accessor :tags + + # @return [String] The Azure Region where the resource lives + attr_accessor :location + + + # + # 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' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field.rb index 327199f509..af9d0edffb 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field.rb @@ -25,7 +25,6 @@ class TypeField # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TypeField', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TypeField', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field_list_result.rb index 5b8c256c3c..ab8d409aeb 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/type_field_list_result.rb @@ -22,7 +22,6 @@ class TypeFieldListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TypeFieldListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TypeFieldListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TypeFieldElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage.rb index f4b9426321..5f7fe01cb6 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage.rb @@ -37,7 +37,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Usage', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, serialized_name: 'currentValue', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, serialized_name: 'limit', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, throttle_status: { - client_side_validation: true, required: false, serialized_name: 'throttleStatus', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb index 4067683ac8..a4aba2a0c3 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb @@ -25,7 +25,6 @@ class UsageCounterName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageCounterName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageCounterName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb index 3f575f82ba..04d9c92632 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb @@ -22,7 +22,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb index c28eefab69..f5e1d0104c 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb @@ -8,19 +8,10 @@ module Models # # Definition of the varible. # - class Variable + class Variable < ProxyResource include MsRestAzure - # @return [String] Gets the id of the resource. - attr_accessor :id - - # @return [String] Gets the name of the variable. - attr_accessor :name - - # @return [String] Resource type - attr_accessor :type - # @return [String] Gets or sets the value of the variable. attr_accessor :value @@ -43,7 +34,6 @@ class Variable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Variable', type: { @@ -51,7 +41,6 @@ def self.mapper() class_name: 'Variable', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +65,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'properties.value', type: { @@ -86,7 +72,6 @@ def self.mapper() } }, is_encrypted: { - client_side_validation: true, required: false, serialized_name: 'properties.isEncrypted', type: { @@ -94,7 +79,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { @@ -102,7 +86,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { @@ -110,7 +93,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb index 568c9e5f60..b5cb34c889 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb @@ -31,7 +31,6 @@ class VariableCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VariableCreateOrUpdateParameters', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VariableCreateOrUpdateParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'properties.value', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, is_encrypted: { - client_side_validation: true, required: false, serialized_name: 'properties.isEncrypted', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb index f823545241..394af0fea8 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VariableListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'VariableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VariableElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb index 71ae1fd03a..e3fbca2368 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb @@ -28,7 +28,6 @@ class VariableUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VariableUpdateParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VariableUpdateParameters', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'properties.value', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb index 2a17124781..2bbd7f1ffe 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb @@ -8,16 +8,10 @@ module Models # # Definition of the webhook type. # - class Webhook + class Webhook < ProxyResource include MsRestAzure - # @return [String] Gets or sets the id of the resource. - attr_accessor :id - - # @return [String] Gets or sets the name of the webhook. - attr_accessor :name - # @return [Boolean] Gets or sets the value of the enabled flag of the # webhook. Default value: false . attr_accessor :is_enabled @@ -50,6 +44,9 @@ class Webhook # @return [DateTime] Gets or sets the last modified time. attr_accessor :last_modified_time + # @return [String] Details of the user who last modified the Webhook + attr_accessor :last_modified_by + # @return [String] Gets or sets the description. attr_accessor :description @@ -60,7 +57,6 @@ class Webhook # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Webhook', type: { @@ -68,23 +64,30 @@ def self.mapper() class_name: 'Webhook', model_properties: { id: { - client_side_validation: true, required: false, + read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { - client_side_validation: true, required: false, + read_only: true, serialized_name: 'name', type: { name: 'String' } }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, is_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.isEnabled', default_value: false, @@ -93,7 +96,6 @@ def self.mapper() } }, uri: { - client_side_validation: true, required: false, serialized_name: 'properties.uri', type: { @@ -101,7 +103,6 @@ def self.mapper() } }, expiry_time: { - client_side_validation: true, required: false, serialized_name: 'properties.expiryTime', type: { @@ -109,7 +110,6 @@ def self.mapper() } }, last_invoked_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastInvokedTime', type: { @@ -117,13 +117,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -133,7 +131,6 @@ def self.mapper() } }, runbook: { - client_side_validation: true, required: false, serialized_name: 'properties.runbook', type: { @@ -142,7 +139,6 @@ def self.mapper() } }, run_on: { - client_side_validation: true, required: false, serialized_name: 'properties.runOn', type: { @@ -150,7 +146,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { @@ -158,15 +153,20 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { name: 'DateTime' } }, + last_modified_by: { + required: false, + serialized_name: 'properties.lastModifiedBy', + type: { + name: 'String' + } + }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb index e481021093..7ac47b42f8 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb @@ -43,7 +43,6 @@ class WebhookCreateOrUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebhookCreateOrUpdateParameters', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'WebhookCreateOrUpdateParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, is_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.isEnabled', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, uri: { - client_side_validation: true, required: false, serialized_name: 'properties.uri', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, expiry_time: { - client_side_validation: true, required: false, serialized_name: 'properties.expiryTime', type: { @@ -83,13 +78,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, runbook: { - client_side_validation: true, required: false, serialized_name: 'properties.runbook', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, run_on: { - client_side_validation: true, required: false, serialized_name: 'properties.runOn', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb index d29f6d9c5e..202feff8bc 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebhookListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'WebhookListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WebhookElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb index 9642953cf9..864c1103e6 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb @@ -37,7 +37,6 @@ class WebhookUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebhookUpdateParameters', type: { @@ -45,15 +44,13 @@ def self.mapper() class_name: 'WebhookUpdateParameters', model_properties: { name: { - client_side_validation: true, - required: true, + required: false, serialized_name: 'name', type: { name: 'String' } }, is_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.isEnabled', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, run_on: { - client_side_validation: true, required: false, serialized_name: 'properties.runOn', type: { @@ -69,13 +65,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb index 70c1517ef3..5ffc129fc6 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb @@ -24,20 +24,22 @@ def initialize(client) # # Delete the module by name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The module name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def delete(automation_account_name, module_name, custom_headers:nil) - response = delete_async(automation_account_name, module_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, module_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, module_name, custom_headers).value! nil end # # Delete the module by name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The module name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -45,13 +47,14 @@ def delete(automation_account_name, module_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, module_name, custom_headers:nil) - delete_async(automation_account_name, module_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, module_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, module_name, custom_headers).value! end # # Delete the module by name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The module name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -59,9 +62,8 @@ def delete_with_http_info(automation_account_name, module_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, module_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, module_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'module_name is nil' if module_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -69,7 +71,6 @@ def delete_async(automation_account_name, module_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 @@ -80,7 +81,7 @@ def delete_async(automation_account_name, module_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -107,6 +108,7 @@ def delete_async(automation_account_name, module_name, custom_headers:nil) # # Retrieve the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The module name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -114,14 +116,15 @@ def delete_async(automation_account_name, module_name, custom_headers:nil) # # @return [ModuleModel] operation results. # - def get(automation_account_name, module_name, custom_headers:nil) - response = get_async(automation_account_name, module_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, module_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, module_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The module name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -129,13 +132,14 @@ def get(automation_account_name, module_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, module_name, custom_headers:nil) - get_async(automation_account_name, module_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, module_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, module_name, custom_headers).value! end # # Retrieve the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The module name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -143,9 +147,8 @@ def get_with_http_info(automation_account_name, module_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, module_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, module_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'module_name is nil' if module_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -153,7 +156,6 @@ def get_async(automation_account_name, module_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 @@ -164,7 +166,7 @@ def get_async(automation_account_name, module_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -201,6 +203,7 @@ def get_async(automation_account_name, module_name, custom_headers:nil) # # Create or Update the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param parameters [ModuleCreateOrUpdateParameters] The create or update @@ -210,14 +213,15 @@ def get_async(automation_account_name, module_name, custom_headers:nil) # # @return [ModuleModel] operation results. # - def create_or_update(automation_account_name, module_name, parameters, custom_headers:nil) - response = create_or_update_async(automation_account_name, module_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers).value! response.body unless response.nil? end # # Create or Update the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param parameters [ModuleCreateOrUpdateParameters] The create or update @@ -227,13 +231,14 @@ def create_or_update(automation_account_name, module_name, parameters, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(automation_account_name, module_name, parameters, custom_headers:nil) - create_or_update_async(automation_account_name, module_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers).value! end # # Create or Update the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param parameters [ModuleCreateOrUpdateParameters] The create or update @@ -243,9 +248,8 @@ def create_or_update_with_http_info(automation_account_name, module_name, parame # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(automation_account_name, module_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_or_update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'module_name is nil' if module_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -254,12 +258,13 @@ def create_or_update_async(automation_account_name, module_name, parameters, cus 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::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -271,7 +276,7 @@ def create_or_update_async(automation_account_name, module_name, parameters, cus options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -319,6 +324,7 @@ def create_or_update_async(automation_account_name, module_name, parameters, cus # # Update the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param parameters [ModuleUpdateParameters] The update parameters for module. @@ -327,14 +333,15 @@ def create_or_update_async(automation_account_name, module_name, parameters, cus # # @return [ModuleModel] operation results. # - def update(automation_account_name, module_name, parameters, custom_headers:nil) - response = update_async(automation_account_name, module_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers).value! response.body unless response.nil? end # # Update the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param parameters [ModuleUpdateParameters] The update parameters for module. @@ -343,13 +350,14 @@ def update(automation_account_name, module_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(automation_account_name, module_name, parameters, custom_headers:nil) - update_async(automation_account_name, module_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil) + update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers).value! end # # Update the module identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param parameters [ModuleUpdateParameters] The update parameters for module. @@ -358,9 +366,8 @@ def update_with_http_info(automation_account_name, module_name, parameters, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(automation_account_name, module_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'module_name is nil' if module_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -369,12 +376,13 @@ def update_async(automation_account_name, module_name, parameters, custom_header 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::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -386,7 +394,7 @@ def update_async(automation_account_name, module_name, parameters, custom_header options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -424,49 +432,50 @@ def update_async(automation_account_name, module_name, parameters, custom_header # # Retrieve a list of modules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers) first_page.get_all_items end # # Retrieve a list of modules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_with_http_info(automation_account_name, custom_headers:nil) - list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! end # # Retrieve a list of modules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -477,7 +486,7 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -521,8 +530,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil # # @return [ModuleListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -536,8 +545,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -550,12 +559,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -602,6 +610,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of modules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -609,12 +618,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [ModuleListResult] which provide lazy access to pages of the # response. # - def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb index 58968213aa..b7409480fe 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb @@ -24,6 +24,7 @@ def initialize(client) # # Retrieve the Dsc node report list by node id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The parameters supplied to the list operation. # @param filter [String] The filter to apply on the operation. @@ -32,14 +33,15 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_node(automation_account_name, node_id, filter:nil, custom_headers:nil) - first_page = list_by_node_as_lazy(automation_account_name, node_id, filter:filter, custom_headers:custom_headers) + def list_by_node(resource_group_name, automation_account_name, node_id, filter = nil, custom_headers = nil) + first_page = list_by_node_as_lazy(resource_group_name, automation_account_name, node_id, filter, custom_headers) first_page.get_all_items end # # Retrieve the Dsc node report list by node id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The parameters supplied to the list operation. # @param filter [String] The filter to apply on the operation. @@ -48,13 +50,14 @@ def list_by_node(automation_account_name, node_id, filter:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_node_with_http_info(automation_account_name, node_id, filter:nil, custom_headers:nil) - list_by_node_async(automation_account_name, node_id, filter:filter, custom_headers:custom_headers).value! + def list_by_node_with_http_info(resource_group_name, automation_account_name, node_id, filter = nil, custom_headers = nil) + list_by_node_async(resource_group_name, automation_account_name, node_id, filter, custom_headers).value! end # # Retrieve the Dsc node report list by node id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The parameters supplied to the list operation. # @param filter [String] The filter to apply on the operation. @@ -63,9 +66,8 @@ def list_by_node_with_http_info(automation_account_name, node_id, filter:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_node_async(automation_account_name, node_id, filter:nil, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_node_async(resource_group_name, automation_account_name, node_id, filter = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'node_id is nil' if node_id.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -73,7 +75,6 @@ def list_by_node_async(automation_account_name, node_id, filter:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -84,7 +85,7 @@ def list_by_node_async(automation_account_name, node_id, filter:nil, custom_head options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'subscriptionId' => @client.subscription_id}, query_params: {'$filter' => filter,'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -121,6 +122,7 @@ def list_by_node_async(automation_account_name, node_id, filter:nil, custom_head # # Retrieve the Dsc node report data by node id and report id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The Dsc node id. # @param report_id [String] The report id. @@ -129,14 +131,15 @@ def list_by_node_async(automation_account_name, node_id, filter:nil, custom_head # # @return [DscNodeReport] operation results. # - def get(automation_account_name, node_id, report_id, custom_headers:nil) - response = get_async(automation_account_name, node_id, report_id, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers).value! response.body unless response.nil? end # # Retrieve the Dsc node report data by node id and report id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The Dsc node id. # @param report_id [String] The report id. @@ -145,13 +148,14 @@ def get(automation_account_name, node_id, report_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, node_id, report_id, custom_headers:nil) - get_async(automation_account_name, node_id, report_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil) + get_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers).value! end # # Retrieve the Dsc node report data by node id and report id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The Dsc node id. # @param report_id [String] The report id. @@ -160,9 +164,8 @@ def get_with_http_info(automation_account_name, node_id, report_id, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, node_id, report_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'node_id is nil' if node_id.nil? fail ArgumentError, 'report_id is nil' if report_id.nil? @@ -171,7 +174,6 @@ def get_async(automation_account_name, node_id, report_id, 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 @@ -182,7 +184,7 @@ def get_async(automation_account_name, node_id, report_id, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'reportId' => report_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'reportId' => report_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -219,22 +221,24 @@ def get_async(automation_account_name, node_id, report_id, custom_headers:nil) # # Retrieve the Dsc node reports by node id and report id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The Dsc node id. # @param report_id [String] The report id. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [NOT_IMPLEMENTED] operation results. + # @return [Object] operation results. # - def get_content(automation_account_name, node_id, report_id, custom_headers:nil) - response = get_content_async(automation_account_name, node_id, report_id, custom_headers:custom_headers).value! + def get_content(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil) + response = get_content_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers).value! response.body unless response.nil? end # # Retrieve the Dsc node reports by node id and report id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The Dsc node id. # @param report_id [String] The report id. @@ -243,13 +247,14 @@ def get_content(automation_account_name, node_id, report_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_content_with_http_info(automation_account_name, node_id, report_id, custom_headers:nil) - get_content_async(automation_account_name, node_id, report_id, custom_headers:custom_headers).value! + def get_content_with_http_info(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil) + get_content_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers).value! end # # Retrieve the Dsc node reports by node id and report id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The Dsc node id. # @param report_id [String] The report id. @@ -258,9 +263,8 @@ def get_content_with_http_info(automation_account_name, node_id, report_id, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_content_async(automation_account_name, node_id, report_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_content_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'node_id is nil' if node_id.nil? fail ArgumentError, 'report_id is nil' if report_id.nil? @@ -269,7 +273,6 @@ def get_content_async(automation_account_name, node_id, report_id, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -280,7 +283,7 @@ def get_content_async(automation_account_name, node_id, report_id, custom_header options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'reportId' => report_id,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'reportId' => report_id,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -297,23 +300,6 @@ def get_content_async(automation_account_name, node_id, report_id, custom_header 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 = { - client_side_validation: true, - required: false, - serialized_name: 'parsed_response', - type: { - name: 'Stream' - } - } - 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 @@ -331,8 +317,8 @@ def get_content_async(automation_account_name, node_id, report_id, custom_header # # @return [DscNodeReportListResult] operation results. # - def list_by_node_next(next_page_link, custom_headers:nil) - response = list_by_node_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_node_next(next_page_link, custom_headers = nil) + response = list_by_node_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -346,8 +332,8 @@ def list_by_node_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_node_next_with_http_info(next_page_link, custom_headers:nil) - list_by_node_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_node_next_with_http_info(next_page_link, custom_headers = nil) + list_by_node_next_async(next_page_link, custom_headers).value! end # @@ -360,12 +346,11 @@ def list_by_node_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_node_next_async(next_page_link, custom_headers:nil) + def list_by_node_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,6 +397,7 @@ def list_by_node_next_async(next_page_link, custom_headers:nil) # # Retrieve the Dsc node report list by node id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param node_id [String] The parameters supplied to the list operation. # @param filter [String] The filter to apply on the operation. @@ -421,12 +407,12 @@ def list_by_node_next_async(next_page_link, custom_headers:nil) # @return [DscNodeReportListResult] which provide lazy access to pages of the # response. # - def list_by_node_as_lazy(automation_account_name, node_id, filter:nil, custom_headers:nil) - response = list_by_node_async(automation_account_name, node_id, filter:filter, custom_headers:custom_headers).value! + def list_by_node_as_lazy(resource_group_name, automation_account_name, node_id, filter = nil, custom_headers = nil) + response = list_by_node_async(resource_group_name, automation_account_name, node_id, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_node_next_async(next_page_link, custom_headers:custom_headers) + list_by_node_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb index 81868fed55..2ce88ef750 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb @@ -24,6 +24,7 @@ def initialize(client) # # Retrieve a list of fields of a given type identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param type_name [String] The name of type. @@ -32,14 +33,15 @@ def initialize(client) # # @return [TypeFieldListResult] operation results. # - def list_fields_by_module_and_type(automation_account_name, module_name, type_name, custom_headers:nil) - response = list_fields_by_module_and_type_async(automation_account_name, module_name, type_name, custom_headers:custom_headers).value! + def list_fields_by_module_and_type(resource_group_name, automation_account_name, module_name, type_name, custom_headers = nil) + response = list_fields_by_module_and_type_async(resource_group_name, automation_account_name, module_name, type_name, custom_headers).value! response.body unless response.nil? end # # Retrieve a list of fields of a given type identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param type_name [String] The name of type. @@ -48,13 +50,14 @@ def list_fields_by_module_and_type(automation_account_name, module_name, type_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_fields_by_module_and_type_with_http_info(automation_account_name, module_name, type_name, custom_headers:nil) - list_fields_by_module_and_type_async(automation_account_name, module_name, type_name, custom_headers:custom_headers).value! + def list_fields_by_module_and_type_with_http_info(resource_group_name, automation_account_name, module_name, type_name, custom_headers = nil) + list_fields_by_module_and_type_async(resource_group_name, automation_account_name, module_name, type_name, custom_headers).value! end # # Retrieve a list of fields of a given type identified by module name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param module_name [String] The name of module. # @param type_name [String] The name of type. @@ -63,9 +66,8 @@ def list_fields_by_module_and_type_with_http_info(automation_account_name, modul # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_fields_by_module_and_type_async(automation_account_name, module_name, type_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_fields_by_module_and_type_async(resource_group_name, automation_account_name, module_name, type_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'module_name is nil' if module_name.nil? fail ArgumentError, 'type_name is nil' if type_name.nil? @@ -74,7 +76,6 @@ def list_fields_by_module_and_type_async(automation_account_name, module_name, t request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -85,7 +86,7 @@ def list_fields_by_module_and_type_async(automation_account_name, module_name, t options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'typeName' => type_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'typeName' => type_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -122,6 +123,7 @@ def list_fields_by_module_and_type_async(automation_account_name, module_name, t # # Retrieve a list of fields of a given type across all accessible modules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param type_name [String] The name of type. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -129,14 +131,15 @@ def list_fields_by_module_and_type_async(automation_account_name, module_name, t # # @return [TypeFieldListResult] operation results. # - def list_fields_by_type(automation_account_name, type_name, custom_headers:nil) - response = list_fields_by_type_async(automation_account_name, type_name, custom_headers:custom_headers).value! + def list_fields_by_type(resource_group_name, automation_account_name, type_name, custom_headers = nil) + response = list_fields_by_type_async(resource_group_name, automation_account_name, type_name, custom_headers).value! response.body unless response.nil? end # # Retrieve a list of fields of a given type across all accessible modules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param type_name [String] The name of type. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -144,13 +147,14 @@ def list_fields_by_type(automation_account_name, type_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_fields_by_type_with_http_info(automation_account_name, type_name, custom_headers:nil) - list_fields_by_type_async(automation_account_name, type_name, custom_headers:custom_headers).value! + def list_fields_by_type_with_http_info(resource_group_name, automation_account_name, type_name, custom_headers = nil) + list_fields_by_type_async(resource_group_name, automation_account_name, type_name, custom_headers).value! end # # Retrieve a list of fields of a given type across all accessible modules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param type_name [String] The name of type. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -158,9 +162,8 @@ def list_fields_by_type_with_http_info(automation_account_name, type_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_fields_by_type_async(automation_account_name, type_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_fields_by_type_async(resource_group_name, automation_account_name, type_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'type_name is nil' if type_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -168,7 +171,6 @@ def list_fields_by_type_async(automation_account_name, type_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,7 +181,7 @@ def list_fields_by_type_async(automation_account_name, type_name, custom_headers options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'typeName' => type_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'typeName' => type_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb index ecf9322e5d..f4b92eb944 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] 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 @@ -42,8 +42,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 # @@ -54,12 +54,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_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb index b886178d73..cc286753db 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb @@ -24,21 +24,23 @@ def initialize(client) # # Retrieve the content of runbook draft identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [NOT_IMPLEMENTED] operation results. + # @return [String] operation results. # - def get_content(automation_account_name, runbook_name, custom_headers:nil) - response = get_content_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def get_content(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = get_content_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the content of runbook draft identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -46,13 +48,14 @@ def get_content(automation_account_name, runbook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_content_with_http_info(automation_account_name, runbook_name, custom_headers:nil) - get_content_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def get_content_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + get_content_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! end # # Retrieve the content of runbook draft identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -60,17 +63,15 @@ def get_content_with_http_info(automation_account_name, runbook_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_content_async(automation_account_name, runbook_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_content_async(resource_group_name, automation_account_name, runbook_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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.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 @@ -81,7 +82,7 @@ def get_content_async(automation_account_name, runbook_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -94,7 +95,7 @@ def get_content_async(automation_account_name, runbook_name, custom_headers:nil) response_content = http_response.body unless status_code == 200 error_model = JSON.load(response_content) - fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) end result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? @@ -103,11 +104,10 @@ def get_content_async(automation_account_name, runbook_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { - name: 'Stream' + name: 'String' } } result.body = @client.deserialize(result_mapper, parsed_response) @@ -123,36 +123,48 @@ def get_content_async(automation_account_name, runbook_name, custom_headers:nil) end # - # Updates the runbook draft with runbookStream as its content. + # Replaces the runbook draft content. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. - # @param runbook_content The runbook draft content. + # @param runbook_content [String] The runbook draft content. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def create_or_update(automation_account_name, runbook_name, runbook_content, custom_headers:nil) - response = create_or_update_async(automation_account_name, runbook_name, runbook_content, custom_headers:custom_headers).value! - nil + # @return [String] operation results. + # + def replace_content(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers = nil) + response = replace_content_async(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers).value! + response.body unless response.nil? end # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. - # @param runbook_content The runbook draft content. + # @param runbook_content [String] The runbook draft content. # @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(automation_account_name, runbook_name, runbook_content, custom_headers:nil) + def replace_content_async(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers = nil) # Send request - promise = begin_create_or_update_async(automation_account_name, runbook_name, runbook_content, custom_headers:custom_headers) + promise = begin_replace_content_async(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| + result_mapper = { + required: false, + serialized_name: 'parsed_response', + type: { + name: 'String' + } + } + parsed_response = @client.deserialize(result_mapper, parsed_response) end # Waiting for response. @@ -165,6 +177,7 @@ def create_or_update_async(automation_account_name, runbook_name, runbook_conten # # Retrieve the runbook draft identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -172,14 +185,15 @@ def create_or_update_async(automation_account_name, runbook_name, runbook_conten # # @return [RunbookDraft] operation results. # - def get(automation_account_name, runbook_name, custom_headers:nil) - response = get_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the runbook draft identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -187,13 +201,14 @@ def get(automation_account_name, runbook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, runbook_name, custom_headers:nil) - get_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! end # # Retrieve the runbook draft identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -201,17 +216,15 @@ def get_with_http_info(automation_account_name, runbook_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, runbook_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, runbook_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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.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 @@ -222,7 +235,7 @@ def get_async(automation_account_name, runbook_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -259,20 +272,22 @@ def get_async(automation_account_name, runbook_name, custom_headers:nil) # # Publish runbook draft. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The parameters supplied to the publish runbook # operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [Runbook] operation results. + # @return [String] operation results. # - def publish(automation_account_name, runbook_name, custom_headers:nil) - response = publish_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def publish(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = publish_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! response.body unless response.nil? end # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The parameters supplied to the publish runbook # operation. @@ -282,14 +297,20 @@ def publish(automation_account_name, runbook_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def publish_async(automation_account_name, runbook_name, custom_headers:nil) + def publish_async(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) # Send request - promise = begin_publish_async(automation_account_name, runbook_name, custom_headers:custom_headers) + promise = begin_publish_async(resource_group_name, automation_account_name, runbook_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| - result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook.mapper() + result_mapper = { + required: false, + serialized_name: 'parsed_response', + type: { + name: 'String' + } + } parsed_response = @client.deserialize(result_mapper, parsed_response) end @@ -301,8 +322,9 @@ def publish_async(automation_account_name, runbook_name, custom_headers:nil) end # - # Retrieve the runbook identified by runbook name. + # Undo draft edit to last known published state identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -310,14 +332,15 @@ def publish_async(automation_account_name, runbook_name, custom_headers:nil) # # @return [RunbookDraftUndoEditResult] operation results. # - def undo_edit(automation_account_name, runbook_name, custom_headers:nil) - response = undo_edit_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def undo_edit(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = undo_edit_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! response.body unless response.nil? end # - # Retrieve the runbook identified by runbook name. + # Undo draft edit to last known published state identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -325,13 +348,14 @@ def undo_edit(automation_account_name, runbook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def undo_edit_with_http_info(automation_account_name, runbook_name, custom_headers:nil) - undo_edit_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def undo_edit_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + undo_edit_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! end # - # Retrieve the runbook identified by runbook name. + # Undo draft edit to last known published state identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -339,17 +363,15 @@ def undo_edit_with_http_info(automation_account_name, runbook_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def undo_edit_async(automation_account_name, runbook_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def undo_edit_async(resource_group_name, automation_account_name, runbook_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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.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 @@ -360,7 +382,7 @@ def undo_edit_async(automation_account_name, runbook_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -395,73 +417,77 @@ def undo_edit_async(automation_account_name, runbook_name, custom_headers:nil) end # - # Updates the runbook draft with runbookStream as its content. + # Replaces the runbook draft content. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. - # @param runbook_content The runbook draft content. + # @param runbook_content [String] The runbook draft content. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # + # @return [String] operation results. # - def begin_create_or_update(automation_account_name, runbook_name, runbook_content, custom_headers:nil) - response = begin_create_or_update_async(automation_account_name, runbook_name, runbook_content, custom_headers:custom_headers).value! - nil + def begin_replace_content(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers = nil) + response = begin_replace_content_async(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers).value! + response.body unless response.nil? end # - # Updates the runbook draft with runbookStream as its content. + # Replaces the runbook draft content. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. - # @param runbook_content The runbook draft content. + # @param runbook_content [String] The runbook draft content. # @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(automation_account_name, runbook_name, runbook_content, custom_headers:nil) - begin_create_or_update_async(automation_account_name, runbook_name, runbook_content, custom_headers:custom_headers).value! + def begin_replace_content_with_http_info(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers = nil) + begin_replace_content_async(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers).value! end # - # Updates the runbook draft with runbookStream as its content. + # Replaces the runbook draft content. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. - # @param runbook_content The runbook draft content. + # @param runbook_content [String] The runbook draft content. # @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(automation_account_name, runbook_name, runbook_content, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def begin_replace_content_async(resource_group_name, automation_account_name, runbook_name, runbook_content, 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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.nil? fail ArgumentError, 'runbook_content is nil' if runbook_content.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 request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'text/powershell' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'runbookContent', type: { - name: 'Stream' + name: 'String' } } request_content = @client.serialize(request_mapper, runbook_content) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/content' @@ -469,7 +495,7 @@ def begin_create_or_update_async(automation_account_name, runbook_name, runbook_ options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -481,12 +507,28 @@ def begin_create_or_update_async(automation_account_name, runbook_name, runbook_ http_response = result.response status_code = http_response.status response_content = http_response.body - unless status_code == 202 || status_code == 200 + unless status_code == 200 || status_code == 202 error_model = JSON.load(response_content) fail MsRest::HttpOperationError.new(result.request, http_response, error_model) end result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = { + required: false, + serialized_name: 'parsed_response', + type: { + name: 'String' + } + } + 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 @@ -497,22 +539,24 @@ def begin_create_or_update_async(automation_account_name, runbook_name, runbook_ # # Publish runbook draft. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The parameters supplied to the publish runbook # operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [Runbook] operation results. + # @return [String] operation results. # - def begin_publish(automation_account_name, runbook_name, custom_headers:nil) - response = begin_publish_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def begin_publish(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = begin_publish_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! response.body unless response.nil? end # # Publish runbook draft. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The parameters supplied to the publish runbook # operation. @@ -521,13 +565,14 @@ def begin_publish(automation_account_name, runbook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_publish_with_http_info(automation_account_name, runbook_name, custom_headers:nil) - begin_publish_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def begin_publish_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + begin_publish_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! end # # Publish runbook draft. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The parameters supplied to the publish runbook # operation. @@ -536,17 +581,15 @@ def begin_publish_with_http_info(automation_account_name, runbook_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_publish_async(automation_account_name, runbook_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def begin_publish_async(resource_group_name, automation_account_name, runbook_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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.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 @@ -557,7 +600,7 @@ def begin_publish_async(automation_account_name, runbook_name, custom_headers:ni options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -568,7 +611,7 @@ def begin_publish_async(automation_account_name, runbook_name, custom_headers:ni http_response = result.response status_code = http_response.status response_content = http_response.body - unless status_code == 202 || status_code == 200 + unless status_code == 200 || status_code == 202 error_model = JSON.load(response_content) fail MsRest::HttpOperationError.new(result.request, http_response, error_model) end @@ -578,7 +621,13 @@ def begin_publish_async(automation_account_name, runbook_name, custom_headers:ni if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook.mapper() + result_mapper = { + required: false, + serialized_name: 'parsed_response', + type: { + name: 'String' + } + } 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) diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb index 19573bd8d7..5e97299aa9 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb @@ -24,21 +24,23 @@ def initialize(client) # # Retrieve the content of runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [NOT_IMPLEMENTED] operation results. + # @return [String] operation results. # - def get_content(automation_account_name, runbook_name, custom_headers:nil) - response = get_content_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def get_content(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = get_content_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the content of runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -46,13 +48,14 @@ def get_content(automation_account_name, runbook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_content_with_http_info(automation_account_name, runbook_name, custom_headers:nil) - get_content_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def get_content_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + get_content_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! end # # Retrieve the content of runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -60,17 +63,15 @@ def get_content_with_http_info(automation_account_name, runbook_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_content_async(automation_account_name, runbook_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_content_async(resource_group_name, automation_account_name, runbook_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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.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 @@ -81,7 +82,7 @@ def get_content_async(automation_account_name, runbook_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -94,7 +95,7 @@ def get_content_async(automation_account_name, runbook_name, custom_headers:nil) response_content = http_response.body unless status_code == 200 error_model = JSON.load(response_content) - fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) end result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? @@ -103,11 +104,10 @@ def get_content_async(automation_account_name, runbook_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { - name: 'Stream' + name: 'String' } } result.body = @client.deserialize(result_mapper, parsed_response) @@ -125,6 +125,7 @@ def get_content_async(automation_account_name, runbook_name, custom_headers:nil) # # Retrieve the runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -132,14 +133,15 @@ def get_content_async(automation_account_name, runbook_name, custom_headers:nil) # # @return [Runbook] operation results. # - def get(automation_account_name, runbook_name, custom_headers:nil) - response = get_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -147,13 +149,14 @@ def get(automation_account_name, runbook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, runbook_name, custom_headers:nil) - get_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! end # # Retrieve the runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -161,17 +164,15 @@ def get_with_http_info(automation_account_name, runbook_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, runbook_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, runbook_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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.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 @@ -182,7 +183,7 @@ def get_async(automation_account_name, runbook_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -219,6 +220,7 @@ def get_async(automation_account_name, runbook_name, custom_headers:nil) # # Create the runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param parameters [RunbookCreateOrUpdateParameters] The create or update @@ -227,15 +229,17 @@ def get_async(automation_account_name, runbook_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # + # @return [Runbook] operation results. # - def create_or_update(automation_account_name, runbook_name, parameters, custom_headers:nil) - response = create_or_update_async(automation_account_name, runbook_name, parameters, custom_headers:custom_headers).value! - nil + def create_or_update(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers).value! + response.body unless response.nil? end # # Create the runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param parameters [RunbookCreateOrUpdateParameters] The create or update @@ -246,13 +250,14 @@ def create_or_update(automation_account_name, runbook_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(automation_account_name, runbook_name, parameters, custom_headers:nil) - create_or_update_async(automation_account_name, runbook_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers).value! end # # Create the runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param parameters [RunbookCreateOrUpdateParameters] The create or update @@ -263,23 +268,23 @@ def create_or_update_with_http_info(automation_account_name, runbook_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(automation_account_name, runbook_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_or_update_async(resource_group_name, automation_account_name, runbook_name, 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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.nil? fail ArgumentError, 'parameters is nil' if parameters.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 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::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -291,7 +296,7 @@ def create_or_update_async(automation_account_name, runbook_name, parameters, cu options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -309,6 +314,26 @@ def create_or_update_async(automation_account_name, runbook_name, parameters, cu 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::Automation::Mgmt::V2015_10_31::Models::Runbook.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook.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 @@ -319,6 +344,7 @@ def create_or_update_async(automation_account_name, runbook_name, parameters, cu # # Update the runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param parameters [RunbookUpdateParameters] The update parameters for @@ -328,14 +354,15 @@ def create_or_update_async(automation_account_name, runbook_name, parameters, cu # # @return [Runbook] operation results. # - def update(automation_account_name, runbook_name, parameters, custom_headers:nil) - response = update_async(automation_account_name, runbook_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers).value! response.body unless response.nil? end # # Update the runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param parameters [RunbookUpdateParameters] The update parameters for @@ -345,13 +372,14 @@ def update(automation_account_name, runbook_name, parameters, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(automation_account_name, runbook_name, parameters, custom_headers:nil) - update_async(automation_account_name, runbook_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers = nil) + update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers).value! end # # Update the runbook identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param parameters [RunbookUpdateParameters] The update parameters for @@ -361,23 +389,23 @@ def update_with_http_info(automation_account_name, runbook_name, parameters, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(automation_account_name, runbook_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def update_async(resource_group_name, automation_account_name, runbook_name, 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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.nil? fail ArgumentError, 'parameters is nil' if parameters.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 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::Automation::Mgmt::V2015_10_31::Models::RunbookUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -389,7 +417,7 @@ def update_async(automation_account_name, runbook_name, parameters, custom_heade options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -427,20 +455,22 @@ def update_async(automation_account_name, runbook_name, parameters, custom_heade # # Delete the runbook by name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def delete(automation_account_name, runbook_name, custom_headers:nil) - response = delete_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! nil end # # Delete the runbook by name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -448,13 +478,14 @@ def delete(automation_account_name, runbook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, runbook_name, custom_headers:nil) - delete_async(automation_account_name, runbook_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! end # # Delete the runbook by name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -462,17 +493,15 @@ def delete_with_http_info(automation_account_name, runbook_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, runbook_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, runbook_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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.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 @@ -483,7 +512,7 @@ def delete_async(automation_account_name, runbook_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -494,7 +523,7 @@ def delete_async(automation_account_name, runbook_name, custom_headers:nil) http_response = result.response status_code = http_response.status response_content = http_response.body - unless status_code == 200 + unless status_code == 200 || status_code == 204 error_model = JSON.load(response_content) fail MsRest::HttpOperationError.new(result.request, http_response, error_model) end @@ -510,49 +539,50 @@ def delete_async(automation_account_name, runbook_name, custom_headers:nil) # # Retrieve a list of runbooks. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers) first_page.get_all_items end # # Retrieve a list of runbooks. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_with_http_info(automation_account_name, custom_headers:nil) - list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! end # # Retrieve a list of runbooks. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? - fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? + def list_by_automation_account_async(resource_group_name, automation_account_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, 'automation_account_name is nil' if automation_account_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 @@ -563,7 +593,7 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -607,8 +637,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil # # @return [RunbookListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -622,8 +652,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -636,12 +666,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -688,6 +717,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of runbooks. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -695,12 +725,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [RunbookListResult] which provide lazy access to pages of the # response. # - def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb index cbef0b7150..1e3300a3cb 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb @@ -24,6 +24,7 @@ def initialize(client) # # Create a schedule. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param parameters [ScheduleCreateOrUpdateParameters] The parameters supplied @@ -33,14 +34,15 @@ def initialize(client) # # @return [Schedule] operation results. # - def create_or_update(automation_account_name, schedule_name, parameters, custom_headers:nil) - response = create_or_update_async(automation_account_name, schedule_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers).value! response.body unless response.nil? end # # Create a schedule. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param parameters [ScheduleCreateOrUpdateParameters] The parameters supplied @@ -50,13 +52,14 @@ def create_or_update(automation_account_name, schedule_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(automation_account_name, schedule_name, parameters, custom_headers:nil) - create_or_update_async(automation_account_name, schedule_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers).value! end # # Create a schedule. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param parameters [ScheduleCreateOrUpdateParameters] The parameters supplied @@ -66,9 +69,8 @@ def create_or_update_with_http_info(automation_account_name, schedule_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(automation_account_name, schedule_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_or_update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'schedule_name is nil' if schedule_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -77,12 +79,13 @@ def create_or_update_async(automation_account_name, schedule_name, parameters, c 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::Automation::Mgmt::V2015_10_31::Models::ScheduleCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -94,7 +97,7 @@ def create_or_update_async(automation_account_name, schedule_name, parameters, c options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'scheduleName' => schedule_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'scheduleName' => schedule_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -132,6 +135,7 @@ def create_or_update_async(automation_account_name, schedule_name, parameters, c # # Update the schedule identified by schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param parameters [ScheduleUpdateParameters] The parameters supplied to the @@ -141,14 +145,15 @@ def create_or_update_async(automation_account_name, schedule_name, parameters, c # # @return [Schedule] operation results. # - def update(automation_account_name, schedule_name, parameters, custom_headers:nil) - response = update_async(automation_account_name, schedule_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers).value! response.body unless response.nil? end # # Update the schedule identified by schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param parameters [ScheduleUpdateParameters] The parameters supplied to the @@ -158,13 +163,14 @@ def update(automation_account_name, schedule_name, parameters, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(automation_account_name, schedule_name, parameters, custom_headers:nil) - update_async(automation_account_name, schedule_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers = nil) + update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers).value! end # # Update the schedule identified by schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param parameters [ScheduleUpdateParameters] The parameters supplied to the @@ -174,9 +180,8 @@ def update_with_http_info(automation_account_name, schedule_name, parameters, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(automation_account_name, schedule_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'schedule_name is nil' if schedule_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -185,12 +190,13 @@ def update_async(automation_account_name, schedule_name, parameters, custom_head 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::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -202,7 +208,7 @@ def update_async(automation_account_name, schedule_name, parameters, custom_head options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'scheduleName' => schedule_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'scheduleName' => schedule_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -240,6 +246,7 @@ def update_async(automation_account_name, schedule_name, parameters, custom_head # # Retrieve the schedule identified by schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -247,14 +254,15 @@ def update_async(automation_account_name, schedule_name, parameters, custom_head # # @return [Schedule] operation results. # - def get(automation_account_name, schedule_name, custom_headers:nil) - response = get_async(automation_account_name, schedule_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, schedule_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, schedule_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the schedule identified by schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -262,13 +270,14 @@ def get(automation_account_name, schedule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, schedule_name, custom_headers:nil) - get_async(automation_account_name, schedule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, schedule_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, schedule_name, custom_headers).value! end # # Retrieve the schedule identified by schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -276,9 +285,8 @@ def get_with_http_info(automation_account_name, schedule_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, schedule_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, schedule_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'schedule_name is nil' if schedule_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -286,7 +294,6 @@ def get_async(automation_account_name, schedule_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 @@ -297,7 +304,7 @@ def get_async(automation_account_name, schedule_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'scheduleName' => schedule_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'scheduleName' => schedule_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -334,20 +341,22 @@ def get_async(automation_account_name, schedule_name, custom_headers:nil) # # Delete the schedule identified by schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def delete(automation_account_name, schedule_name, custom_headers:nil) - response = delete_async(automation_account_name, schedule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, schedule_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, schedule_name, custom_headers).value! nil end # # Delete the schedule identified by schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -355,13 +364,14 @@ def delete(automation_account_name, schedule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, schedule_name, custom_headers:nil) - delete_async(automation_account_name, schedule_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, schedule_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, schedule_name, custom_headers).value! end # # Delete the schedule identified by schedule name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param schedule_name [String] The schedule name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -369,9 +379,8 @@ def delete_with_http_info(automation_account_name, schedule_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, schedule_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, schedule_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'schedule_name is nil' if schedule_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -379,7 +388,6 @@ def delete_async(automation_account_name, schedule_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 @@ -390,7 +398,7 @@ def delete_async(automation_account_name, schedule_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'scheduleName' => schedule_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'scheduleName' => schedule_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -417,49 +425,50 @@ def delete_async(automation_account_name, schedule_name, custom_headers:nil) # # Retrieve a list of schedules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers) first_page.get_all_items end # # Retrieve a list of schedules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_with_http_info(automation_account_name, custom_headers:nil) - list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! end # # Retrieve a list of schedules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -470,7 +479,7 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -514,8 +523,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil # # @return [ScheduleListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -529,8 +538,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -543,12 +552,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -595,6 +603,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of schedules. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -602,12 +611,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [ScheduleListResult] which provide lazy access to pages of the # response. # - def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb index 751171885e..bcaf0bf069 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [StatisticsListResult] operation results. # - def list_by_automation_account(resource_group_name, automation_account_name, filter:nil, custom_headers:nil) - response = list_by_automation_account_async(resource_group_name, automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! response.body unless response.nil? end @@ -48,8 +48,8 @@ def list_by_automation_account(resource_group_name, automation_account_name, fil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, filter:nil, custom_headers:nil) - list_by_automation_account_async(resource_group_name, automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! end # @@ -63,16 +63,14 @@ def list_by_automation_account_with_http_info(resource_group_name, automation_ac # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_async(resource_group_name, automation_account_name, filter:nil, custom_headers:nil) + def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/test_job_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/test_job_operations.rb new file mode 100644 index 0000000000..95c7e473d3 --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/test_job_operations.rb @@ -0,0 +1,486 @@ +# 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::Automation::Mgmt::V2015_10_31 + # + # Automation Client + # + class TestJobOperations + include MsRestAzure + + # + # Creates and initializes a new instance of the TestJobOperations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AutomationClient] reference to the AutomationClient + attr_reader :client + + # + # Create a test job of the runbook. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The parameters supplied to the create test job + # operation. + # @param parameters [TestJobCreateParameters] The parameters supplied to the + # create test job operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TestJob] operation results. + # + def create(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Create a test job of the runbook. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The parameters supplied to the create test job + # operation. + # @param parameters [TestJobCreateParameters] The parameters supplied to the + # create test job operation. + # @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 create_with_http_info(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers = nil) + create_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers).value! + end + + # + # Create a test job of the runbook. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The parameters supplied to the create test job + # operation. + # @param parameters [TestJobCreateParameters] The parameters supplied to the + # create test job operation. + # @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 create_async(resource_group_name, automation_account_name, runbook_name, 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, 'automation_account_name is nil' if automation_account_name.nil? + fail ArgumentError, 'runbook_name is nil' if runbook_name.nil? + fail ArgumentError, 'parameters is nil' if 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::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob' + + 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,'automationAccountName' => automation_account_name,'runbookName' => runbook_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::TestJob.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 + + # + # Retrieve the test job for the specified runbook. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TestJob] operation results. + # + def get(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Retrieve the test job for the specified runbook. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @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, automation_account_name, runbook_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! + end + + # + # Retrieve the test job for the specified runbook. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @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, automation_account_name, runbook_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, 'automation_account_name is nil' if automation_account_name.nil? + fail ArgumentError, 'runbook_name is nil' if runbook_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.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob' + + 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,'automationAccountName' => automation_account_name,'runbookName' => runbook_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::TestJob.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 + + # + # Resume the test job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def resume(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = resume_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! + nil + end + + # + # Resume the test job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @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 resume_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + resume_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! + end + + # + # Resume the test job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @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 resume_async(resource_group_name, automation_account_name, runbook_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, 'automation_account_name is nil' if automation_account_name.nil? + fail ArgumentError, 'runbook_name is nil' if runbook_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.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/resume' + + 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,'automationAccountName' => automation_account_name,'runbookName' => runbook_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Stop the test job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def stop(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = stop_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! + nil + end + + # + # Stop the test job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @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 stop_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + stop_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! + end + + # + # Stop the test job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @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 stop_async(resource_group_name, automation_account_name, runbook_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, 'automation_account_name is nil' if automation_account_name.nil? + fail ArgumentError, 'runbook_name is nil' if runbook_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.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/stop' + + 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,'automationAccountName' => automation_account_name,'runbookName' => runbook_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Suspend the test job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def suspend(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + response = suspend_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! + nil + end + + # + # Suspend the test job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @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 suspend_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers = nil) + suspend_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value! + end + + # + # Suspend the test job. + # + # @param resource_group_name [String] Name of an Azure Resource group. + # @param automation_account_name [String] The automation account name. + # @param runbook_name [String] The runbook name. + # @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 suspend_async(resource_group_name, automation_account_name, runbook_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, 'automation_account_name is nil' if automation_account_name.nil? + fail ArgumentError, 'runbook_name is nil' if runbook_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.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/suspend' + + 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,'automationAccountName' => automation_account_name,'runbookName' => runbook_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + end +end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb index 3a54f73402..12a6bb165a 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb @@ -22,8 +22,10 @@ def initialize(client) attr_reader :client # - # Retrieve a test job streams identified by runbook name and stream id. + # Retrieve a test job stream of the test job identified by runbook name and + # stream id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param job_stream_id [String] The job stream id. @@ -32,14 +34,16 @@ def initialize(client) # # @return [JobStream] operation results. # - def get(automation_account_name, runbook_name, job_stream_id, custom_headers:nil) - response = get_async(automation_account_name, runbook_name, job_stream_id, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, runbook_name, job_stream_id, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, runbook_name, job_stream_id, custom_headers).value! response.body unless response.nil? end # - # Retrieve a test job streams identified by runbook name and stream id. + # Retrieve a test job stream of the test job identified by runbook name and + # stream id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param job_stream_id [String] The job stream id. @@ -48,13 +52,15 @@ def get(automation_account_name, runbook_name, job_stream_id, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, runbook_name, job_stream_id, custom_headers:nil) - get_async(automation_account_name, runbook_name, job_stream_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, runbook_name, job_stream_id, custom_headers = nil) + get_async(resource_group_name, automation_account_name, runbook_name, job_stream_id, custom_headers).value! end # - # Retrieve a test job streams identified by runbook name and stream id. + # Retrieve a test job stream of the test job identified by runbook name and + # stream id. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param job_stream_id [String] The job stream id. @@ -63,18 +69,16 @@ def get_with_http_info(automation_account_name, runbook_name, job_stream_id, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, runbook_name, job_stream_id, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, runbook_name, job_stream_id, 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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.nil? fail ArgumentError, 'job_stream_id is nil' if job_stream_id.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 @@ -85,7 +89,7 @@ def get_async(automation_account_name, runbook_name, job_stream_id, custom_heade options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'jobStreamId' => job_stream_id,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'jobStreamId' => job_stream_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -122,6 +126,7 @@ def get_async(automation_account_name, runbook_name, job_stream_id, custom_heade # # Retrieve a list of test job streams identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param filter [String] The filter to apply on the operation. @@ -130,14 +135,15 @@ def get_async(automation_account_name, runbook_name, job_stream_id, custom_heade # # @return [Array] operation results. # - def list_by_test_job(automation_account_name, runbook_name, filter:nil, custom_headers:nil) - first_page = list_by_test_job_as_lazy(automation_account_name, runbook_name, filter:filter, custom_headers:custom_headers) + def list_by_test_job(resource_group_name, automation_account_name, runbook_name, filter = nil, custom_headers = nil) + first_page = list_by_test_job_as_lazy(resource_group_name, automation_account_name, runbook_name, filter, custom_headers) first_page.get_all_items end # # Retrieve a list of test job streams identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param filter [String] The filter to apply on the operation. @@ -146,13 +152,14 @@ def list_by_test_job(automation_account_name, runbook_name, filter:nil, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_test_job_with_http_info(automation_account_name, runbook_name, filter:nil, custom_headers:nil) - list_by_test_job_async(automation_account_name, runbook_name, filter:filter, custom_headers:custom_headers).value! + def list_by_test_job_with_http_info(resource_group_name, automation_account_name, runbook_name, filter = nil, custom_headers = nil) + list_by_test_job_async(resource_group_name, automation_account_name, runbook_name, filter, custom_headers).value! end # # Retrieve a list of test job streams identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param filter [String] The filter to apply on the operation. @@ -161,17 +168,15 @@ def list_by_test_job_with_http_info(automation_account_name, runbook_name, filte # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_test_job_async(automation_account_name, runbook_name, filter:nil, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_test_job_async(resource_group_name, automation_account_name, runbook_name, filter = nil, 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, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'runbook_name is nil' if runbook_name.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 @@ -182,7 +187,7 @@ def list_by_test_job_async(automation_account_name, runbook_name, filter:nil, cu options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'runbookName' => runbook_name}, query_params: {'$filter' => filter,'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -226,8 +231,8 @@ def list_by_test_job_async(automation_account_name, runbook_name, filter:nil, cu # # @return [JobStreamListResult] operation results. # - def list_by_test_job_next(next_page_link, custom_headers:nil) - response = list_by_test_job_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_test_job_next(next_page_link, custom_headers = nil) + response = list_by_test_job_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -241,8 +246,8 @@ def list_by_test_job_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_test_job_next_with_http_info(next_page_link, custom_headers:nil) - list_by_test_job_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_test_job_next_with_http_info(next_page_link, custom_headers = nil) + list_by_test_job_next_async(next_page_link, custom_headers).value! end # @@ -255,12 +260,11 @@ def list_by_test_job_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_test_job_next_async(next_page_link, custom_headers:nil) + def list_by_test_job_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -307,6 +311,7 @@ def list_by_test_job_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of test job streams identified by runbook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param runbook_name [String] The runbook name. # @param filter [String] The filter to apply on the operation. @@ -316,12 +321,12 @@ def list_by_test_job_next_async(next_page_link, custom_headers:nil) # @return [JobStreamListResult] which provide lazy access to pages of the # response. # - def list_by_test_job_as_lazy(automation_account_name, runbook_name, filter:nil, custom_headers:nil) - response = list_by_test_job_async(automation_account_name, runbook_name, filter:filter, custom_headers:custom_headers).value! + def list_by_test_job_as_lazy(resource_group_name, automation_account_name, runbook_name, filter = nil, custom_headers = nil) + response = list_by_test_job_async(resource_group_name, automation_account_name, runbook_name, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_test_job_next_async(next_page_link, custom_headers:custom_headers) + list_by_test_job_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb index 0c186fdf0b..4c8bdcdc5c 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [UsageListResult] operation results. # - def list_by_automation_account(resource_group_name, automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account(resource_group_name, automation_account_name, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list_by_automation_account(resource_group_name, automation_account_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers:nil) - list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! end # @@ -60,16 +60,14 @@ def list_by_automation_account_with_http_info(resource_group_name, automation_ac # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:nil) + def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb index cd4609dfce..e29f60183f 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb @@ -24,6 +24,7 @@ def initialize(client) # # Create a variable. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The variable name. # @param parameters [VariableCreateOrUpdateParameters] The parameters supplied @@ -33,14 +34,15 @@ def initialize(client) # # @return [Variable] operation results. # - def create_or_update(automation_account_name, variable_name, parameters, custom_headers:nil) - response = create_or_update_async(automation_account_name, variable_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, automation_account_name, variable_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers).value! response.body unless response.nil? end # # Create a variable. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The variable name. # @param parameters [VariableCreateOrUpdateParameters] The parameters supplied @@ -50,13 +52,14 @@ def create_or_update(automation_account_name, variable_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(automation_account_name, variable_name, parameters, custom_headers:nil) - create_or_update_async(automation_account_name, variable_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, variable_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers).value! end # # Create a variable. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The variable name. # @param parameters [VariableCreateOrUpdateParameters] The parameters supplied @@ -66,9 +69,8 @@ def create_or_update_with_http_info(automation_account_name, variable_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(automation_account_name, variable_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_or_update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'variable_name is nil' if variable_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -77,12 +79,13 @@ def create_or_update_async(automation_account_name, variable_name, parameters, c 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::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -94,7 +97,7 @@ def create_or_update_async(automation_account_name, variable_name, parameters, c options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -142,6 +145,7 @@ def create_or_update_async(automation_account_name, variable_name, parameters, c # # Update a variable. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The variable name. # @param parameters [VariableUpdateParameters] The parameters supplied to the @@ -151,14 +155,15 @@ def create_or_update_async(automation_account_name, variable_name, parameters, c # # @return [Variable] operation results. # - def update(automation_account_name, variable_name, parameters, custom_headers:nil) - response = update_async(automation_account_name, variable_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, automation_account_name, variable_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers).value! response.body unless response.nil? end # # Update a variable. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The variable name. # @param parameters [VariableUpdateParameters] The parameters supplied to the @@ -168,13 +173,14 @@ def update(automation_account_name, variable_name, parameters, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(automation_account_name, variable_name, parameters, custom_headers:nil) - update_async(automation_account_name, variable_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, automation_account_name, variable_name, parameters, custom_headers = nil) + update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers).value! end # # Update a variable. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The variable name. # @param parameters [VariableUpdateParameters] The parameters supplied to the @@ -184,9 +190,8 @@ def update_with_http_info(automation_account_name, variable_name, parameters, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(automation_account_name, variable_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'variable_name is nil' if variable_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -195,12 +200,13 @@ def update_async(automation_account_name, variable_name, parameters, custom_head 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::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -212,7 +218,7 @@ def update_async(automation_account_name, variable_name, parameters, custom_head options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -250,20 +256,22 @@ def update_async(automation_account_name, variable_name, parameters, custom_head # # Delete the variable. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The name of variable. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def delete(automation_account_name, variable_name, custom_headers:nil) - response = delete_async(automation_account_name, variable_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, variable_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, variable_name, custom_headers).value! nil end # # Delete the variable. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The name of variable. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -271,13 +279,14 @@ def delete(automation_account_name, variable_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, variable_name, custom_headers:nil) - delete_async(automation_account_name, variable_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, variable_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, variable_name, custom_headers).value! end # # Delete the variable. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The name of variable. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -285,9 +294,8 @@ def delete_with_http_info(automation_account_name, variable_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, variable_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, variable_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'variable_name is nil' if variable_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -295,7 +303,6 @@ def delete_async(automation_account_name, variable_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 @@ -306,7 +313,7 @@ def delete_async(automation_account_name, variable_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -333,6 +340,7 @@ def delete_async(automation_account_name, variable_name, custom_headers:nil) # # Retrieve the variable identified by variable name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The name of variable. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -340,14 +348,15 @@ def delete_async(automation_account_name, variable_name, custom_headers:nil) # # @return [Variable] operation results. # - def get(automation_account_name, variable_name, custom_headers:nil) - response = get_async(automation_account_name, variable_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, variable_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, variable_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the variable identified by variable name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The name of variable. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -355,13 +364,14 @@ def get(automation_account_name, variable_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, variable_name, custom_headers:nil) - get_async(automation_account_name, variable_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, variable_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, variable_name, custom_headers).value! end # # Retrieve the variable identified by variable name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param variable_name [String] The name of variable. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -369,9 +379,8 @@ def get_with_http_info(automation_account_name, variable_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, variable_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, variable_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'variable_name is nil' if variable_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -379,7 +388,6 @@ def get_async(automation_account_name, variable_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 @@ -390,7 +398,7 @@ def get_async(automation_account_name, variable_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'variableName' => variable_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -427,49 +435,50 @@ def get_async(automation_account_name, variable_name, custom_headers:nil) # # Retrieve a list of variables. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers) first_page.get_all_items end # # Retrieve a list of variables. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_with_http_info(automation_account_name, custom_headers:nil) - list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! end # # Retrieve a list of variables. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @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_automation_account_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -480,7 +489,7 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -524,8 +533,8 @@ def list_by_automation_account_async(automation_account_name, custom_headers:nil # # @return [VariableListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -539,8 +548,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -553,12 +562,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -605,6 +613,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of variables. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -612,12 +621,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [VariableListResult] which provide lazy access to pages of the # response. # - def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/version.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/version.rb new file mode 100644 index 0000000000..653a6b63cb --- /dev/null +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/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::Automation::Mgmt::V2015_10_31 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb index 619be31ea3..33ff6503af 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb @@ -24,49 +24,50 @@ def initialize(client) # # Generates a Uri for use in creating a webhook. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [String] operation results. # - def generate_uri(automation_account_name, custom_headers:nil) - response = generate_uri_async(automation_account_name, custom_headers:custom_headers).value! + def generate_uri(resource_group_name, automation_account_name, custom_headers = nil) + response = generate_uri_async(resource_group_name, automation_account_name, custom_headers).value! response.body unless response.nil? end # # Generates a Uri for use in creating a webhook. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generate_uri_with_http_info(automation_account_name, custom_headers:nil) - generate_uri_async(automation_account_name, custom_headers:custom_headers).value! + def generate_uri_with_http_info(resource_group_name, automation_account_name, custom_headers = nil) + generate_uri_async(resource_group_name, automation_account_name, custom_headers).value! end # # Generates a Uri for use in creating a webhook. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generate_uri_async(automation_account_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def generate_uri_async(resource_group_name, automation_account_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -77,7 +78,7 @@ def generate_uri_async(automation_account_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -99,7 +100,6 @@ def generate_uri_async(automation_account_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -121,20 +121,22 @@ def generate_uri_async(automation_account_name, custom_headers:nil) # # Delete the webhook by name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def delete(automation_account_name, webhook_name, custom_headers:nil) - response = delete_async(automation_account_name, webhook_name, custom_headers:custom_headers).value! + def delete(resource_group_name, automation_account_name, webhook_name, custom_headers = nil) + response = delete_async(resource_group_name, automation_account_name, webhook_name, custom_headers).value! nil end # # Delete the webhook by name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -142,13 +144,14 @@ def delete(automation_account_name, webhook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(automation_account_name, webhook_name, custom_headers:nil) - delete_async(automation_account_name, webhook_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, automation_account_name, webhook_name, custom_headers = nil) + delete_async(resource_group_name, automation_account_name, webhook_name, custom_headers).value! end # # Delete the webhook by name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -156,9 +159,8 @@ def delete_with_http_info(automation_account_name, webhook_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(automation_account_name, webhook_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def delete_async(resource_group_name, automation_account_name, webhook_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -166,7 +168,6 @@ def delete_async(automation_account_name, webhook_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 @@ -177,7 +178,7 @@ def delete_async(automation_account_name, webhook_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'webhookName' => webhook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'webhookName' => webhook_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -204,6 +205,7 @@ def delete_async(automation_account_name, webhook_name, custom_headers:nil) # # Retrieve the webhook identified by webhook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -211,14 +213,15 @@ def delete_async(automation_account_name, webhook_name, custom_headers:nil) # # @return [Webhook] operation results. # - def get(automation_account_name, webhook_name, custom_headers:nil) - response = get_async(automation_account_name, webhook_name, custom_headers:custom_headers).value! + def get(resource_group_name, automation_account_name, webhook_name, custom_headers = nil) + response = get_async(resource_group_name, automation_account_name, webhook_name, custom_headers).value! response.body unless response.nil? end # # Retrieve the webhook identified by webhook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -226,13 +229,14 @@ def get(automation_account_name, webhook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(automation_account_name, webhook_name, custom_headers:nil) - get_async(automation_account_name, webhook_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, automation_account_name, webhook_name, custom_headers = nil) + get_async(resource_group_name, automation_account_name, webhook_name, custom_headers).value! end # # Retrieve the webhook identified by webhook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -240,9 +244,8 @@ def get_with_http_info(automation_account_name, webhook_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(automation_account_name, webhook_name, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def get_async(resource_group_name, automation_account_name, webhook_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -250,7 +253,6 @@ def get_async(automation_account_name, webhook_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 @@ -261,7 +263,7 @@ def get_async(automation_account_name, webhook_name, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'webhookName' => webhook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'webhookName' => webhook_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -298,6 +300,7 @@ def get_async(automation_account_name, webhook_name, custom_headers:nil) # # Create the webhook identified by webhook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param parameters [WebhookCreateOrUpdateParameters] The create or update @@ -307,14 +310,15 @@ def get_async(automation_account_name, webhook_name, custom_headers:nil) # # @return [Webhook] operation results. # - def create_or_update(automation_account_name, webhook_name, parameters, custom_headers:nil) - response = create_or_update_async(automation_account_name, webhook_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers).value! response.body unless response.nil? end # # Create the webhook identified by webhook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param parameters [WebhookCreateOrUpdateParameters] The create or update @@ -324,13 +328,14 @@ def create_or_update(automation_account_name, webhook_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(automation_account_name, webhook_name, parameters, custom_headers:nil) - create_or_update_async(automation_account_name, webhook_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers).value! end # # Create the webhook identified by webhook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param parameters [WebhookCreateOrUpdateParameters] The create or update @@ -340,9 +345,8 @@ def create_or_update_with_http_info(automation_account_name, webhook_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(automation_account_name, webhook_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def create_or_update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -351,12 +355,13 @@ def create_or_update_async(automation_account_name, webhook_name, parameters, 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::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -368,7 +373,7 @@ def create_or_update_async(automation_account_name, webhook_name, parameters, cu options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'webhookName' => webhook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'webhookName' => webhook_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -416,6 +421,7 @@ def create_or_update_async(automation_account_name, webhook_name, parameters, cu # # Update the webhook identified by webhook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param parameters [WebhookUpdateParameters] The update parameters for @@ -425,14 +431,15 @@ def create_or_update_async(automation_account_name, webhook_name, parameters, cu # # @return [Webhook] operation results. # - def update(automation_account_name, webhook_name, parameters, custom_headers:nil) - response = update_async(automation_account_name, webhook_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers).value! response.body unless response.nil? end # # Update the webhook identified by webhook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param parameters [WebhookUpdateParameters] The update parameters for @@ -442,13 +449,14 @@ def update(automation_account_name, webhook_name, parameters, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(automation_account_name, webhook_name, parameters, custom_headers:nil) - update_async(automation_account_name, webhook_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers = nil) + update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers).value! end # # Update the webhook identified by webhook name. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param webhook_name [String] The webhook name. # @param parameters [WebhookUpdateParameters] The update parameters for @@ -458,9 +466,8 @@ def update_with_http_info(automation_account_name, webhook_name, parameters, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(automation_account_name, webhook_name, parameters, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -469,12 +476,13 @@ def update_async(automation_account_name, webhook_name, parameters, custom_heade 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::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -486,7 +494,7 @@ def update_async(automation_account_name, webhook_name, parameters, custom_heade options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'webhookName' => webhook_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'webhookName' => webhook_name,'subscriptionId' => @client.subscription_id}, query_params: {'api-version' => @client.api_version}, body: request_content, headers: request_headers.merge(custom_headers || {}), @@ -524,6 +532,7 @@ def update_async(automation_account_name, webhook_name, parameters, custom_heade # # Retrieve a list of webhooks. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -531,14 +540,15 @@ def update_async(automation_account_name, webhook_name, parameters, custom_heade # # @return [Array] operation results. # - def list_by_automation_account(automation_account_name, filter:nil, custom_headers:nil) - first_page = list_by_automation_account_as_lazy(automation_account_name, filter:filter, custom_headers:custom_headers) + def list_by_automation_account(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter, custom_headers) first_page.get_all_items end # # Retrieve a list of webhooks. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -546,13 +556,14 @@ def list_by_automation_account(automation_account_name, filter:nil, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_with_http_info(automation_account_name, filter:nil, custom_headers:nil) - list_by_automation_account_async(automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! end # # Retrieve a list of webhooks. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -560,16 +571,14 @@ def list_by_automation_account_with_http_info(automation_account_name, filter:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_async(automation_account_name, filter:nil, custom_headers:nil) - fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil? - fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil? + def list_by_automation_account_async(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'automation_account_name is nil' if automation_account_name.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 @@ -580,7 +589,7 @@ def list_by_automation_account_async(automation_account_name, filter:nil, custom options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, + path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id}, query_params: {'$filter' => filter,'api-version' => @client.api_version}, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -624,8 +633,8 @@ def list_by_automation_account_async(automation_account_name, filter:nil, custom # # @return [WebhookListResult] operation results. # - def list_by_automation_account_next(next_page_link, custom_headers:nil) - response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next(next_page_link, custom_headers = nil) + response = list_by_automation_account_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -639,8 +648,8 @@ def list_by_automation_account_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil) - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil) + list_by_automation_account_next_async(next_page_link, custom_headers).value! end # @@ -653,12 +662,11 @@ def list_by_automation_account_next_with_http_info(next_page_link, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_automation_account_next_async(next_page_link, custom_headers:nil) + def list_by_automation_account_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -705,6 +713,7 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # # Retrieve a list of webhooks. # + # @param resource_group_name [String] Name of an Azure Resource group. # @param automation_account_name [String] The automation account name. # @param filter [String] The filter to apply on the operation. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -713,12 +722,12 @@ def list_by_automation_account_next_async(next_page_link, custom_headers:nil) # @return [WebhookListResult] which provide lazy access to pages of the # response. # - def list_by_automation_account_as_lazy(automation_account_name, filter:nil, custom_headers:nil) - response = list_by_automation_account_async(automation_account_name, filter:filter, custom_headers:custom_headers).value! + def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, filter = nil, custom_headers = nil) + response = list_by_automation_account_async(resource_group_name, automation_account_name, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers) + list_by_automation_account_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_automation/lib/profiles/latest/modules/automation_profile_module.rb b/management/azure_mgmt_automation/lib/profiles/latest/modules/automation_profile_module.rb index db0848653b..5ae72bc800 100644 --- a/management/azure_mgmt_automation/lib/profiles/latest/modules/automation_profile_module.rb +++ b/management/azure_mgmt_automation/lib/profiles/latest/modules/automation_profile_module.rb @@ -10,11 +10,13 @@ module Mgmt Operations = Azure::Automation::Mgmt::V2015_10_31::Operations StatisticsOperations = Azure::Automation::Mgmt::V2015_10_31::StatisticsOperations Usages = Azure::Automation::Mgmt::V2015_10_31::Usages + 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 DscCompilationJobOperations = Azure::Automation::Mgmt::V2015_10_31::DscCompilationJobOperations + DscCompilationJobStream = Azure::Automation::Mgmt::V2015_10_31::DscCompilationJobStream DscConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscConfigurationOperations AgentRegistrationInformation = Azure::Automation::Mgmt::V2015_10_31::AgentRegistrationInformation DscNodeOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeOperations @@ -24,6 +26,7 @@ module Mgmt JobOperations = Azure::Automation::Mgmt::V2015_10_31::JobOperations JobStreamOperations = Azure::Automation::Mgmt::V2015_10_31::JobStreamOperations JobScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::JobScheduleOperations + LinkedWorkspaceOperations = Azure::Automation::Mgmt::V2015_10_31::LinkedWorkspaceOperations ActivityOperations = Azure::Automation::Mgmt::V2015_10_31::ActivityOperations ModuleModelOperations = Azure::Automation::Mgmt::V2015_10_31::ModuleModelOperations ObjectDataTypes = Azure::Automation::Mgmt::V2015_10_31::ObjectDataTypes @@ -31,125 +34,136 @@ module Mgmt RunbookDraftOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookDraftOperations RunbookOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookOperations TestJobStreams = Azure::Automation::Mgmt::V2015_10_31::TestJobStreams - TestJobs = Azure::Automation::Mgmt::V2015_10_31::TestJobs + TestJobOperations = Azure::Automation::Mgmt::V2015_10_31::TestJobOperations ScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::ScheduleOperations VariableOperations = Azure::Automation::Mgmt::V2015_10_31::VariableOperations WebhookOperations = Azure::Automation::Mgmt::V2015_10_31::WebhookOperations module Models + AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse + AgentRegistrationRegenerateKeyParameter = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + KeyListResult = Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult DscCompilationJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters - DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob - UsageCounterName = Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage + JobStream = Azure::Automation::Mgmt::V2015_10_31::Models::JobStream + Statistics = Azure::Automation::Mgmt::V2015_10_31::Models::Statistics + JobStreamListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult + RunbookAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty DscCompilationJobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult + AgentRegistrationKeys = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys + Key = Azure::Automation::Mgmt::V2015_10_31::Models::Key + DscConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty + UsageCounterName = Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + JobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters UsageListResult = Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult - DscConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult + JobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult StatisticsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult + Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job + VariableUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters + RunbookParameter = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter + VariableListResult = Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult + ContentLink = Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink + WebhookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters + DscNodeConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult + DscConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult + DscNodeConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters DscConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters - ContentHash = Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash + DscConfigurationParameter = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter + DscConfigurationUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters + WebhookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters DscMetaConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration - RunbookDraft = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft - DscNodeConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters - ModuleErrorInfo = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo - DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration - DscNodeExtensionHandlerAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty - DscNodeConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult - DscNodeConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty - ContentSource = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource WebhookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult - DscNodeListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult - Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku + DscNodeConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty + OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + DscNodeExtensionHandlerAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult DscNodeUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters - AutomationAccountListResult = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult + AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters DscReportError = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError - Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation + CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters DscReportResourceNavigation = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation - AutomationAccountCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters + ConnectionListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult DscReportResource = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource - Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + ConnectionCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters DscNodeReport = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport - CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters + ConnectionType = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType DscNodeReportListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult - ConnectionTypeAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty + ConnectionTypeCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters HybridRunbookWorker = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker - ConnectionListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult + CredentialUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters RunAsCredentialAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty - ConnectionCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters + ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter HybridRunbookWorkerGroup = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup - ConnectionType = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType + ActivityOutputType = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType HybridRunbookWorkerGroupsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupsListResult - ConnectionTypeCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters + ActivityListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult HybridRunbookWorkerGroupUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupUpdateParameters - CredentialListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult - RunbookAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty - CredentialCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialCreateOrUpdateParameters - Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job - ActivityParameterSet = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet - JobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters - Activity = Azure::Automation::Mgmt::V2015_10_31::Models::Activity - JobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult - AdvancedScheduleMonthlyOccurrence = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + AdvancedSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule ScheduleAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleAssociationProperty - AgentRegistrationKeys = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys JobScheduleCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters - AgentRegistrationRegenerateKeyParameter = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource JobSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::JobSchedule - ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse + RunbookDraft = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft JobScheduleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleListResult - Statistics = Azure::Automation::Mgmt::V2015_10_31::Models::Statistics - JobStream = Azure::Automation::Mgmt::V2015_10_31::Models::JobStream - ContentLink = Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink - JobStreamListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult - Webhook = Azure::Automation::Mgmt::V2015_10_31::Models::Webhook - DscConfigurationParameter = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter + ContentSource = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource + LinkedWorkspace = Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace + Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku ModuleCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters - WebhookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters + Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation ModuleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult - OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult - ModuleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters CertificateListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult + ModuleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters + ConnectionUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters RunbookDraftUndoEditResult = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult - Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection + ConnectionTypeListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeListResult RunbookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters - FieldDefinition = Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition + CredentialCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialCreateOrUpdateParameters RunbookCreateOrUpdateDraftProperties = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftProperties - Credential = Azure::Automation::Mgmt::V2015_10_31::Models::Credential + Activity = Azure::Automation::Mgmt::V2015_10_31::Models::Activity RunbookCreateOrUpdateDraftParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters - ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter + JobProvisioningStateProperty = Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningStateProperty RunbookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookUpdateParameters - ActivityListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult + ContentHash = Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash RunbookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult - AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + DscNodeListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult ScheduleCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleCreateOrUpdateParameters - Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage + AutomationAccountCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters Schedule = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule - WebhookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters - Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource + FieldDefinition = Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition ScheduleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters - AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + ActivityParameterSet = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet ScheduleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult - ConnectionUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters + ConnectionTypeAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty SubResource = Azure::Automation::Mgmt::V2015_10_31::Models::SubResource - CredentialUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters + AutomationAccountListResult = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult TestJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters - AdvancedSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule + CredentialListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult TestJob = Azure::Automation::Mgmt::V2015_10_31::Models::TestJob - RunbookParameter = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter + ModuleErrorInfo = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo TypeField = Azure::Automation::Mgmt::V2015_10_31::Models::TypeField - CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + AdvancedScheduleMonthlyOccurrence = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence TypeFieldListResult = Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult - ActivityOutputType = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType + CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters VariableCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters - OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + ProxyResource = Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource + Webhook = Azure::Automation::Mgmt::V2015_10_31::Models::Webhook Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable - DscConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty - VariableListResult = Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult - ConnectionTypeListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeListResult - VariableUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters + DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + Credential = Azure::Automation::Mgmt::V2015_10_31::Models::Credential + Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection + Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + TrackedResource = Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook ModuleModel = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel - DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode DscConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount + DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode + DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + 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 + JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum RunbookState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookState RunbookProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookProvisioningState @@ -161,7 +175,6 @@ module Models AutomationAccountState = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState ScheduleDay = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay AgentRegistrationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName - JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType HttpStatusCode = Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency @@ -171,7 +184,7 @@ module Models # AutomationManagementClass # class AutomationManagementClass - attr_reader :automation_account_operations, :operations, :statistics_operations, :usages, :certificate_operations, :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :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, :activity_operations, :module_model_operations, :object_data_types, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_jobs, :schedule_operations, :variable_operations, :webhook_operations, :configurable, :base_url, :options, :model_classes + attr_reader :automation_account_operations, :operations, :statistics_operations, :usages, :keys, :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, :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, :configurable, :base_url, :options, :model_classes def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @@ -195,11 +208,13 @@ def initialize(options = {}) @operations = @client_0.operations @statistics_operations = @client_0.statistics_operations @usages = @client_0.usages + @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 @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 @agent_registration_information = @client_0.agent_registration_information @dsc_node_operations = @client_0.dsc_node_operations @@ -209,6 +224,7 @@ def initialize(options = {}) @job_operations = @client_0.job_operations @job_stream_operations = @client_0.job_stream_operations @job_schedule_operations = @client_0.job_schedule_operations + @linked_workspace_operations = @client_0.linked_workspace_operations @activity_operations = @client_0.activity_operations @module_model_operations = @client_0.module_model_operations @object_data_types = @client_0.object_data_types @@ -216,7 +232,7 @@ def initialize(options = {}) @runbook_draft_operations = @client_0.runbook_draft_operations @runbook_operations = @client_0.runbook_operations @test_job_streams = @client_0.test_job_streams - @test_jobs = @client_0.test_jobs + @test_job_operations = @client_0.test_job_operations @schedule_operations = @client_0.schedule_operations @variable_operations = @client_0.variable_operations @webhook_operations = @client_0.webhook_operations @@ -240,329 +256,347 @@ def method_missing(method, *args) end class ModelClasses + def agent_registration + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + end + def error_response + Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse + end + def agent_registration_regenerate_key_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + end + def key_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult + end def dsc_compilation_job_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters end - def dsc_compilation_job - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + def usage + Azure::Automation::Mgmt::V2015_10_31::Models::Usage end - def usage_counter_name - Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + def job_stream + Azure::Automation::Mgmt::V2015_10_31::Models::JobStream + end + def statistics + Azure::Automation::Mgmt::V2015_10_31::Models::Statistics + end + def job_stream_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult + end + def runbook_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty end def dsc_compilation_job_list_result Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult end + def agent_registration_keys + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys + end + def key + Azure::Automation::Mgmt::V2015_10_31::Models::Key + end + def dsc_configuration_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty + end + def usage_counter_name + Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + end + def job_create_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters + end def usage_list_result Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult end - def dsc_configuration_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult + def job_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult end def statistics_list_result Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult end - def dsc_configuration_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters + def job + Azure::Automation::Mgmt::V2015_10_31::Models::Job end - def content_hash - Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash + def variable_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters end - def dsc_meta_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration + def runbook_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter end - def runbook_draft - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft + def variable_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult + end + def content_link + Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink + end + def webhook_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters + end + def dsc_node_configuration_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult + end + def dsc_configuration_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult end def dsc_node_configuration_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters end - def module_error_info - Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo - end - def dsc_node_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + def dsc_configuration_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters end - def dsc_node_extension_handler_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + def dsc_configuration_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter end - def dsc_node_configuration_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult + def dsc_configuration_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters end - def dsc_node_configuration_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty + def webhook_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters end - def content_source - Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource + def dsc_meta_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration end def webhook_list_result Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult end - def dsc_node_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult + def dsc_node_configuration_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty end - def sku - Azure::Automation::Mgmt::V2015_10_31::Models::Sku + def operation_display + Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + end + def dsc_node_extension_handler_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + end + def operation_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult end def dsc_node_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters end - def automation_account_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult + def automation_account_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters end def dsc_report_error Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError end - def operation - Azure::Automation::Mgmt::V2015_10_31::Models::Operation + def certificate_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters end def dsc_report_resource_navigation Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation end - def automation_account_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters + def connection_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult end def dsc_report_resource Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource end - def certificate - Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + def connection_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters end def dsc_node_report Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport end - def certificate_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters + def connection_type + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType end def dsc_node_report_list_result Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult end - def connection_type_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty + def connection_type_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters end def hybrid_runbook_worker Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker end - def connection_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult + def credential_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters end def run_as_credential_association_property Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty end - def connection_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters + def activity_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter end def hybrid_runbook_worker_group Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup end - def connection_type - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType + def activity_output_type + Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType end def hybrid_runbook_worker_groups_list_result Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupsListResult end - def connection_type_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters + def activity_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult end def hybrid_runbook_worker_group_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupUpdateParameters end - def credential_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult - end - def runbook_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty - end - def credential_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CredentialCreateOrUpdateParameters - end - def job - Azure::Automation::Mgmt::V2015_10_31::Models::Job - end - def activity_parameter_set - Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet - end - def job_create_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters - end - def activity - Azure::Automation::Mgmt::V2015_10_31::Models::Activity - end - def job_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult - end - def advanced_schedule_monthly_occurrence - Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + def advanced_schedule + Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule end def schedule_association_property Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleAssociationProperty end - def agent_registration_keys - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys - end def job_schedule_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters end - def agent_registration_regenerate_key_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + def resource + Azure::Automation::Mgmt::V2015_10_31::Models::Resource end def job_schedule Azure::Automation::Mgmt::V2015_10_31::Models::JobSchedule end - def error_response - Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse + def runbook_draft + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft end def job_schedule_list_result Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleListResult end - def statistics - Azure::Automation::Mgmt::V2015_10_31::Models::Statistics - end - def job_stream - Azure::Automation::Mgmt::V2015_10_31::Models::JobStream - end - def content_link - Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink - end - def job_stream_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult + def content_source + Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource end - def webhook - Azure::Automation::Mgmt::V2015_10_31::Models::Webhook + def linked_workspace + Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace end - def dsc_configuration_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter + def sku + Azure::Automation::Mgmt::V2015_10_31::Models::Sku end def module_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters end - def webhook_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters + def operation + Azure::Automation::Mgmt::V2015_10_31::Models::Operation end def module_list_result Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult end - def operation_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult + def certificate_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult end def module_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters end - def certificate_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult + def connection_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters end def runbook_draft_undo_edit_result Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult end - def connection - Azure::Automation::Mgmt::V2015_10_31::Models::Connection + def connection_type_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeListResult end def runbook_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters end - def field_definition - Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition + def credential_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CredentialCreateOrUpdateParameters end 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 + def activity + Azure::Automation::Mgmt::V2015_10_31::Models::Activity end def runbook_create_or_update_draft_parameters Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters end - def activity_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter + def job_provisioning_state_property + Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningStateProperty end def runbook_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::RunbookUpdateParameters end - def activity_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult + def content_hash + Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash end def runbook_list_result Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult end - def agent_registration - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + def dsc_node_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult end def schedule_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleCreateOrUpdateParameters end - def usage - Azure::Automation::Mgmt::V2015_10_31::Models::Usage + def automation_account_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters end def schedule Azure::Automation::Mgmt::V2015_10_31::Models::Schedule end - def webhook_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters - end - def resource - Azure::Automation::Mgmt::V2015_10_31::Models::Resource + def field_definition + Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition end def schedule_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters end - def automation_account_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + def activity_parameter_set + Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet end def schedule_list_result Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult end - def connection_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters + def connection_type_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty end def sub_resource Azure::Automation::Mgmt::V2015_10_31::Models::SubResource end - def credential_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters + def automation_account_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult end def test_job_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters end - def advanced_schedule - Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule + def credential_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult end def test_job Azure::Automation::Mgmt::V2015_10_31::Models::TestJob end - def runbook_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter + def module_error_info + Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo end def type_field Azure::Automation::Mgmt::V2015_10_31::Models::TypeField end - def certificate_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + def advanced_schedule_monthly_occurrence + Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence end def type_field_list_result Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult end - def activity_output_type - Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType + def certificate_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters end def variable_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters end - def operation_display - Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + def proxy_resource + Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource + end + def webhook + Azure::Automation::Mgmt::V2015_10_31::Models::Webhook end def variable Azure::Automation::Mgmt::V2015_10_31::Models::Variable end - def dsc_configuration_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty + def dsc_compilation_job + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob end - def variable_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult + def credential + Azure::Automation::Mgmt::V2015_10_31::Models::Credential end - def connection_type_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeListResult + def connection + Azure::Automation::Mgmt::V2015_10_31::Models::Connection end - def variable_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters + def certificate + Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + end + def tracked_resource + Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource end def runbook Azure::Automation::Mgmt::V2015_10_31::Models::Runbook @@ -570,15 +604,30 @@ def runbook def module_model Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel end - def dsc_node - Azure::Automation::Mgmt::V2015_10_31::Models::DscNode - end def dsc_configuration Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration end def automation_account Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount end + def dsc_node + Azure::Automation::Mgmt::V2015_10_31::Models::DscNode + end + def dsc_node_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + 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 job_status + Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus + end def runbook_type_enum Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum end @@ -612,9 +661,6 @@ def schedule_day def agent_registration_key_name Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName end - def job_status - Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus - end def job_stream_type Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType end From 1e91368a04d3455ef2dab01638e7f35292b15fda Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 10:50:51 -0700 Subject: [PATCH 03/22] Generated from a40766016116112dbd0d8c66b60a117c3e20fc9d (#1310) (#1332) fixing build error --- .../consumption_management_client.rb | 7 +- .../models/error_details.rb | 4 - .../models/error_response.rb | 2 - .../models/meter_details.rb | 8 -- .../models/operation.rb | 3 - .../models/operation_display.rb | 4 - .../models/operation_list_result.rb | 4 - .../azure_mgmt_consumption/models/resource.rb | 6 - .../models/usage_detail.rb | 22 --- .../models/usage_details_list_result.rb | 4 - .../azure_mgmt_consumption/operations.rb | 28 ++-- .../azure_mgmt_consumption/usage_details.rb | 30 ++--- .../azure_mgmt_consumption/version.rb | 8 ++ .../consumption_management_client.rb | 7 +- .../models/error_details.rb | 3 - .../models/error_response.rb | 2 - .../models/meter_details.rb | 8 -- .../models/operation.rb | 3 - .../models/operation_display.rb | 4 - .../models/operation_list_result.rb | 4 - .../models/reservation_details.rb | 14 -- .../models/reservation_details_list_result.rb | 3 - .../models/reservation_summaries.rb | 15 --- .../reservation_summaries_list_result.rb | 3 - .../azure_mgmt_consumption/models/resource.rb | 6 - .../models/usage_detail.rb | 28 ---- .../models/usage_details_list_result.rb | 4 - .../azure_mgmt_consumption/operations.rb | 28 ++-- .../reservations_details.rb | 11 +- .../reservations_summaries.rb | 11 +- .../azure_mgmt_consumption/usage_details.rb | 30 ++--- .../azure_mgmt_consumption/version.rb | 8 ++ .../azure_mgmt_consumption/budgets.rb | 46 +++---- .../consumption_management_client.rb | 7 +- .../azure_mgmt_consumption/models/budget.rb | 12 -- .../models/budget_time_period.rb | 3 - .../models/budgets_list_result.rb | 3 - .../models/current_spend.rb | 3 - .../models/error_details.rb | 3 - .../models/error_response.rb | 2 - .../models/notification.rb | 8 -- .../models/operation.rb | 3 - .../models/operation_display.rb | 4 - .../models/operation_list_result.rb | 4 - .../models/proxy_resource.rb | 5 - .../azure_mgmt_consumption/operations.rb | 28 ++-- .../azure_mgmt_consumption/version.rb | 8 ++ .../azure_mgmt_consumption/budgets.rb | 126 +++++++++--------- .../consumption_management_client.rb | 7 +- .../azure_mgmt_consumption/marketplaces.rb | 60 ++++----- .../azure_mgmt_consumption/models/budget.rb | 13 -- .../models/budget_time_period.rb | 3 - .../models/budgets_list_result.rb | 4 - .../models/current_spend.rb | 3 - .../models/error_details.rb | 3 - .../models/error_response.rb | 2 - .../azure_mgmt_consumption/models/filters.rb | 7 - .../models/marketplace.rb | 30 ----- .../models/marketplaces_list_result.rb | 4 - .../models/meter_details.rb | 8 -- .../models/notification.rb | 10 -- .../models/operation.rb | 3 - .../models/operation_display.rb | 4 - .../models/operation_list_result.rb | 4 - .../models/price_sheet_properties.rb | 9 -- .../models/price_sheet_result.rb | 9 -- .../models/proxy_resource.rb | 5 - .../models/reservation_details.rb | 14 -- .../models/reservation_details_list_result.rb | 4 - .../models/reservation_summaries.rb | 15 --- .../reservation_summaries_list_result.rb | 4 - .../azure_mgmt_consumption/models/resource.rb | 6 - .../models/usage_detail.rb | 28 ---- .../models/usage_details_list_result.rb | 4 - .../azure_mgmt_consumption/operations.rb | 28 ++-- .../azure_mgmt_consumption/price_sheet.rb | 26 ++-- .../reservations_details.rb | 56 ++++---- .../reservations_summaries.rb | 56 ++++---- .../azure_mgmt_consumption/usage_details.rb | 60 ++++----- .../azure_mgmt_consumption/version.rb | 8 ++ .../lib/azure_mgmt_consumption.rb | 4 +- 81 files changed, 330 insertions(+), 758 deletions(-) create mode 100644 management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/version.rb create mode 100644 management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/version.rb create mode 100644 management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/version.rb create mode 100644 management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/version.rb diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/consumption_management_client.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/consumption_management_client.rb index 2a2eba5c1d..86af2a9a4b 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/consumption_management_client.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/consumption_management_client.rb @@ -109,9 +109,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? @@ -128,7 +125,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_consumption' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Consumption::Mgmt::V2017_04_24_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::Consumption::Mgmt::V2017_04_24_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/error_details.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/error_details.rb index ff1c5213c8..95c3d236ef 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/error_details.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/error_details.rb @@ -28,7 +28,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -45,7 +43,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', @@ -54,7 +51,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'target', diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/error_response.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/error_response.rb index 63eaa95cd0..787e1d8e61 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/error_response.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/error_response.rb @@ -23,7 +23,6 @@ class ErrorResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorResponse', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ErrorResponse', model_properties: { error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/meter_details.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/meter_details.rb index 46dff1d8fb..eac95658bd 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/meter_details.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/meter_details.rb @@ -43,7 +43,6 @@ class MeterDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MeterDetails', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'MeterDetails', model_properties: { meter_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterName', @@ -60,7 +58,6 @@ def self.mapper() } }, meter_category: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterCategory', @@ -69,7 +66,6 @@ def self.mapper() } }, meter_sub_category: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterSubCategory', @@ -78,7 +74,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -87,7 +82,6 @@ def self.mapper() } }, meter_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterLocation', @@ -96,7 +90,6 @@ def self.mapper() } }, total_included_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'totalIncludedQuantity', @@ -105,7 +98,6 @@ def self.mapper() } }, pretax_standard_rate: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'pretaxStandardRate', diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation.rb index 2de7613194..c171035c38 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation.rb @@ -25,7 +25,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_display.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_display.rb index 46fd41ffc3..12c13b90d6 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_display.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_display.rb @@ -29,7 +29,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'provider', @@ -46,7 +44,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resource', @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'operation', diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_list_result.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_list_result.rb index b674c6a870..a478e3024f 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,14 +67,12 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/resource.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/resource.rb index 25845c974e..32a1214a1f 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/resource.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/resource.rb @@ -31,7 +31,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -66,14 +62,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_detail.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_detail.rb index 39b8e21bd1..a716a8193c 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_detail.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_detail.rb @@ -76,7 +76,6 @@ class UsageDetail < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageDetail', type: { @@ -84,7 +83,6 @@ def self.mapper() class_name: 'UsageDetail', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -93,7 +91,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -102,7 +99,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -111,14 +107,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -128,7 +122,6 @@ def self.mapper() } }, billing_period_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingPeriodId', @@ -137,7 +130,6 @@ def self.mapper() } }, invoice_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.invoiceId', @@ -146,7 +138,6 @@ def self.mapper() } }, usage_start: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageStart', @@ -155,7 +146,6 @@ def self.mapper() } }, usage_end: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageEnd', @@ -164,7 +154,6 @@ def self.mapper() } }, instance_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceName', @@ -173,7 +162,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceId', @@ -182,7 +170,6 @@ def self.mapper() } }, instance_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceLocation', @@ -191,7 +178,6 @@ def self.mapper() } }, currency: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currency', @@ -200,7 +186,6 @@ def self.mapper() } }, usage_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageQuantity', @@ -209,7 +194,6 @@ def self.mapper() } }, billable_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billableQuantity', @@ -218,7 +202,6 @@ def self.mapper() } }, pretax_cost: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.pretaxCost', @@ -227,7 +210,6 @@ def self.mapper() } }, is_estimated: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isEstimated', @@ -236,7 +218,6 @@ def self.mapper() } }, meter_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterId', @@ -245,7 +226,6 @@ def self.mapper() } }, meter_details: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterDetails', @@ -255,14 +235,12 @@ def self.mapper() } }, additional_properties: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.additionalProperties', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_details_list_result.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_details_list_result.rb index 937a9e4827..b551532969 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_details_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_details_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageDetailsListResult', type: { @@ -66,14 +65,12 @@ def self.mapper() class_name: 'UsageDetailsListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageDetailElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/operations.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/operations.rb index d919213536..77b2a84d28 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/operations.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +45,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 # @@ -57,12 +57,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 @@ -116,8 +115,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -131,8 +130,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -145,12 +144,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,12 +201,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/usage_details.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/usage_details.rb index abe111ea20..fe7ebf97b2 100644 --- a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/usage_details.rb +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/usage_details.rb @@ -52,8 +52,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - first_page = list_as_lazy(scope, expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers) + def list(scope, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + first_page = list_as_lazy(scope, expand, filter, skiptoken, top, custom_headers) first_page.get_all_items end @@ -85,8 +85,8 @@ def list(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - list_async(scope, expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def list_with_http_info(scope, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + list_async(scope, expand, filter, skiptoken, top, custom_headers).value! end # @@ -117,15 +117,12 @@ def list_with_http_info(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) + def list_async(scope, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !top.nil? && top > 1000 - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1 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 @@ -182,8 +179,8 @@ def list_async(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_hea # # @return [UsageDetailsListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -199,8 +196,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -215,12 +212,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,12 +289,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsageDetailsListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - response = list_async(scope, expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def list_as_lazy(scope, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + response = list_async(scope, expand, filter, skiptoken, top, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/version.rb b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/version.rb new file mode 100644 index 0000000000..b3dfa1f0bf --- /dev/null +++ b/management/azure_mgmt_consumption/lib/2017-04-24-preview/generated/azure_mgmt_consumption/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::Consumption::Mgmt::V2017_04_24_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/consumption_management_client.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/consumption_management_client.rb index ba475db15d..244180cc6c 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/consumption_management_client.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/consumption_management_client.rb @@ -117,9 +117,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? @@ -136,7 +133,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_consumption' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Consumption::Mgmt::V2017_11_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::Consumption::Mgmt::V2017_11_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/error_details.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/error_details.rb index 38b08551aa..45c9c5139f 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/error_details.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/error_details.rb @@ -25,7 +25,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -42,7 +40,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/error_response.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/error_response.rb index 5302195001..dd3219dd37 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/error_response.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/error_response.rb @@ -23,7 +23,6 @@ class ErrorResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorResponse', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ErrorResponse', model_properties: { error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/meter_details.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/meter_details.rb index bea814b2e0..2144efd9c9 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/meter_details.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/meter_details.rb @@ -43,7 +43,6 @@ class MeterDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MeterDetails', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'MeterDetails', model_properties: { meter_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterName', @@ -60,7 +58,6 @@ def self.mapper() } }, meter_category: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterCategory', @@ -69,7 +66,6 @@ def self.mapper() } }, meter_sub_category: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterSubCategory', @@ -78,7 +74,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -87,7 +82,6 @@ def self.mapper() } }, meter_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterLocation', @@ -96,7 +90,6 @@ def self.mapper() } }, total_included_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'totalIncludedQuantity', @@ -105,7 +98,6 @@ def self.mapper() } }, pretax_standard_rate: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'pretaxStandardRate', diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation.rb index 6f90dc1036..c5f2ee96a8 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation.rb @@ -25,7 +25,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation_display.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation_display.rb index 4374eef3f8..7e072a669b 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation_display.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation_display.rb @@ -29,7 +29,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'provider', @@ -46,7 +44,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resource', @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'operation', diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation_list_result.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation_list_result.rb index 26f667ecce..707e460d2b 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,14 +67,12 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_details.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_details.rb index 16a38c001e..fcfd30ed60 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_details.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_details.rb @@ -55,7 +55,6 @@ class ReservationDetails < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReservationDetails', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'ReservationDetails', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -72,7 +70,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -81,7 +78,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -90,14 +86,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, reservation_order_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservationOrderId', @@ -116,7 +109,6 @@ def self.mapper() } }, reservation_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservationId', @@ -125,7 +117,6 @@ def self.mapper() } }, sku_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.skuName', @@ -134,7 +125,6 @@ def self.mapper() } }, reserved_hours: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservedHours', @@ -143,7 +133,6 @@ def self.mapper() } }, usage_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageDate', @@ -152,7 +141,6 @@ def self.mapper() } }, used_hours: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usedHours', @@ -161,7 +149,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceId', @@ -170,7 +157,6 @@ def self.mapper() } }, total_reserved_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.totalReservedQuantity', diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_details_list_result.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_details_list_result.rb index bfe298eeec..42fca10792 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_details_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_details_list_result.rb @@ -22,7 +22,6 @@ class ReservationDetailsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReservationDetailsListResult', type: { @@ -30,14 +29,12 @@ def self.mapper() class_name: 'ReservationDetailsListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ReservationDetailsElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_summaries.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_summaries.rb index cb4684ec2e..dde0e9b81a 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_summaries.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_summaries.rb @@ -64,7 +64,6 @@ class ReservationSummaries < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReservationSummaries', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'ReservationSummaries', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -81,7 +79,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -90,7 +87,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -99,14 +95,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, reservation_order_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservationOrderId', @@ -125,7 +118,6 @@ def self.mapper() } }, reservation_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservationId', @@ -134,7 +126,6 @@ def self.mapper() } }, sku_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.skuName', @@ -143,7 +134,6 @@ def self.mapper() } }, reserved_hours: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservedHours', @@ -152,7 +142,6 @@ def self.mapper() } }, usage_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageDate', @@ -161,7 +150,6 @@ def self.mapper() } }, used_hours: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usedHours', @@ -170,7 +158,6 @@ def self.mapper() } }, min_utilization_percentage: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.minUtilizationPercentage', @@ -179,7 +166,6 @@ def self.mapper() } }, avg_utilization_percentage: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.avgUtilizationPercentage', @@ -188,7 +174,6 @@ def self.mapper() } }, max_utilization_percentage: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxUtilizationPercentage', diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_summaries_list_result.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_summaries_list_result.rb index dda5502dd5..b812a29be9 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_summaries_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/reservation_summaries_list_result.rb @@ -23,7 +23,6 @@ class ReservationSummariesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReservationSummariesListResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'ReservationSummariesListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ReservationSummariesElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/resource.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/resource.rb index f13609a99d..687a6f7f35 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/resource.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/resource.rb @@ -31,7 +31,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -66,14 +62,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/usage_detail.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/usage_detail.rb index f304bd889d..2327ea7b10 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/usage_detail.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/usage_detail.rb @@ -96,7 +96,6 @@ class UsageDetail < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageDetail', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'UsageDetail', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -113,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -122,7 +119,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,14 +127,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -148,7 +142,6 @@ def self.mapper() } }, billing_period_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingPeriodId', @@ -157,7 +150,6 @@ def self.mapper() } }, invoice_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.invoiceId', @@ -166,7 +158,6 @@ def self.mapper() } }, usage_start: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageStart', @@ -175,7 +166,6 @@ def self.mapper() } }, usage_end: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageEnd', @@ -184,7 +174,6 @@ def self.mapper() } }, instance_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceName', @@ -193,7 +182,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceId', @@ -202,7 +190,6 @@ def self.mapper() } }, instance_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceLocation', @@ -211,7 +198,6 @@ def self.mapper() } }, currency: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currency', @@ -220,7 +206,6 @@ def self.mapper() } }, usage_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageQuantity', @@ -229,7 +214,6 @@ def self.mapper() } }, billable_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billableQuantity', @@ -238,7 +222,6 @@ def self.mapper() } }, pretax_cost: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.pretaxCost', @@ -247,7 +230,6 @@ def self.mapper() } }, is_estimated: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isEstimated', @@ -256,7 +238,6 @@ def self.mapper() } }, meter_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterId', @@ -265,7 +246,6 @@ def self.mapper() } }, meter_details: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterDetails', @@ -275,7 +255,6 @@ def self.mapper() } }, subscription_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subscriptionGuid', @@ -284,7 +263,6 @@ def self.mapper() } }, subscription_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subscriptionName', @@ -293,7 +271,6 @@ def self.mapper() } }, account_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accountName', @@ -302,7 +279,6 @@ def self.mapper() } }, department_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.departmentName', @@ -311,7 +287,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.product', @@ -320,7 +295,6 @@ def self.mapper() } }, consumed_service: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.consumedService', @@ -329,7 +303,6 @@ def self.mapper() } }, cost_center: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.costCenter', @@ -338,7 +311,6 @@ def self.mapper() } }, additional_properties: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.additionalProperties', diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/usage_details_list_result.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/usage_details_list_result.rb index 70c5f6d76e..9269e82c73 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/usage_details_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/models/usage_details_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageDetailsListResult', type: { @@ -66,14 +65,12 @@ def self.mapper() class_name: 'UsageDetailsListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageDetailElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/operations.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/operations.rb index 108edb4936..bdf12c2c21 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/operations.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/operations.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -43,8 +43,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 # @@ -55,12 +55,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 @@ -114,8 +113,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -129,8 +128,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -143,12 +142,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -201,12 +199,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/reservations_details.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/reservations_details.rb index 9565293033..3be5522357 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/reservations_details.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/reservations_details.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [ReservationDetailsListResult] operation results. # - def list(scope, filter, custom_headers:nil) - response = list_async(scope, filter, custom_headers:custom_headers).value! + def list(scope, filter, custom_headers = nil) + response = list_async(scope, filter, custom_headers).value! response.body unless response.nil? end @@ -55,8 +55,8 @@ def list(scope, filter, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(scope, filter, custom_headers:nil) - list_async(scope, filter, custom_headers:custom_headers).value! + def list_with_http_info(scope, filter, custom_headers = nil) + list_async(scope, filter, custom_headers).value! end # @@ -73,14 +73,13 @@ def list_with_http_info(scope, filter, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(scope, filter, custom_headers:nil) + def list_async(scope, filter, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'filter is nil' if filter.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_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/reservations_summaries.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/reservations_summaries.rb index 607a520474..135359cb87 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/reservations_summaries.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/reservations_summaries.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [ReservationSummariesListResult] operation results. # - def list(scope, grain, filter:nil, custom_headers:nil) - response = list_async(scope, grain, filter:filter, custom_headers:custom_headers).value! + def list(scope, grain, filter = nil, custom_headers = nil) + response = list_async(scope, grain, filter, custom_headers).value! response.body unless response.nil? end @@ -59,8 +59,8 @@ def list(scope, grain, filter:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(scope, grain, filter:nil, custom_headers:nil) - list_async(scope, grain, filter:filter, custom_headers:custom_headers).value! + def list_with_http_info(scope, grain, filter = nil, custom_headers = nil) + list_async(scope, grain, filter, custom_headers).value! end # @@ -79,14 +79,13 @@ def list_with_http_info(scope, grain, filter:nil, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(scope, grain, filter:nil, custom_headers:nil) + def list_async(scope, grain, filter = nil, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? fail ArgumentError, 'grain is nil' if grain.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_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/usage_details.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/usage_details.rb index d2d9ff2867..759321a6e4 100644 --- a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/usage_details.rb +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/usage_details.rb @@ -50,8 +50,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - first_page = list_as_lazy(scope, expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers) + def list(scope, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + first_page = list_as_lazy(scope, expand, filter, skiptoken, top, custom_headers) first_page.get_all_items end @@ -83,8 +83,8 @@ def list(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - list_async(scope, expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def list_with_http_info(scope, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + list_async(scope, expand, filter, skiptoken, top, custom_headers).value! end # @@ -115,15 +115,12 @@ def list_with_http_info(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) + def list_async(scope, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) fail ArgumentError, 'scope is nil' if scope.nil? - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !top.nil? && top > 1000 - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1 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 @@ -179,8 +176,8 @@ def list_async(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_hea # # @return [UsageDetailsListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -195,8 +192,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -210,12 +207,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -288,12 +284,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsageDetailsListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(scope, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - response = list_async(scope, expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def list_as_lazy(scope, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + response = list_async(scope, expand, filter, skiptoken, top, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/version.rb b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/version.rb new file mode 100644 index 0000000000..124816ffd2 --- /dev/null +++ b/management/azure_mgmt_consumption/lib/2017-11-30/generated/azure_mgmt_consumption/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::Consumption::Mgmt::V2017_11_30 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/budgets.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/budgets.rb index 6ec6b8d3cc..155c8d24f5 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/budgets.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/budgets.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [BudgetsListResult] 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 @@ -43,8 +43,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 # @@ -55,13 +55,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -114,8 +113,8 @@ def list_async(custom_headers:nil) # # @return [Budget] operation results. # - def get(custom_headers:nil) - response = get_async(custom_headers:custom_headers).value! + def get(custom_headers = nil) + response = get_async(custom_headers).value! response.body unless response.nil? end @@ -127,8 +126,8 @@ def get(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(custom_headers:nil) - get_async(custom_headers:custom_headers).value! + def get_with_http_info(custom_headers = nil) + get_async(custom_headers).value! end # @@ -139,14 +138,13 @@ def get_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(custom_headers:nil) + def get_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.name is nil' if @client.name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,8 +201,8 @@ def get_async(custom_headers:nil) # # @return [Budget] operation results. # - def create_or_update(parameters, custom_headers:nil) - response = create_or_update_async(parameters, custom_headers:custom_headers).value! + def create_or_update(parameters, custom_headers = nil) + response = create_or_update_async(parameters, custom_headers).value! response.body unless response.nil? end @@ -220,8 +218,8 @@ def create_or_update(parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(parameters, custom_headers:nil) - create_or_update_async(parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(parameters, custom_headers = nil) + create_or_update_async(parameters, custom_headers).value! end # @@ -236,7 +234,7 @@ def create_or_update_with_http_info(parameters, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(parameters, custom_headers:nil) + def create_or_update_async(parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.name is nil' if @client.name.nil? @@ -244,12 +242,13 @@ def create_or_update_async(parameters, 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 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::Consumption::Mgmt::V2017_12_30_preview::Models::Budget.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -313,8 +312,8 @@ def create_or_update_async(parameters, custom_headers:nil) # will be added to the HTTP request. # # - def delete(custom_headers:nil) - response = delete_async(custom_headers:custom_headers).value! + def delete(custom_headers = nil) + response = delete_async(custom_headers).value! nil end @@ -326,8 +325,8 @@ def delete(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(custom_headers:nil) - delete_async(custom_headers:custom_headers).value! + def delete_with_http_info(custom_headers = nil) + delete_async(custom_headers).value! end # @@ -338,14 +337,13 @@ def delete_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(custom_headers:nil) + def delete_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.name is nil' if @client.name.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_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/consumption_management_client.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/consumption_management_client.rb index 7e5a281e8c..afde1bb665 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/consumption_management_client.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/consumption_management_client.rb @@ -112,9 +112,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? @@ -131,7 +128,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_consumption' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Consumption::Mgmt::V2017_12_30_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::Consumption::Mgmt::V2017_12_30_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budget.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budget.rb index 1dd1e9d937..55036858b9 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budget.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budget.rb @@ -47,7 +47,6 @@ class Budget < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Budget', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'Budget', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -64,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +70,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -82,7 +78,6 @@ def self.mapper() } }, e_tag: { - client_side_validation: true, required: false, serialized_name: 'eTag', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, category: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.category', @@ -100,7 +94,6 @@ def self.mapper() } }, amount: { - client_side_validation: true, required: true, serialized_name: 'properties.amount', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, time_grain: { - client_side_validation: true, required: true, serialized_name: 'properties.timeGrain', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, time_period: { - client_side_validation: true, required: true, serialized_name: 'properties.timePeriod', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, current_spend: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentSpend', @@ -135,13 +125,11 @@ def self.mapper() } }, notifications: { - client_side_validation: true, required: false, serialized_name: 'properties.notifications', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'NotificationElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budget_time_period.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budget_time_period.rb index 56452910ed..9a5d7119e2 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budget_time_period.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budget_time_period.rb @@ -26,7 +26,6 @@ class BudgetTimePeriod # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BudgetTimePeriod', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'BudgetTimePeriod', model_properties: { start_date: { - client_side_validation: true, required: true, serialized_name: 'startDate', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, end_date: { - client_side_validation: true, required: false, serialized_name: 'endDate', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budgets_list_result.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budgets_list_result.rb index 931ca6e744..2c7ce3ee0c 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budgets_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/budgets_list_result.rb @@ -23,7 +23,6 @@ class BudgetsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BudgetsListResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'BudgetsListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BudgetElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/current_spend.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/current_spend.rb index 5e8692da3c..27ba38a9d5 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/current_spend.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/current_spend.rb @@ -25,7 +25,6 @@ class CurrentSpend # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CurrentSpend', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'CurrentSpend', model_properties: { amount: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'amount', @@ -42,7 +40,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/error_details.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/error_details.rb index aa47329ae8..d0216655c9 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/error_details.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/error_details.rb @@ -25,7 +25,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -42,7 +40,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/error_response.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/error_response.rb index 103e4d922e..cf154821c6 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/error_response.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/error_response.rb @@ -23,7 +23,6 @@ class ErrorResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorResponse', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ErrorResponse', model_properties: { error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/notification.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/notification.rb index 33d77963c5..21bec24836 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/notification.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/notification.rb @@ -39,7 +39,6 @@ class Notification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Notification', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'Notification', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, operator: { - client_side_validation: true, required: true, serialized_name: 'operator', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, threshold: { - client_side_validation: true, required: true, serialized_name: 'threshold', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, contact_emails: { - client_side_validation: true, required: true, serialized_name: 'contactEmails', constraints: { @@ -81,7 +76,6 @@ def self.mapper() type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,13 +85,11 @@ def self.mapper() } }, contact_roles: { - client_side_validation: true, required: false, serialized_name: 'contactRoles', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation.rb index 31d8a26158..55b6081b6f 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation.rb @@ -25,7 +25,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation_display.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation_display.rb index 8a455352bf..160a365dd5 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation_display.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation_display.rb @@ -29,7 +29,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'provider', @@ -46,7 +44,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resource', @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'operation', diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation_list_result.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation_list_result.rb index 9806fb3790..d4640ce30e 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,14 +67,12 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/proxy_resource.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/proxy_resource.rb index 5591a3be84..55c24fecf8 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/proxy_resource.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/models/proxy_resource.rb @@ -33,7 +33,6 @@ class ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ProxyResource', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'ProxyResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, e_tag: { - client_side_validation: true, required: false, serialized_name: 'eTag', type: { diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/operations.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/operations.rb index 6092bbf23e..9365ac87f4 100644 --- a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/operations.rb +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/operations.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -43,8 +43,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 # @@ -55,12 +55,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 @@ -114,8 +113,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -129,8 +128,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -143,12 +142,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -201,12 +199,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/version.rb b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/version.rb new file mode 100644 index 0000000000..09713aaef2 --- /dev/null +++ b/management/azure_mgmt_consumption/lib/2017-12-30-preview/generated/azure_mgmt_consumption/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::Consumption::Mgmt::V2017_12_30_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/budgets.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/budgets.rb index 9395c84355..8b855568eb 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/budgets.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/budgets.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -43,8 +43,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 # @@ -55,13 +55,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group_name(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_name_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group_name(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_name_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -129,8 +128,8 @@ def list_by_resource_group_name(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_name_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_name_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_name_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_name_async(resource_group_name, custom_headers).value! end # @@ -142,14 +141,13 @@ def list_by_resource_group_name_with_http_info(resource_group_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_name_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_name_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,8 +201,8 @@ def list_by_resource_group_name_async(resource_group_name, custom_headers:nil) # # @return [Budget] operation results. # - def get(budget_name, custom_headers:nil) - response = get_async(budget_name, custom_headers:custom_headers).value! + def get(budget_name, custom_headers = nil) + response = get_async(budget_name, custom_headers).value! response.body unless response.nil? end @@ -217,8 +215,8 @@ def get(budget_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(budget_name, custom_headers:nil) - get_async(budget_name, custom_headers:custom_headers).value! + def get_with_http_info(budget_name, custom_headers = nil) + get_async(budget_name, custom_headers).value! end # @@ -230,14 +228,13 @@ def get_with_http_info(budget_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(budget_name, custom_headers:nil) + def get_async(budget_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'budget_name is nil' if budget_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -295,8 +292,8 @@ def get_async(budget_name, custom_headers:nil) # # @return [Budget] operation results. # - def create_or_update(budget_name, parameters, custom_headers:nil) - response = create_or_update_async(budget_name, parameters, custom_headers:custom_headers).value! + def create_or_update(budget_name, parameters, custom_headers = nil) + response = create_or_update_async(budget_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -313,8 +310,8 @@ def create_or_update(budget_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(budget_name, parameters, custom_headers:nil) - create_or_update_async(budget_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(budget_name, parameters, custom_headers = nil) + create_or_update_async(budget_name, parameters, custom_headers).value! end # @@ -330,7 +327,7 @@ def create_or_update_with_http_info(budget_name, parameters, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(budget_name, parameters, custom_headers:nil) + def create_or_update_async(budget_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'budget_name is nil' if budget_name.nil? @@ -338,12 +335,13 @@ def create_or_update_async(budget_name, parameters, 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 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::Consumption::Mgmt::V2018_01_31::Models::Budget.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -408,8 +406,8 @@ def create_or_update_async(budget_name, parameters, custom_headers:nil) # will be added to the HTTP request. # # - def delete(budget_name, custom_headers:nil) - response = delete_async(budget_name, custom_headers:custom_headers).value! + def delete(budget_name, custom_headers = nil) + response = delete_async(budget_name, custom_headers).value! nil end @@ -422,8 +420,8 @@ def delete(budget_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(budget_name, custom_headers:nil) - delete_async(budget_name, custom_headers:custom_headers).value! + def delete_with_http_info(budget_name, custom_headers = nil) + delete_async(budget_name, custom_headers).value! end # @@ -435,14 +433,13 @@ def delete_with_http_info(budget_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(budget_name, custom_headers:nil) + def delete_async(budget_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'budget_name is nil' if budget_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -487,8 +484,8 @@ def delete_async(budget_name, custom_headers:nil) # # @return [Budget] operation results. # - def get_by_resource_group_name(resource_group_name, budget_name, custom_headers:nil) - response = get_by_resource_group_name_async(resource_group_name, budget_name, custom_headers:custom_headers).value! + def get_by_resource_group_name(resource_group_name, budget_name, custom_headers = nil) + response = get_by_resource_group_name_async(resource_group_name, budget_name, custom_headers).value! response.body unless response.nil? end @@ -502,8 +499,8 @@ def get_by_resource_group_name(resource_group_name, budget_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_by_resource_group_name_with_http_info(resource_group_name, budget_name, custom_headers:nil) - get_by_resource_group_name_async(resource_group_name, budget_name, custom_headers:custom_headers).value! + def get_by_resource_group_name_with_http_info(resource_group_name, budget_name, custom_headers = nil) + get_by_resource_group_name_async(resource_group_name, budget_name, custom_headers).value! end # @@ -516,7 +513,7 @@ def get_by_resource_group_name_with_http_info(resource_group_name, budget_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_by_resource_group_name_async(resource_group_name, budget_name, custom_headers:nil) + def get_by_resource_group_name_async(resource_group_name, budget_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -524,7 +521,6 @@ def get_by_resource_group_name_async(resource_group_name, budget_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -583,8 +579,8 @@ def get_by_resource_group_name_async(resource_group_name, budget_name, custom_he # # @return [Budget] operation results. # - def create_or_update_by_resource_group_name(resource_group_name, budget_name, parameters, custom_headers:nil) - response = create_or_update_by_resource_group_name_async(resource_group_name, budget_name, parameters, custom_headers:custom_headers).value! + def create_or_update_by_resource_group_name(resource_group_name, budget_name, parameters, custom_headers = nil) + response = create_or_update_by_resource_group_name_async(resource_group_name, budget_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -602,8 +598,8 @@ def create_or_update_by_resource_group_name(resource_group_name, budget_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_by_resource_group_name_with_http_info(resource_group_name, budget_name, parameters, custom_headers:nil) - create_or_update_by_resource_group_name_async(resource_group_name, budget_name, parameters, custom_headers:custom_headers).value! + def create_or_update_by_resource_group_name_with_http_info(resource_group_name, budget_name, parameters, custom_headers = nil) + create_or_update_by_resource_group_name_async(resource_group_name, budget_name, parameters, custom_headers).value! end # @@ -620,7 +616,7 @@ def create_or_update_by_resource_group_name_with_http_info(resource_group_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_by_resource_group_name_async(resource_group_name, budget_name, parameters, custom_headers:nil) + def create_or_update_by_resource_group_name_async(resource_group_name, budget_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -629,12 +625,13 @@ def create_or_update_by_resource_group_name_async(resource_group_name, budget_na 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::Consumption::Mgmt::V2018_01_31::Models::Budget.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -700,8 +697,8 @@ def create_or_update_by_resource_group_name_async(resource_group_name, budget_na # will be added to the HTTP request. # # - def delete_by_resource_group_name(resource_group_name, budget_name, custom_headers:nil) - response = delete_by_resource_group_name_async(resource_group_name, budget_name, custom_headers:custom_headers).value! + def delete_by_resource_group_name(resource_group_name, budget_name, custom_headers = nil) + response = delete_by_resource_group_name_async(resource_group_name, budget_name, custom_headers).value! nil end @@ -715,8 +712,8 @@ def delete_by_resource_group_name(resource_group_name, budget_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_by_resource_group_name_with_http_info(resource_group_name, budget_name, custom_headers:nil) - delete_by_resource_group_name_async(resource_group_name, budget_name, custom_headers:custom_headers).value! + def delete_by_resource_group_name_with_http_info(resource_group_name, budget_name, custom_headers = nil) + delete_by_resource_group_name_async(resource_group_name, budget_name, custom_headers).value! end # @@ -729,7 +726,7 @@ def delete_by_resource_group_name_with_http_info(resource_group_name, budget_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_by_resource_group_name_async(resource_group_name, budget_name, custom_headers:nil) + def delete_by_resource_group_name_async(resource_group_name, budget_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -737,7 +734,6 @@ def delete_by_resource_group_name_async(resource_group_name, budget_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -782,8 +778,8 @@ def delete_by_resource_group_name_async(resource_group_name, budget_name, custom # # @return [BudgetsListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -797,8 +793,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -811,12 +807,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -870,8 +865,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [BudgetsListResult] operation results. # - def list_by_resource_group_name_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_name_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_name_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_name_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -885,8 +880,8 @@ def list_by_resource_group_name_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_name_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_name_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_name_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_name_next_async(next_page_link, custom_headers).value! end # @@ -899,12 +894,11 @@ def list_by_resource_group_name_next_with_http_info(next_page_link, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_name_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_name_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -957,12 +951,12 @@ def list_by_resource_group_name_next_async(next_page_link, custom_headers:nil) # @return [BudgetsListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -978,12 +972,12 @@ def list_as_lazy(custom_headers:nil) # @return [BudgetsListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_name_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_name_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_name_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_name_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_name_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_name_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/consumption_management_client.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/consumption_management_client.rb index 889df8ecf4..9f8cf45a4f 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/consumption_management_client.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/consumption_management_client.rb @@ -129,9 +129,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? @@ -148,7 +145,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_consumption' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Consumption::Mgmt::V2018_01_31::VERSION + sdk_information = "#{sdk_information}/#{Azure::Consumption::Mgmt::V2018_01_31::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/marketplaces.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/marketplaces.rb index 382bacd35f..b2f721e083 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/marketplaces.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/marketplaces.rb @@ -42,8 +42,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(filter:nil, top:nil, skiptoken:nil, custom_headers:nil) - first_page = list_as_lazy(filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers) + def list(filter = nil, top = nil, skiptoken = nil, custom_headers = nil) + first_page = list_as_lazy(filter, top, skiptoken, custom_headers) first_page.get_all_items end @@ -67,8 +67,8 @@ def list(filter:nil, top:nil, skiptoken:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(filter:nil, top:nil, skiptoken:nil, custom_headers:nil) - list_async(filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value! + def list_with_http_info(filter = nil, top = nil, skiptoken = nil, custom_headers = nil) + list_async(filter, top, skiptoken, custom_headers).value! end # @@ -91,15 +91,12 @@ def list_with_http_info(filter:nil, top:nil, skiptoken:nil, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(filter:nil, top:nil, skiptoken:nil, custom_headers:nil) - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !top.nil? && top > 1000 - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1 + def list_async(filter = nil, top = nil, skiptoken = nil, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -165,8 +162,8 @@ def list_async(filter:nil, top:nil, skiptoken:nil, custom_headers:nil) # # @return [Array] operation results. # - def list_by_billing_period(billing_period_name, filter:nil, top:nil, skiptoken:nil, custom_headers:nil) - first_page = list_by_billing_period_as_lazy(billing_period_name, filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers) + def list_by_billing_period(billing_period_name, filter = nil, top = nil, skiptoken = nil, custom_headers = nil) + first_page = list_by_billing_period_as_lazy(billing_period_name, filter, top, skiptoken, custom_headers) first_page.get_all_items end @@ -191,8 +188,8 @@ def list_by_billing_period(billing_period_name, filter:nil, top:nil, skiptoken:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_billing_period_with_http_info(billing_period_name, filter:nil, top:nil, skiptoken:nil, custom_headers:nil) - list_by_billing_period_async(billing_period_name, filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value! + def list_by_billing_period_with_http_info(billing_period_name, filter = nil, top = nil, skiptoken = nil, custom_headers = nil) + list_by_billing_period_async(billing_period_name, filter, top, skiptoken, custom_headers).value! end # @@ -216,16 +213,13 @@ def list_by_billing_period_with_http_info(billing_period_name, filter:nil, top:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_billing_period_async(billing_period_name, filter:nil, top:nil, skiptoken:nil, custom_headers:nil) - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !top.nil? && top > 1000 - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1 + def list_by_billing_period_async(billing_period_name, filter = nil, top = nil, skiptoken = nil, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'billing_period_name is nil' if billing_period_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -281,8 +275,8 @@ def list_by_billing_period_async(billing_period_name, filter:nil, top:nil, skipt # # @return [MarketplacesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -297,8 +291,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -312,12 +306,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -372,8 +365,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [MarketplacesListResult] operation results. # - def list_by_billing_period_next(next_page_link, custom_headers:nil) - response = list_by_billing_period_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_billing_period_next(next_page_link, custom_headers = nil) + response = list_by_billing_period_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -388,8 +381,8 @@ def list_by_billing_period_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_billing_period_next_with_http_info(next_page_link, custom_headers:nil) - list_by_billing_period_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_billing_period_next_with_http_info(next_page_link, custom_headers = nil) + list_by_billing_period_next_async(next_page_link, custom_headers).value! end # @@ -403,12 +396,11 @@ def list_by_billing_period_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_billing_period_next_async(next_page_link, custom_headers:nil) + def list_by_billing_period_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -473,12 +465,12 @@ def list_by_billing_period_next_async(next_page_link, custom_headers:nil) # @return [MarketplacesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(filter:nil, top:nil, skiptoken:nil, custom_headers:nil) - response = list_async(filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value! + def list_as_lazy(filter = nil, top = nil, skiptoken = nil, custom_headers = nil) + response = list_async(filter, top, skiptoken, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -506,12 +498,12 @@ def list_as_lazy(filter:nil, top:nil, skiptoken:nil, custom_headers:nil) # @return [MarketplacesListResult] which provide lazy access to pages of the # response. # - def list_by_billing_period_as_lazy(billing_period_name, filter:nil, top:nil, skiptoken:nil, custom_headers:nil) - response = list_by_billing_period_async(billing_period_name, filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value! + def list_by_billing_period_as_lazy(billing_period_name, filter = nil, top = nil, skiptoken = nil, custom_headers = nil) + response = list_by_billing_period_async(billing_period_name, filter, top, skiptoken, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_billing_period_next_async(next_page_link, custom_headers:custom_headers) + list_by_billing_period_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budget.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budget.rb index e5d94d7c96..43ea93c330 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budget.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budget.rb @@ -51,7 +51,6 @@ class Budget < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Budget', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'Budget', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, e_tag: { - client_side_validation: true, required: false, serialized_name: 'eTag', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, category: { - client_side_validation: true, required: true, serialized_name: 'properties.category', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, amount: { - client_side_validation: true, required: true, serialized_name: 'properties.amount', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, time_grain: { - client_side_validation: true, required: true, serialized_name: 'properties.timeGrain', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, time_period: { - client_side_validation: true, required: true, serialized_name: 'properties.timePeriod', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, current_spend: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentSpend', @@ -146,13 +135,11 @@ def self.mapper() } }, notifications: { - client_side_validation: true, required: false, serialized_name: 'properties.notifications', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'NotificationElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budget_time_period.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budget_time_period.rb index 6b8a4afea0..51a9b84378 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budget_time_period.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budget_time_period.rb @@ -26,7 +26,6 @@ class BudgetTimePeriod # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BudgetTimePeriod', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'BudgetTimePeriod', model_properties: { start_date: { - client_side_validation: true, required: true, serialized_name: 'startDate', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, end_date: { - client_side_validation: true, required: false, serialized_name: 'endDate', type: { diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budgets_list_result.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budgets_list_result.rb index 9ebb8c99e0..4d9cc9d358 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budgets_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/budgets_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BudgetsListResult', type: { @@ -66,14 +65,12 @@ def self.mapper() class_name: 'BudgetsListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BudgetElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/current_spend.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/current_spend.rb index 6fbbfe8a30..f2f624014a 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/current_spend.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/current_spend.rb @@ -25,7 +25,6 @@ class CurrentSpend # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CurrentSpend', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'CurrentSpend', model_properties: { amount: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'amount', @@ -42,7 +40,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/error_details.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/error_details.rb index 7a471e3402..a053e28525 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/error_details.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/error_details.rb @@ -25,7 +25,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -42,7 +40,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/error_response.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/error_response.rb index 103d1adf4f..6d9f71312f 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/error_response.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/error_response.rb @@ -23,7 +23,6 @@ class ErrorResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorResponse', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ErrorResponse', model_properties: { error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/filters.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/filters.rb index 5ebe5affda..a83cfa9e0b 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/filters.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/filters.rb @@ -30,7 +30,6 @@ class Filters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Filters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'Filters', model_properties: { resource_groups: { - client_side_validation: true, required: false, serialized_name: 'resourceGroups', constraints: { @@ -48,7 +46,6 @@ def self.mapper() type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', constraints: { @@ -68,7 +64,6 @@ def self.mapper() type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, meters: { - client_side_validation: true, required: false, serialized_name: 'meters', constraints: { @@ -88,7 +82,6 @@ def self.mapper() type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb index a66dc7b78d..a918bef872 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb @@ -99,7 +99,6 @@ class Marketplace < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Marketplace', type: { @@ -107,7 +106,6 @@ def self.mapper() class_name: 'Marketplace', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -116,7 +114,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -125,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -134,14 +130,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +145,6 @@ def self.mapper() } }, billing_period_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingPeriodId', @@ -160,7 +153,6 @@ def self.mapper() } }, usage_start: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageStart', @@ -169,7 +161,6 @@ def self.mapper() } }, usage_end: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageEnd', @@ -178,7 +169,6 @@ def self.mapper() } }, resource_rate: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceRate', @@ -187,7 +177,6 @@ def self.mapper() } }, offer_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.offerName', @@ -196,7 +185,6 @@ def self.mapper() } }, resource_group: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGroup', @@ -205,7 +193,6 @@ def self.mapper() } }, order_number: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.orderNumber', @@ -214,7 +201,6 @@ def self.mapper() } }, instance_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceName', @@ -223,7 +209,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceId', @@ -232,7 +217,6 @@ def self.mapper() } }, currency: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currency', @@ -241,7 +225,6 @@ def self.mapper() } }, consumed_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.consumedQuantity', @@ -250,7 +233,6 @@ def self.mapper() } }, unit_of_measure: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.unitOfMeasure', @@ -259,7 +241,6 @@ def self.mapper() } }, pretax_cost: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.pretaxCost', @@ -268,7 +249,6 @@ def self.mapper() } }, is_estimated: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isEstimated', @@ -277,7 +257,6 @@ def self.mapper() } }, meter_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterId', @@ -286,7 +265,6 @@ def self.mapper() } }, subscription_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subscriptionGuid', @@ -295,7 +273,6 @@ def self.mapper() } }, subscription_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subscriptionName', @@ -304,7 +281,6 @@ def self.mapper() } }, account_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accountName', @@ -313,7 +289,6 @@ def self.mapper() } }, department_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.departmentName', @@ -322,7 +297,6 @@ def self.mapper() } }, consumed_service: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.consumedService', @@ -331,7 +305,6 @@ def self.mapper() } }, cost_center: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.costCenter', @@ -340,7 +313,6 @@ def self.mapper() } }, additional_properties: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.additionalProperties', @@ -349,7 +321,6 @@ def self.mapper() } }, publisher_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.publisherName', @@ -358,7 +329,6 @@ def self.mapper() } }, plan_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.planName', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplaces_list_result.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplaces_list_result.rb index 7d9a397565..5350cd0732 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplaces_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplaces_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MarketplacesListResult', type: { @@ -66,14 +65,12 @@ def self.mapper() class_name: 'MarketplacesListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MarketplaceElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/meter_details.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/meter_details.rb index ad982a2fe9..a4e911b7bb 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/meter_details.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/meter_details.rb @@ -43,7 +43,6 @@ class MeterDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MeterDetails', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'MeterDetails', model_properties: { meter_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterName', @@ -60,7 +58,6 @@ def self.mapper() } }, meter_category: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterCategory', @@ -69,7 +66,6 @@ def self.mapper() } }, meter_sub_category: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterSubCategory', @@ -78,7 +74,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -87,7 +82,6 @@ def self.mapper() } }, meter_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterLocation', @@ -96,7 +90,6 @@ def self.mapper() } }, total_included_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'totalIncludedQuantity', @@ -105,7 +98,6 @@ def self.mapper() } }, pretax_standard_rate: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'pretaxStandardRate', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/notification.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/notification.rb index ba3ab17090..6b1cec638c 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/notification.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/notification.rb @@ -43,7 +43,6 @@ class Notification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Notification', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'Notification', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, operator: { - client_side_validation: true, required: true, serialized_name: 'operator', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, threshold: { - client_side_validation: true, required: true, serialized_name: 'threshold', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, contact_emails: { - client_side_validation: true, required: true, serialized_name: 'contactEmails', constraints: { @@ -85,7 +80,6 @@ def self.mapper() type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -95,13 +89,11 @@ def self.mapper() } }, contact_roles: { - client_side_validation: true, required: false, serialized_name: 'contactRoles', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, contact_groups: { - client_side_validation: true, required: false, serialized_name: 'contactGroups', constraints: { @@ -121,7 +112,6 @@ def self.mapper() type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation.rb index 753258f41d..0ae4b63045 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation.rb @@ -25,7 +25,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation_display.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation_display.rb index 287397f608..553b3fc16a 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation_display.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation_display.rb @@ -29,7 +29,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'provider', @@ -46,7 +44,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resource', @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'operation', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation_list_result.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation_list_result.rb index 62bdb81f5d..a4aa2899aa 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,14 +67,12 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb index 559b82c4e1..8560070ca7 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb @@ -45,7 +45,6 @@ class PriceSheetProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PriceSheetProperties', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PriceSheetProperties', model_properties: { billing_period_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'billingPeriodId', @@ -62,7 +60,6 @@ def self.mapper() } }, meter_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterId', @@ -71,7 +68,6 @@ def self.mapper() } }, meter_details: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterDetails', @@ -81,7 +77,6 @@ def self.mapper() } }, unit_of_measure: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unitOfMeasure', @@ -90,7 +85,6 @@ def self.mapper() } }, included_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'includedQuantity', @@ -99,7 +93,6 @@ def self.mapper() } }, part_number: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'partNumber', @@ -108,7 +101,6 @@ def self.mapper() } }, unit_price: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unitPrice', @@ -117,7 +109,6 @@ def self.mapper() } }, currency_code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currencyCode', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/price_sheet_result.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/price_sheet_result.rb index e9eec9d65b..8da3e44c5d 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/price_sheet_result.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/price_sheet_result.rb @@ -25,7 +25,6 @@ class PriceSheetResult < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PriceSheetResult', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'PriceSheetResult', 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,14 +56,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -77,14 +71,12 @@ def self.mapper() } }, pricesheets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.pricesheets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PriceSheetPropertiesElementType', type: { @@ -95,7 +87,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.nextLink', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/proxy_resource.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/proxy_resource.rb index 5158aad603..d9f2204bd9 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/proxy_resource.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/proxy_resource.rb @@ -33,7 +33,6 @@ class ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ProxyResource', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'ProxyResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, e_tag: { - client_side_validation: true, required: false, serialized_name: 'eTag', type: { diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_details.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_details.rb index a910ca2741..65500c5ccf 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_details.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_details.rb @@ -55,7 +55,6 @@ class ReservationDetails < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReservationDetails', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'ReservationDetails', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -72,7 +70,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -81,7 +78,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -90,14 +86,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, reservation_order_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservationOrderId', @@ -116,7 +109,6 @@ def self.mapper() } }, reservation_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservationId', @@ -125,7 +117,6 @@ def self.mapper() } }, sku_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.skuName', @@ -134,7 +125,6 @@ def self.mapper() } }, reserved_hours: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservedHours', @@ -143,7 +133,6 @@ def self.mapper() } }, usage_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageDate', @@ -152,7 +141,6 @@ def self.mapper() } }, used_hours: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usedHours', @@ -161,7 +149,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceId', @@ -170,7 +157,6 @@ def self.mapper() } }, total_reserved_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.totalReservedQuantity', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_details_list_result.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_details_list_result.rb index d08ebe2274..a3827e791c 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_details_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_details_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReservationDetailsListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'ReservationDetailsListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ReservationDetailsElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_summaries.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_summaries.rb index c15d8fd69e..72b7968b02 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_summaries.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_summaries.rb @@ -64,7 +64,6 @@ class ReservationSummaries < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReservationSummaries', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'ReservationSummaries', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -81,7 +79,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -90,7 +87,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -99,14 +95,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, reservation_order_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservationOrderId', @@ -125,7 +118,6 @@ def self.mapper() } }, reservation_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservationId', @@ -134,7 +126,6 @@ def self.mapper() } }, sku_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.skuName', @@ -143,7 +134,6 @@ def self.mapper() } }, reserved_hours: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservedHours', @@ -152,7 +142,6 @@ def self.mapper() } }, usage_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageDate', @@ -161,7 +150,6 @@ def self.mapper() } }, used_hours: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usedHours', @@ -170,7 +158,6 @@ def self.mapper() } }, min_utilization_percentage: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.minUtilizationPercentage', @@ -179,7 +166,6 @@ def self.mapper() } }, avg_utilization_percentage: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.avgUtilizationPercentage', @@ -188,7 +174,6 @@ def self.mapper() } }, max_utilization_percentage: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxUtilizationPercentage', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_summaries_list_result.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_summaries_list_result.rb index 1185d74df4..4cd3881004 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_summaries_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/reservation_summaries_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReservationSummariesListResult', type: { @@ -66,14 +65,12 @@ def self.mapper() class_name: 'ReservationSummariesListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ReservationSummariesElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/resource.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/resource.rb index 8fc338e387..87a57f209d 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/resource.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/resource.rb @@ -31,7 +31,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -66,14 +62,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/usage_detail.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/usage_detail.rb index a81eb0fefe..850c701f4a 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/usage_detail.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/usage_detail.rb @@ -96,7 +96,6 @@ class UsageDetail < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageDetail', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'UsageDetail', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -113,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -122,7 +119,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,14 +127,12 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -148,7 +142,6 @@ def self.mapper() } }, billing_period_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingPeriodId', @@ -157,7 +150,6 @@ def self.mapper() } }, invoice_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.invoiceId', @@ -166,7 +158,6 @@ def self.mapper() } }, usage_start: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageStart', @@ -175,7 +166,6 @@ def self.mapper() } }, usage_end: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageEnd', @@ -184,7 +174,6 @@ def self.mapper() } }, instance_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceName', @@ -193,7 +182,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceId', @@ -202,7 +190,6 @@ def self.mapper() } }, instance_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceLocation', @@ -211,7 +198,6 @@ def self.mapper() } }, currency: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currency', @@ -220,7 +206,6 @@ def self.mapper() } }, usage_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageQuantity', @@ -229,7 +214,6 @@ def self.mapper() } }, billable_quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billableQuantity', @@ -238,7 +222,6 @@ def self.mapper() } }, pretax_cost: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.pretaxCost', @@ -247,7 +230,6 @@ def self.mapper() } }, is_estimated: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isEstimated', @@ -256,7 +238,6 @@ def self.mapper() } }, meter_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterId', @@ -265,7 +246,6 @@ def self.mapper() } }, meter_details: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterDetails', @@ -275,7 +255,6 @@ def self.mapper() } }, subscription_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subscriptionGuid', @@ -284,7 +263,6 @@ def self.mapper() } }, subscription_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subscriptionName', @@ -293,7 +271,6 @@ def self.mapper() } }, account_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accountName', @@ -302,7 +279,6 @@ def self.mapper() } }, department_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.departmentName', @@ -311,7 +287,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.product', @@ -320,7 +295,6 @@ def self.mapper() } }, consumed_service: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.consumedService', @@ -329,7 +303,6 @@ def self.mapper() } }, cost_center: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.costCenter', @@ -338,7 +311,6 @@ def self.mapper() } }, additional_properties: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.additionalProperties', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/usage_details_list_result.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/usage_details_list_result.rb index e176036d1f..8993919007 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/usage_details_list_result.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/models/usage_details_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageDetailsListResult', type: { @@ -66,14 +65,12 @@ def self.mapper() class_name: 'UsageDetailsListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageDetailElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/operations.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/operations.rb index 86ba54dc5c..8f2525be1c 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/operations.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/operations.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -43,8 +43,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 # @@ -55,12 +55,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 @@ -114,8 +113,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -129,8 +128,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -143,12 +142,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -201,12 +199,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/price_sheet.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/price_sheet.rb index da2bd266c9..e0db79e10f 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/price_sheet.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/price_sheet.rb @@ -40,8 +40,8 @@ def initialize(client) # # @return [PriceSheetResult] operation results. # - def get(expand:nil, skiptoken:nil, top:nil, custom_headers:nil) - response = get_async(expand:expand, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def get(expand = nil, skiptoken = nil, top = nil, custom_headers = nil) + response = get_async(expand, skiptoken, top, custom_headers).value! response.body unless response.nil? end @@ -63,8 +63,8 @@ def get(expand:nil, skiptoken:nil, top:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(expand:nil, skiptoken:nil, top:nil, custom_headers:nil) - get_async(expand:expand, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def get_with_http_info(expand = nil, skiptoken = nil, top = nil, custom_headers = nil) + get_async(expand, skiptoken, top, custom_headers).value! end # @@ -85,15 +85,12 @@ def get_with_http_info(expand:nil, skiptoken:nil, top:nil, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(expand:nil, skiptoken:nil, top:nil, custom_headers:nil) - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !top.nil? && top > 1000 - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1 + def get_async(expand = nil, skiptoken = nil, top = nil, 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 @@ -157,8 +154,8 @@ def get_async(expand:nil, skiptoken:nil, top:nil, custom_headers:nil) # # @return [PriceSheetResult] operation results. # - def get_by_billing_period(billing_period_name, expand:nil, skiptoken:nil, top:nil, custom_headers:nil) - response = get_by_billing_period_async(billing_period_name, expand:expand, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def get_by_billing_period(billing_period_name, expand = nil, skiptoken = nil, top = nil, custom_headers = nil) + response = get_by_billing_period_async(billing_period_name, expand, skiptoken, top, custom_headers).value! response.body unless response.nil? end @@ -181,8 +178,8 @@ def get_by_billing_period(billing_period_name, expand:nil, skiptoken:nil, top:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_by_billing_period_with_http_info(billing_period_name, expand:nil, skiptoken:nil, top:nil, custom_headers:nil) - get_by_billing_period_async(billing_period_name, expand:expand, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def get_by_billing_period_with_http_info(billing_period_name, expand = nil, skiptoken = nil, top = nil, custom_headers = nil) + get_by_billing_period_async(billing_period_name, expand, skiptoken, top, custom_headers).value! end # @@ -204,16 +201,13 @@ def get_by_billing_period_with_http_info(billing_period_name, expand:nil, skipto # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_by_billing_period_async(billing_period_name, expand:nil, skiptoken:nil, top:nil, custom_headers:nil) - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !top.nil? && top > 1000 - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1 + def get_by_billing_period_async(billing_period_name, expand = nil, skiptoken = nil, top = nil, 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? fail ArgumentError, 'billing_period_name is nil' if billing_period_name.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_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/reservations_details.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/reservations_details.rb index 837f27520b..c866ddd0e1 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/reservations_details.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/reservations_details.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_reservation_order(reservation_order_id, filter, custom_headers:nil) - first_page = list_by_reservation_order_as_lazy(reservation_order_id, filter, custom_headers:custom_headers) + def list_by_reservation_order(reservation_order_id, filter, custom_headers = nil) + first_page = list_by_reservation_order_as_lazy(reservation_order_id, filter, custom_headers) first_page.get_all_items end @@ -51,8 +51,8 @@ def list_by_reservation_order(reservation_order_id, filter, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_reservation_order_with_http_info(reservation_order_id, filter, custom_headers:nil) - list_by_reservation_order_async(reservation_order_id, filter, custom_headers:custom_headers).value! + def list_by_reservation_order_with_http_info(reservation_order_id, filter, custom_headers = nil) + list_by_reservation_order_async(reservation_order_id, filter, custom_headers).value! end # @@ -67,14 +67,13 @@ def list_by_reservation_order_with_http_info(reservation_order_id, filter, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_reservation_order_async(reservation_order_id, filter, custom_headers:nil) + def list_by_reservation_order_async(reservation_order_id, filter, custom_headers = nil) fail ArgumentError, 'reservation_order_id is nil' if reservation_order_id.nil? fail ArgumentError, 'filter is nil' if filter.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 @@ -132,8 +131,8 @@ def list_by_reservation_order_async(reservation_order_id, filter, custom_headers # # @return [Array] operation results. # - def list_by_reservation_order_and_reservation(reservation_order_id, reservation_id, filter, custom_headers:nil) - first_page = list_by_reservation_order_and_reservation_as_lazy(reservation_order_id, reservation_id, filter, custom_headers:custom_headers) + def list_by_reservation_order_and_reservation(reservation_order_id, reservation_id, filter, custom_headers = nil) + first_page = list_by_reservation_order_and_reservation_as_lazy(reservation_order_id, reservation_id, filter, custom_headers) first_page.get_all_items end @@ -150,8 +149,8 @@ def list_by_reservation_order_and_reservation(reservation_order_id, reservation_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_reservation_order_and_reservation_with_http_info(reservation_order_id, reservation_id, filter, custom_headers:nil) - list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, filter, custom_headers:custom_headers).value! + def list_by_reservation_order_and_reservation_with_http_info(reservation_order_id, reservation_id, filter, custom_headers = nil) + list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, filter, custom_headers).value! end # @@ -167,7 +166,7 @@ def list_by_reservation_order_and_reservation_with_http_info(reservation_order_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, filter, custom_headers:nil) + def list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, filter, custom_headers = nil) fail ArgumentError, 'reservation_order_id is nil' if reservation_order_id.nil? fail ArgumentError, 'reservation_id is nil' if reservation_id.nil? fail ArgumentError, 'filter is nil' if filter.nil? @@ -175,7 +174,6 @@ def list_by_reservation_order_and_reservation_async(reservation_order_id, reserv request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -230,8 +228,8 @@ def list_by_reservation_order_and_reservation_async(reservation_order_id, reserv # # @return [ReservationDetailsListResult] operation results. # - def list_by_reservation_order_next(next_page_link, custom_headers:nil) - response = list_by_reservation_order_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_reservation_order_next(next_page_link, custom_headers = nil) + response = list_by_reservation_order_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -245,8 +243,8 @@ def list_by_reservation_order_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_reservation_order_next_with_http_info(next_page_link, custom_headers:nil) - list_by_reservation_order_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_reservation_order_next_with_http_info(next_page_link, custom_headers = nil) + list_by_reservation_order_next_async(next_page_link, custom_headers).value! end # @@ -259,12 +257,11 @@ def list_by_reservation_order_next_with_http_info(next_page_link, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_reservation_order_next_async(next_page_link, custom_headers:nil) + def list_by_reservation_order_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -318,8 +315,8 @@ def list_by_reservation_order_next_async(next_page_link, custom_headers:nil) # # @return [ReservationDetailsListResult] operation results. # - def list_by_reservation_order_and_reservation_next(next_page_link, custom_headers:nil) - response = list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_reservation_order_and_reservation_next(next_page_link, custom_headers = nil) + response = list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -333,8 +330,8 @@ def list_by_reservation_order_and_reservation_next(next_page_link, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_reservation_order_and_reservation_next_with_http_info(next_page_link, custom_headers:nil) - list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_reservation_order_and_reservation_next_with_http_info(next_page_link, custom_headers = nil) + list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers).value! end # @@ -347,12 +344,11 @@ def list_by_reservation_order_and_reservation_next_with_http_info(next_page_link # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers:nil) + def list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -409,12 +405,12 @@ def list_by_reservation_order_and_reservation_next_async(next_page_link, custom_ # @return [ReservationDetailsListResult] which provide lazy access to pages of # the response. # - def list_by_reservation_order_as_lazy(reservation_order_id, filter, custom_headers:nil) - response = list_by_reservation_order_async(reservation_order_id, filter, custom_headers:custom_headers).value! + def list_by_reservation_order_as_lazy(reservation_order_id, filter, custom_headers = nil) + response = list_by_reservation_order_async(reservation_order_id, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_reservation_order_next_async(next_page_link, custom_headers:custom_headers) + list_by_reservation_order_next_async(next_page_link, custom_headers) end page end @@ -434,12 +430,12 @@ def list_by_reservation_order_as_lazy(reservation_order_id, filter, custom_heade # @return [ReservationDetailsListResult] which provide lazy access to pages of # the response. # - def list_by_reservation_order_and_reservation_as_lazy(reservation_order_id, reservation_id, filter, custom_headers:nil) - response = list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, filter, custom_headers:custom_headers).value! + def list_by_reservation_order_and_reservation_as_lazy(reservation_order_id, reservation_id, filter, custom_headers = nil) + response = list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers:custom_headers) + list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/reservations_summaries.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/reservations_summaries.rb index 87675a983b..71eb2854ed 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/reservations_summaries.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/reservations_summaries.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_reservation_order(reservation_order_id, grain, filter:nil, custom_headers:nil) - first_page = list_by_reservation_order_as_lazy(reservation_order_id, grain, filter:filter, custom_headers:custom_headers) + def list_by_reservation_order(reservation_order_id, grain, filter = nil, custom_headers = nil) + first_page = list_by_reservation_order_as_lazy(reservation_order_id, grain, filter, custom_headers) first_page.get_all_items end @@ -55,8 +55,8 @@ def list_by_reservation_order(reservation_order_id, grain, filter:nil, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_reservation_order_with_http_info(reservation_order_id, grain, filter:nil, custom_headers:nil) - list_by_reservation_order_async(reservation_order_id, grain, filter:filter, custom_headers:custom_headers).value! + def list_by_reservation_order_with_http_info(reservation_order_id, grain, filter = nil, custom_headers = nil) + list_by_reservation_order_async(reservation_order_id, grain, filter, custom_headers).value! end # @@ -73,14 +73,13 @@ def list_by_reservation_order_with_http_info(reservation_order_id, grain, filter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_reservation_order_async(reservation_order_id, grain, filter:nil, custom_headers:nil) + def list_by_reservation_order_async(reservation_order_id, grain, filter = nil, custom_headers = nil) fail ArgumentError, 'reservation_order_id is nil' if reservation_order_id.nil? fail ArgumentError, 'grain is nil' if grain.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 @@ -140,8 +139,8 @@ def list_by_reservation_order_async(reservation_order_id, grain, filter:nil, cus # # @return [Array] operation results. # - def list_by_reservation_order_and_reservation(reservation_order_id, reservation_id, grain, filter:nil, custom_headers:nil) - first_page = list_by_reservation_order_and_reservation_as_lazy(reservation_order_id, reservation_id, grain, filter:filter, custom_headers:custom_headers) + def list_by_reservation_order_and_reservation(reservation_order_id, reservation_id, grain, filter = nil, custom_headers = nil) + first_page = list_by_reservation_order_and_reservation_as_lazy(reservation_order_id, reservation_id, grain, filter, custom_headers) first_page.get_all_items end @@ -160,8 +159,8 @@ def list_by_reservation_order_and_reservation(reservation_order_id, reservation_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_reservation_order_and_reservation_with_http_info(reservation_order_id, reservation_id, grain, filter:nil, custom_headers:nil) - list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, grain, filter:filter, custom_headers:custom_headers).value! + def list_by_reservation_order_and_reservation_with_http_info(reservation_order_id, reservation_id, grain, filter = nil, custom_headers = nil) + list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, grain, filter, custom_headers).value! end # @@ -179,7 +178,7 @@ def list_by_reservation_order_and_reservation_with_http_info(reservation_order_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, grain, filter:nil, custom_headers:nil) + def list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, grain, filter = nil, custom_headers = nil) fail ArgumentError, 'reservation_order_id is nil' if reservation_order_id.nil? fail ArgumentError, 'reservation_id is nil' if reservation_id.nil? fail ArgumentError, 'grain is nil' if grain.nil? @@ -187,7 +186,6 @@ def list_by_reservation_order_and_reservation_async(reservation_order_id, reserv request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -242,8 +240,8 @@ def list_by_reservation_order_and_reservation_async(reservation_order_id, reserv # # @return [ReservationSummariesListResult] operation results. # - def list_by_reservation_order_next(next_page_link, custom_headers:nil) - response = list_by_reservation_order_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_reservation_order_next(next_page_link, custom_headers = nil) + response = list_by_reservation_order_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -257,8 +255,8 @@ def list_by_reservation_order_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_reservation_order_next_with_http_info(next_page_link, custom_headers:nil) - list_by_reservation_order_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_reservation_order_next_with_http_info(next_page_link, custom_headers = nil) + list_by_reservation_order_next_async(next_page_link, custom_headers).value! end # @@ -271,12 +269,11 @@ def list_by_reservation_order_next_with_http_info(next_page_link, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_reservation_order_next_async(next_page_link, custom_headers:nil) + def list_by_reservation_order_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -330,8 +327,8 @@ def list_by_reservation_order_next_async(next_page_link, custom_headers:nil) # # @return [ReservationSummariesListResult] operation results. # - def list_by_reservation_order_and_reservation_next(next_page_link, custom_headers:nil) - response = list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_reservation_order_and_reservation_next(next_page_link, custom_headers = nil) + response = list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -345,8 +342,8 @@ def list_by_reservation_order_and_reservation_next(next_page_link, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_reservation_order_and_reservation_next_with_http_info(next_page_link, custom_headers:nil) - list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_reservation_order_and_reservation_next_with_http_info(next_page_link, custom_headers = nil) + list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers).value! end # @@ -359,12 +356,11 @@ def list_by_reservation_order_and_reservation_next_with_http_info(next_page_link # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers:nil) + def list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -423,12 +419,12 @@ def list_by_reservation_order_and_reservation_next_async(next_page_link, custom_ # @return [ReservationSummariesListResult] which provide lazy access to pages # of the response. # - def list_by_reservation_order_as_lazy(reservation_order_id, grain, filter:nil, custom_headers:nil) - response = list_by_reservation_order_async(reservation_order_id, grain, filter:filter, custom_headers:custom_headers).value! + def list_by_reservation_order_as_lazy(reservation_order_id, grain, filter = nil, custom_headers = nil) + response = list_by_reservation_order_async(reservation_order_id, grain, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_reservation_order_next_async(next_page_link, custom_headers:custom_headers) + list_by_reservation_order_next_async(next_page_link, custom_headers) end page end @@ -450,12 +446,12 @@ def list_by_reservation_order_as_lazy(reservation_order_id, grain, filter:nil, c # @return [ReservationSummariesListResult] which provide lazy access to pages # of the response. # - def list_by_reservation_order_and_reservation_as_lazy(reservation_order_id, reservation_id, grain, filter:nil, custom_headers:nil) - response = list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, grain, filter:filter, custom_headers:custom_headers).value! + def list_by_reservation_order_and_reservation_as_lazy(reservation_order_id, reservation_id, grain, filter = nil, custom_headers = nil) + response = list_by_reservation_order_and_reservation_async(reservation_order_id, reservation_id, grain, filter, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers:custom_headers) + list_by_reservation_order_and_reservation_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/usage_details.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/usage_details.rb index 28c84729f1..ae43fd2587 100644 --- a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/usage_details.rb +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/usage_details.rb @@ -46,8 +46,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - first_page = list_as_lazy(expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers) + def list(expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + first_page = list_as_lazy(expand, filter, skiptoken, top, custom_headers) first_page.get_all_items end @@ -75,8 +75,8 @@ def list(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - list_async(expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def list_with_http_info(expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + list_async(expand, filter, skiptoken, top, custom_headers).value! end # @@ -103,15 +103,12 @@ def list_with_http_info(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) + def list_async(expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !top.nil? && top > 1000 - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1 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 @@ -181,8 +178,8 @@ def list_async(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:ni # # @return [Array] operation results. # - def list_by_billing_period(billing_period_name, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - first_page = list_by_billing_period_as_lazy(billing_period_name, expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers) + def list_by_billing_period(billing_period_name, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + first_page = list_by_billing_period_as_lazy(billing_period_name, expand, filter, skiptoken, top, custom_headers) first_page.get_all_items end @@ -211,8 +208,8 @@ def list_by_billing_period(billing_period_name, expand:nil, filter:nil, skiptoke # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_billing_period_with_http_info(billing_period_name, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - list_by_billing_period_async(billing_period_name, expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def list_by_billing_period_with_http_info(billing_period_name, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + list_by_billing_period_async(billing_period_name, expand, filter, skiptoken, top, custom_headers).value! end # @@ -240,16 +237,13 @@ def list_by_billing_period_with_http_info(billing_period_name, expand:nil, filte # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_billing_period_async(billing_period_name, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) + def list_by_billing_period_async(billing_period_name, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'billing_period_name is nil' if billing_period_name.nil? - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !top.nil? && top > 1000 - fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1 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 @@ -305,8 +299,8 @@ def list_by_billing_period_async(billing_period_name, expand:nil, filter:nil, sk # # @return [UsageDetailsListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -321,8 +315,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -336,12 +330,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -396,8 +389,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [UsageDetailsListResult] operation results. # - def list_by_billing_period_next(next_page_link, custom_headers:nil) - response = list_by_billing_period_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_billing_period_next(next_page_link, custom_headers = nil) + response = list_by_billing_period_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -412,8 +405,8 @@ def list_by_billing_period_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_billing_period_next_with_http_info(next_page_link, custom_headers:nil) - list_by_billing_period_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_billing_period_next_with_http_info(next_page_link, custom_headers = nil) + list_by_billing_period_next_async(next_page_link, custom_headers).value! end # @@ -427,12 +420,11 @@ def list_by_billing_period_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_billing_period_next_async(next_page_link, custom_headers:nil) + def list_by_billing_period_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -501,12 +493,12 @@ def list_by_billing_period_next_async(next_page_link, custom_headers:nil) # @return [UsageDetailsListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - response = list_async(expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def list_as_lazy(expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + response = list_async(expand, filter, skiptoken, top, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -538,12 +530,12 @@ def list_as_lazy(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers: # @return [UsageDetailsListResult] which provide lazy access to pages of the # response. # - def list_by_billing_period_as_lazy(billing_period_name, expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil) - response = list_by_billing_period_async(billing_period_name, expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value! + def list_by_billing_period_as_lazy(billing_period_name, expand = nil, filter = nil, skiptoken = nil, top = nil, custom_headers = nil) + response = list_by_billing_period_async(billing_period_name, expand, filter, skiptoken, top, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_billing_period_next_async(next_page_link, custom_headers:custom_headers) + list_by_billing_period_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/version.rb b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/version.rb new file mode 100644 index 0000000000..d488b94c1f --- /dev/null +++ b/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/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::Consumption::Mgmt::V2018_01_31 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_consumption/lib/azure_mgmt_consumption.rb b/management/azure_mgmt_consumption/lib/azure_mgmt_consumption.rb index 17810442ba..fb771e94b2 100644 --- a/management/azure_mgmt_consumption/lib/azure_mgmt_consumption.rb +++ b/management/azure_mgmt_consumption/lib/azure_mgmt_consumption.rb @@ -2,8 +2,8 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. +require '2018-01-31/generated/azure_mgmt_consumption' +require '2017-12-30-preview/generated/azure_mgmt_consumption' require '2017-04-24-preview/generated/azure_mgmt_consumption' require '2017-11-30/generated/azure_mgmt_consumption' -require '2017-12-30-preview/generated/azure_mgmt_consumption' -require '2018-01-31/generated/azure_mgmt_consumption' require 'profiles/latest/consumption_latest_profile_client' From 487bcc60ece0cf68d58c549b7e05da1b98ae6c2b Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 10:52:54 -0700 Subject: [PATCH 04/22] Generated from 8a37ff50c8873b878f36b36d9adceb46d934bb2b (#1311) (#1342) Add ARM operations API --- .../container_service_client.rb | 7 +- .../container_services.rb | 73 ++++++------ .../models/container_service.rb | 15 --- .../container_service_agent_pool_profile.rb | 6 - .../container_service_diagnostics_profile.rb | 2 - .../models/container_service_linux_profile.rb | 3 - .../models/container_service_list_result.rb | 3 - .../container_service_master_profile.rb | 4 - .../container_service_orchestrator_profile.rb | 2 - .../container_service_ssh_configuration.rb | 3 - .../container_service_ssh_public_key.rb | 2 - .../models/container_service_vmdiagnostics.rb | 3 - .../container_service_windows_profile.rb | 3 - .../models/resource.rb | 7 -- .../azure_mgmt_container_service/version.rb | 8 ++ .../container_service_client.rb | 7 +- .../container_services.rb | 109 +++++++++--------- .../models/container_service.rb | 17 --- .../container_service_agent_pool_profile.rb | 6 - .../container_service_custom_profile.rb | 2 - .../container_service_diagnostics_profile.rb | 2 - .../models/container_service_linux_profile.rb | 3 - .../models/container_service_list_result.rb | 4 - .../container_service_master_profile.rb | 4 - .../container_service_orchestrator_profile.rb | 2 - ...ainer_service_service_principal_profile.rb | 3 - .../container_service_ssh_configuration.rb | 3 - .../container_service_ssh_public_key.rb | 2 - .../models/container_service_vmdiagnostics.rb | 3 - .../container_service_windows_profile.rb | 3 - .../models/resource.rb | 7 -- .../azure_mgmt_container_service/version.rb | 8 ++ .../container_service_client.rb | 7 +- .../container_services.rb | 109 +++++++++--------- .../models/container_service.rb | 17 --- .../container_service_agent_pool_profile.rb | 6 - .../container_service_custom_profile.rb | 2 - .../container_service_diagnostics_profile.rb | 2 - .../models/container_service_linux_profile.rb | 3 - .../models/container_service_list_result.rb | 4 - .../container_service_master_profile.rb | 4 - .../container_service_orchestrator_profile.rb | 2 - ...ainer_service_service_principal_profile.rb | 3 - .../container_service_ssh_configuration.rb | 3 - .../container_service_ssh_public_key.rb | 2 - .../models/container_service_vmdiagnostics.rb | 3 - .../container_service_windows_profile.rb | 3 - .../models/resource.rb | 7 -- .../azure_mgmt_container_service/version.rb | 8 ++ 49 files changed, 172 insertions(+), 339 deletions(-) create mode 100644 management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/version.rb create mode 100644 management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/version.rb create mode 100644 management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/version.rb diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb index a21cc50652..488ef95f16 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb @@ -106,9 +106,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? @@ -125,7 +122,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_service' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::ContainerService::Mgmt::V2016_03_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerService::Mgmt::V2016_03_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_services.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_services.rb index 50780b6c5a..55e809ac8c 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_services.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_services.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [ContainerServiceListResult] 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,13 +60,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -125,8 +124,8 @@ def list_async(custom_headers:nil) # # @return [ContainerService] operation results. # - def create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -142,9 +141,9 @@ def create_or_update(resource_group_name, container_service_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -174,8 +173,8 @@ def create_or_update_async(resource_group_name, container_service_name, paramete # # @return [ContainerService] operation results. # - def get(resource_group_name, container_service_name, custom_headers:nil) - response = get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_service_name, custom_headers = nil) + response = get_async(resource_group_name, container_service_name, custom_headers).value! response.body unless response.nil? end @@ -193,8 +192,8 @@ def get(resource_group_name, container_service_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + get_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -211,7 +210,7 @@ def get_with_http_info(resource_group_name, container_service_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_service_name, custom_headers:nil) + def get_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -219,7 +218,6 @@ def get_async(resource_group_name, container_service_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 @@ -277,8 +275,8 @@ def get_async(resource_group_name, container_service_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, container_service_name, custom_headers:nil) - response = delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_service_name, custom_headers = nil) + response = delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -292,9 +290,9 @@ def delete(resource_group_name, container_service_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, container_service_name, custom_headers:nil) + def delete_async(resource_group_name, container_service_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, container_service_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -320,8 +318,8 @@ def delete_async(resource_group_name, container_service_name, custom_headers:nil # # @return [ContainerServiceListResult] 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 @@ -337,8 +335,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 # @@ -353,14 +351,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -419,8 +416,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerService] operation results. # - def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -438,8 +435,8 @@ def begin_create_or_update(resource_group_name, container_service_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! end # @@ -456,7 +453,7 @@ def begin_create_or_update_with_http_info(resource_group_name, container_service # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -465,12 +462,13 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa 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::ContainerService::Mgmt::V2016_03_30::Models::ContainerService.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -551,8 +549,8 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, container_service_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, container_service_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -571,8 +569,8 @@ def begin_delete(resource_group_name, container_service_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + begin_delete_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -590,7 +588,7 @@ def begin_delete_with_http_info(resource_group_name, container_service_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, container_service_name, custom_headers:nil) + def begin_delete_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -598,7 +596,6 @@ def begin_delete_async(resource_group_name, container_service_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 diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service.rb index b5490b113c..5c13f759bc 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service.rb @@ -44,7 +44,6 @@ class ContainerService < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerService', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ContainerService', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +59,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -70,7 +67,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -79,7 +75,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -87,13 +82,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: { @@ -103,7 +96,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -112,7 +104,6 @@ def self.mapper() } }, orchestrator_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.orchestratorProfile', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, master_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.masterProfile', type: { @@ -130,13 +120,11 @@ def self.mapper() } }, agent_pool_profiles: { - client_side_validation: true, required: true, serialized_name: 'properties.agentPoolProfiles', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfileElementType', type: { @@ -147,7 +135,6 @@ def self.mapper() } }, windows_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.windowsProfile', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, linux_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.linuxProfile', type: { @@ -165,7 +151,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb index 605ca740b5..28b3c6dd42 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb @@ -51,7 +51,6 @@ class ContainerServiceAgentPoolProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfile', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerServiceAgentPoolProfile', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, serialized_name: 'count', constraints: { @@ -79,7 +76,6 @@ def self.mapper() } }, vm_size: { - client_side_validation: true, required: true, serialized_name: 'vmSize', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb index c555be2e3e..89525fd9ac 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb @@ -24,7 +24,6 @@ class ContainerServiceDiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceDiagnosticsProfile', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceDiagnosticsProfile', model_properties: { vm_diagnostics: { - client_side_validation: true, required: true, serialized_name: 'vmDiagnostics', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb index d7ba50ca41..a3f61771e0 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb @@ -26,7 +26,6 @@ class ContainerServiceLinuxProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceLinuxProfile', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerServiceLinuxProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: true, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb index bd6284cf13..94bb6d0ca0 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb @@ -22,7 +22,6 @@ class ContainerServiceListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ContainerServiceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceElementType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb index ae9e18323e..73b5be057b 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb @@ -30,7 +30,6 @@ class ContainerServiceMasterProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceMasterProfile', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ContainerServiceMasterProfile', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', default_value: 1, @@ -47,7 +45,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb index 518ac8412b..c058e5b013 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb @@ -24,7 +24,6 @@ class ContainerServiceOrchestratorProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceOrchestratorProfile', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceOrchestratorProfile', model_properties: { orchestrator_type: { - client_side_validation: true, required: true, serialized_name: 'orchestratorType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb index 6460848ea9..36e9142ada 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb @@ -23,7 +23,6 @@ class ContainerServiceSshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ContainerServiceSshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: true, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb index 3eb40cb55f..f14376fa38 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb @@ -24,7 +24,6 @@ class ContainerServiceSshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceSshPublicKey', model_properties: { key_data: { - client_side_validation: true, required: true, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb index 06879019d6..125373d10a 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb @@ -27,7 +27,6 @@ class ContainerServiceVMDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceVMDiagnostics', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ContainerServiceVMDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'storageUri', diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb index 4d28b221ec..4e56b52abc 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb @@ -25,7 +25,6 @@ class ContainerServiceWindowsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceWindowsProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerServiceWindowsProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: true, serialized_name: 'adminPassword', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/resource.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/resource.rb index baf987dd10..af2e41eb47 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/resource.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/version.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/version.rb new file mode 100644 index 0000000000..5a26d25a3f --- /dev/null +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/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::ContainerService::Mgmt::V2016_03_30 + VERSION = '0.17.0' +end diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb index 272dba6dad..c519be3a3c 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb @@ -106,9 +106,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? @@ -125,7 +122,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_service' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::ContainerService::Mgmt::V2016_09_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerService::Mgmt::V2016_09_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb index a23e3b0d47..0dcf14f8ab 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb @@ -5,7 +5,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30 # - # Compute Client + # The Container Service Client. # class ContainerServices include MsRestAzure @@ -33,8 +33,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -50,8 +50,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 # @@ -66,13 +66,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -133,8 +132,8 @@ def list_async(custom_headers:nil) # # @return [ContainerService] operation results. # - def create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -150,9 +149,9 @@ def create_or_update(resource_group_name, container_service_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -184,8 +183,8 @@ def create_or_update_async(resource_group_name, container_service_name, paramete # # @return [ContainerService] operation results. # - def get(resource_group_name, container_service_name, custom_headers:nil) - response = get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_service_name, custom_headers = nil) + response = get_async(resource_group_name, container_service_name, custom_headers).value! response.body unless response.nil? end @@ -205,8 +204,8 @@ def get(resource_group_name, container_service_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + get_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -225,7 +224,7 @@ def get_with_http_info(resource_group_name, container_service_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_service_name, custom_headers:nil) + def get_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -233,7 +232,6 @@ def get_async(resource_group_name, container_service_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 @@ -293,8 +291,8 @@ def get_async(resource_group_name, container_service_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, container_service_name, custom_headers:nil) - response = delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_service_name, custom_headers = nil) + response = delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -308,9 +306,9 @@ def delete(resource_group_name, container_service_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, container_service_name, custom_headers:nil) + def delete_async(resource_group_name, container_service_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, container_service_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -338,8 +336,8 @@ def delete_async(resource_group_name, container_service_name, custom_headers:nil # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -357,8 +355,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 # @@ -375,14 +373,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,8 +440,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerService] operation results. # - def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +461,8 @@ def begin_create_or_update(resource_group_name, container_service_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! end # @@ -484,7 +481,7 @@ def begin_create_or_update_with_http_info(resource_group_name, container_service # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -493,12 +490,13 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa 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::ContainerService::Mgmt::V2016_09_30::Models::ContainerService.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -581,8 +579,8 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, container_service_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, container_service_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -603,8 +601,8 @@ def begin_delete(resource_group_name, container_service_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + begin_delete_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -624,7 +622,7 @@ def begin_delete_with_http_info(resource_group_name, container_service_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, container_service_name, custom_headers:nil) + def begin_delete_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -632,7 +630,6 @@ def begin_delete_async(resource_group_name, container_service_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 @@ -681,8 +678,8 @@ def begin_delete_async(resource_group_name, container_service_name, custom_heade # # @return [ContainerServiceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -700,8 +697,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -718,12 +715,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -782,8 +778,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerServiceListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -802,8 +798,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -821,12 +817,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -883,12 +878,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerServiceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -909,12 +904,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerServiceListResult] which provide lazy access to pages of # the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service.rb index ee33454730..3a76e35fa3 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service.rb @@ -51,7 +51,6 @@ class ContainerService < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerService', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerService', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -94,13 +89,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: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -119,7 +111,6 @@ def self.mapper() } }, orchestrator_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.orchestratorProfile', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, custom_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.customProfile', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, service_principal_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.servicePrincipalProfile', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, master_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.masterProfile', type: { @@ -155,13 +143,11 @@ def self.mapper() } }, agent_pool_profiles: { - client_side_validation: true, required: true, serialized_name: 'properties.agentPoolProfiles', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfileElementType', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, windows_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.windowsProfile', type: { @@ -181,7 +166,6 @@ def self.mapper() } }, linux_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.linuxProfile', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb index 5aa6764a9e..2cac621510 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb @@ -51,7 +51,6 @@ class ContainerServiceAgentPoolProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfile', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerServiceAgentPoolProfile', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: true, serialized_name: 'count', default_value: 1, @@ -80,7 +77,6 @@ def self.mapper() } }, vm_size: { - client_side_validation: true, required: true, serialized_name: 'vmSize', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -96,7 +91,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb index a1933ddfbf..3e9e132ba8 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb @@ -22,7 +22,6 @@ class ContainerServiceCustomProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceCustomProfile', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ContainerServiceCustomProfile', model_properties: { orchestrator: { - client_side_validation: true, required: true, serialized_name: 'orchestrator', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb index da194c939e..ca969f0dcd 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb @@ -24,7 +24,6 @@ class ContainerServiceDiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceDiagnosticsProfile', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceDiagnosticsProfile', model_properties: { vm_diagnostics: { - client_side_validation: true, required: true, serialized_name: 'vmDiagnostics', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb index cdba270aaf..0eb28e4877 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb @@ -26,7 +26,6 @@ class ContainerServiceLinuxProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceLinuxProfile', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerServiceLinuxProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', constraints: { @@ -45,7 +43,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: true, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb index d361d1c7ed..55a813e9be 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerServiceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb index a0ef8e7dfc..439f5e2d19 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb @@ -30,7 +30,6 @@ class ContainerServiceMasterProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceMasterProfile', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ContainerServiceMasterProfile', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', default_value: 1, @@ -47,7 +45,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb index b7cce3460e..c8e40f500d 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb @@ -25,7 +25,6 @@ class ContainerServiceOrchestratorProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceOrchestratorProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerServiceOrchestratorProfile', model_properties: { orchestrator_type: { - client_side_validation: true, required: true, serialized_name: 'orchestratorType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb index e7ca81886d..e3825bad75 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb @@ -27,7 +27,6 @@ class ContainerServiceServicePrincipalProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceServicePrincipalProfile', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ContainerServiceServicePrincipalProfile', model_properties: { client_id: { - client_side_validation: true, required: true, serialized_name: 'clientId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, secret: { - client_side_validation: true, required: true, serialized_name: 'secret', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb index c162b7d892..7392701f73 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb @@ -23,7 +23,6 @@ class ContainerServiceSshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ContainerServiceSshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: true, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb index ec8f127112..cd76506b1c 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb @@ -24,7 +24,6 @@ class ContainerServiceSshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceSshPublicKey', model_properties: { key_data: { - client_side_validation: true, required: true, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb index 63938ae8fc..c2ae098d41 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb @@ -27,7 +27,6 @@ class ContainerServiceVMDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceVMDiagnostics', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ContainerServiceVMDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'storageUri', diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb index 6bab93de90..d8b743f302 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb @@ -25,7 +25,6 @@ class ContainerServiceWindowsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceWindowsProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerServiceWindowsProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', constraints: { @@ -44,7 +42,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: true, serialized_name: 'adminPassword', constraints: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/resource.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/resource.rb index 23e048410b..48f927a8ba 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/resource.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/version.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/version.rb new file mode 100644 index 0000000000..46be72fb12 --- /dev/null +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/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::ContainerService::Mgmt::V2016_09_30 + VERSION = '0.17.0' +end diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb index ab182bef80..815d9b460c 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb @@ -106,9 +106,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? @@ -125,7 +122,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_service' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::ContainerService::Mgmt::V2017_01_31::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerService::Mgmt::V2017_01_31::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb index 322e687733..d2d74e55e9 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb @@ -5,7 +5,7 @@ module Azure::ContainerService::Mgmt::V2017_01_31 # - # Compute Client + # The Container Service Client. # class ContainerServices include MsRestAzure @@ -33,8 +33,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -50,8 +50,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 # @@ -66,13 +66,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -133,8 +132,8 @@ def list_async(custom_headers:nil) # # @return [ContainerService] operation results. # - def create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -150,9 +149,9 @@ def create_or_update(resource_group_name, container_service_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -184,8 +183,8 @@ def create_or_update_async(resource_group_name, container_service_name, paramete # # @return [ContainerService] operation results. # - def get(resource_group_name, container_service_name, custom_headers:nil) - response = get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_service_name, custom_headers = nil) + response = get_async(resource_group_name, container_service_name, custom_headers).value! response.body unless response.nil? end @@ -205,8 +204,8 @@ def get(resource_group_name, container_service_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + get_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -225,7 +224,7 @@ def get_with_http_info(resource_group_name, container_service_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_service_name, custom_headers:nil) + def get_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -233,7 +232,6 @@ def get_async(resource_group_name, container_service_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 @@ -293,8 +291,8 @@ def get_async(resource_group_name, container_service_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, container_service_name, custom_headers:nil) - response = delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_service_name, custom_headers = nil) + response = delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -308,9 +306,9 @@ def delete(resource_group_name, container_service_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, container_service_name, custom_headers:nil) + def delete_async(resource_group_name, container_service_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, container_service_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -338,8 +336,8 @@ def delete_async(resource_group_name, container_service_name, custom_headers:nil # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -357,8 +355,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 # @@ -375,14 +373,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,8 +440,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerService] operation results. # - def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +461,8 @@ def begin_create_or_update(resource_group_name, container_service_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! end # @@ -484,7 +481,7 @@ def begin_create_or_update_with_http_info(resource_group_name, container_service # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -493,12 +490,13 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa 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::ContainerService::Mgmt::V2017_01_31::Models::ContainerService.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -581,8 +579,8 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, container_service_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, container_service_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -603,8 +601,8 @@ def begin_delete(resource_group_name, container_service_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + begin_delete_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -624,7 +622,7 @@ def begin_delete_with_http_info(resource_group_name, container_service_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, container_service_name, custom_headers:nil) + def begin_delete_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -632,7 +630,6 @@ def begin_delete_async(resource_group_name, container_service_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 @@ -681,8 +678,8 @@ def begin_delete_async(resource_group_name, container_service_name, custom_heade # # @return [ContainerServiceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -700,8 +697,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -718,12 +715,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -782,8 +778,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerServiceListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -802,8 +798,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -821,12 +817,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -883,12 +878,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerServiceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -909,12 +904,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerServiceListResult] which provide lazy access to pages of # the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service.rb index b53a8d56e5..4af88f7d72 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service.rb @@ -51,7 +51,6 @@ class ContainerService < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerService', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerService', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -94,13 +89,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: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -119,7 +111,6 @@ def self.mapper() } }, orchestrator_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.orchestratorProfile', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, custom_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.customProfile', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, service_principal_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.servicePrincipalProfile', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, master_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.masterProfile', type: { @@ -155,13 +143,11 @@ def self.mapper() } }, agent_pool_profiles: { - client_side_validation: true, required: true, serialized_name: 'properties.agentPoolProfiles', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfileElementType', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, windows_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.windowsProfile', type: { @@ -181,7 +166,6 @@ def self.mapper() } }, linux_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.linuxProfile', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb index a7baa0de87..f6d8d8dd0f 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb @@ -51,7 +51,6 @@ class ContainerServiceAgentPoolProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfile', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerServiceAgentPoolProfile', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: true, serialized_name: 'count', default_value: 1, @@ -80,7 +77,6 @@ def self.mapper() } }, vm_size: { - client_side_validation: true, required: true, serialized_name: 'vmSize', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -96,7 +91,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb index 9eed1e804e..5b54e36730 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb @@ -22,7 +22,6 @@ class ContainerServiceCustomProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceCustomProfile', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ContainerServiceCustomProfile', model_properties: { orchestrator: { - client_side_validation: true, required: true, serialized_name: 'orchestrator', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb index 638090921c..cd987e08f8 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb @@ -24,7 +24,6 @@ class ContainerServiceDiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceDiagnosticsProfile', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceDiagnosticsProfile', model_properties: { vm_diagnostics: { - client_side_validation: true, required: true, serialized_name: 'vmDiagnostics', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb index 92e56289f5..c9a7f1140c 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb @@ -26,7 +26,6 @@ class ContainerServiceLinuxProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceLinuxProfile', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerServiceLinuxProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', constraints: { @@ -45,7 +43,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: true, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_list_result.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_list_result.rb index c716969027..6fb70cfe61 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_list_result.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerServiceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb index 63e42eee4d..e82285464e 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb @@ -30,7 +30,6 @@ class ContainerServiceMasterProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceMasterProfile', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ContainerServiceMasterProfile', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', default_value: 1, @@ -47,7 +45,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb index 6e20a009a6..640c421a24 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb @@ -25,7 +25,6 @@ class ContainerServiceOrchestratorProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceOrchestratorProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerServiceOrchestratorProfile', model_properties: { orchestrator_type: { - client_side_validation: true, required: true, serialized_name: 'orchestratorType', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb index a022852fe0..45f14314e8 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb @@ -27,7 +27,6 @@ class ContainerServiceServicePrincipalProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceServicePrincipalProfile', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ContainerServiceServicePrincipalProfile', model_properties: { client_id: { - client_side_validation: true, required: true, serialized_name: 'clientId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, secret: { - client_side_validation: true, required: true, serialized_name: 'secret', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb index 33e7a61fb4..b423549a50 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb @@ -23,7 +23,6 @@ class ContainerServiceSshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ContainerServiceSshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: true, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb index 397daa31c0..8eb43fae94 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb @@ -24,7 +24,6 @@ class ContainerServiceSshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceSshPublicKey', model_properties: { key_data: { - client_side_validation: true, required: true, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb index b61005ca9d..422d47faee 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb @@ -27,7 +27,6 @@ class ContainerServiceVMDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceVMDiagnostics', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ContainerServiceVMDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'storageUri', diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb index c3b00c2c0a..71051cfde5 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb @@ -25,7 +25,6 @@ class ContainerServiceWindowsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceWindowsProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerServiceWindowsProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', constraints: { @@ -44,7 +42,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: true, serialized_name: 'adminPassword', constraints: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/resource.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/resource.rb index 5d9bf447e3..f729cfd16c 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/resource.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/version.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/version.rb new file mode 100644 index 0000000000..f327b496b1 --- /dev/null +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/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::ContainerService::Mgmt::V2017_01_31 + VERSION = '0.17.0' +end From d2a8a23655265ecbffc414a3b3b6b8f2ae7ac57a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 10:53:25 -0700 Subject: [PATCH 05/22] Generated from 1d9c31e6e708e24c113c484de31e535fb77e9124 (#1343) (#1346) Replacing # with # --- .../modules/eventgrid_profile_module.rb | 128 +++++++++++++----- .../2018-01-01/generated/azure_event_grid.rb | 34 +++-- .../azure_event_grid/event_grid_client.rb | 22 ++- .../models/container_registry_event_actor.rb | 46 +++++++ .../models/container_registry_event_data.rb | 113 ++++++++++++++++ .../container_registry_event_request.rb | 87 ++++++++++++ .../models/container_registry_event_source.rb | 58 ++++++++ .../models/container_registry_event_target.rb | 107 +++++++++++++++ ...ainer_registry_image_deleted_event_data.rb | 88 ++++++++++++ ...tainer_registry_image_pushed_event_data.rb | 88 ++++++++++++ .../device_life_cycle_event_properties.rb | 8 +- .../models/device_twin_info.rb | 12 -- .../models/device_twin_info_properties.rb | 3 - .../models/device_twin_info_x509thumbprint.rb | 3 - .../models/device_twin_metadata.rb | 2 - .../models/device_twin_properties.rb | 3 - .../models/event_grid_event.rb | 9 -- ...ent_hub_capture_file_created_event_data.rb | 10 -- .../iot_hub_device_created_event_data.rb | 6 - .../iot_hub_device_deleted_event_data.rb | 6 - .../azure_event_grid/models/job_state.rb | 21 +++ .../media_job_state_change_event_data.rb | 63 +++++++++ .../models/resource_delete_cancel_data.rb | 12 -- .../models/resource_delete_failure_data.rb | 12 -- .../models/resource_delete_success_data.rb | 12 -- .../models/resource_write_cancel_data.rb | 12 -- .../models/resource_write_failure_data.rb | 12 -- .../models/resource_write_success_data.rb | 12 -- ..._available_with_no_listeners_event_data.rb | 102 ++++++++++++++ ..._available_with_no_listeners_event_data.rb | 104 ++++++++++++++ .../models/storage_blob_created_event_data.rb | 11 -- .../models/storage_blob_deleted_event_data.rb | 9 -- .../models/subscription_deleted_event_data.rb | 47 +++++++ .../subscription_validation_event_data.rb | 65 +++++++++ .../subscription_validation_response.rb | 48 +++++++ .../generated/azure_event_grid/version.rb | 8 ++ .../modules/eventgrid_profile_module.rb | 128 +++++++++++++----- 37 files changed, 1264 insertions(+), 247 deletions(-) create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_actor.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_data.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_request.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_source.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_target.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_image_deleted_event_data.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_image_pushed_event_data.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/job_state.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/media_job_state_change_event_data.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/service_bus_active_messages_available_with_no_listeners_event_data.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/service_bus_deadletter_messages_available_with_no_listeners_event_data.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_deleted_event_data.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_validation_event_data.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_validation_response.rb create mode 100644 data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/version.rb diff --git a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb index 82515b9fd4..7cc7034984 100644 --- a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb @@ -9,24 +9,38 @@ module Azure::Profiles::Latest module EventGrid module Models - EventGridEvent = Azure::EventGrid::V2018_01_01::Models::EventGridEvent - StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData - StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData - EventHubCaptureFileCreatedEventData = Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData - ResourceWriteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData - DeviceLifeCycleEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties - ResourceDeleteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData DeviceTwinMetadata = Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata - ResourceDeleteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteCancelData DeviceTwinProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties - ResourceWriteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData + StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData DeviceTwinInfoProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties ResourceWriteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData DeviceTwinInfoX509Thumbprint = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint - ResourceDeleteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData + ResourceWriteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData DeviceTwinInfo = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo + ResourceDeleteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData + DeviceLifeCycleEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties + EventGridEvent = Azure::EventGrid::V2018_01_01::Models::EventGridEvent + SubscriptionValidationEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData + SubscriptionValidationResponse = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse + SubscriptionDeletedEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData + ServiceBusActiveMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData + StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData + MediaJobStateChangeEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData + ResourceWriteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData + ContainerRegistryEventTarget = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventTarget + ResourceDeleteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteCancelData + ContainerRegistryEventRequest = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventRequest + EventHubCaptureFileCreatedEventData = Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData + ContainerRegistryEventActor = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventActor + ServiceBusDeadletterMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusDeadletterMessagesAvailableWithNoListenersEventData + ContainerRegistryEventSource = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventSource + ResourceDeleteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData + ContainerRegistryEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventData IotHubDeviceCreatedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceCreatedEventData IotHubDeviceDeletedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDeletedEventData + ContainerRegistryImagePushedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImagePushedEventData + ContainerRegistryImageDeletedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImageDeletedEventData + JobState = Azure::EventGrid::V2018_01_01::Models::JobState end class EventGridDataClass @@ -58,53 +72,86 @@ def method_missing(method, *args) end class ModelClasses - def event_grid_event - Azure::EventGrid::V2018_01_01::Models::EventGridEvent + def device_twin_metadata + Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata end - def storage_blob_created_event_data - Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData + def device_twin_properties + Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties end def storage_blob_deleted_event_data Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData end - def event_hub_capture_file_created_event_data - Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData + def device_twin_info_properties + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties end - def resource_write_failure_data - Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData + def resource_write_success_data + Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData + end + def device_twin_info_x509_thumbprint + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint + end + def resource_write_cancel_data + Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData + end + def device_twin_info + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo + end + def resource_delete_failure_data + Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData end def device_life_cycle_event_properties Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties end - def resource_delete_success_data - Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData + def event_grid_event + Azure::EventGrid::V2018_01_01::Models::EventGridEvent end - def device_twin_metadata - Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata + def subscription_validation_event_data + Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData + end + def subscription_validation_response + Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse + end + def subscription_deleted_event_data + Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData + end + def service_bus_active_messages_available_with_no_listeners_event_data + Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData + end + def storage_blob_created_event_data + Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData + end + def media_job_state_change_event_data + Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData + end + def resource_write_failure_data + Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData + end + def container_registry_event_target + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventTarget end def resource_delete_cancel_data Azure::EventGrid::V2018_01_01::Models::ResourceDeleteCancelData end - def device_twin_properties - Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties + def container_registry_event_request + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventRequest end - def resource_write_cancel_data - Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData + def event_hub_capture_file_created_event_data + Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData end - def device_twin_info_properties - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties + def container_registry_event_actor + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventActor end - def resource_write_success_data - Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData + def service_bus_deadletter_messages_available_with_no_listeners_event_data + Azure::EventGrid::V2018_01_01::Models::ServiceBusDeadletterMessagesAvailableWithNoListenersEventData end - def device_twin_info_x509_thumbprint - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint + def container_registry_event_source + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventSource end - def resource_delete_failure_data - Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData + def resource_delete_success_data + Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData end - def device_twin_info - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo + def container_registry_event_data + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventData end def iot_hub_device_created_event_data Azure::EventGrid::V2018_01_01::Models::IotHubDeviceCreatedEventData @@ -112,6 +159,15 @@ def iot_hub_device_created_event_data def iot_hub_device_deleted_event_data Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDeletedEventData end + def container_registry_image_pushed_event_data + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImagePushedEventData + end + def container_registry_image_deleted_event_data + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImageDeletedEventData + end + def job_state + Azure::EventGrid::V2018_01_01::Models::JobState + end end end module Mgmt diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid.rb index d9ffb0c12d..226f6b1d71 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid.rb @@ -23,23 +23,37 @@ module Azure::EventGrid::V2018_01_01 autoload :EventGridClient, '2018-01-01/generated/azure_event_grid/event_grid_client.rb' module Models - autoload :EventGridEvent, '2018-01-01/generated/azure_event_grid/models/event_grid_event.rb' - autoload :StorageBlobCreatedEventData, '2018-01-01/generated/azure_event_grid/models/storage_blob_created_event_data.rb' - autoload :StorageBlobDeletedEventData, '2018-01-01/generated/azure_event_grid/models/storage_blob_deleted_event_data.rb' - autoload :EventHubCaptureFileCreatedEventData, '2018-01-01/generated/azure_event_grid/models/event_hub_capture_file_created_event_data.rb' - autoload :ResourceWriteFailureData, '2018-01-01/generated/azure_event_grid/models/resource_write_failure_data.rb' - autoload :DeviceLifeCycleEventProperties, '2018-01-01/generated/azure_event_grid/models/device_life_cycle_event_properties.rb' - autoload :ResourceDeleteSuccessData, '2018-01-01/generated/azure_event_grid/models/resource_delete_success_data.rb' autoload :DeviceTwinMetadata, '2018-01-01/generated/azure_event_grid/models/device_twin_metadata.rb' - autoload :ResourceDeleteCancelData, '2018-01-01/generated/azure_event_grid/models/resource_delete_cancel_data.rb' autoload :DeviceTwinProperties, '2018-01-01/generated/azure_event_grid/models/device_twin_properties.rb' - autoload :ResourceWriteCancelData, '2018-01-01/generated/azure_event_grid/models/resource_write_cancel_data.rb' + autoload :StorageBlobDeletedEventData, '2018-01-01/generated/azure_event_grid/models/storage_blob_deleted_event_data.rb' autoload :DeviceTwinInfoProperties, '2018-01-01/generated/azure_event_grid/models/device_twin_info_properties.rb' autoload :ResourceWriteSuccessData, '2018-01-01/generated/azure_event_grid/models/resource_write_success_data.rb' autoload :DeviceTwinInfoX509Thumbprint, '2018-01-01/generated/azure_event_grid/models/device_twin_info_x509thumbprint.rb' - autoload :ResourceDeleteFailureData, '2018-01-01/generated/azure_event_grid/models/resource_delete_failure_data.rb' + autoload :ResourceWriteCancelData, '2018-01-01/generated/azure_event_grid/models/resource_write_cancel_data.rb' autoload :DeviceTwinInfo, '2018-01-01/generated/azure_event_grid/models/device_twin_info.rb' + autoload :ResourceDeleteFailureData, '2018-01-01/generated/azure_event_grid/models/resource_delete_failure_data.rb' + autoload :DeviceLifeCycleEventProperties, '2018-01-01/generated/azure_event_grid/models/device_life_cycle_event_properties.rb' + autoload :EventGridEvent, '2018-01-01/generated/azure_event_grid/models/event_grid_event.rb' + autoload :SubscriptionValidationEventData, '2018-01-01/generated/azure_event_grid/models/subscription_validation_event_data.rb' + autoload :SubscriptionValidationResponse, '2018-01-01/generated/azure_event_grid/models/subscription_validation_response.rb' + autoload :SubscriptionDeletedEventData, '2018-01-01/generated/azure_event_grid/models/subscription_deleted_event_data.rb' + autoload :ServiceBusActiveMessagesAvailableWithNoListenersEventData, '2018-01-01/generated/azure_event_grid/models/service_bus_active_messages_available_with_no_listeners_event_data.rb' + autoload :StorageBlobCreatedEventData, '2018-01-01/generated/azure_event_grid/models/storage_blob_created_event_data.rb' + autoload :MediaJobStateChangeEventData, '2018-01-01/generated/azure_event_grid/models/media_job_state_change_event_data.rb' + autoload :ResourceWriteFailureData, '2018-01-01/generated/azure_event_grid/models/resource_write_failure_data.rb' + autoload :ContainerRegistryEventTarget, '2018-01-01/generated/azure_event_grid/models/container_registry_event_target.rb' + autoload :ResourceDeleteCancelData, '2018-01-01/generated/azure_event_grid/models/resource_delete_cancel_data.rb' + autoload :ContainerRegistryEventRequest, '2018-01-01/generated/azure_event_grid/models/container_registry_event_request.rb' + autoload :EventHubCaptureFileCreatedEventData, '2018-01-01/generated/azure_event_grid/models/event_hub_capture_file_created_event_data.rb' + autoload :ContainerRegistryEventActor, '2018-01-01/generated/azure_event_grid/models/container_registry_event_actor.rb' + autoload :ServiceBusDeadletterMessagesAvailableWithNoListenersEventData, '2018-01-01/generated/azure_event_grid/models/service_bus_deadletter_messages_available_with_no_listeners_event_data.rb' + autoload :ContainerRegistryEventSource, '2018-01-01/generated/azure_event_grid/models/container_registry_event_source.rb' + autoload :ResourceDeleteSuccessData, '2018-01-01/generated/azure_event_grid/models/resource_delete_success_data.rb' + autoload :ContainerRegistryEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_event_data.rb' autoload :IotHubDeviceCreatedEventData, '2018-01-01/generated/azure_event_grid/models/iot_hub_device_created_event_data.rb' autoload :IotHubDeviceDeletedEventData, '2018-01-01/generated/azure_event_grid/models/iot_hub_device_deleted_event_data.rb' + autoload :ContainerRegistryImagePushedEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_image_pushed_event_data.rb' + autoload :ContainerRegistryImageDeletedEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_image_deleted_event_data.rb' + autoload :JobState, '2018-01-01/generated/azure_event_grid/models/job_state.rb' end end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/event_grid_client.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/event_grid_client.rb index d3b4ac15dd..66fd01d949 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/event_grid_client.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/event_grid_client.rb @@ -96,9 +96,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? @@ -119,8 +116,8 @@ def make_request_async(method, path, options = {}) # will be added to the HTTP request. # # - def publish_events(topic_hostname, events, custom_headers:nil) - response = publish_events_async(topic_hostname, events, custom_headers:custom_headers).value! + def publish_events(topic_hostname, events, custom_headers = nil) + response = publish_events_async(topic_hostname, events, custom_headers).value! nil end @@ -136,8 +133,8 @@ def publish_events(topic_hostname, events, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def publish_events_with_http_info(topic_hostname, events, custom_headers:nil) - publish_events_async(topic_hostname, events, custom_headers:custom_headers).value! + def publish_events_with_http_info(topic_hostname, events, custom_headers = nil) + publish_events_async(topic_hostname, events, custom_headers).value! end # @@ -152,28 +149,27 @@ def publish_events_with_http_info(topic_hostname, events, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def publish_events_async(topic_hostname, events, custom_headers:nil) + def publish_events_async(topic_hostname, events, custom_headers = nil) fail ArgumentError, 'topic_hostname is nil' if topic_hostname.nil? fail ArgumentError, 'events is nil' if events.nil? fail ArgumentError, 'api_version is nil' if 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 request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventGridEventElementType', type: { @@ -224,7 +220,9 @@ def publish_events_async(topic_hostname, events, custom_headers:nil) # def add_telemetry sdk_information = 'azure_event_grid' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::EventGrid::V2018_01_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::EventGrid::V2018_01_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_actor.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_actor.rb new file mode 100644 index 0000000000..a5a63b556d --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_actor.rb @@ -0,0 +1,46 @@ +# 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::V2018_01_01 + module Models + # + # The agent that initiated the event. For most situations, this could be + # from the authorization context of the request. + # + class ContainerRegistryEventActor + + include MsRestAzure + + # @return [String] The subject or username associated with the request + # context that generated the event. + attr_accessor :name + + + # + # Mapper for ContainerRegistryEventActor class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerRegistryEventActor', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventActor', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_data.rb new file mode 100644 index 0000000000..ce5b932810 --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_data.rb @@ -0,0 +1,113 @@ +# 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::V2018_01_01 + module Models + # + # The content of the event request message. + # + class ContainerRegistryEventData + + include MsRestAzure + + # @return [String] The event ID. + attr_accessor :id + + # @return [DateTime] The time at which the event occurred. + attr_accessor :timestamp + + # @return [String] The action that encompasses the provided event. + attr_accessor :action + + # @return [ContainerRegistryEventTarget] The target of the event. + attr_accessor :target + + # @return [ContainerRegistryEventRequest] The request that generated the + # event. + attr_accessor :request + + # @return [ContainerRegistryEventActor] The agent that initiated the + # event. For most situations, this could be from the authorization + # context of the request. + attr_accessor :actor + + # @return [ContainerRegistryEventSource] The registry node that generated + # the event. Put differently, while the actor initiates the event, the + # source generates it. + attr_accessor :source + + + # + # Mapper for ContainerRegistryEventData class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerRegistryEventData', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventData', + model_properties: { + id: { + required: false, + serialized_name: 'id', + type: { + name: 'String' + } + }, + timestamp: { + required: false, + serialized_name: 'timestamp', + type: { + name: 'DateTime' + } + }, + action: { + required: false, + serialized_name: 'action', + type: { + name: 'String' + } + }, + target: { + required: false, + serialized_name: 'target', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventTarget' + } + }, + request: { + required: false, + serialized_name: 'request', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventRequest' + } + }, + actor: { + required: false, + serialized_name: 'actor', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventActor' + } + }, + source: { + required: false, + serialized_name: 'source', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventSource' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_request.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_request.rb new file mode 100644 index 0000000000..158f5b3df3 --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_request.rb @@ -0,0 +1,87 @@ +# 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::V2018_01_01 + module Models + # + # The request that generated the event. + # + class ContainerRegistryEventRequest + + include MsRestAzure + + # @return [String] The ID of the request that initiated the event. + attr_accessor :id + + # @return [String] The IP or hostname and possibly port of the client + # connection that initiated the event. This is the RemoteAddr from the + # standard http request. + attr_accessor :addr + + # @return [String] The externally accessible hostname of the registry + # instance, as specified by the http host header on incoming requests. + attr_accessor :host + + # @return [String] The request method that generated the event. + attr_accessor :method + + # @return [String] The user agent header of the request. + attr_accessor :useragent + + + # + # Mapper for ContainerRegistryEventRequest class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerRegistryEventRequest', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventRequest', + model_properties: { + id: { + required: false, + serialized_name: 'id', + type: { + name: 'String' + } + }, + addr: { + required: false, + serialized_name: 'addr', + type: { + name: 'String' + } + }, + host: { + required: false, + serialized_name: 'host', + type: { + name: 'String' + } + }, + method: { + required: false, + serialized_name: 'method', + type: { + name: 'String' + } + }, + useragent: { + required: false, + serialized_name: 'useragent', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_source.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_source.rb new file mode 100644 index 0000000000..e2ff0ee14c --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_source.rb @@ -0,0 +1,58 @@ +# 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::V2018_01_01 + module Models + # + # The registry node that generated the event. Put differently, while the + # actor initiates the event, the source generates it. + # + class ContainerRegistryEventSource + + include MsRestAzure + + # @return [String] The IP or hostname and the port of the registry node + # that generated the event. Generally, this will be resolved by + # os.Hostname() along with the running port. + attr_accessor :addr + + # @return [String] The running instance of an application. Changes after + # each restart. + attr_accessor :instance_id + + + # + # Mapper for ContainerRegistryEventSource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerRegistryEventSource', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventSource', + model_properties: { + addr: { + required: false, + serialized_name: 'addr', + type: { + name: 'String' + } + }, + instance_id: { + required: false, + serialized_name: 'instanceID', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_target.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_target.rb new file mode 100644 index 0000000000..d4af7229c8 --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_target.rb @@ -0,0 +1,107 @@ +# 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::V2018_01_01 + module Models + # + # The target of the event. + # + class ContainerRegistryEventTarget + + include MsRestAzure + + # @return [String] The MIME type of the referenced object. + attr_accessor :media_type + + # @return [Integer] The number of bytes of the content. Same as Length + # field. + attr_accessor :size + + # @return [String] The digest of the content, as defined by the Registry + # V2 HTTP API Specification. + attr_accessor :digest + + # @return [Integer] The number of bytes of the content. Same as Size + # field. + attr_accessor :length + + # @return [String] The repository name. + attr_accessor :repository + + # @return [String] The direct URL to the content. + attr_accessor :url + + # @return [String] The tag name. + attr_accessor :tag + + + # + # Mapper for ContainerRegistryEventTarget class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerRegistryEventTarget', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventTarget', + model_properties: { + media_type: { + required: false, + serialized_name: 'mediaType', + type: { + name: 'String' + } + }, + size: { + required: false, + serialized_name: 'size', + type: { + name: 'Number' + } + }, + digest: { + required: false, + serialized_name: 'digest', + type: { + name: 'String' + } + }, + length: { + required: false, + serialized_name: 'length', + type: { + name: 'Number' + } + }, + repository: { + required: false, + serialized_name: 'repository', + type: { + name: 'String' + } + }, + url: { + required: false, + serialized_name: 'url', + type: { + name: 'String' + } + }, + tag: { + required: false, + serialized_name: 'tag', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_image_deleted_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_image_deleted_event_data.rb new file mode 100644 index 0000000000..740ee0d5e9 --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_image_deleted_event_data.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::V2018_01_01 + module Models + # + # Schema of the Data property of an EventGridEvent for a + # Microsoft.ContainerRegistry.ImageDeleted event. + # + class ContainerRegistryImageDeletedEventData < ContainerRegistryEventData + + include MsRestAzure + + + # + # Mapper for ContainerRegistryImageDeletedEventData class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerRegistryImageDeletedEventData', + type: { + name: 'Composite', + class_name: 'ContainerRegistryImageDeletedEventData', + model_properties: { + id: { + required: false, + serialized_name: 'id', + type: { + name: 'String' + } + }, + timestamp: { + required: false, + serialized_name: 'timestamp', + type: { + name: 'DateTime' + } + }, + action: { + required: false, + serialized_name: 'action', + type: { + name: 'String' + } + }, + target: { + required: false, + serialized_name: 'target', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventTarget' + } + }, + request: { + required: false, + serialized_name: 'request', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventRequest' + } + }, + actor: { + required: false, + serialized_name: 'actor', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventActor' + } + }, + source: { + required: false, + serialized_name: 'source', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventSource' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_image_pushed_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_image_pushed_event_data.rb new file mode 100644 index 0000000000..0a24854e54 --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/container_registry_image_pushed_event_data.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::V2018_01_01 + module Models + # + # Schema of the Data property of an EventGridEvent for a + # Microsoft.ContainerRegistry.ImagePushed event. + # + class ContainerRegistryImagePushedEventData < ContainerRegistryEventData + + include MsRestAzure + + + # + # Mapper for ContainerRegistryImagePushedEventData class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerRegistryImagePushedEventData', + type: { + name: 'Composite', + class_name: 'ContainerRegistryImagePushedEventData', + model_properties: { + id: { + required: false, + serialized_name: 'id', + type: { + name: 'String' + } + }, + timestamp: { + required: false, + serialized_name: 'timestamp', + type: { + name: 'DateTime' + } + }, + action: { + required: false, + serialized_name: 'action', + type: { + name: 'String' + } + }, + target: { + required: false, + serialized_name: 'target', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventTarget' + } + }, + request: { + required: false, + serialized_name: 'request', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventRequest' + } + }, + actor: { + required: false, + serialized_name: 'actor', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventActor' + } + }, + source: { + required: false, + serialized_name: 'source', + type: { + name: 'Composite', + class_name: 'ContainerRegistryEventSource' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_life_cycle_event_properties.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_life_cycle_event_properties.rb index 28e791de44..36b2df8209 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_life_cycle_event_properties.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_life_cycle_event_properties.rb @@ -16,7 +16,7 @@ class DeviceLifeCycleEventProperties # @return [String] The unique identifier of the device. This # case-sensitive string can be up to 128 characters long, and supports # ASCII 7-bit alphanumeric characters plus the following special - # characters: - : . + % _ # * ? ! ( ) , = @ ; $ '. + # characters: - : . + % _ # * ? ! ( ) , = @ ; $ '. attr_accessor :device_id # @return [String] Name of the IoT Hub where the device was created or @@ -41,7 +41,6 @@ class DeviceLifeCycleEventProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DeviceLifeCycleEventProperties', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'DeviceLifeCycleEventProperties', model_properties: { device_id: { - client_side_validation: true, required: false, serialized_name: 'deviceId', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, hub_name: { - client_side_validation: true, required: false, serialized_name: 'hubName', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, op_type: { - client_side_validation: true, required: false, serialized_name: 'opType', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, operation_timestamp: { - client_side_validation: true, required: false, serialized_name: 'operationTimestamp', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, twin: { - client_side_validation: true, required: false, serialized_name: 'twin', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info.rb index 6b5de729f2..99e6ea7a26 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info.rb @@ -61,7 +61,6 @@ class DeviceTwinInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DeviceTwinInfo', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'DeviceTwinInfo', model_properties: { authentication_type: { - client_side_validation: true, required: false, serialized_name: 'authenticationType', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, cloud_to_device_message_count: { - client_side_validation: true, required: false, serialized_name: 'cloudToDeviceMessageCount', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, connection_state: { - client_side_validation: true, required: false, serialized_name: 'connectionState', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, device_id: { - client_side_validation: true, required: false, serialized_name: 'deviceId', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -109,7 +103,6 @@ def self.mapper() } }, last_activity_time: { - client_side_validation: true, required: false, serialized_name: 'lastActivityTime', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: false, serialized_name: 'properties', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, status_update_time: { - client_side_validation: true, required: false, serialized_name: 'statusUpdateTime', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, x509thumbprint: { - client_side_validation: true, required: false, serialized_name: 'x509Thumbprint', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info_properties.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info_properties.rb index 2d824c5443..c878b9b24f 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info_properties.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info_properties.rb @@ -27,7 +27,6 @@ class DeviceTwinInfoProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DeviceTwinInfo_properties', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'DeviceTwinInfoProperties', model_properties: { desired: { - client_side_validation: true, required: false, serialized_name: 'desired', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, reported: { - client_side_validation: true, required: false, serialized_name: 'reported', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info_x509thumbprint.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info_x509thumbprint.rb index 9b66d638ac..fc00602020 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info_x509thumbprint.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info_x509thumbprint.rb @@ -28,7 +28,6 @@ class DeviceTwinInfoX509Thumbprint # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DeviceTwinInfo_x509Thumbprint', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'DeviceTwinInfoX509Thumbprint', model_properties: { primary_thumbprint: { - client_side_validation: true, required: false, serialized_name: 'primaryThumbprint', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, secondary_thumbprint: { - client_side_validation: true, required: false, serialized_name: 'secondaryThumbprint', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_metadata.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_metadata.rb index e412354033..efa3361e0f 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_metadata.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_metadata.rb @@ -23,7 +23,6 @@ class DeviceTwinMetadata # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DeviceTwinMetadata', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'DeviceTwinMetadata', model_properties: { last_updated: { - client_side_validation: true, required: false, serialized_name: 'lastUpdated', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_properties.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_properties.rb index e3f28bcf3b..0ac28680f1 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_properties.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/device_twin_properties.rb @@ -27,7 +27,6 @@ class DeviceTwinProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DeviceTwinProperties', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'DeviceTwinProperties', model_properties: { metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/event_grid_event.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/event_grid_event.rb index 87758fb08f..3173236677 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/event_grid_event.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/event_grid_event.rb @@ -43,7 +43,6 @@ class EventGridEvent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventGridEvent', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'EventGridEvent', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, topic: { - client_side_validation: true, required: false, serialized_name: 'topic', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, subject: { - client_side_validation: true, required: true, serialized_name: 'subject', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: true, serialized_name: 'data', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, event_type: { - client_side_validation: true, required: true, serialized_name: 'eventType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, event_time: { - client_side_validation: true, required: true, serialized_name: 'eventTime', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, metadata_version: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'metadataVersion', @@ -108,7 +100,6 @@ def self.mapper() } }, data_version: { - client_side_validation: true, required: true, serialized_name: 'dataVersion', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/event_hub_capture_file_created_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/event_hub_capture_file_created_event_data.rb index 3e4908cdbd..698389e86e 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/event_hub_capture_file_created_event_data.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/event_hub_capture_file_created_event_data.rb @@ -47,7 +47,6 @@ class EventHubCaptureFileCreatedEventData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventHubCaptureFileCreatedEventData', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'EventHubCaptureFileCreatedEventData', model_properties: { fileurl: { - client_side_validation: true, required: false, serialized_name: 'fileurl', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, file_type: { - client_side_validation: true, required: false, serialized_name: 'fileType', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, partition_id: { - client_side_validation: true, required: false, serialized_name: 'partitionId', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, size_in_bytes: { - client_side_validation: true, required: false, serialized_name: 'sizeInBytes', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, event_count: { - client_side_validation: true, required: false, serialized_name: 'eventCount', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, first_sequence_number: { - client_side_validation: true, required: false, serialized_name: 'firstSequenceNumber', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, last_sequence_number: { - client_side_validation: true, required: false, serialized_name: 'lastSequenceNumber', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, first_enqueue_time: { - client_side_validation: true, required: false, serialized_name: 'firstEnqueueTime', type: { @@ -119,7 +110,6 @@ def self.mapper() } }, last_enqueue_time: { - client_side_validation: true, required: false, serialized_name: 'lastEnqueueTime', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_created_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_created_event_data.rb index 36c9b70d5e..fa0a610b44 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_created_event_data.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_created_event_data.rb @@ -19,7 +19,6 @@ class IotHubDeviceCreatedEventData < DeviceLifeCycleEventProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IotHubDeviceCreatedEventData', type: { @@ -27,7 +26,6 @@ def self.mapper() class_name: 'IotHubDeviceCreatedEventData', model_properties: { device_id: { - client_side_validation: true, required: false, serialized_name: 'deviceId', type: { @@ -35,7 +33,6 @@ def self.mapper() } }, hub_name: { - client_side_validation: true, required: false, serialized_name: 'hubName', type: { @@ -43,7 +40,6 @@ def self.mapper() } }, op_type: { - client_side_validation: true, required: false, serialized_name: 'opType', type: { @@ -51,7 +47,6 @@ def self.mapper() } }, operation_timestamp: { - client_side_validation: true, required: false, serialized_name: 'operationTimestamp', type: { @@ -59,7 +54,6 @@ def self.mapper() } }, twin: { - client_side_validation: true, required: false, serialized_name: 'twin', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_deleted_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_deleted_event_data.rb index 411f6a1faf..f2aa17cb68 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_deleted_event_data.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_deleted_event_data.rb @@ -19,7 +19,6 @@ class IotHubDeviceDeletedEventData < DeviceLifeCycleEventProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IotHubDeviceDeletedEventData', type: { @@ -27,7 +26,6 @@ def self.mapper() class_name: 'IotHubDeviceDeletedEventData', model_properties: { device_id: { - client_side_validation: true, required: false, serialized_name: 'deviceId', type: { @@ -35,7 +33,6 @@ def self.mapper() } }, hub_name: { - client_side_validation: true, required: false, serialized_name: 'hubName', type: { @@ -43,7 +40,6 @@ def self.mapper() } }, op_type: { - client_side_validation: true, required: false, serialized_name: 'opType', type: { @@ -51,7 +47,6 @@ def self.mapper() } }, operation_timestamp: { - client_side_validation: true, required: false, serialized_name: 'operationTimestamp', type: { @@ -59,7 +54,6 @@ def self.mapper() } }, twin: { - client_side_validation: true, required: false, serialized_name: 'twin', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/job_state.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/job_state.rb new file mode 100644 index 0000000000..f373a69832 --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/job_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::V2018_01_01 + module Models + # + # Defines values for JobState + # + module JobState + Canceled = "Canceled" + Canceling = "Canceling" + Error = "Error" + Finished = "Finished" + Processing = "Processing" + Queued = "Queued" + Scheduled = "Scheduled" + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/media_job_state_change_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/media_job_state_change_event_data.rb new file mode 100644 index 0000000000..07e69a3a09 --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/media_job_state_change_event_data.rb @@ -0,0 +1,63 @@ +# 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::V2018_01_01 + module Models + # + # Schema of the Data property of an EventGridEvent for a + # Microsoft.Media.JobStateChange event. + # + class MediaJobStateChangeEventData + + include MsRestAzure + + # @return [JobState] The previous state of the Job. Possible values + # include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', + # 'Queued', 'Scheduled' + attr_accessor :previous_state + + # @return [JobState] The new state of the Job. Possible values include: + # 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', + # 'Scheduled' + attr_accessor :state + + + # + # Mapper for MediaJobStateChangeEventData class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'MediaJobStateChangeEventData', + type: { + name: 'Composite', + class_name: 'MediaJobStateChangeEventData', + model_properties: { + previous_state: { + required: false, + read_only: true, + serialized_name: 'previousState', + type: { + name: 'Enum', + module: 'JobState' + } + }, + state: { + required: false, + read_only: true, + serialized_name: 'state', + type: { + name: 'Enum', + module: 'JobState' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_cancel_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_cancel_data.rb index a167a7d3a4..1cf1ef06ee 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_cancel_data.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_cancel_data.rb @@ -54,7 +54,6 @@ class ResourceDeleteCancelData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceDeleteCancelData', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ResourceDeleteCancelData', model_properties: { tenant_id: { - client_side_validation: true, required: false, serialized_name: 'tenantId', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, subscription_id: { - client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, resource_group: { - client_side_validation: true, required: false, serialized_name: 'resourceGroup', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, resource_provider: { - client_side_validation: true, required: false, serialized_name: 'resourceProvider', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, resource_uri: { - client_side_validation: true, required: false, serialized_name: 'resourceUri', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, operation_name: { - client_side_validation: true, required: false, serialized_name: 'operationName', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, authorization: { - client_side_validation: true, required: false, serialized_name: 'authorization', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, claims: { - client_side_validation: true, required: false, serialized_name: 'claims', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, correlation_id: { - client_side_validation: true, required: false, serialized_name: 'correlationId', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, http_request: { - client_side_validation: true, required: false, serialized_name: 'httpRequest', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_failure_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_failure_data.rb index 0be5dcd984..165e4591ca 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_failure_data.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_failure_data.rb @@ -54,7 +54,6 @@ class ResourceDeleteFailureData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceDeleteFailureData', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ResourceDeleteFailureData', model_properties: { tenant_id: { - client_side_validation: true, required: false, serialized_name: 'tenantId', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, subscription_id: { - client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, resource_group: { - client_side_validation: true, required: false, serialized_name: 'resourceGroup', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, resource_provider: { - client_side_validation: true, required: false, serialized_name: 'resourceProvider', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, resource_uri: { - client_side_validation: true, required: false, serialized_name: 'resourceUri', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, operation_name: { - client_side_validation: true, required: false, serialized_name: 'operationName', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, authorization: { - client_side_validation: true, required: false, serialized_name: 'authorization', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, claims: { - client_side_validation: true, required: false, serialized_name: 'claims', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, correlation_id: { - client_side_validation: true, required: false, serialized_name: 'correlationId', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, http_request: { - client_side_validation: true, required: false, serialized_name: 'httpRequest', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_success_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_success_data.rb index 20d1328997..4971033217 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_success_data.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_success_data.rb @@ -54,7 +54,6 @@ class ResourceDeleteSuccessData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceDeleteSuccessData', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ResourceDeleteSuccessData', model_properties: { tenant_id: { - client_side_validation: true, required: false, serialized_name: 'tenantId', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, subscription_id: { - client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, resource_group: { - client_side_validation: true, required: false, serialized_name: 'resourceGroup', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, resource_provider: { - client_side_validation: true, required: false, serialized_name: 'resourceProvider', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, resource_uri: { - client_side_validation: true, required: false, serialized_name: 'resourceUri', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, operation_name: { - client_side_validation: true, required: false, serialized_name: 'operationName', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, authorization: { - client_side_validation: true, required: false, serialized_name: 'authorization', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, claims: { - client_side_validation: true, required: false, serialized_name: 'claims', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, correlation_id: { - client_side_validation: true, required: false, serialized_name: 'correlationId', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, http_request: { - client_side_validation: true, required: false, serialized_name: 'httpRequest', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_cancel_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_cancel_data.rb index 83fae06f51..799c440e45 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_cancel_data.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_cancel_data.rb @@ -54,7 +54,6 @@ class ResourceWriteCancelData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceWriteCancelData', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ResourceWriteCancelData', model_properties: { tenant_id: { - client_side_validation: true, required: false, serialized_name: 'tenantId', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, subscription_id: { - client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, resource_group: { - client_side_validation: true, required: false, serialized_name: 'resourceGroup', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, resource_provider: { - client_side_validation: true, required: false, serialized_name: 'resourceProvider', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, resource_uri: { - client_side_validation: true, required: false, serialized_name: 'resourceUri', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, operation_name: { - client_side_validation: true, required: false, serialized_name: 'operationName', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, authorization: { - client_side_validation: true, required: false, serialized_name: 'authorization', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, claims: { - client_side_validation: true, required: false, serialized_name: 'claims', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, correlation_id: { - client_side_validation: true, required: false, serialized_name: 'correlationId', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, http_request: { - client_side_validation: true, required: false, serialized_name: 'httpRequest', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_failure_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_failure_data.rb index 0dfeb7f9fe..b55cb4c006 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_failure_data.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_failure_data.rb @@ -54,7 +54,6 @@ class ResourceWriteFailureData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceWriteFailureData', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ResourceWriteFailureData', model_properties: { tenant_id: { - client_side_validation: true, required: false, serialized_name: 'tenantId', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, subscription_id: { - client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, resource_group: { - client_side_validation: true, required: false, serialized_name: 'resourceGroup', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, resource_provider: { - client_side_validation: true, required: false, serialized_name: 'resourceProvider', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, resource_uri: { - client_side_validation: true, required: false, serialized_name: 'resourceUri', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, operation_name: { - client_side_validation: true, required: false, serialized_name: 'operationName', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, authorization: { - client_side_validation: true, required: false, serialized_name: 'authorization', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, claims: { - client_side_validation: true, required: false, serialized_name: 'claims', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, correlation_id: { - client_side_validation: true, required: false, serialized_name: 'correlationId', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, http_request: { - client_side_validation: true, required: false, serialized_name: 'httpRequest', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_success_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_success_data.rb index d9117bb232..9750b5e0f6 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_success_data.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/resource_write_success_data.rb @@ -54,7 +54,6 @@ class ResourceWriteSuccessData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceWriteSuccessData', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ResourceWriteSuccessData', model_properties: { tenant_id: { - client_side_validation: true, required: false, serialized_name: 'tenantId', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, subscription_id: { - client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, resource_group: { - client_side_validation: true, required: false, serialized_name: 'resourceGroup', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, resource_provider: { - client_side_validation: true, required: false, serialized_name: 'resourceProvider', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, resource_uri: { - client_side_validation: true, required: false, serialized_name: 'resourceUri', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, operation_name: { - client_side_validation: true, required: false, serialized_name: 'operationName', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, authorization: { - client_side_validation: true, required: false, serialized_name: 'authorization', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, claims: { - client_side_validation: true, required: false, serialized_name: 'claims', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, correlation_id: { - client_side_validation: true, required: false, serialized_name: 'correlationId', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, http_request: { - client_side_validation: true, required: false, serialized_name: 'httpRequest', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/service_bus_active_messages_available_with_no_listeners_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/service_bus_active_messages_available_with_no_listeners_event_data.rb new file mode 100644 index 0000000000..f5f3c9277e --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/service_bus_active_messages_available_with_no_listeners_event_data.rb @@ -0,0 +1,102 @@ +# 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::V2018_01_01 + module Models + # + # Schema of the Data property of an EventGridEvent for a + # Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners event. + # + class ServiceBusActiveMessagesAvailableWithNoListenersEventData + + include MsRestAzure + + # @return [String] The namespace name of the Microsoft.ServiceBus + # resource. + attr_accessor :namespace_name + + # @return [String] The endpoint of the Microsoft.ServiceBus resource. + attr_accessor :request_uri + + # @return [String] The entity type of the Microsoft.ServiceBus resource. + # Could be one of 'queue' or 'subscriber'. + attr_accessor :entity_type + + # @return [String] The name of the Microsoft.ServiceBus queue. If the + # entity type is of type 'subscriber', then this value will be null. + attr_accessor :queue_name + + # @return [String] The name of the Microsoft.ServiceBus topic. If the + # entity type is of type 'queue', then this value will be null. + attr_accessor :topic_name + + # @return [String] The name of the Microsoft.ServiceBus topic's + # subscription. If the entity type is of type 'queue', then this value + # will be null. + attr_accessor :subscription_name + + + # + # Mapper for ServiceBusActiveMessagesAvailableWithNoListenersEventData + # class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ServiceBusActiveMessagesAvailableWithNoListenersEventData', + type: { + name: 'Composite', + class_name: 'ServiceBusActiveMessagesAvailableWithNoListenersEventData', + model_properties: { + namespace_name: { + required: false, + serialized_name: 'namespaceName', + type: { + name: 'String' + } + }, + request_uri: { + required: false, + serialized_name: 'requestUri', + type: { + name: 'String' + } + }, + entity_type: { + required: false, + serialized_name: 'entityType', + type: { + name: 'String' + } + }, + queue_name: { + required: false, + serialized_name: 'queueName', + type: { + name: 'String' + } + }, + topic_name: { + required: false, + serialized_name: 'topicName', + type: { + name: 'String' + } + }, + subscription_name: { + required: false, + serialized_name: 'subscriptionName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/service_bus_deadletter_messages_available_with_no_listeners_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/service_bus_deadletter_messages_available_with_no_listeners_event_data.rb new file mode 100644 index 0000000000..d3a5cea04a --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/service_bus_deadletter_messages_available_with_no_listeners_event_data.rb @@ -0,0 +1,104 @@ +# 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::V2018_01_01 + module Models + # + # Schema of the Data property of an EventGridEvent for a + # Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListenersEvent + # event. + # + class ServiceBusDeadletterMessagesAvailableWithNoListenersEventData + + include MsRestAzure + + # @return [String] The namespace name of the Microsoft.ServiceBus + # resource. + attr_accessor :namespace_name + + # @return [String] The endpoint of the Microsoft.ServiceBus resource. + attr_accessor :request_uri + + # @return [String] The entity type of the Microsoft.ServiceBus resource. + # Could be one of 'queue' or 'subscriber'. + attr_accessor :entity_type + + # @return [String] The name of the Microsoft.ServiceBus queue. If the + # entity type is of type 'subscriber', then this value will be null. + attr_accessor :queue_name + + # @return [String] The name of the Microsoft.ServiceBus topic. If the + # entity type is of type 'queue', then this value will be null. + attr_accessor :topic_name + + # @return [String] The name of the Microsoft.ServiceBus topic's + # subscription. If the entity type is of type 'queue', then this value + # will be null. + attr_accessor :subscription_name + + + # + # Mapper for + # ServiceBusDeadletterMessagesAvailableWithNoListenersEventData class as + # Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ServiceBusDeadletterMessagesAvailableWithNoListenersEventData', + type: { + name: 'Composite', + class_name: 'ServiceBusDeadletterMessagesAvailableWithNoListenersEventData', + model_properties: { + namespace_name: { + required: false, + serialized_name: 'namespaceName', + type: { + name: 'String' + } + }, + request_uri: { + required: false, + serialized_name: 'requestUri', + type: { + name: 'String' + } + }, + entity_type: { + required: false, + serialized_name: 'entityType', + type: { + name: 'String' + } + }, + queue_name: { + required: false, + serialized_name: 'queueName', + type: { + name: 'String' + } + }, + topic_name: { + required: false, + serialized_name: 'topicName', + type: { + name: 'String' + } + }, + subscription_name: { + required: false, + serialized_name: 'subscriptionName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/storage_blob_created_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/storage_blob_created_event_data.rb index 9ccfc265d1..e724c7cc55 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/storage_blob_created_event_data.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/storage_blob_created_event_data.rb @@ -61,7 +61,6 @@ class StorageBlobCreatedEventData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageBlobCreatedEventData', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'StorageBlobCreatedEventData', model_properties: { api: { - client_side_validation: true, required: false, serialized_name: 'api', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, client_request_id: { - client_side_validation: true, required: false, serialized_name: 'clientRequestId', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, e_tag: { - client_side_validation: true, required: false, serialized_name: 'eTag', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, content_type: { - client_side_validation: true, required: false, serialized_name: 'contentType', type: { @@ -109,7 +103,6 @@ def self.mapper() } }, content_length: { - client_side_validation: true, required: false, serialized_name: 'contentLength', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, blob_type: { - client_side_validation: true, required: false, serialized_name: 'blobType', type: { @@ -125,7 +117,6 @@ def self.mapper() } }, url: { - client_side_validation: true, required: false, serialized_name: 'url', type: { @@ -133,7 +124,6 @@ def self.mapper() } }, sequencer: { - client_side_validation: true, required: false, serialized_name: 'sequencer', type: { @@ -141,7 +131,6 @@ def self.mapper() } }, storage_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'storageDiagnostics', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/storage_blob_deleted_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/storage_blob_deleted_event_data.rb index 950dbb9d29..aa679b08c1 100644 --- a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/storage_blob_deleted_event_data.rb +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/storage_blob_deleted_event_data.rb @@ -53,7 +53,6 @@ class StorageBlobDeletedEventData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageBlobDeletedEventData', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'StorageBlobDeletedEventData', model_properties: { api: { - client_side_validation: true, required: false, serialized_name: 'api', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, client_request_id: { - client_side_validation: true, required: false, serialized_name: 'clientRequestId', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, content_type: { - client_side_validation: true, required: false, serialized_name: 'contentType', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, blob_type: { - client_side_validation: true, required: false, serialized_name: 'blobType', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, url: { - client_side_validation: true, required: false, serialized_name: 'url', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, sequencer: { - client_side_validation: true, required: false, serialized_name: 'sequencer', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, storage_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'storageDiagnostics', type: { diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_deleted_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_deleted_event_data.rb new file mode 100644 index 0000000000..2c4b7913bb --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_deleted_event_data.rb @@ -0,0 +1,47 @@ +# 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::V2018_01_01 + module Models + # + # Schema of the Data property of an EventGridEvent for a + # Microsoft.EventGrid.SubscriptionDeletedEvent. + # + class SubscriptionDeletedEventData + + include MsRestAzure + + # @return [String] The Azure resource ID of the deleted event + # subscription. + attr_accessor :event_subscription_id + + + # + # Mapper for SubscriptionDeletedEventData class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SubscriptionDeletedEventData', + type: { + name: 'Composite', + class_name: 'SubscriptionDeletedEventData', + model_properties: { + event_subscription_id: { + required: false, + read_only: true, + serialized_name: 'eventSubscriptionId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_validation_event_data.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_validation_event_data.rb new file mode 100644 index 0000000000..2d989a46e5 --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_validation_event_data.rb @@ -0,0 +1,65 @@ +# 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::V2018_01_01 + module Models + # + # Schema of the Data property of an EventGridEvent for a + # Microsoft.EventGrid.SubscriptionValidationEvent. + # + class SubscriptionValidationEventData + + include MsRestAzure + + # @return [String] The validation code sent by Azure Event Grid to + # validate an event subscription. To complete the validation handshake, + # the subscriber must either respond with this validation code as part of + # the validation response, or perform a GET request on the validationUrl + # (available starting version 2018-05-01-preview). + attr_accessor :validation_code + + # @return [String] The validation URL sent by Azure Event Grid (available + # starting version 2018-05-01-preview). To complete the validation + # handshake, the subscriber must either respond with the validationCode + # as part of the validation response, or perform a GET request on the + # validationUrl (available starting version 2018-05-01-preview). + attr_accessor :validation_url + + + # + # Mapper for SubscriptionValidationEventData class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SubscriptionValidationEventData', + type: { + name: 'Composite', + class_name: 'SubscriptionValidationEventData', + model_properties: { + validation_code: { + required: false, + read_only: true, + serialized_name: 'validationCode', + type: { + name: 'String' + } + }, + validation_url: { + required: false, + read_only: true, + serialized_name: 'validationUrl', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_validation_response.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_validation_response.rb new file mode 100644 index 0000000000..29d0cf3c76 --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/models/subscription_validation_response.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::V2018_01_01 + module Models + # + # To complete an event subscription validation handshake, a subscriber can + # use either the validationCode or the validationUrl received in a + # SubscriptionValidationEvent. When the validationCode is used, the + # SubscriptionValidationResponse can be used to build the response. + # + class SubscriptionValidationResponse + + include MsRestAzure + + # @return [String] The validation response sent by the subscriber to + # Azure Event Grid to complete the validation of an event subscription. + attr_accessor :validation_response + + + # + # Mapper for SubscriptionValidationResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SubscriptionValidationResponse', + type: { + name: 'Composite', + class_name: 'SubscriptionValidationResponse', + model_properties: { + validation_response: { + required: false, + serialized_name: 'validationResponse', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/version.rb b/data/azure_event_grid/lib/2018-01-01/generated/azure_event_grid/version.rb new file mode 100644 index 0000000000..494c4a5a01 --- /dev/null +++ b/data/azure_event_grid/lib/2018-01-01/generated/azure_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::V2018_01_01 + VERSION = '0.16.1' +end diff --git a/data/azure_event_grid/lib/profiles/latest/modules/eventgrid_profile_module.rb b/data/azure_event_grid/lib/profiles/latest/modules/eventgrid_profile_module.rb index 618f84a815..e944f85309 100644 --- a/data/azure_event_grid/lib/profiles/latest/modules/eventgrid_profile_module.rb +++ b/data/azure_event_grid/lib/profiles/latest/modules/eventgrid_profile_module.rb @@ -7,24 +7,38 @@ module Azure::EventGrid::Profiles::Latest module Models - EventGridEvent = Azure::EventGrid::V2018_01_01::Models::EventGridEvent - StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData - StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData - EventHubCaptureFileCreatedEventData = Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData - ResourceWriteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData - DeviceLifeCycleEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties - ResourceDeleteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData DeviceTwinMetadata = Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata - ResourceDeleteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteCancelData DeviceTwinProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties - ResourceWriteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData + StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData DeviceTwinInfoProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties ResourceWriteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData DeviceTwinInfoX509Thumbprint = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint - ResourceDeleteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData + ResourceWriteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData DeviceTwinInfo = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo + ResourceDeleteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData + DeviceLifeCycleEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties + EventGridEvent = Azure::EventGrid::V2018_01_01::Models::EventGridEvent + SubscriptionValidationEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData + SubscriptionValidationResponse = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse + SubscriptionDeletedEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData + ServiceBusActiveMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData + StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData + MediaJobStateChangeEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData + ResourceWriteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData + ContainerRegistryEventTarget = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventTarget + ResourceDeleteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteCancelData + ContainerRegistryEventRequest = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventRequest + EventHubCaptureFileCreatedEventData = Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData + ContainerRegistryEventActor = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventActor + ServiceBusDeadletterMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusDeadletterMessagesAvailableWithNoListenersEventData + ContainerRegistryEventSource = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventSource + ResourceDeleteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData + ContainerRegistryEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventData IotHubDeviceCreatedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceCreatedEventData IotHubDeviceDeletedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDeletedEventData + ContainerRegistryImagePushedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImagePushedEventData + ContainerRegistryImageDeletedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImageDeletedEventData + JobState = Azure::EventGrid::V2018_01_01::Models::JobState end # @@ -71,53 +85,86 @@ def method_missing(method, *args) end class ModelClasses - def event_grid_event - Azure::EventGrid::V2018_01_01::Models::EventGridEvent + def device_twin_metadata + Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata end - def storage_blob_created_event_data - Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData + def device_twin_properties + Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties end def storage_blob_deleted_event_data Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData end - def event_hub_capture_file_created_event_data - Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData + def device_twin_info_properties + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties end - def resource_write_failure_data - Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData + def resource_write_success_data + Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData + end + def device_twin_info_x509_thumbprint + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint + end + def resource_write_cancel_data + Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData + end + def device_twin_info + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo + end + def resource_delete_failure_data + Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData end def device_life_cycle_event_properties Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties end - def resource_delete_success_data - Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData + def event_grid_event + Azure::EventGrid::V2018_01_01::Models::EventGridEvent end - def device_twin_metadata - Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata + def subscription_validation_event_data + Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData + end + def subscription_validation_response + Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse + end + def subscription_deleted_event_data + Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData + end + def service_bus_active_messages_available_with_no_listeners_event_data + Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData + end + def storage_blob_created_event_data + Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData + end + def media_job_state_change_event_data + Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData + end + def resource_write_failure_data + Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData + end + def container_registry_event_target + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventTarget end def resource_delete_cancel_data Azure::EventGrid::V2018_01_01::Models::ResourceDeleteCancelData end - def device_twin_properties - Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties + def container_registry_event_request + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventRequest end - def resource_write_cancel_data - Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData + def event_hub_capture_file_created_event_data + Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData end - def device_twin_info_properties - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties + def container_registry_event_actor + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventActor end - def resource_write_success_data - Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData + def service_bus_deadletter_messages_available_with_no_listeners_event_data + Azure::EventGrid::V2018_01_01::Models::ServiceBusDeadletterMessagesAvailableWithNoListenersEventData end - def device_twin_info_x509_thumbprint - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint + def container_registry_event_source + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventSource end - def resource_delete_failure_data - Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData + def resource_delete_success_data + Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData end - def device_twin_info - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo + def container_registry_event_data + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventData end def iot_hub_device_created_event_data Azure::EventGrid::V2018_01_01::Models::IotHubDeviceCreatedEventData @@ -125,5 +172,14 @@ def iot_hub_device_created_event_data def iot_hub_device_deleted_event_data Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDeletedEventData end + def container_registry_image_pushed_event_data + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImagePushedEventData + end + def container_registry_image_deleted_event_data + Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImageDeletedEventData + end + def job_state + Azure::EventGrid::V2018_01_01::Models::JobState + end end end From 7c2d0370aac77bb6067f834f590e41385769ffb6 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 10:56:59 -0700 Subject: [PATCH 06/22] [AutoPR] cognitiveservices/data-plane/ComputerVision (#1349) * Generated from bd6c66b615b94480a1458dde3a8bc42f3a689548 (#1322) ComputerVision - collection of fixes * fix ocr language parameter to fix [bug](https://github.com/Azure/azure-sdk-for-net/issues/4083) * language parameter missing for /tag path * language parameter missing for /models/*/analyze path * make /models/*/analyze return a more generic type * add specific types for /models/*/analyze to return for current models * Generated from b35c48945774ac7be9bf0fa05e19c0890141bb3d (#1364) Add Spanish as an option as ServiceLanguage for ComputerVision. --- .../modules/computervision_profile_module.rb | 120 +++-- .../azure_cognitiveservices_computervision.rb | 36 +- .../computer_vision_client.rb | 506 +++++++++++------- .../models/adult_info.rb | 5 - .../models/category.rb | 6 +- .../models/category_detail.rb | 3 - .../models/celebrities_model.rb | 4 - .../models/celebrity_results.rb | 73 +++ .../models/color_info.rb | 7 - .../models/computer_vision_error.rb | 4 - .../models/domain_model_results.rb | 26 +- .../models/face_description.rb | 9 +- .../models/face_rectangle.rb | 5 - .../models/gender.rb | 16 + .../models/image_analysis.rb | 25 +- .../models/image_caption.rb | 3 - .../models/image_description.rb | 9 +- .../models/image_description_details.rb | 9 +- .../models/image_metadata.rb | 4 - .../models/image_tag.rb | 3 - .../models/image_type.rb | 3 - .../models/image_url.rb | 4 +- .../models/landmark_results.rb | 73 +++ .../models/landmark_results_landmarks_item.rb | 54 ++ .../models/line.rb | 6 - .../models/list_models_result.rb | 3 - .../models/model_description.rb | 4 - .../models/ocr_line.rb | 4 - .../models/ocr_region.rb | 4 - .../models/ocr_result.rb | 11 +- .../models/ocr_word.rb | 3 - .../models/recognition_result.rb | 3 - .../models/tag_result.rb | 7 +- .../models/text_operation_result.rb | 3 - .../models/word.rb | 4 - .../version.rb | 8 + .../modules/computervision_profile_module.rb | 120 +++-- 37 files changed, 691 insertions(+), 496 deletions(-) create mode 100644 data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/gender.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/version.rb diff --git a/azure_sdk/lib/latest/modules/computervision_profile_module.rb b/azure_sdk/lib/latest/modules/computervision_profile_module.rb index cae6fdec77..003cc18c87 100644 --- a/azure_sdk/lib/latest/modules/computervision_profile_module.rb +++ b/azure_sdk/lib/latest/modules/computervision_profile_module.rb @@ -8,42 +8,44 @@ module Azure::Profiles::Latest module ComputerVision module Models - ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails - Word = Azure::CognitiveServices::ComputerVision::V1_0::Models::Word FaceDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription - RecognitionResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult ImageAnalysis = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis - FaceRectangle = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle + Line = Azure::CognitiveServices::ComputerVision::V1_0::Models::Line OcrWord = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrWord - CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail + TextOperationResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult OcrLine = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLine - AdultInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo + CelebritiesModel = Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel OcrRegion = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrRegion - ImageType = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType + Category = Azure::CognitiveServices::ComputerVision::V1_0::Models::Category OcrResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrResult - ImageCaption = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption + ColorInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo ModelDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::ModelDescription - Line = Azure::CognitiveServices::ComputerVision::V1_0::Models::Line + ImageTag = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag ListModelsResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::ListModelsResult - CelebritiesModel = Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel + ImageMetadata = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata DomainModelResults = Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModelResults - ColorInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo + Word = Azure::CognitiveServices::ComputerVision::V1_0::Models::Word + CelebrityResults = Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebrityResults + FaceRectangle = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle + LandmarkResultsLandmarksItem = Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResultsLandmarksItem + AdultInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo + LandmarkResults = Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResults + ImageCaption = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption ImageDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescription - ImageMetadata = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata + RecognitionResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult TagResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TagResult - Category = Azure::CognitiveServices::ComputerVision::V1_0::Models::Category + ImageType = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType ComputerVisionError = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError - TextOperationResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult + CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail ImageUrl = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl - ImageTag = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag + ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes + Gender = Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes OcrLanguages = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages AzureRegions = Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions Details = Azure::CognitiveServices::ComputerVision::V1_0::Models::Details - Language1 = Azure::CognitiveServices::ComputerVision::V1_0::Models::Language1 - DomainModels = Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModels end class ComputerVisionDataClass @@ -75,93 +77,105 @@ def method_missing(method, *args) end class ModelClasses - def image_description_details - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails - end - def word - Azure::CognitiveServices::ComputerVision::V1_0::Models::Word - end def face_description Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription end - def recognition_result - Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult - end def image_analysis Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis end - def face_rectangle - Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle + def line + Azure::CognitiveServices::ComputerVision::V1_0::Models::Line end def ocr_word Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrWord end - def category_detail - Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail + def text_operation_result + Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult end def ocr_line Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLine end - def adult_info - Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo + def celebrities_model + Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel end def ocr_region Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrRegion end - def image_type - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType + def category + Azure::CognitiveServices::ComputerVision::V1_0::Models::Category end def ocr_result Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrResult end - def image_caption - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption + def color_info + Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo end def model_description Azure::CognitiveServices::ComputerVision::V1_0::Models::ModelDescription end - def line - Azure::CognitiveServices::ComputerVision::V1_0::Models::Line + def image_tag + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag end def list_models_result Azure::CognitiveServices::ComputerVision::V1_0::Models::ListModelsResult end - def celebrities_model - Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel + def image_metadata + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata end def domain_model_results Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModelResults end - def color_info - Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo + def word + Azure::CognitiveServices::ComputerVision::V1_0::Models::Word + end + def celebrity_results + Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebrityResults + end + def face_rectangle + Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle + end + def landmark_results_landmarks_item + Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResultsLandmarksItem + end + def adult_info + Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo + end + def landmark_results + Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResults + end + def image_caption + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption end def image_description Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescription end - def image_metadata - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata + def recognition_result + Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult end def tag_result Azure::CognitiveServices::ComputerVision::V1_0::Models::TagResult end - def category - Azure::CognitiveServices::ComputerVision::V1_0::Models::Category + def image_type + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType end def computer_vision_error Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError end - def text_operation_result - Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult + def category_detail + Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail end def image_url Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl end - def image_tag - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag + def image_description_details + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails end def text_operation_status_codes Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes end + def gender + Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender + end def computer_vision_error_codes Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes end @@ -177,12 +191,6 @@ def azure_regions def details Azure::CognitiveServices::ComputerVision::V1_0::Models::Details end - def language1 - Azure::CognitiveServices::ComputerVision::V1_0::Models::Language1 - end - def domain_models - Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModels - end end end end diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision.rb index f8b010eed5..0c179cda8b 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision.rb @@ -23,41 +23,43 @@ module Azure::CognitiveServices::ComputerVision::V1_0 autoload :ComputerVisionClient, '1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb' module Models - autoload :ImageDescriptionDetails, '1.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb' - autoload :Word, '1.0/generated/azure_cognitiveservices_computervision/models/word.rb' autoload :FaceDescription, '1.0/generated/azure_cognitiveservices_computervision/models/face_description.rb' - autoload :RecognitionResult, '1.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb' autoload :ImageAnalysis, '1.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb' - autoload :FaceRectangle, '1.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb' + autoload :Line, '1.0/generated/azure_cognitiveservices_computervision/models/line.rb' autoload :OcrWord, '1.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb' - autoload :CategoryDetail, '1.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb' + autoload :TextOperationResult, '1.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb' autoload :OcrLine, '1.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb' - autoload :AdultInfo, '1.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb' + autoload :CelebritiesModel, '1.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb' autoload :OcrRegion, '1.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb' - autoload :ImageType, '1.0/generated/azure_cognitiveservices_computervision/models/image_type.rb' + autoload :Category, '1.0/generated/azure_cognitiveservices_computervision/models/category.rb' autoload :OcrResult, '1.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb' - autoload :ImageCaption, '1.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb' + autoload :ColorInfo, '1.0/generated/azure_cognitiveservices_computervision/models/color_info.rb' autoload :ModelDescription, '1.0/generated/azure_cognitiveservices_computervision/models/model_description.rb' - autoload :Line, '1.0/generated/azure_cognitiveservices_computervision/models/line.rb' + autoload :ImageTag, '1.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb' autoload :ListModelsResult, '1.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb' - autoload :CelebritiesModel, '1.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb' + autoload :ImageMetadata, '1.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb' autoload :DomainModelResults, '1.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb' - autoload :ColorInfo, '1.0/generated/azure_cognitiveservices_computervision/models/color_info.rb' + autoload :Word, '1.0/generated/azure_cognitiveservices_computervision/models/word.rb' + autoload :CelebrityResults, '1.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb' + autoload :FaceRectangle, '1.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb' + autoload :LandmarkResultsLandmarksItem, '1.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.rb' + autoload :AdultInfo, '1.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb' + autoload :LandmarkResults, '1.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb' + autoload :ImageCaption, '1.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb' autoload :ImageDescription, '1.0/generated/azure_cognitiveservices_computervision/models/image_description.rb' - autoload :ImageMetadata, '1.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb' + autoload :RecognitionResult, '1.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb' autoload :TagResult, '1.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb' - autoload :Category, '1.0/generated/azure_cognitiveservices_computervision/models/category.rb' + autoload :ImageType, '1.0/generated/azure_cognitiveservices_computervision/models/image_type.rb' autoload :ComputerVisionError, '1.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb' - autoload :TextOperationResult, '1.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb' + autoload :CategoryDetail, '1.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb' autoload :ImageUrl, '1.0/generated/azure_cognitiveservices_computervision/models/image_url.rb' - autoload :ImageTag, '1.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb' + autoload :ImageDescriptionDetails, '1.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb' autoload :TextOperationStatusCodes, '1.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb' + autoload :Gender, '1.0/generated/azure_cognitiveservices_computervision/models/gender.rb' autoload :ComputerVisionErrorCodes, '1.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb' autoload :VisualFeatureTypes, '1.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb' autoload :OcrLanguages, '1.0/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb' autoload :AzureRegions, '1.0/generated/azure_cognitiveservices_computervision/models/azure_regions.rb' autoload :Details, '1.0/generated/azure_cognitiveservices_computervision/models/details.rb' - autoload :Language1, '1.0/generated/azure_cognitiveservices_computervision/models/language1.rb' - autoload :DomainModels, '1.0/generated/azure_cognitiveservices_computervision/models/domain_models.rb' end end diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb index fca9db6725..4844b73bfb 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb @@ -103,9 +103,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? @@ -127,8 +124,8 @@ def make_request_async(method, path, options = {}) # # @return [ListModelsResult] operation results. # - def list_models(custom_headers:nil) - response = list_models_async(custom_headers:custom_headers).value! + def list_models(custom_headers = nil) + response = list_models_async(custom_headers).value! response.body unless response.nil? end @@ -144,8 +141,8 @@ def list_models(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_models_with_http_info(custom_headers:nil) - list_models_async(custom_headers:custom_headers).value! + def list_models_with_http_info(custom_headers = nil) + list_models_async(custom_headers).value! end # @@ -160,12 +157,11 @@ def list_models_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_models_async(custom_headers:nil) + def list_models_async(custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -216,7 +212,7 @@ def list_models_async(custom_headers:nil) # to allow you to choose which features to return. By default, image # categories are returned in the response. # - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param visual_features [Array] A string indicating what # visual feature types to return. Multiple values should be comma-separated. # Valid visual feature types include:Categories - categorizes image content @@ -232,18 +228,18 @@ def list_models_async(custom_headers:nil) # details to return. Multiple values should be comma-separated. Valid visual # feature types include:Celebrities - identifies celebrities if detected in the # image. - # @param language [Language1] A string indicating which language to return. The - # service will return recognition results in specified language. If this + # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default.zh - Simplified Chinese. Possible values - # include: 'en', 'zh' + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [ImageAnalysis] operation results. # - def analyze_image(url, visual_features:nil, details:nil, language:nil, custom_headers:nil) - response = analyze_image_async(url, visual_features:visual_features, details:details, language:language, custom_headers:custom_headers).value! + def analyze_image(url, visual_features = nil, details = nil, language = nil, custom_headers = nil) + response = analyze_image_async(url, visual_features, details, language, custom_headers).value! response.body unless response.nil? end @@ -254,7 +250,7 @@ def analyze_image(url, visual_features:nil, details:nil, language:nil, custom_he # to allow you to choose which features to return. By default, image # categories are returned in the response. # - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param visual_features [Array] A string indicating what # visual feature types to return. Multiple values should be comma-separated. # Valid visual feature types include:Categories - categorizes image content @@ -270,18 +266,18 @@ def analyze_image(url, visual_features:nil, details:nil, language:nil, custom_he # details to return. Multiple values should be comma-separated. Valid visual # feature types include:Celebrities - identifies celebrities if detected in the # image. - # @param language [Language1] A string indicating which language to return. The - # service will return recognition results in specified language. If this + # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default.zh - Simplified Chinese. Possible values - # include: 'en', 'zh' + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def analyze_image_with_http_info(url, visual_features:nil, details:nil, language:nil, custom_headers:nil) - analyze_image_async(url, visual_features:visual_features, details:details, language:language, custom_headers:custom_headers).value! + def analyze_image_with_http_info(url, visual_features = nil, details = nil, language = nil, custom_headers = nil) + analyze_image_async(url, visual_features, details, language, custom_headers).value! end # @@ -291,7 +287,7 @@ def analyze_image_with_http_info(url, visual_features:nil, details:nil, language # to allow you to choose which features to return. By default, image # categories are returned in the response. # - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param visual_features [Array] A string indicating what # visual feature types to return. Multiple values should be comma-separated. # Valid visual feature types include:Categories - categorizes image content @@ -307,17 +303,17 @@ def analyze_image_with_http_info(url, visual_features:nil, details:nil, language # details to return. Multiple values should be comma-separated. Valid visual # feature types include:Celebrities - identifies celebrities if detected in the # image. - # @param language [Language1] A string indicating which language to return. The - # service will return recognition results in specified language. If this + # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default.zh - Simplified Chinese. Possible values - # include: 'en', 'zh' + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def analyze_image_async(url, visual_features:nil, details:nil, language:nil, custom_headers:nil) + def analyze_image_async(url, visual_features = nil, details = nil, language = nil, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'url is nil' if url.nil? @@ -327,12 +323,13 @@ def analyze_image_async(url, visual_features:nil, details:nil, language:nil, cus end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) @@ -392,15 +389,15 @@ def analyze_image_async(url, visual_features:nil, details:nil, language:nil, cus # Recommended minimum of 50. # @param height [Integer] Height of the thumbnail. It must be between 1 and # 1024. Recommended minimum of 50. - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [NOT_IMPLEMENTED] operation results. # - def generate_thumbnail(width, height, url, smart_cropping:false, custom_headers:nil) - response = generate_thumbnail_async(width, height, url, smart_cropping:smart_cropping, custom_headers:custom_headers).value! + def generate_thumbnail(width, height, url, smart_cropping = false, custom_headers = nil) + response = generate_thumbnail_async(width, height, url, smart_cropping, custom_headers).value! response.body unless response.nil? end @@ -417,15 +414,15 @@ def generate_thumbnail(width, height, url, smart_cropping:false, custom_headers: # Recommended minimum of 50. # @param height [Integer] Height of the thumbnail. It must be between 1 and # 1024. Recommended minimum of 50. - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generate_thumbnail_with_http_info(width, height, url, smart_cropping:false, custom_headers:nil) - generate_thumbnail_async(width, height, url, smart_cropping:smart_cropping, custom_headers:custom_headers).value! + def generate_thumbnail_with_http_info(width, height, url, smart_cropping = false, custom_headers = nil) + generate_thumbnail_async(width, height, url, smart_cropping, custom_headers).value! end # @@ -441,21 +438,17 @@ def generate_thumbnail_with_http_info(width, height, url, smart_cropping:false, # Recommended minimum of 50. # @param height [Integer] Height of the thumbnail. It must be between 1 and # 1024. Recommended minimum of 50. - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generate_thumbnail_async(width, height, url, smart_cropping:false, custom_headers:nil) + def generate_thumbnail_async(width, height, url, smart_cropping = false, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'width is nil' if width.nil? - fail ArgumentError, "'width' should satisfy the constraint - 'InclusiveMaximum': '1023'" if !width.nil? && width > 1023 - fail ArgumentError, "'width' should satisfy the constraint - 'InclusiveMinimum': '1'" if !width.nil? && width < 1 fail ArgumentError, 'height is nil' if height.nil? - fail ArgumentError, "'height' should satisfy the constraint - 'InclusiveMaximum': '1023'" if !height.nil? && height > 1023 - fail ArgumentError, "'height' should satisfy the constraint - 'InclusiveMinimum': '1'" if !height.nil? && height < 1 fail ArgumentError, 'url is nil' if url.nil? image_url = ImageUrl.new @@ -464,12 +457,13 @@ def generate_thumbnail_async(width, height, url, smart_cropping:false, custom_he end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) @@ -504,7 +498,6 @@ def generate_thumbnail_async(width, height, url, smart_cropping:false, custom_he begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -535,7 +528,7 @@ def generate_thumbnail_async(width, height, url, smart_cropping:false, custom_he # the image. With detectOrientation=true the OCR service tries to detect the # image orientation and correct it before further processing (e.g. if it's # upside-down). - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param language [OcrLanguages] The BCP-47 language code of the text to be # detected in the image. The default value is 'unk'. Possible values include: # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', @@ -546,8 +539,8 @@ def generate_thumbnail_async(width, height, url, smart_cropping:false, custom_he # # @return [OcrResult] operation results. # - def recognize_printed_text(detect_orientation, url, language:nil, custom_headers:nil) - response = recognize_printed_text_async(detect_orientation, url, language:language, custom_headers:custom_headers).value! + def recognize_printed_text(detect_orientation, url, language = nil, custom_headers = nil) + response = recognize_printed_text_async(detect_orientation, url, language, custom_headers).value! response.body unless response.nil? end @@ -563,7 +556,7 @@ def recognize_printed_text(detect_orientation, url, language:nil, custom_headers # the image. With detectOrientation=true the OCR service tries to detect the # image orientation and correct it before further processing (e.g. if it's # upside-down). - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param language [OcrLanguages] The BCP-47 language code of the text to be # detected in the image. The default value is 'unk'. Possible values include: # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', @@ -574,8 +567,8 @@ def recognize_printed_text(detect_orientation, url, language:nil, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def recognize_printed_text_with_http_info(detect_orientation, url, language:nil, custom_headers:nil) - recognize_printed_text_async(detect_orientation, url, language:language, custom_headers:custom_headers).value! + def recognize_printed_text_with_http_info(detect_orientation, url, language = nil, custom_headers = nil) + recognize_printed_text_async(detect_orientation, url, language, custom_headers).value! end # @@ -590,7 +583,7 @@ def recognize_printed_text_with_http_info(detect_orientation, url, language:nil, # the image. With detectOrientation=true the OCR service tries to detect the # image orientation and correct it before further processing (e.g. if it's # upside-down). - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param language [OcrLanguages] The BCP-47 language code of the text to be # detected in the image. The default value is 'unk'. Possible values include: # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', @@ -601,7 +594,7 @@ def recognize_printed_text_with_http_info(detect_orientation, url, language:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def recognize_printed_text_async(detect_orientation, url, language:nil, custom_headers:nil) + def recognize_printed_text_async(detect_orientation, url, language = nil, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'detect_orientation is nil' if detect_orientation.nil? fail ArgumentError, 'url is nil' if url.nil? @@ -612,12 +605,13 @@ def recognize_printed_text_async(detect_orientation, url, language:nil, custom_h end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) @@ -674,16 +668,21 @@ def recognize_printed_text_async(detect_orientation, url, language:nil, custom_h # will be returned in JSON. If the request failed, the response will contain # an error code and a message to help understand what went wrong. # - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param max_candidates [String] Maximum number of candidate descriptions to be # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [ImageDescription] operation results. # - def describe_image(url, max_candidates:'1', custom_headers:nil) - response = describe_image_async(url, max_candidates:max_candidates, custom_headers:custom_headers).value! + def describe_image(url, max_candidates = '1', language = nil, custom_headers = nil) + response = describe_image_async(url, max_candidates, language, custom_headers).value! response.body unless response.nil? end @@ -697,16 +696,21 @@ def describe_image(url, max_candidates:'1', custom_headers:nil) # will be returned in JSON. If the request failed, the response will contain # an error code and a message to help understand what went wrong. # - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param max_candidates [String] Maximum number of candidate descriptions to be # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def describe_image_with_http_info(url, max_candidates:'1', custom_headers:nil) - describe_image_async(url, max_candidates:max_candidates, custom_headers:custom_headers).value! + def describe_image_with_http_info(url, max_candidates = '1', language = nil, custom_headers = nil) + describe_image_async(url, max_candidates, language, custom_headers).value! end # @@ -719,15 +723,20 @@ def describe_image_with_http_info(url, max_candidates:'1', custom_headers:nil) # will be returned in JSON. If the request failed, the response will contain # an error code and a message to help understand what went wrong. # - # @param url [String] + # @param url [String] Publicly reachable URL of an image # @param max_candidates [String] Maximum number of candidate descriptions to be # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def describe_image_async(url, max_candidates:'1', custom_headers:nil) + def describe_image_async(url, max_candidates = '1', language = nil, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'url is nil' if url.nil? @@ -737,12 +746,13 @@ def describe_image_async(url, max_candidates:'1', custom_headers:nil) end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) @@ -755,7 +765,7 @@ def describe_image_async(url, max_candidates:'1', custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - query_params: {'maxCandidates' => max_candidates}, + query_params: {'maxCandidates' => max_candidates,'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -795,17 +805,22 @@ def describe_image_async(url, max_candidates:'1', custom_headers:nil) # on objects, living beings, scenery or actions found in images. Unlike # categories, tags are not organized according to a hierarchical classification # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag “cello” may be accompanied - # by the hint “musical instrument”. All tags are in English. + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. # - # @param url [String] + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [TagResult] operation results. # - def tag_image(url, custom_headers:nil) - response = tag_image_async(url, custom_headers:custom_headers).value! + def tag_image(url, language = nil, custom_headers = nil) + response = tag_image_async(url, language, custom_headers).value! response.body unless response.nil? end @@ -815,17 +830,22 @@ def tag_image(url, custom_headers:nil) # on objects, living beings, scenery or actions found in images. Unlike # categories, tags are not organized according to a hierarchical classification # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag “cello” may be accompanied - # by the hint “musical instrument”. All tags are in English. + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. # - # @param url [String] + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def tag_image_with_http_info(url, custom_headers:nil) - tag_image_async(url, custom_headers:custom_headers).value! + def tag_image_with_http_info(url, language = nil, custom_headers = nil) + tag_image_async(url, language, custom_headers).value! end # @@ -834,16 +854,21 @@ def tag_image_with_http_info(url, custom_headers:nil) # on objects, living beings, scenery or actions found in images. Unlike # categories, tags are not organized according to a hierarchical classification # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag “cello” may be accompanied - # by the hint “musical instrument”. All tags are in English. + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. # - # @param url [String] + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def tag_image_async(url, custom_headers:nil) + def tag_image_async(url, language = nil, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'url is nil' if url.nil? @@ -853,12 +878,13 @@ def tag_image_async(url, custom_headers:nil) end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) @@ -871,6 +897,7 @@ def tag_image_async(url, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -914,16 +941,20 @@ def tag_image_async(url, custom_headers:nil) # failed, the response will contain an error code and a message to help # understand what went wrong. # - # @param model [DomainModels] The domain-specific content to recognize. - # Possible values include: 'Celebrities', 'Landmarks' - # @param url [String] + # @param model [String] The domain-specific content to recognize. + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [DomainModelResults] operation results. # - def analyze_image_by_domain(model, url, custom_headers:nil) - response = analyze_image_by_domain_async(model, url, custom_headers:custom_headers).value! + def analyze_image_by_domain(model, url, language = nil, custom_headers = nil) + response = analyze_image_by_domain_async(model, url, language, custom_headers).value! response.body unless response.nil? end @@ -937,16 +968,20 @@ def analyze_image_by_domain(model, url, custom_headers:nil) # failed, the response will contain an error code and a message to help # understand what went wrong. # - # @param model [DomainModels] The domain-specific content to recognize. - # Possible values include: 'Celebrities', 'Landmarks' - # @param url [String] + # @param model [String] The domain-specific content to recognize. + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def analyze_image_by_domain_with_http_info(model, url, custom_headers:nil) - analyze_image_by_domain_async(model, url, custom_headers:custom_headers).value! + def analyze_image_by_domain_with_http_info(model, url, language = nil, custom_headers = nil) + analyze_image_by_domain_async(model, url, language, custom_headers).value! end # @@ -959,15 +994,19 @@ def analyze_image_by_domain_with_http_info(model, url, custom_headers:nil) # failed, the response will contain an error code and a message to help # understand what went wrong. # - # @param model [DomainModels] The domain-specific content to recognize. - # Possible values include: 'Celebrities', 'Landmarks' - # @param url [String] + # @param model [String] The domain-specific content to recognize. + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def analyze_image_by_domain_async(model, url, custom_headers:nil) + def analyze_image_by_domain_async(model, url, language = nil, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'model is nil' if model.nil? fail ArgumentError, 'url is nil' if url.nil? @@ -978,12 +1017,13 @@ def analyze_image_by_domain_async(model, url, custom_headers:nil) end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) @@ -997,6 +1037,7 @@ def analyze_image_by_domain_async(model, url, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], path_params: {'model' => model}, + query_params: {'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -1032,58 +1073,58 @@ def analyze_image_by_domain_async(model, url, custom_headers:nil) # # Recognize Text operation. When you use the Recognize Text interface, the - # response contains a field called “Operation-Location”. The - # “Operation-Location” field contains the URL that you must use for your Get + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get # Handwritten Text Operation Result operation. # - # @param url [String] - # @param detect_handwriting [Boolean] If “true” is specified, handwriting - # recognition is performed. If this parameter is set to “false” or is not + # @param url [String] Publicly reachable URL of an image + # @param detect_handwriting [Boolean] If 'true' is specified, handwriting + # recognition is performed. If this parameter is set to 'false' or is not # specified, printed text recognition is performed. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def recognize_text(url, detect_handwriting:false, custom_headers:nil) - response = recognize_text_async(url, detect_handwriting:detect_handwriting, custom_headers:custom_headers).value! + def recognize_text(url, detect_handwriting = false, custom_headers = nil) + response = recognize_text_async(url, detect_handwriting, custom_headers).value! nil end # # Recognize Text operation. When you use the Recognize Text interface, the - # response contains a field called “Operation-Location”. The - # “Operation-Location” field contains the URL that you must use for your Get + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get # Handwritten Text Operation Result operation. # - # @param url [String] - # @param detect_handwriting [Boolean] If “true” is specified, handwriting - # recognition is performed. If this parameter is set to “false” or is not + # @param url [String] Publicly reachable URL of an image + # @param detect_handwriting [Boolean] If 'true' is specified, handwriting + # recognition is performed. If this parameter is set to 'false' or is not # specified, printed text recognition is performed. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def recognize_text_with_http_info(url, detect_handwriting:false, custom_headers:nil) - recognize_text_async(url, detect_handwriting:detect_handwriting, custom_headers:custom_headers).value! + def recognize_text_with_http_info(url, detect_handwriting = false, custom_headers = nil) + recognize_text_async(url, detect_handwriting, custom_headers).value! end # # Recognize Text operation. When you use the Recognize Text interface, the - # response contains a field called “Operation-Location”. The - # “Operation-Location” field contains the URL that you must use for your Get + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get # Handwritten Text Operation Result operation. # - # @param url [String] - # @param detect_handwriting [Boolean] If “true” is specified, handwriting - # recognition is performed. If this parameter is set to “false” or is not + # @param url [String] Publicly reachable URL of an image + # @param detect_handwriting [Boolean] If 'true' is specified, handwriting + # recognition is performed. If this parameter is set to 'false' or is not # specified, printed text recognition is performed. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def recognize_text_async(url, detect_handwriting:false, custom_headers:nil) + def recognize_text_async(url, detect_handwriting = false, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'url is nil' if url.nil? @@ -1093,12 +1134,13 @@ def recognize_text_async(url, detect_handwriting:false, custom_headers:nil) end request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl.mapper() request_content = self.serialize(request_mapper, image_url) @@ -1147,8 +1189,8 @@ def recognize_text_async(url, detect_handwriting:false, custom_headers:nil) # # @return [TextOperationResult] operation results. # - def get_text_operation_result(operation_id, custom_headers:nil) - response = get_text_operation_result_async(operation_id, custom_headers:custom_headers).value! + def get_text_operation_result(operation_id, custom_headers = nil) + response = get_text_operation_result_async(operation_id, custom_headers).value! response.body unless response.nil? end @@ -1164,8 +1206,8 @@ def get_text_operation_result(operation_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_text_operation_result_with_http_info(operation_id, custom_headers:nil) - get_text_operation_result_async(operation_id, custom_headers:custom_headers).value! + def get_text_operation_result_with_http_info(operation_id, custom_headers = nil) + get_text_operation_result_async(operation_id, custom_headers).value! end # @@ -1180,13 +1222,12 @@ def get_text_operation_result_with_http_info(operation_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_text_operation_result_async(operation_id, custom_headers:nil) + def get_text_operation_result_async(operation_id, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'operation_id is nil' if operation_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1251,18 +1292,18 @@ def get_text_operation_result_async(operation_id, custom_headers:nil) # return. Multiple values should be comma-separated. Valid visual feature types # include:Celebrities - identifies celebrities if detected in the image. # Possible values include: 'Celebrities', 'Landmarks' - # @param language [Enum] A string indicating which language to return. The - # service will return recognition results in specified language. If this + # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default.zh - Simplified Chinese. Possible values - # include: 'en', 'zh' + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [ImageAnalysis] operation results. # - def analyze_image_in_stream(image, visual_features:nil, details:nil, language:nil, custom_headers:nil) - response = analyze_image_in_stream_async(image, visual_features:visual_features, details:details, language:language, custom_headers:custom_headers).value! + def analyze_image_in_stream(image, visual_features = nil, details = nil, language = nil, custom_headers = nil) + response = analyze_image_in_stream_async(image, visual_features, details, language, custom_headers).value! response.body unless response.nil? end @@ -1286,18 +1327,18 @@ def analyze_image_in_stream(image, visual_features:nil, details:nil, language:ni # return. Multiple values should be comma-separated. Valid visual feature types # include:Celebrities - identifies celebrities if detected in the image. # Possible values include: 'Celebrities', 'Landmarks' - # @param language [Enum] A string indicating which language to return. The - # service will return recognition results in specified language. If this + # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default.zh - Simplified Chinese. Possible values - # include: 'en', 'zh' + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def analyze_image_in_stream_with_http_info(image, visual_features:nil, details:nil, language:nil, custom_headers:nil) - analyze_image_in_stream_async(image, visual_features:visual_features, details:details, language:language, custom_headers:custom_headers).value! + def analyze_image_in_stream_with_http_info(image, visual_features = nil, details = nil, language = nil, custom_headers = nil) + analyze_image_in_stream_async(image, visual_features, details, language, custom_headers).value! end # @@ -1320,31 +1361,31 @@ def analyze_image_in_stream_with_http_info(image, visual_features:nil, details:n # return. Multiple values should be comma-separated. Valid visual feature types # include:Celebrities - identifies celebrities if detected in the image. # Possible values include: 'Celebrities', 'Landmarks' - # @param language [Enum] A string indicating which language to return. The - # service will return recognition results in specified language. If this + # @param language [Enum] The desired language for output generation. If this # parameter is not specified, the default value is "en".Supported - # languages:en - English, Default.zh - Simplified Chinese. Possible values - # include: 'en', 'zh' + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def analyze_image_in_stream_async(image, visual_features:nil, details:nil, language:nil, custom_headers:nil) + def analyze_image_in_stream_async(image, visual_features = nil, details = nil, language = nil, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -1352,6 +1393,7 @@ def analyze_image_in_stream_async(image, visual_features:nil, details:nil, langu } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'analyze' @@ -1414,8 +1456,8 @@ def analyze_image_in_stream_async(image, visual_features:nil, details:nil, langu # # @return [NOT_IMPLEMENTED] operation results. # - def generate_thumbnail_in_stream(width, height, image, smart_cropping:false, custom_headers:nil) - response = generate_thumbnail_in_stream_async(width, height, image, smart_cropping:smart_cropping, custom_headers:custom_headers).value! + def generate_thumbnail_in_stream(width, height, image, smart_cropping = false, custom_headers = nil) + response = generate_thumbnail_in_stream_async(width, height, image, smart_cropping, custom_headers).value! response.body unless response.nil? end @@ -1439,8 +1481,8 @@ def generate_thumbnail_in_stream(width, height, image, smart_cropping:false, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generate_thumbnail_in_stream_with_http_info(width, height, image, smart_cropping:false, custom_headers:nil) - generate_thumbnail_in_stream_async(width, height, image, smart_cropping:smart_cropping, custom_headers:custom_headers).value! + def generate_thumbnail_in_stream_with_http_info(width, height, image, smart_cropping = false, custom_headers = nil) + generate_thumbnail_in_stream_async(width, height, image, smart_cropping, custom_headers).value! end # @@ -1463,27 +1505,23 @@ def generate_thumbnail_in_stream_with_http_info(width, height, image, smart_crop # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generate_thumbnail_in_stream_async(width, height, image, smart_cropping:false, custom_headers:nil) + def generate_thumbnail_in_stream_async(width, height, image, smart_cropping = false, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'width is nil' if width.nil? - fail ArgumentError, "'width' should satisfy the constraint - 'InclusiveMaximum': '1023'" if !width.nil? && width > 1023 - fail ArgumentError, "'width' should satisfy the constraint - 'InclusiveMinimum': '1'" if !width.nil? && width < 1 fail ArgumentError, 'height is nil' if height.nil? - fail ArgumentError, "'height' should satisfy the constraint - 'InclusiveMaximum': '1023'" if !height.nil? && height > 1023 - fail ArgumentError, "'height' should satisfy the constraint - 'InclusiveMinimum': '1'" if !height.nil? && height < 1 fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -1491,6 +1529,7 @@ def generate_thumbnail_in_stream_async(width, height, image, smart_cropping:fals } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'generateThumbnail' @@ -1512,7 +1551,7 @@ def generate_thumbnail_in_stream_async(width, height, image, smart_cropping:fals response_content = http_response.body unless status_code == 200 error_model = JSON.load(response_content) - fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) end result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? @@ -1521,7 +1560,6 @@ def generate_thumbnail_in_stream_async(width, height, image, smart_cropping:fals begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1563,8 +1601,8 @@ def generate_thumbnail_in_stream_async(width, height, image, smart_cropping:fals # # @return [OcrResult] operation results. # - def recognize_printed_text_in_stream(detect_orientation, image, language:nil, custom_headers:nil) - response = recognize_printed_text_in_stream_async(detect_orientation, image, language:language, custom_headers:custom_headers).value! + def recognize_printed_text_in_stream(detect_orientation, image, language = nil, custom_headers = nil) + response = recognize_printed_text_in_stream_async(detect_orientation, image, language, custom_headers).value! response.body unless response.nil? end @@ -1591,8 +1629,8 @@ def recognize_printed_text_in_stream(detect_orientation, image, language:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def recognize_printed_text_in_stream_with_http_info(detect_orientation, image, language:nil, custom_headers:nil) - recognize_printed_text_in_stream_async(detect_orientation, image, language:language, custom_headers:custom_headers).value! + def recognize_printed_text_in_stream_with_http_info(detect_orientation, image, language = nil, custom_headers = nil) + recognize_printed_text_in_stream_async(detect_orientation, image, language, custom_headers).value! end # @@ -1618,22 +1656,22 @@ def recognize_printed_text_in_stream_with_http_info(detect_orientation, image, l # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def recognize_printed_text_in_stream_async(detect_orientation, image, language:nil, custom_headers:nil) + def recognize_printed_text_in_stream_async(detect_orientation, image, language = nil, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'detect_orientation is nil' if detect_orientation.nil? fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -1641,6 +1679,7 @@ def recognize_printed_text_in_stream_async(detect_orientation, image, language:n } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'ocr' @@ -1696,13 +1735,18 @@ def recognize_printed_text_in_stream_async(detect_orientation, image, language:n # @param image An image stream. # @param max_candidates [String] Maximum number of candidate descriptions to be # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [ImageDescription] operation results. # - def describe_image_in_stream(image, max_candidates:'1', custom_headers:nil) - response = describe_image_in_stream_async(image, max_candidates:max_candidates, custom_headers:custom_headers).value! + def describe_image_in_stream(image, max_candidates = '1', language = nil, custom_headers = nil) + response = describe_image_in_stream_async(image, max_candidates, language, custom_headers).value! response.body unless response.nil? end @@ -1719,13 +1763,18 @@ def describe_image_in_stream(image, max_candidates:'1', custom_headers:nil) # @param image An image stream. # @param max_candidates [String] Maximum number of candidate descriptions to be # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def describe_image_in_stream_with_http_info(image, max_candidates:'1', custom_headers:nil) - describe_image_in_stream_async(image, max_candidates:max_candidates, custom_headers:custom_headers).value! + def describe_image_in_stream_with_http_info(image, max_candidates = '1', language = nil, custom_headers = nil) + describe_image_in_stream_async(image, max_candidates, language, custom_headers).value! end # @@ -1741,26 +1790,31 @@ def describe_image_in_stream_with_http_info(image, max_candidates:'1', custom_he # @param image An image stream. # @param max_candidates [String] Maximum number of candidate descriptions to be # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def describe_image_in_stream_async(image, max_candidates:'1', custom_headers:nil) + def describe_image_in_stream_async(image, max_candidates = '1', language = nil, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -1768,6 +1822,7 @@ def describe_image_in_stream_async(image, max_candidates:'1', custom_headers:nil } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'describe' @@ -1776,7 +1831,7 @@ def describe_image_in_stream_async(image, max_candidates:'1', custom_headers:nil options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], - query_params: {'maxCandidates' => max_candidates}, + query_params: {'maxCandidates' => max_candidates,'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -1816,17 +1871,22 @@ def describe_image_in_stream_async(image, max_candidates:'1', custom_headers:nil # on objects, living beings, scenery or actions found in images. Unlike # categories, tags are not organized according to a hierarchical classification # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag “cello” may be accompanied - # by the hint “musical instrument”. All tags are in English. + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. # # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [TagResult] operation results. # - def tag_image_in_stream(image, custom_headers:nil) - response = tag_image_in_stream_async(image, custom_headers:custom_headers).value! + def tag_image_in_stream(image, language = nil, custom_headers = nil) + response = tag_image_in_stream_async(image, language, custom_headers).value! response.body unless response.nil? end @@ -1836,17 +1896,22 @@ def tag_image_in_stream(image, custom_headers:nil) # on objects, living beings, scenery or actions found in images. Unlike # categories, tags are not organized according to a hierarchical classification # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag “cello” may be accompanied - # by the hint “musical instrument”. All tags are in English. + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. # # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def tag_image_in_stream_with_http_info(image, custom_headers:nil) - tag_image_in_stream_async(image, custom_headers:custom_headers).value! + def tag_image_in_stream_with_http_info(image, language = nil, custom_headers = nil) + tag_image_in_stream_async(image, language, custom_headers).value! end # @@ -1855,30 +1920,35 @@ def tag_image_in_stream_with_http_info(image, custom_headers:nil) # on objects, living beings, scenery or actions found in images. Unlike # categories, tags are not organized according to a hierarchical classification # system, but correspond to image content. Tags may contain hints to avoid - # ambiguity or provide context, for example the tag “cello” may be accompanied - # by the hint “musical instrument”. All tags are in English. + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. # # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def tag_image_in_stream_async(image, custom_headers:nil) + def tag_image_in_stream_async(image, language = nil, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -1886,6 +1956,7 @@ def tag_image_in_stream_async(image, custom_headers:nil) } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'tag' @@ -1894,6 +1965,7 @@ def tag_image_in_stream_async(image, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -1939,13 +2011,18 @@ def tag_image_in_stream_async(image, custom_headers:nil) # # @param model [String] The domain-specific content to recognize. # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [DomainModelResults] operation results. # - def analyze_image_by_domain_in_stream(model, image, custom_headers:nil) - response = analyze_image_by_domain_in_stream_async(model, image, custom_headers:custom_headers).value! + def analyze_image_by_domain_in_stream(model, image, language = nil, custom_headers = nil) + response = analyze_image_by_domain_in_stream_async(model, image, language, custom_headers).value! response.body unless response.nil? end @@ -1961,13 +2038,18 @@ def analyze_image_by_domain_in_stream(model, image, custom_headers:nil) # # @param model [String] The domain-specific content to recognize. # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def analyze_image_by_domain_in_stream_with_http_info(model, image, custom_headers:nil) - analyze_image_by_domain_in_stream_async(model, image, custom_headers:custom_headers).value! + def analyze_image_by_domain_in_stream_with_http_info(model, image, language = nil, custom_headers = nil) + analyze_image_by_domain_in_stream_async(model, image, language, custom_headers).value! end # @@ -1982,27 +2064,32 @@ def analyze_image_by_domain_in_stream_with_http_info(model, image, custom_header # # @param model [String] The domain-specific content to recognize. # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def analyze_image_by_domain_in_stream_async(model, image, custom_headers:nil) + def analyze_image_by_domain_in_stream_async(model, image, language = nil, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'model is nil' if model.nil? fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -2010,6 +2097,7 @@ def analyze_image_by_domain_in_stream_async(model, image, custom_headers:nil) } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'models/{model}/analyze' @@ -2019,6 +2107,7 @@ def analyze_image_by_domain_in_stream_async(model, image, custom_headers:nil) options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], path_params: {'model' => model}, + query_params: {'language' => language}, body: request_content, headers: request_headers.merge(custom_headers || {}), base_url: request_url @@ -2054,72 +2143,72 @@ def analyze_image_by_domain_in_stream_async(model, image, custom_headers:nil) # # Recognize Text operation. When you use the Recognize Text interface, the - # response contains a field called “Operation-Location”. The - # “Operation-Location” field contains the URL that you must use for your Get + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get # Handwritten Text Operation Result operation. # # @param image An image stream. - # @param detect_handwriting [Boolean] If “true” is specified, handwriting - # recognition is performed. If this parameter is set to “false” or is not + # @param detect_handwriting [Boolean] If 'true' is specified, handwriting + # recognition is performed. If this parameter is set to 'false' or is not # specified, printed text recognition is performed. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # - def recognize_text_in_stream(image, detect_handwriting:false, custom_headers:nil) - response = recognize_text_in_stream_async(image, detect_handwriting:detect_handwriting, custom_headers:custom_headers).value! + def recognize_text_in_stream(image, detect_handwriting = false, custom_headers = nil) + response = recognize_text_in_stream_async(image, detect_handwriting, custom_headers).value! nil end # # Recognize Text operation. When you use the Recognize Text interface, the - # response contains a field called “Operation-Location”. The - # “Operation-Location” field contains the URL that you must use for your Get + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get # Handwritten Text Operation Result operation. # # @param image An image stream. - # @param detect_handwriting [Boolean] If “true” is specified, handwriting - # recognition is performed. If this parameter is set to “false” or is not + # @param detect_handwriting [Boolean] If 'true' is specified, handwriting + # recognition is performed. If this parameter is set to 'false' or is not # specified, printed text recognition is performed. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def recognize_text_in_stream_with_http_info(image, detect_handwriting:false, custom_headers:nil) - recognize_text_in_stream_async(image, detect_handwriting:detect_handwriting, custom_headers:custom_headers).value! + def recognize_text_in_stream_with_http_info(image, detect_handwriting = false, custom_headers = nil) + recognize_text_in_stream_async(image, detect_handwriting, custom_headers).value! end # # Recognize Text operation. When you use the Recognize Text interface, the - # response contains a field called “Operation-Location”. The - # “Operation-Location” field contains the URL that you must use for your Get + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get # Handwritten Text Operation Result operation. # # @param image An image stream. - # @param detect_handwriting [Boolean] If “true” is specified, handwriting - # recognition is performed. If this parameter is set to “false” or is not + # @param detect_handwriting [Boolean] If 'true' is specified, handwriting + # recognition is performed. If this parameter is set to 'false' or is not # specified, printed text recognition is performed. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def recognize_text_in_stream_async(image, detect_handwriting:false, custom_headers:nil) + def recognize_text_in_stream_async(image, detect_handwriting = false, custom_headers = nil) fail ArgumentError, 'azure_region is nil' if azure_region.nil? fail ArgumentError, 'image is nil' if image.nil? request_headers = {} - request_headers['Content-Type'] = 'application/octet-stream' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = accept_language unless accept_language.nil? + request_headers['Content-Type'] = 'application/octet-stream' + # Serialize Request request_mapper = { - client_side_validation: true, required: true, serialized_name: 'Image', type: { @@ -2127,6 +2216,7 @@ def recognize_text_in_stream_async(image, detect_handwriting:false, custom_heade } } request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'recognizeText' @@ -2166,7 +2256,9 @@ def recognize_text_in_stream_async(image, detect_handwriting:false, custom_heade # def add_telemetry sdk_information = 'azure_cognitiveservices_computervision' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::CognitiveServices::ComputerVision::V1_0::VERSION + sdk_information = "#{sdk_information}/#{Azure::CognitiveServices::ComputerVision::V1_0::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb index c59b1fbb25..293d4ffbfa 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb @@ -35,7 +35,6 @@ class AdultInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdultInfo', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'AdultInfo', model_properties: { is_adult_content: { - client_side_validation: true, required: false, serialized_name: 'isAdultContent', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, is_racy_content: { - client_side_validation: true, required: false, serialized_name: 'isRacyContent', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, adult_score: { - client_side_validation: true, required: false, serialized_name: 'adultScore', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, racy_score: { - client_side_validation: true, required: false, serialized_name: 'racyScore', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/category.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/category.rb index 6adaf77c0a..57dd3a630c 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/category.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/category.rb @@ -18,7 +18,7 @@ class Category # @return [Float] Scoring of the category. attr_accessor :score - # @return [CategoryDetail] Additional category detail if available. + # @return [CategoryDetail] attr_accessor :detail @@ -28,7 +28,6 @@ class Category # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Category', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Category', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, score: { - client_side_validation: true, required: false, serialized_name: 'score', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb index c4b7f0db9b..bd26c49e55 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb @@ -23,7 +23,6 @@ class CategoryDetail # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CategoryDetail', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'CategoryDetail', model_properties: { celebrities: { - client_side_validation: true, required: false, serialized_name: 'celebrities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'CelebritiesModelElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb index 83779a13db..666700d04b 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb @@ -28,7 +28,6 @@ class CelebritiesModel # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CelebritiesModel', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'CelebritiesModel', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, confidence: { - client_side_validation: true, required: false, serialized_name: 'confidence', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, face_rectangle: { - client_side_validation: true, required: false, serialized_name: 'faceRectangle', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb new file mode 100644 index 0000000000..dd21df2044 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb @@ -0,0 +1,73 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V1_0 + module Models + # + # List of celebrities recognized in the image. + # + class CelebrityResults + + include MsRestAzure + + # @return [Array] + attr_accessor :celebrities + + # @return [String] Id of the REST API request. + attr_accessor :request_id + + # @return [ImageMetadata] + attr_accessor :metadata + + + # + # Mapper for CelebrityResults class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CelebrityResults', + type: { + name: 'Composite', + class_name: 'CelebrityResults', + model_properties: { + celebrities: { + required: false, + serialized_name: 'celebrities', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'CelebritiesModelElementType', + type: { + name: 'Composite', + class_name: 'CelebritiesModel' + } + } + } + }, + request_id: { + required: false, + serialized_name: 'requestId', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Composite', + class_name: 'ImageMetadata' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/color_info.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/color_info.rb index 9934bb0d3c..e8ba9a4a57 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/color_info.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/color_info.rb @@ -34,7 +34,6 @@ class ColorInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ColorInfo', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ColorInfo', model_properties: { dominant_color_foreground: { - client_side_validation: true, required: false, serialized_name: 'dominantColorForeground', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, dominant_color_background: { - client_side_validation: true, required: false, serialized_name: 'dominantColorBackground', type: { @@ -58,13 +55,11 @@ def self.mapper() } }, dominant_colors: { - client_side_validation: true, required: false, serialized_name: 'dominantColors', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, accent_color: { - client_side_validation: true, required: false, serialized_name: 'accentColor', type: { @@ -82,7 +76,6 @@ def self.mapper() } }, is_bwimg: { - client_side_validation: true, required: false, serialized_name: 'isBWImg', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb index 9d77db22ce..16c38704c7 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb @@ -34,7 +34,6 @@ class ComputerVisionError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputerVisionError', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ComputerVisionError', model_properties: { code: { - client_side_validation: true, required: true, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: true, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb index 461f3d212c..691104f119 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb @@ -13,14 +13,13 @@ class DomainModelResults include MsRestAzure - # @return [Array] An array of possible celebritied - # identified in the image. - attr_accessor :celebrities + # @return Model-specific response + attr_accessor :result # @return [String] Id of the REST API request. attr_accessor :request_id - # @return [ImageMetadata] Additional image metadata + # @return [ImageMetadata] attr_accessor :metadata @@ -30,32 +29,20 @@ class DomainModelResults # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DomainModelResults', type: { name: 'Composite', class_name: 'DomainModelResults', model_properties: { - celebrities: { - client_side_validation: true, + result: { required: false, - serialized_name: 'result.celebrities', + serialized_name: 'result', type: { - name: 'Sequence', - element: { - client_side_validation: true, - required: false, - serialized_name: 'CelebritiesModelElementType', - type: { - name: 'Composite', - class_name: 'CelebritiesModel' - } - } + name: 'Object' } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -63,7 +50,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/face_description.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/face_description.rb index 8c581f9e65..0bf0074f5b 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/face_description.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/face_description.rb @@ -15,7 +15,7 @@ class FaceDescription # @return [Integer] Possible age of the face. attr_accessor :age - # @return [Enum] Possible gender of the face. Possible values include: + # @return [Gender] Possible gender of the face. Possible values include: # 'Male', 'Female' attr_accessor :gender @@ -29,7 +29,6 @@ class FaceDescription # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FaceDescription', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'FaceDescription', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -45,15 +43,14 @@ def self.mapper() } }, gender: { - client_side_validation: true, required: false, serialized_name: 'gender', type: { - name: 'String' + name: 'Enum', + module: 'Gender' } }, face_rectangle: { - client_side_validation: true, required: false, serialized_name: 'faceRectangle', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb index df3ff38cf0..6e2a59e547 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb @@ -31,7 +31,6 @@ class FaceRectangle # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FaceRectangle', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'FaceRectangle', model_properties: { left: { - client_side_validation: true, required: false, serialized_name: 'left', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, top: { - client_side_validation: true, required: false, serialized_name: 'top', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, width: { - client_side_validation: true, required: false, serialized_name: 'width', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, height: { - client_side_validation: true, required: false, serialized_name: 'height', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/gender.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/gender.rb new file mode 100644 index 0000000000..051d8c1b99 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/gender.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::CognitiveServices::ComputerVision::V1_0 + module Models + # + # Defines values for Gender + # + module Gender + Male = "Male" + Female = "Female" + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb index 26789860fd..f7475ec78d 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb @@ -15,21 +15,19 @@ class ImageAnalysis # @return [Array] An array indicating identified categories. attr_accessor :categories - # @return [AdultInfo] A property scoring on whether the image is - # adult-oriented and/or racy. + # @return [AdultInfo] attr_accessor :adult - # @return [ColorInfo] A property scoring on color spectrums. + # @return [ColorInfo] attr_accessor :color - # @return [ImageType] A property indicating type of image (whether it's - # clipart or line drawing) + # @return [ImageType] attr_accessor :image_type # @return [Array] A list of tags with confidence level. attr_accessor :tags - # @return [ImageDescriptionDetails] Description of the image. + # @return [ImageDescriptionDetails] attr_accessor :description # @return [Array] An array of possible faces within the @@ -39,7 +37,7 @@ class ImageAnalysis # @return [String] Id of the request for tracking purposes. attr_accessor :request_id - # @return [ImageMetadata] Image metadata + # @return [ImageMetadata] attr_accessor :metadata @@ -49,7 +47,6 @@ class ImageAnalysis # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageAnalysis', type: { @@ -57,13 +54,11 @@ def self.mapper() class_name: 'ImageAnalysis', model_properties: { categories: { - client_side_validation: true, required: false, serialized_name: 'categories', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'CategoryElementType', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, adult: { - client_side_validation: true, required: false, serialized_name: 'adult', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, color: { - client_side_validation: true, required: false, serialized_name: 'color', type: { @@ -92,7 +85,6 @@ def self.mapper() } }, image_type: { - client_side_validation: true, required: false, serialized_name: 'imageType', type: { @@ -101,13 +93,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageTagElementType', type: { @@ -118,7 +108,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -127,13 +116,11 @@ def self.mapper() } }, faces: { - client_side_validation: true, required: false, serialized_name: 'faces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FaceDescriptionElementType', type: { @@ -144,7 +131,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -152,7 +138,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb index 91d0ede54f..6a20ec17b0 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb @@ -25,7 +25,6 @@ class ImageCaption # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageCaption', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ImageCaption', model_properties: { text: { - client_side_validation: true, required: false, serialized_name: 'text', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, confidence: { - client_side_validation: true, required: false, serialized_name: 'confidence', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_description.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_description.rb index 62ad9c35b4..42390bf28c 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_description.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_description.rb @@ -23,7 +23,7 @@ class ImageDescription # @return [String] Id of the REST API request. attr_accessor :request_id - # @return [ImageMetadata] Image metadata + # @return [ImageMetadata] attr_accessor :metadata @@ -33,7 +33,6 @@ class ImageDescription # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDescription', type: { @@ -41,13 +40,11 @@ def self.mapper() class_name: 'ImageDescription', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'description.tags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -57,13 +54,11 @@ def self.mapper() } }, captions: { - client_side_validation: true, required: false, serialized_name: 'description.captions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageCaptionElementType', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'description.requestId', type: { @@ -82,7 +76,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'description.metadata', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb index 7d24f680ee..1004ee32b2 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb @@ -23,7 +23,7 @@ class ImageDescriptionDetails # @return [String] Id of the REST API request. attr_accessor :request_id - # @return [ImageMetadata] Image metadata + # @return [ImageMetadata] attr_accessor :metadata @@ -33,7 +33,6 @@ class ImageDescriptionDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDescriptionDetails', type: { @@ -41,13 +40,11 @@ def self.mapper() class_name: 'ImageDescriptionDetails', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -57,13 +54,11 @@ def self.mapper() } }, captions: { - client_side_validation: true, required: false, serialized_name: 'captions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageCaptionElementType', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -82,7 +76,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb index f756419bab..284b98aafb 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb @@ -28,7 +28,6 @@ class ImageMetadata # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageMetadata', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ImageMetadata', model_properties: { width: { - client_side_validation: true, required: false, serialized_name: 'width', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, height: { - client_side_validation: true, required: false, serialized_name: 'height', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, format: { - client_side_validation: true, required: false, serialized_name: 'format', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb index aef3ee45f8..321c5913bc 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb @@ -25,7 +25,6 @@ class ImageTag # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageTag', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ImageTag', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, confidence: { - client_side_validation: true, required: false, serialized_name: 'confidence', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_type.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_type.rb index 35c66e937d..3a7bc531f1 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_type.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_type.rb @@ -25,7 +25,6 @@ class ImageType # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageType', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ImageType', model_properties: { clip_art_type: { - client_side_validation: true, required: false, serialized_name: 'clipArtType', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, line_drawing_type: { - client_side_validation: true, required: false, serialized_name: 'lineDrawingType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_url.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_url.rb index ab0d4c4c69..502b15ecbd 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_url.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_url.rb @@ -13,7 +13,7 @@ class ImageUrl include MsRestAzure - # @return [String] + # @return [String] Publicly reachable URL of an image attr_accessor :url @@ -23,7 +23,6 @@ class ImageUrl # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageUrl', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ImageUrl', model_properties: { url: { - client_side_validation: true, required: true, serialized_name: 'url', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb new file mode 100644 index 0000000000..c6cd21b76e --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb @@ -0,0 +1,73 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V1_0 + module Models + # + # List of landmarks recognized in the image. + # + class LandmarkResults + + include MsRestAzure + + # @return [Array] + attr_accessor :landmarks + + # @return [String] Id of the REST API request. + attr_accessor :request_id + + # @return [ImageMetadata] + attr_accessor :metadata + + + # + # Mapper for LandmarkResults class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LandmarkResults', + type: { + name: 'Composite', + class_name: 'LandmarkResults', + model_properties: { + landmarks: { + required: false, + serialized_name: 'landmarks', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LandmarkResultsLandmarksItemElementType', + type: { + name: 'Composite', + class_name: 'LandmarkResultsLandmarksItem' + } + } + } + }, + request_id: { + required: false, + serialized_name: 'requestId', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Composite', + class_name: 'ImageMetadata' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.rb new file mode 100644 index 0000000000..0b9920e79c --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.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::CognitiveServices::ComputerVision::V1_0 + module Models + # + # A landmark recognized in the image + # + class LandmarkResultsLandmarksItem + + include MsRestAzure + + # @return [String] Name of the landmark. + attr_accessor :name + + # @return [Float] Confidence level for the landmark recognition. + attr_accessor :confidence + + + # + # Mapper for LandmarkResultsLandmarksItem class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LandmarkResults_landmarksItem', + type: { + name: 'Composite', + class_name: 'LandmarkResultsLandmarksItem', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + confidence: { + required: false, + serialized_name: 'confidence', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/line.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/line.rb index 670b586fb4..452a621fd5 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/line.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/line.rb @@ -29,7 +29,6 @@ class Line # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Line', type: { @@ -37,13 +36,11 @@ def self.mapper() class_name: 'Line', model_properties: { bounding_box: { - client_side_validation: true, required: false, serialized_name: 'boundingBox', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, text: { - client_side_validation: true, required: false, serialized_name: 'text', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, words: { - client_side_validation: true, required: false, serialized_name: 'words', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WordElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb index 074d4b3c5e..ebe2904268 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb @@ -22,7 +22,6 @@ class ListModelsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListModelsResult', type: { @@ -30,14 +29,12 @@ def self.mapper() class_name: 'ListModelsResult', model_properties: { models_property: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'models', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ModelDescriptionElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/model_description.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/model_description.rb index e4fc595bf8..117fd3fa5b 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/model_description.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/model_description.rb @@ -25,7 +25,6 @@ class ModelDescription # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ModelDescription', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ModelDescription', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, categories: { - client_side_validation: true, required: false, serialized_name: 'categories', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb index 98bb500277..c6e6b7b9c7 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb @@ -31,7 +31,6 @@ class OcrLine # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OcrLine', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OcrLine', model_properties: { bounding_box: { - client_side_validation: true, required: false, serialized_name: 'boundingBox', type: { @@ -47,13 +45,11 @@ def self.mapper() } }, words: { - client_side_validation: true, required: false, serialized_name: 'words', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OcrWordElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb index b2c8e398c7..6074a0aca2 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb @@ -31,7 +31,6 @@ class OcrRegion # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OcrRegion', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OcrRegion', model_properties: { bounding_box: { - client_side_validation: true, required: false, serialized_name: 'boundingBox', type: { @@ -47,13 +45,11 @@ def self.mapper() } }, lines: { - client_side_validation: true, required: false, serialized_name: 'lines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OcrLineElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb index e1b1cea73a..e4f26cb181 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb @@ -13,7 +13,7 @@ class OcrResult include MsRestAzure - # @return [OcrResult] + # @return [String] The BCP-47 language code of the text in the image. attr_accessor :language # @return [Float] The angle, in degrees, of the detected text with @@ -46,7 +46,6 @@ class OcrResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OcrResult', type: { @@ -54,16 +53,13 @@ def self.mapper() class_name: 'OcrResult', model_properties: { language: { - client_side_validation: true, required: false, serialized_name: 'language', type: { - name: 'Composite', - class_name: 'OcrResult' + name: 'String' } }, text_angle: { - client_side_validation: true, required: false, serialized_name: 'textAngle', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, orientation: { - client_side_validation: true, required: false, serialized_name: 'orientation', type: { @@ -79,13 +74,11 @@ def self.mapper() } }, regions: { - client_side_validation: true, required: false, serialized_name: 'regions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OcrRegionElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb index 4a8ecaa770..4d686117fc 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb @@ -30,7 +30,6 @@ class OcrWord # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OcrWord', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'OcrWord', model_properties: { bounding_box: { - client_side_validation: true, required: false, serialized_name: 'boundingBox', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, text: { - client_side_validation: true, required: false, serialized_name: 'text', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb index aa622bd53f..bcb643263c 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb @@ -23,7 +23,6 @@ class RecognitionResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecognitionResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'RecognitionResult', model_properties: { lines: { - client_side_validation: true, required: false, serialized_name: 'lines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LineElementType', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb index 2945edd929..4123c60cad 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb @@ -19,7 +19,7 @@ class TagResult # @return [String] Id of the REST API request. attr_accessor :request_id - # @return [ImageMetadata] Image metadata + # @return [ImageMetadata] attr_accessor :metadata @@ -29,7 +29,6 @@ class TagResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TagResult', type: { @@ -37,13 +36,11 @@ def self.mapper() class_name: 'TagResult', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageTagElementType', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, serialized_name: 'requestId', type: { @@ -62,7 +58,6 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'metadata', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb index 2b7f0a988b..2fd8255f2b 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb @@ -28,7 +28,6 @@ class TextOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TextOperationResult', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'TextOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, recognition_result: { - client_side_validation: true, required: false, serialized_name: 'recognitionResult', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/word.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/word.rb index 1e1920cd1d..9be001aa3b 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/word.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/models/word.rb @@ -26,7 +26,6 @@ class Word # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Word', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'Word', model_properties: { bounding_box: { - client_side_validation: true, required: false, serialized_name: 'boundingBox', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, text: { - client_side_validation: true, required: false, serialized_name: 'text', type: { diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/version.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/version.rb new file mode 100644 index 0000000000..57ec66bad2 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V1_0 + VERSION = '0.16.0' +end diff --git a/data/azure_cognitiveservices_computervision/lib/profiles/latest/modules/computervision_profile_module.rb b/data/azure_cognitiveservices_computervision/lib/profiles/latest/modules/computervision_profile_module.rb index f6c3fdfad7..3941e04180 100644 --- a/data/azure_cognitiveservices_computervision/lib/profiles/latest/modules/computervision_profile_module.rb +++ b/data/azure_cognitiveservices_computervision/lib/profiles/latest/modules/computervision_profile_module.rb @@ -7,42 +7,44 @@ module Azure::ComputerVision::Profiles::Latest module Models - ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails - Word = Azure::CognitiveServices::ComputerVision::V1_0::Models::Word FaceDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription - RecognitionResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult ImageAnalysis = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis - FaceRectangle = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle + Line = Azure::CognitiveServices::ComputerVision::V1_0::Models::Line OcrWord = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrWord - CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail + TextOperationResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult OcrLine = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLine - AdultInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo + CelebritiesModel = Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel OcrRegion = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrRegion - ImageType = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType + Category = Azure::CognitiveServices::ComputerVision::V1_0::Models::Category OcrResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrResult - ImageCaption = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption + ColorInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo ModelDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::ModelDescription - Line = Azure::CognitiveServices::ComputerVision::V1_0::Models::Line + ImageTag = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag ListModelsResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::ListModelsResult - CelebritiesModel = Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel + ImageMetadata = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata DomainModelResults = Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModelResults - ColorInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo + Word = Azure::CognitiveServices::ComputerVision::V1_0::Models::Word + CelebrityResults = Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebrityResults + FaceRectangle = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle + LandmarkResultsLandmarksItem = Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResultsLandmarksItem + AdultInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo + LandmarkResults = Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResults + ImageCaption = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption ImageDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescription - ImageMetadata = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata + RecognitionResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult TagResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TagResult - Category = Azure::CognitiveServices::ComputerVision::V1_0::Models::Category + ImageType = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType ComputerVisionError = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError - TextOperationResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult + CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail ImageUrl = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl - ImageTag = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag + ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes + Gender = Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes OcrLanguages = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages AzureRegions = Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions Details = Azure::CognitiveServices::ComputerVision::V1_0::Models::Details - Language1 = Azure::CognitiveServices::ComputerVision::V1_0::Models::Language1 - DomainModels = Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModels end # @@ -89,93 +91,105 @@ def method_missing(method, *args) end class ModelClasses - def image_description_details - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails - end - def word - Azure::CognitiveServices::ComputerVision::V1_0::Models::Word - end def face_description Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription end - def recognition_result - Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult - end def image_analysis Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis end - def face_rectangle - Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle + def line + Azure::CognitiveServices::ComputerVision::V1_0::Models::Line end def ocr_word Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrWord end - def category_detail - Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail + def text_operation_result + Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult end def ocr_line Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLine end - def adult_info - Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo + def celebrities_model + Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel end def ocr_region Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrRegion end - def image_type - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType + def category + Azure::CognitiveServices::ComputerVision::V1_0::Models::Category end def ocr_result Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrResult end - def image_caption - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption + def color_info + Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo end def model_description Azure::CognitiveServices::ComputerVision::V1_0::Models::ModelDescription end - def line - Azure::CognitiveServices::ComputerVision::V1_0::Models::Line + def image_tag + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag end def list_models_result Azure::CognitiveServices::ComputerVision::V1_0::Models::ListModelsResult end - def celebrities_model - Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel + def image_metadata + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata end def domain_model_results Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModelResults end - def color_info - Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo + def word + Azure::CognitiveServices::ComputerVision::V1_0::Models::Word + end + def celebrity_results + Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebrityResults + end + def face_rectangle + Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle + end + def landmark_results_landmarks_item + Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResultsLandmarksItem + end + def adult_info + Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo + end + def landmark_results + Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResults + end + def image_caption + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption end def image_description Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescription end - def image_metadata - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata + def recognition_result + Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult end def tag_result Azure::CognitiveServices::ComputerVision::V1_0::Models::TagResult end - def category - Azure::CognitiveServices::ComputerVision::V1_0::Models::Category + def image_type + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType end def computer_vision_error Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError end - def text_operation_result - Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult + def category_detail + Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail end def image_url Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl end - def image_tag - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag + def image_description_details + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails end def text_operation_status_codes Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes end + def gender + Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender + end def computer_vision_error_codes Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes end @@ -191,11 +205,5 @@ def azure_regions def details Azure::CognitiveServices::ComputerVision::V1_0::Models::Details end - def language1 - Azure::CognitiveServices::ComputerVision::V1_0::Models::Language1 - end - def domain_models - Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModels - end end end From 11209ca0a50221651453707c9785a1956575710a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 11:16:38 -0700 Subject: [PATCH 07/22] [AutoPR sql/resource-manager] Fixed inconsistent definitions for SQL 2014 apis. (#1358) (#1366) * Generated from 929fcc6c506c0ca401f39a48a3ea55a0a948f9e9 Fixed inconsistent definitions for SQL 2014 apis. * Generated from 929fcc6c506c0ca401f39a48a3ea55a0a948f9e9 Fixed inconsistent definitions for SQL 2014 apis. --- .../lib/latest/modules/sql_profile_module.rb | 908 +++++++++----- .../2014-04-01/generated/azure_mgmt_sql.rb | 123 +- .../backup_long_term_retention_policies.rb | 43 +- .../backup_long_term_retention_vaults.rb | 43 +- .../generated/azure_mgmt_sql/capabilities.rb | 11 +- .../azure_mgmt_sql/data_masking_policies.rb | 24 +- .../azure_mgmt_sql/data_masking_rules.rb | 24 +- .../azure_mgmt_sql/database_advisors.rb | 35 +- .../database_connection_policies.rb | 24 +- .../database_table_auditing_policies.rb | 35 +- .../database_threat_detection_policies.rb | 24 +- .../azure_mgmt_sql/database_usages.rb | 11 +- .../generated/azure_mgmt_sql/databases.rb | 242 ++-- .../disaster_recovery_configurations.rb | 98 +- .../azure_mgmt_sql/elastic_pool_activities.rb | 11 +- .../elastic_pool_database_activities.rb | 11 +- .../generated/azure_mgmt_sql/elastic_pools.rb | 97 +- .../generated/azure_mgmt_sql/extensions.rb | 11 +- .../azure_mgmt_sql/firewall_rules.rb | 46 +- .../azure_mgmt_sql/geo_backup_policies.rb | 35 +- .../azure_mgmt_sql/models/advisor.rb | 10 - .../models/advisor_list_result.rb | 3 - .../backup_long_term_retention_policy.rb | 7 - ..._long_term_retention_policy_list_result.rb | 3 - .../backup_long_term_retention_vault.rb | 6 - ...p_long_term_retention_vault_list_result.rb | 3 - .../models/check_name_availability_request.rb | 3 - .../check_name_availability_response.rb | 5 - .../models/data_masking_policy.rb | 10 - .../models/data_masking_rule.rb | 18 - .../models/data_masking_rule_list_result.rb | 3 - .../azure_mgmt_sql/models/database.rb | 51 +- .../models/database_connection_policy.rb | 13 - .../models/database_list_result.rb | 3 - .../models/database_security_alert_policy.rb | 14 - .../models/database_table_auditing_policy.rb | 18 - ...abase_table_auditing_policy_list_result.rb | 3 - .../azure_mgmt_sql/models/database_update.rb | 35 - .../azure_mgmt_sql/models/database_usage.rb | 8 - .../models/database_usage_list_result.rb | 3 - .../models/disaster_recovery_configuration.rb | 12 - ...ster_recovery_configuration_list_result.rb | 3 - .../models/edition_capability.rb | 6 - .../azure_mgmt_sql/models/elastic_pool.rb | 30 +- .../models/elastic_pool_activity.rb | 25 - .../elastic_pool_activity_list_result.rb | 3 - .../models/elastic_pool_database_activity.rb | 20 - ...stic_pool_database_activity_list_result.rb | 3 - .../models/elastic_pool_dtu_capability.rb | 11 - .../models/elastic_pool_edition_capability.rb | 6 - .../models/elastic_pool_list_result.rb | 3 - ...ic_pool_per_database_max_dtu_capability.rb | 5 - ...ic_pool_per_database_min_dtu_capability.rb | 3 - .../models/elastic_pool_update.rb | 14 - .../azure_mgmt_sql/models/export_request.rb | 7 - .../models/extension_list_result.rb | 3 - .../azure_mgmt_sql/models/firewall_rule.rb | 8 - .../models/firewall_rule_list_result.rb | 3 - .../models/geo_backup_policy.rb | 8 - .../models/geo_backup_policy_list_result.rb | 3 - .../models/import_export_response.rb | 13 - .../models/import_extension_request.rb | 10 - .../azure_mgmt_sql/models/import_request.rb | 11 - .../models/location_capabilities.rb | 5 - .../models/max_size_capability.rb | 4 - .../generated/azure_mgmt_sql/models/metric.rb | 8 - .../models/metric_availability.rb | 3 - .../models/metric_definition.rb | 7 - .../models/metric_definition_list_result.rb | 3 - .../models/metric_list_result.rb | 3 - .../azure_mgmt_sql/models/metric_name.rb | 3 - .../azure_mgmt_sql/models/metric_value.rb | 7 - .../azure_mgmt_sql/models/operation.rb | 3 - .../models/operation_display.rb | 4 - .../azure_mgmt_sql/models/operation_impact.rb | 5 - .../models/operation_list_result.rb | 4 - .../azure_mgmt_sql/models/proxy_resource.rb | 4 - .../azure_mgmt_sql/models/query_interval.rb | 5 - .../azure_mgmt_sql/models/query_metric.rb | 5 - .../azure_mgmt_sql/models/query_statistic.rb | 4 - .../models/query_statistic_list_result.rb | 3 - .../azure_mgmt_sql/models/query_text.rb | 4 - .../models/query_text_list_result.rb | 3 - .../models/recommended_elastic_pool.rb | 17 - ...mended_elastic_pool_list_metrics_result.rb | 3 - .../recommended_elastic_pool_list_result.rb | 3 - .../models/recommended_elastic_pool_metric.rb | 4 - .../models/recommended_index.rb | 20 - .../models/recoverable_database.rb | 8 - .../recoverable_database_list_result.rb | 3 - .../azure_mgmt_sql/models/replication_link.rb | 15 - .../models/replication_link_list_result.rb | 3 - .../azure_mgmt_sql/models/resource.rb | 4 - .../models/restorable_dropped_database.rb | 13 - ...restorable_dropped_database_list_result.rb | 3 - .../azure_mgmt_sql/models/restore_point.rb | 7 - .../models/restore_point_list_result.rb | 3 - .../generated/azure_mgmt_sql/models/server.rb | 29 +- .../server_administrator_list_result.rb | 3 - .../models/server_azure_adadministrator.rb | 8 - .../models/server_communication_link.rb | 8 - .../server_communication_link_list_result.rb | 3 - .../models/server_connection_policy.rb | 7 - .../models/server_list_result.rb | 3 - .../models/server_table_auditing_policy.rb | 17 - ...erver_table_auditing_policy_list_result.rb | 3 - .../azure_mgmt_sql/models/server_update.rb | 13 - .../azure_mgmt_sql/models/server_usage.rb | 8 - .../models/server_usage_list_result.rb | 3 - .../models/server_version_capability.rb | 7 - .../models/service_objective.rb | 9 - .../models/service_objective_capability.rb | 9 - .../models/service_objective_list_result.rb | 3 - .../models/service_tier_advisor.rb | 24 - .../service_tier_advisor_list_result.rb | 3 - .../azure_mgmt_sql/models/slo_usage_metric.rb | 4 - .../table_auditing_policy_properties.rb | 12 - .../azure_mgmt_sql/models/top_queries.rb | 10 - .../models/top_queries_list_result.rb | 3 - .../azure_mgmt_sql/models/tracked_resource.rb | 27 +- .../models/transparent_data_encryption.rb | 6 - .../transparent_data_encryption_activity.rb | 7 - ...nt_data_encryption_activity_list_result.rb | 3 - ...transparent_data_encryption_list_result.rb | 3 - .../generated/azure_mgmt_sql/operations.rb | 11 +- .../generated/azure_mgmt_sql/queries.rb | 11 +- .../azure_mgmt_sql/query_statistics.rb | 11 +- .../generated/azure_mgmt_sql/query_texts.rb | 11 +- .../recommended_elastic_pools.rb | 33 +- .../azure_mgmt_sql/recoverable_databases.rb | 22 +- .../azure_mgmt_sql/replication_links.rb | 71 +- .../restorable_dropped_databases.rb | 22 +- .../azure_mgmt_sql/restore_points.rb | 11 +- .../azure_mgmt_sql/server_advisors.rb | 454 +++++++ .../server_azure_adadministrators.rb | 62 +- .../server_communication_links.rb | 54 +- .../server_connection_policies.rb | 24 +- .../server_table_auditing_policies.rb | 35 +- .../generated/azure_mgmt_sql/server_usages.rb | 11 +- .../generated/azure_mgmt_sql/servers.rb | 83 +- .../azure_mgmt_sql/service_objectives.rb | 22 +- .../azure_mgmt_sql/service_tier_advisors.rb | 22 +- .../azure_mgmt_sql/sql_management_client.rb | 33 +- .../transparent_data_encryption_activities.rb | 11 +- ...nsparent_data_encryption_configurations.rb | 11 +- .../transparent_data_encryptions.rb | 24 +- .../generated/azure_mgmt_sql/version.rb | 8 + .../generated/azure_mgmt_sql.rb | 68 +- .../azure_mgmt_sql/database_advisors.rb | 37 +- .../database_automatic_tuning_operations.rb | 246 ++++ .../database_blob_auditing_policies.rb | 42 +- .../database_recommended_actions.rb | 37 +- .../azure_mgmt_sql/encryption_protectors.rb | 60 +- .../azure_mgmt_sql/failover_groups.rb | 138 +-- .../azure_mgmt_sql/firewall_rules.rb | 664 ++++++++++ .../azure_mgmt_sql/managed_instances.rb | 982 +++++++++++++++ .../azure_mgmt_sql/models/advisor.rb | 13 - .../automatic_tuning_disabled_reason.rb | 21 + .../models/automatic_tuning_mode.rb | 18 + .../automatic_tuning_option_mode_actual.rb | 16 + .../automatic_tuning_option_mode_desired.rb | 17 + .../models/automatic_tuning_options.rb | 86 ++ .../models/database_automatic_tuning.rb | 102 ++ .../models/database_blob_auditing_policy.rb | 87 +- .../models/encryption_protector.rb | 11 - .../encryption_protector_list_result.rb | 4 - .../azure_mgmt_sql/models/failover_group.rb | 15 - .../models/failover_group_list_result.rb | 4 - .../failover_group_read_only_endpoint.rb | 2 - .../failover_group_read_write_endpoint.rb | 3 - .../models/failover_group_update.rb | 7 - .../azure_mgmt_sql/models/firewall_rule.rb | 80 ++ .../models/firewall_rule_list.rb | 52 + .../models/firewall_rule_list_result.rb | 96 ++ .../azure_mgmt_sql/models/managed_instance.rb | 189 +++ .../models/managed_instance_list_result.rb | 96 ++ .../models/managed_instance_update.rb | 149 +++ .../azure_mgmt_sql/models/operation.rb | 6 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 4 - .../azure_mgmt_sql/models/partner_info.rb | 4 - .../azure_mgmt_sql/models/proxy_resource.rb | 4 - .../proxy_resource_with_writable_name.rb | 57 + .../models/recommended_action.rb | 34 - .../models/recommended_action_error_info.rb | 3 - .../recommended_action_impact_record.rb | 6 - .../recommended_action_implementation_info.rb | 3 - .../models/recommended_action_metric_info.rb | 6 - .../models/recommended_action_state_info.rb | 4 - .../azure_mgmt_sql/models/resource.rb | 4 - .../models/resource_identity.rb | 4 - .../models/resource_with_writable_name.rb | 66 + .../generated/azure_mgmt_sql/models/server.rb | 14 - .../azure_mgmt_sql/models/server_key.rb | 11 - .../models/server_key_list_result.rb | 4 - .../models/server_list_result.rb | 4 - .../azure_mgmt_sql/models/server_update.rb | 8 - .../generated/azure_mgmt_sql/models/sku.rb | 91 ++ .../models/subscription_usage.rb | 8 - .../models/subscription_usage_list_result.rb | 4 - .../azure_mgmt_sql/models/sync_agent.rb | 11 - .../models/sync_agent_key_properties.rb | 2 - .../models/sync_agent_linked_database.rb | 10 - .../sync_agent_linked_database_list_result.rb | 4 - .../models/sync_agent_list_result.rb | 4 - .../models/sync_database_id_list_result.rb | 4 - .../models/sync_database_id_properties.rb | 2 - .../models/sync_full_schema_properties.rb | 4 - ...sync_full_schema_properties_list_result.rb | 4 - .../models/sync_full_schema_table.rb | 7 - .../models/sync_full_schema_table_column.rb | 8 - .../azure_mgmt_sql/models/sync_group.rb | 12 - .../models/sync_group_list_result.rb | 4 - .../models/sync_group_log_list_result.rb | 4 - .../models/sync_group_log_properties.rb | 7 - .../models/sync_group_schema.rb | 4 - .../models/sync_group_schema_table.rb | 4 - .../models/sync_group_schema_table_column.rb | 4 - .../azure_mgmt_sql/models/sync_member.rb | 13 - .../models/sync_member_list_result.rb | 4 - .../azure_mgmt_sql/models/tracked_resource.rb | 7 - .../models/virtual_network_rule.rb | 7 - .../virtual_network_rule_list_result.rb | 4 - .../generated/azure_mgmt_sql/operations.rb | 28 +- .../azure_mgmt_sql/server_advisors.rb | 37 +- .../generated/azure_mgmt_sql/server_keys.rb | 79 +- .../generated/azure_mgmt_sql/servers.rb | 128 +- .../azure_mgmt_sql/sql_management_client.rb | 20 +- .../azure_mgmt_sql/subscription_usages.rb | 39 +- .../generated/azure_mgmt_sql/sync_agents.rb | 118 +- .../generated/azure_mgmt_sql/sync_groups.rb | 225 ++-- .../generated/azure_mgmt_sql/sync_members.rb | 147 ++- .../generated/azure_mgmt_sql/version.rb | 8 + .../azure_mgmt_sql/virtual_network_rules.rb | 79 +- .../generated/azure_mgmt_sql.rb | 92 +- .../backup_long_term_retention_policies.rb | 401 ++++++ ...ta_warehouse_user_activities_operations.rb | 133 ++ .../database_blob_auditing_policies.rb | 258 ++++ .../azure_mgmt_sql/database_operations.rb | 47 +- ...vulnerability_assessment_rule_baselines.rb | 399 ++++++ .../database_vulnerability_assessments.rb | 355 ++++++ .../generated/azure_mgmt_sql/databases.rb | 208 ++-- ...xtended_database_blob_auditing_policies.rb | 258 ++++ .../extended_server_blob_auditing_policies.rb | 290 +++++ .../generated/azure_mgmt_sql/job_agents.rb | 814 ++++++++++++ .../azure_mgmt_sql/job_credentials.rb | 568 +++++++++ .../azure_mgmt_sql/job_executions.rb | 1093 +++++++++++++++++ .../azure_mgmt_sql/job_step_executions.rb | 412 +++++++ .../generated/azure_mgmt_sql/job_steps.rb | 921 ++++++++++++++ .../azure_mgmt_sql/job_target_executions.rb | 692 +++++++++++ .../azure_mgmt_sql/job_target_groups.rb | 568 +++++++++ .../generated/azure_mgmt_sql/job_versions.rb | 355 ++++++ .../generated/azure_mgmt_sql/jobs.rb | 567 +++++++++ .../long_term_retention_backups.rb | 917 ++++++++++++++ .../azure_mgmt_sql/managed_databases.rb | 962 +++++++++++++++ .../models/automatic_tuning_server_options.rb | 5 - .../backup_long_term_retention_policy.rb | 102 ++ .../models/blob_auditing_policy_state.rb | 16 + .../complete_database_restore_definition.rb | 45 + ...reate_database_restore_point_definition.rb | 2 - .../azure_mgmt_sql/models/create_mode.rb | 1 + .../models/data_warehouse_user_activities.rb | 69 ++ .../azure_mgmt_sql/models/database.rb | 47 +- .../models/database_blob_auditing_policy.rb | 225 ++++ .../models/database_list_result.rb | 4 - .../models/database_operation.rb | 48 +- .../models/database_operation_list_result.rb | 4 - .../azure_mgmt_sql/models/database_status.rb | 32 + .../azure_mgmt_sql/models/database_update.rb | 42 +- .../database_vulnerability_assessment.rb | 93 ++ ..._vulnerability_assessment_rule_baseline.rb | 78 ++ ...erability_assessment_rule_baseline_item.rb | 53 + .../extended_database_blob_auditing_policy.rb | 225 ++++ .../extended_server_blob_auditing_policy.rb | 225 ++++ .../import_export_database_definition.rb | 11 - .../models/import_export_operation_result.rb | 13 - .../generated/azure_mgmt_sql/models/job.rb | 92 ++ .../azure_mgmt_sql/models/job_agent.rb | 112 ++ .../models/job_agent_list_result.rb | 96 ++ .../azure_mgmt_sql/models/job_agent_state.rb | 19 + .../azure_mgmt_sql/models/job_agent_update.rb | 51 + .../azure_mgmt_sql/models/job_credential.rb | 79 ++ .../models/job_credential_list_result.rb | 96 ++ .../azure_mgmt_sql/models/job_execution.rb | 207 ++++ .../models/job_execution_lifecycle.rb | 24 + .../models/job_execution_list_result.rb | 96 ++ .../models/job_execution_target.rb | 69 ++ .../azure_mgmt_sql/models/job_list_result.rb | 96 ++ .../azure_mgmt_sql/models/job_schedule.rb | 92 ++ .../models/job_schedule_type.rb | 16 + .../azure_mgmt_sql/models/job_step.rb | 125 ++ .../azure_mgmt_sql/models/job_step_action.rb | 69 ++ .../models/job_step_action_source.rb | 15 + .../models/job_step_action_type.rb | 15 + .../models/job_step_execution_options.rb | 94 ++ .../models/job_step_list_result.rb | 96 ++ .../azure_mgmt_sql/models/job_step_output.rb | 118 ++ .../models/job_step_output_type.rb | 15 + .../azure_mgmt_sql/models/job_target.rb | 113 ++ .../azure_mgmt_sql/models/job_target_group.rb | 76 ++ .../models/job_target_group_list_result.rb | 96 ++ .../job_target_group_membership_type.rb | 16 + .../azure_mgmt_sql/models/job_target_type.rb | 19 + .../azure_mgmt_sql/models/job_version.rb | 58 + .../models/job_version_list_result.rb | 96 ++ .../models/long_term_retention_backup.rb | 124 ++ .../long_term_retention_backup_list_result.rb | 96 ++ .../long_term_retention_database_state.rb | 17 + .../azure_mgmt_sql/models/managed_database.rb | 223 ++++ .../models/managed_database_create_mode.rb | 17 + .../models/managed_database_list_result.rb | 96 ++ .../models/managed_database_status.rb | 19 + .../models/managed_database_update.rb | 195 +++ .../models/provisioning_state.rb | 19 + .../azure_mgmt_sql/models/proxy_resource.rb | 4 - .../azure_mgmt_sql/models/resource.rb | 4 - .../models/resource_move_definition.rb | 2 - .../azure_mgmt_sql/models/restore_point.rb | 116 ++ .../models/restore_point_list_result.rb | 64 + .../models/security_alert_state.rb | 16 + .../models/server_automatic_tuning.rb | 8 - .../models/server_blob_auditing_policy.rb | 214 ++++ .../azure_mgmt_sql/models/server_dns_alias.rb | 5 - .../models/server_dns_alias_acquisition.rb | 2 - .../models/server_dns_alias_list_result.rb | 4 - .../models/server_security_alert_policy.rb | 153 +++ .../generated/azure_mgmt_sql/models/sku.rb | 91 ++ .../azure_mgmt_sql/models/tracked_resource.rb | 7 - ...ability_assessment_policy_baseline_name.rb | 16 + ...y_assessment_recurring_scans_properties.rb | 75 ++ .../azure_mgmt_sql/restore_points.rb | 507 ++++++++ .../server_automatic_tuning_operations.rb | 32 +- .../server_blob_auditing_policies.rb | 290 +++++ .../azure_mgmt_sql/server_dns_aliases.rb | 106 +- .../server_security_alert_policies.rb | 290 +++++ .../azure_mgmt_sql/sql_management_client.rb | 95 +- .../generated/azure_mgmt_sql/version.rb | 8 + .../azure_mgmt_sql/lib/azure_mgmt_sql.rb | 2 +- .../latest/modules/sql_profile_module.rb | 908 +++++++++----- 339 files changed, 22492 insertions(+), 3657 deletions(-) create mode 100644 management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_advisors.rb create mode 100644 management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/version.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_automatic_tuning_operations.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/firewall_rules.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/managed_instances.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_disabled_reason.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_mode.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_options.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_automatic_tuning.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_update.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource_with_writable_name.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource_with_writable_name.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sku.rb create mode 100644 management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/version.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/data_warehouse_user_activities_operations.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_rule_baselines.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessments.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_database_blob_auditing_policies.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_server_blob_auditing_policies.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_credentials.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_executions.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_step_executions.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_steps.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_executions.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_groups.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_versions.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/jobs.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/long_term_retention_backups.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/blob_auditing_policy_state.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/complete_database_restore_definition.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/data_warehouse_user_activities.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_status.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline_item.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_database_blob_auditing_policy.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_server_blob_auditing_policy.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_state.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_update.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_lifecycle.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_target.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule_type.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_source.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_type.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_execution_options.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output_type.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_membership_type.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_type.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_database_state.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_create_mode.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_status.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_update.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/provisioning_state.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_list_result.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_state.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_blob_auditing_policy.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sku.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_policy_baseline_name.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/restore_points.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_blob_auditing_policies.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_security_alert_policies.rb create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/version.rb diff --git a/azure_sdk/lib/latest/modules/sql_profile_module.rb b/azure_sdk/lib/latest/modules/sql_profile_module.rb index 898e09880e..cc8451ce3c 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -7,11 +7,9 @@ module Azure::Profiles::Latest module SQL module Mgmt - BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2014_04_01::BackupLongTermRetentionPolicies BackupLongTermRetentionVaults = Azure::SQL::Mgmt::V2014_04_01::BackupLongTermRetentionVaults RecoverableDatabases = Azure::SQL::Mgmt::V2014_04_01::RecoverableDatabases RestorableDroppedDatabases = Azure::SQL::Mgmt::V2014_04_01::RestorableDroppedDatabases - RestorePoints = Azure::SQL::Mgmt::V2014_04_01::RestorePoints Capabilities = Azure::SQL::Mgmt::V2014_04_01::Capabilities ServerConnectionPolicies = Azure::SQL::Mgmt::V2014_04_01::ServerConnectionPolicies DatabaseThreatDetectionPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseThreatDetectionPolicies @@ -21,18 +19,17 @@ module Mgmt Extensions = Azure::SQL::Mgmt::V2014_04_01::Extensions DisasterRecoveryConfigurations = Azure::SQL::Mgmt::V2014_04_01::DisasterRecoveryConfigurations ElasticPools = Azure::SQL::Mgmt::V2014_04_01::ElasticPools - FirewallRules = Azure::SQL::Mgmt::V2014_04_01::FirewallRules GeoBackupPolicies = Azure::SQL::Mgmt::V2014_04_01::GeoBackupPolicies Queries = Azure::SQL::Mgmt::V2014_04_01::Queries QueryStatistics = Azure::SQL::Mgmt::V2014_04_01::QueryStatistics QueryTexts = Azure::SQL::Mgmt::V2014_04_01::QueryTexts + RecommendedElasticPools = Azure::SQL::Mgmt::V2014_04_01::RecommendedElasticPools ReplicationLinks = Azure::SQL::Mgmt::V2014_04_01::ReplicationLinks ServerAzureADAdministrators = Azure::SQL::Mgmt::V2014_04_01::ServerAzureADAdministrators ServerCommunicationLinks = Azure::SQL::Mgmt::V2014_04_01::ServerCommunicationLinks ServiceObjectives = Azure::SQL::Mgmt::V2014_04_01::ServiceObjectives ElasticPoolActivities = Azure::SQL::Mgmt::V2014_04_01::ElasticPoolActivities ElasticPoolDatabaseActivities = Azure::SQL::Mgmt::V2014_04_01::ElasticPoolDatabaseActivities - RecommendedElasticPools = Azure::SQL::Mgmt::V2014_04_01::RecommendedElasticPools ServiceTierAdvisors = Azure::SQL::Mgmt::V2014_04_01::ServiceTierAdvisors TransparentDataEncryptions = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptions TransparentDataEncryptionActivities = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptionActivities @@ -44,9 +41,11 @@ module Mgmt DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors DatabaseRecommendedActions = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseRecommendedActions ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors - DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseBlobAuditingPolicies + DatabaseAutomaticTuningOperations = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAutomaticTuningOperations EncryptionProtectors = Azure::SQL::Mgmt::V2015_05_01_preview::EncryptionProtectors FailoverGroups = Azure::SQL::Mgmt::V2015_05_01_preview::FailoverGroups + FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules + ManagedInstances = Azure::SQL::Mgmt::V2015_05_01_preview::ManagedInstances Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations ServerKeys = Azure::SQL::Mgmt::V2015_05_01_preview::ServerKeys Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers @@ -55,101 +54,115 @@ module Mgmt SyncMembers = Azure::SQL::Mgmt::V2015_05_01_preview::SyncMembers SubscriptionUsages = Azure::SQL::Mgmt::V2015_05_01_preview::SubscriptionUsages VirtualNetworkRules = Azure::SQL::Mgmt::V2015_05_01_preview::VirtualNetworkRules + ExtendedDatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedDatabaseBlobAuditingPolicies + ExtendedServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedServerBlobAuditingPolicies + ServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerBlobAuditingPolicies + DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies DatabaseOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseOperations Databases = Azure::SQL::Mgmt::V2017_03_01_preview::Databases - DatabaseRestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseRestorePoints + DatabaseVulnerabilityAssessmentRuleBaselines = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessmentRuleBaselines + DatabaseVulnerabilityAssessments = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessments + DataWarehouseUserActivitiesOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DataWarehouseUserActivitiesOperations + JobAgents = Azure::SQL::Mgmt::V2017_03_01_preview::JobAgents + JobCredentials = Azure::SQL::Mgmt::V2017_03_01_preview::JobCredentials + JobExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobExecutions + Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs + JobStepExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobStepExecutions + JobSteps = Azure::SQL::Mgmt::V2017_03_01_preview::JobSteps + JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions + 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 + BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies + ManagedDatabases = Azure::SQL::Mgmt::V2017_03_01_preview::ManagedDatabases + RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases module Models - FirewallRuleListResult = Azure::SQL::Mgmt::V2014_04_01::Models::FirewallRuleListResult - DisasterRecoveryConfigurationListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult - ServerAdministratorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult - ServerUsage = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage - ServiceTierAdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult - ReplicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult - ElasticPoolDatabaseActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivityListResult - RecommendedElasticPoolMetric = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolMetric - ElasticPoolActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivityListResult - ServerUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult - RecoverableDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult - QueryTextListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult - RestorableDroppedDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult - QueryText = Azure::SQL::Mgmt::V2014_04_01::Models::QueryText - RestorePointListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RestorePointListResult - QueryStatisticListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult - ServiceObjectiveCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveCapability + MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue + ServiceObjectiveListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult DataMaskingRuleListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult - ElasticPoolPerDatabaseMinDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability + QueryText = Azure::SQL::Mgmt::V2014_04_01::Models::QueryText + DatabaseUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult TransparentDataEncryptionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult - ElasticPoolDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability + DatabaseUsage = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage ExtensionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult - ServerVersionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersionCapability - TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult - CheckNameAvailabilityRequest = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest - TopQueries = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries - TransparentDataEncryptionActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityListResult - QueryStatistic = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic - QueryInterval = Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval - OperationImpact = Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact - ElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult + ServerUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult ServerCommunicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult - QueryMetric = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric - AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult - BackupLongTermRetentionVaultListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult - RecommendedElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListResult - GeoBackupPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyListResult + ServerUsage = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage + DisasterRecoveryConfigurationListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult MaxSizeCapability = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability - ImportExtensionRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ImportExtensionRequest + ServerAdministratorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult + EditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability ElasticPoolPerDatabaseMaxDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability - DatabaseUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult + ElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult + ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + ReplicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult LocationCapabilities = Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities - DatabaseUsage = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage + CheckNameAvailabilityResponse = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityResponse + RecommendedElasticPoolListMetricsResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListMetricsResult SloUsageMetric = Azure::SQL::Mgmt::V2014_04_01::Models::SloUsageMetric + GeoBackupPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyListResult + TableAuditingPolicyProperties = Azure::SQL::Mgmt::V2014_04_01::Models::TableAuditingPolicyProperties + ImportExtensionRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ImportExtensionRequest + TransparentDataEncryptionActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityListResult + RecommendedElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListResult + ElasticPoolDatabaseActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivityListResult + RecommendedElasticPoolMetric = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolMetric + ElasticPoolActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivityListResult ExportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ExportRequest - DatabaseTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult - MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue - BackupLongTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult + QueryTextListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult + BackupLongTermRetentionVaultListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult MetricName = Azure::SQL::Mgmt::V2014_04_01::Models::MetricName - ServiceObjectiveListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult + RestorableDroppedDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult Metric = Azure::SQL::Mgmt::V2014_04_01::Models::Metric - ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + ElasticPoolPerDatabaseMinDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability MetricListResult = Azure::SQL::Mgmt::V2014_04_01::Models::MetricListResult - TableAuditingPolicyProperties = Azure::SQL::Mgmt::V2014_04_01::Models::TableAuditingPolicyProperties + ServerVersionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersionCapability MetricAvailability = Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability - RecommendedElasticPoolListMetricsResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListMetricsResult + ServerTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult MetricDefinition = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition - CheckNameAvailabilityResponse = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityResponse + OperationImpact = Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact MetricDefinitionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinitionListResult - EditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability - ServerTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult - BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicy + BackupLongTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult + ServiceObjectiveCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveCapability + CheckNameAvailabilityRequest = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest + QueryMetric = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric + 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 + 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 + TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult + AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + QueryStatisticListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult BackupLongTermRetentionVault = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault RecoverableDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase RestorableDroppedDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase - RestorePoint = Azure::SQL::Mgmt::V2014_04_01::Models::RestorePoint ServerConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy ServiceTierAdvisor = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor TransparentDataEncryption = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption RecommendedIndex = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex - TransparentDataEncryptionActivity = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity - ElasticPoolDatabaseActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity - ElasticPoolActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity - RecommendedElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool DatabaseSecurityAlertPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy DataMaskingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy DataMaskingRule = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule DisasterRecoveryConfiguration = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration ElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPool ElasticPoolUpdate = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolUpdate - FirewallRule = Azure::SQL::Mgmt::V2014_04_01::Models::FirewallRule GeoBackupPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy ImportExportResponse = Azure::SQL::Mgmt::V2014_04_01::Models::ImportExportResponse ImportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest + RecommendedElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool ReplicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink ServerAzureADAdministrator = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator ServerCommunicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink ServiceObjective = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective + ElasticPoolActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + ElasticPoolDatabaseActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity + TransparentDataEncryptionActivity = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity DatabaseConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy DatabaseTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy ServerTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy @@ -166,8 +179,6 @@ module Models RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState RecommendedIndexType = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType ReadScale = Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale - TransparentDataEncryptionActivityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus - ElasticPoolEdition = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition SecurityAlertPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault @@ -179,6 +190,7 @@ module Models DisasterRecoveryConfigurationFailoverPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy DisasterRecoveryConfigurationRole = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole ElasticPoolState = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolState + ElasticPoolEdition = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition GeoBackupPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState StorageKeyType = Azure::SQL::Mgmt::V2014_04_01::Models::StorageKeyType AuthenticationType = Azure::SQL::Mgmt::V2014_04_01::Models::AuthenticationType @@ -193,47 +205,57 @@ module Models ReplicationState = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState ServerVersion = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion ServerState = Azure::SQL::Mgmt::V2014_04_01::Models::ServerState - ServerKeyListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult + TransparentDataEncryptionActivityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus + OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + RecommendedActionImplementationInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo + OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult + RecommendedActionImpactRecord = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord + ManagedInstanceUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceUpdate + FirewallRuleList = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleList ResourceIdentity = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceIdentity + SyncGroupSchema = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchema + SyncDatabaseIdListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdListResult + SyncGroupSchemaTable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTable + SyncFullSchemaTable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTable + SyncGroupSchemaTableColumn = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTableColumn + ManagedInstanceListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceListResult + EncryptionProtectorListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtectorListResult + SyncFullSchemaTableColumn = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTableColumn + FailoverGroupReadOnlyEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadOnlyEndpoint RecommendedActionStateInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionStateInfo + SyncGroupLogProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogProperties RecommendedActionErrorInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionErrorInfo - ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + FailoverGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult RecommendedActionMetricInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo + SyncFullSchemaPropertiesListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult + FirewallRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult + ServerKeyListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult VirtualNetworkRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult - RecommendedActionImpactRecord = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord - SyncGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult - SyncGroupSchema = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchema - SyncGroupLogProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogProperties - FailoverGroupReadWriteEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint SyncGroupLogListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult + ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult PartnerInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo ServerUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate - FailoverGroupUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate + ResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName SubscriptionUsageListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsageListResult - OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + SyncGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult SyncAgentListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult - OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult + FailoverGroupReadWriteEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint SyncAgentKeyProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties - SyncFullSchemaPropertiesListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult - RecommendedActionImplementationInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo + SyncFullSchemaProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties SyncMemberListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult - FailoverGroupReadOnlyEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadOnlyEndpoint + FailoverGroupUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate SyncAgentLinkedDatabaseListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult - FailoverGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult + AutomaticTuningOptions = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningOptions SyncDatabaseIdProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdProperties - SyncGroupSchemaTableColumn = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTableColumn - SyncDatabaseIdListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdListResult - SyncGroupSchemaTable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTable - SyncFullSchemaTableColumn = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTableColumn - EncryptionProtectorListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtectorListResult - SyncFullSchemaTable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTable - Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation - SyncFullSchemaProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties RecommendedAction = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction Advisor = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor - DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseBlobAuditingPolicy + DatabaseAutomaticTuning = Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning EncryptionProtector = Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector FailoverGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup + ProxyResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName + FirewallRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + ManagedInstance = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance ServerKey = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server SyncAgent = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent @@ -249,13 +271,14 @@ module Models RecommendedActionInitiatedBy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy ImplementationMethod = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod IsRetryable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable - BlobAuditingPolicyState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::BlobAuditingPolicyState + 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 ReadWriteEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy ReadOnlyEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadOnlyEndpointFailoverPolicy FailoverGroupReplicationRole = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole - OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin IdentityType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType + OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin 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 @@ -264,40 +287,91 @@ module Models SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState + JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult + CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate + JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult - CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - DatabaseRestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseRestorePointListResult - ArmSku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ArmSku + JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + Sku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku + JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult - ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource - ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult + JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult + JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction + DatabaseVulnerabilityAssessmentRuleBaselineItem = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + JobStepOutput = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput ProxyResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource + ExtendedDatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy + ExtendedServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy + ServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy + DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy DatabaseOperation = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperation TrackedResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::TrackedResource Database = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Database ImportExportOperationResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult - DatabaseRestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseRestorePoint + DatabaseVulnerabilityAssessmentRuleBaseline = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline + DatabaseVulnerabilityAssessment = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment + DataWarehouseUserActivities = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities + JobAgent = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent + JobCredential = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential + JobExecution = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution + Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + JobStep = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep + JobTargetGroup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup + JobVersion = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion + LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup + BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + ManagedDatabase = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase + RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias + BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState ManagementOperationState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState CreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode SampleName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName - Status = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Status + DatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus CatalogCollationType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CatalogCollationType + JobAgentState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState + JobExecutionLifecycle = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle + ProvisioningState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState + JobTargetType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType + JobScheduleType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType + JobStepActionType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType + JobStepActionSource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource + JobStepOutputType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType + JobTargetGroupMembershipType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType + ManagedDatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + ManagedDatabaseCreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode RestorePointType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType AutomaticTuningServerMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName end class SQLManagementClass - attr_reader :backup_long_term_retention_policies, :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :restore_points, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :firewall_rules, :geo_backup_policies, :queries, :query_statistics, :query_texts, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :recommended_elastic_pools, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_blob_auditing_policies, :encryption_protectors, :failover_groups, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :database_operations, :databases, :database_restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :configurable, :base_url, :options, :model_classes + attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -307,11 +381,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @backup_long_term_retention_policies = @client_0.backup_long_term_retention_policies @backup_long_term_retention_vaults = @client_0.backup_long_term_retention_vaults @recoverable_databases = @client_0.recoverable_databases @restorable_dropped_databases = @client_0.restorable_dropped_databases - @restore_points = @client_0.restore_points @capabilities = @client_0.capabilities @server_connection_policies = @client_0.server_connection_policies @database_threat_detection_policies = @client_0.database_threat_detection_policies @@ -321,18 +393,17 @@ def initialize(configurable, base_url=nil, options=nil) @extensions = @client_0.extensions @disaster_recovery_configurations = @client_0.disaster_recovery_configurations @elastic_pools = @client_0.elastic_pools - @firewall_rules = @client_0.firewall_rules @geo_backup_policies = @client_0.geo_backup_policies @queries = @client_0.queries @query_statistics = @client_0.query_statistics @query_texts = @client_0.query_texts + @recommended_elastic_pools = @client_0.recommended_elastic_pools @replication_links = @client_0.replication_links @server_azure_adadministrators = @client_0.server_azure_adadministrators @server_communication_links = @client_0.server_communication_links @service_objectives = @client_0.service_objectives @elastic_pool_activities = @client_0.elastic_pool_activities @elastic_pool_database_activities = @client_0.elastic_pool_database_activities - @recommended_elastic_pools = @client_0.recommended_elastic_pools @service_tier_advisors = @client_0.service_tier_advisors @transparent_data_encryptions = @client_0.transparent_data_encryptions @transparent_data_encryption_activities = @client_0.transparent_data_encryption_activities @@ -350,9 +421,11 @@ def initialize(configurable, base_url=nil, options=nil) @database_advisors = @client_1.database_advisors @database_recommended_actions = @client_1.database_recommended_actions @server_advisors = @client_1.server_advisors - @database_blob_auditing_policies = @client_1.database_blob_auditing_policies + @database_automatic_tuning_operations = @client_1.database_automatic_tuning_operations @encryption_protectors = @client_1.encryption_protectors @failover_groups = @client_1.failover_groups + @firewall_rules = @client_1.firewall_rules + @managed_instances = @client_1.managed_instances @operations = @client_1.operations @server_keys = @client_1.server_keys @servers = @client_1.servers @@ -367,9 +440,28 @@ def initialize(configurable, base_url=nil, options=nil) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) + @extended_database_blob_auditing_policies = @client_2.extended_database_blob_auditing_policies + @extended_server_blob_auditing_policies = @client_2.extended_server_blob_auditing_policies + @server_blob_auditing_policies = @client_2.server_blob_auditing_policies + @database_blob_auditing_policies = @client_2.database_blob_auditing_policies @database_operations = @client_2.database_operations @databases = @client_2.databases - @database_restore_points = @client_2.database_restore_points + @database_vulnerability_assessment_rule_baselines = @client_2.database_vulnerability_assessment_rule_baselines + @database_vulnerability_assessments = @client_2.database_vulnerability_assessments + @data_warehouse_user_activities_operations = @client_2.data_warehouse_user_activities_operations + @job_agents = @client_2.job_agents + @job_credentials = @client_2.job_credentials + @job_executions = @client_2.job_executions + @jobs = @client_2.jobs + @job_step_executions = @client_2.job_step_executions + @job_steps = @client_2.job_steps + @job_target_executions = @client_2.job_target_executions + @job_target_groups = @client_2.job_target_groups + @job_versions = @client_2.job_versions + @long_term_retention_backups = @client_2.long_term_retention_backups + @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies + @managed_databases = @client_2.managed_databases + @restore_points = @client_2.restore_points @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations @server_dns_aliases = @client_2.server_dns_aliases @@ -394,191 +486,182 @@ def method_missing(method, *args) end class ModelClasses - def firewall_rule_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::FirewallRuleListResult - end - def disaster_recovery_configuration_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult - end - def server_administrator_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult - end - def server_usage - Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage - end - def service_tier_advisor_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult - end - def replication_link_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult - end - def elastic_pool_database_activity_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivityListResult - end - def recommended_elastic_pool_metric - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolMetric - end - def elastic_pool_activity_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivityListResult - end - def server_usage_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult - end - def recoverable_database_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult + def metric_value + Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue end - def query_text_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult + def service_objective_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult end - def restorable_dropped_database_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult + def data_masking_rule_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult end def query_text Azure::SQL::Mgmt::V2014_04_01::Models::QueryText end - def restore_point_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::RestorePointListResult - end - def query_statistic_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult - end - def service_objective_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveCapability - end - def data_masking_rule_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult - end - def elastic_pool_per_database_min_dtu_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability + def database_usage_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult end def transparent_data_encryption_list_result Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult end - def elastic_pool_dtu_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability + def database_usage + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage end def extension_list_result Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult end - def server_version_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersionCapability + def server_usage_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult end - def top_queries_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult + def server_communication_link_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult end - def check_name_availability_request - Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest + def server_usage + Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage end - def top_queries - Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries + def disaster_recovery_configuration_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult end - def transparent_data_encryption_activity_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityListResult + def max_size_capability + Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability end - def query_statistic - Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic + def server_administrator_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult end - def query_interval - Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval + def edition_capability + Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability end - def operation_impact - Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact + def elastic_pool_per_database_max_dtu_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability end def elastic_pool_list_result Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult end - def server_communication_link_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult + def elastic_pool_edition_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability end - def query_metric - Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric + def replication_link_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult end - def advisor_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + def location_capabilities + Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities end - def backup_long_term_retention_vault_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult + def check_name_availability_response + Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityResponse end - def recommended_elastic_pool_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListResult + def recommended_elastic_pool_list_metrics_result + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListMetricsResult + end + def slo_usage_metric + Azure::SQL::Mgmt::V2014_04_01::Models::SloUsageMetric end def geo_backup_policy_list_result Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyListResult end - def max_size_capability - Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability + def table_auditing_policy_properties + Azure::SQL::Mgmt::V2014_04_01::Models::TableAuditingPolicyProperties end def import_extension_request Azure::SQL::Mgmt::V2014_04_01::Models::ImportExtensionRequest end - def elastic_pool_per_database_max_dtu_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability + def transparent_data_encryption_activity_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityListResult end - def database_usage_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult + def recommended_elastic_pool_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListResult end - def location_capabilities - Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities + def elastic_pool_database_activity_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivityListResult end - def database_usage - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage + def recommended_elastic_pool_metric + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolMetric end - def slo_usage_metric - Azure::SQL::Mgmt::V2014_04_01::Models::SloUsageMetric + def elastic_pool_activity_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivityListResult end def export_request Azure::SQL::Mgmt::V2014_04_01::Models::ExportRequest end - def database_table_auditing_policy_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult - end - def metric_value - Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue + def query_text_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult end - def backup_long_term_retention_policy_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult + def backup_long_term_retention_vault_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult end def metric_name Azure::SQL::Mgmt::V2014_04_01::Models::MetricName end - def service_objective_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult + def restorable_dropped_database_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult end def metric Azure::SQL::Mgmt::V2014_04_01::Models::Metric end - def elastic_pool_edition_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + def elastic_pool_per_database_min_dtu_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability end def metric_list_result Azure::SQL::Mgmt::V2014_04_01::Models::MetricListResult end - def table_auditing_policy_properties - Azure::SQL::Mgmt::V2014_04_01::Models::TableAuditingPolicyProperties + def server_version_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersionCapability end def metric_availability Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability end - def recommended_elastic_pool_list_metrics_result - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListMetricsResult + def server_table_auditing_policy_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult end def metric_definition Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition end - def check_name_availability_response - Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityResponse + def operation_impact + Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact end def metric_definition_list_result Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinitionListResult end - def edition_capability - Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability + def backup_long_term_retention_policy_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult end - def server_table_auditing_policy_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult + def service_objective_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveCapability end - def backup_long_term_retention_policy - Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicy + def check_name_availability_request + Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest + end + def query_metric + Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric + end + def service_tier_advisor_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult + end + def query_interval + Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval + end + 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 database_table_auditing_policy_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult + end + def top_queries + Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries + end + def elastic_pool_dtu_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability + end + def top_queries_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult + end + def advisor_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + end + def query_statistic_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult end def backup_long_term_retention_vault Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault @@ -589,9 +672,6 @@ def recoverable_database def restorable_dropped_database Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase end - def restore_point - Azure::SQL::Mgmt::V2014_04_01::Models::RestorePoint - end def server_connection_policy Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy end @@ -604,18 +684,6 @@ def transparent_data_encryption def recommended_index Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex end - def transparent_data_encryption_activity - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity - end - def elastic_pool_database_activity - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity - end - def elastic_pool_activity - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity - end - def recommended_elastic_pool - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool - end def database_security_alert_policy Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy end @@ -634,9 +702,6 @@ def elastic_pool def elastic_pool_update Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolUpdate end - def firewall_rule - Azure::SQL::Mgmt::V2014_04_01::Models::FirewallRule - end def geo_backup_policy Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy end @@ -646,6 +711,9 @@ def import_export_response def import_request Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest end + def recommended_elastic_pool + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool + end def replication_link Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink end @@ -658,6 +726,15 @@ def server_communication_link def service_objective Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective end + def elastic_pool_activity + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + end + 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 + end def database_connection_policy Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy end @@ -706,12 +783,6 @@ def recommended_index_type def read_scale Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale end - def transparent_data_encryption_activity_status - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus - end - def elastic_pool_edition - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition - end def security_alert_policy_state Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState end @@ -745,6 +816,9 @@ def disaster_recovery_configuration_role def elastic_pool_state Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolState end + def elastic_pool_edition + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition + end def geo_backup_policy_state Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState end @@ -787,122 +861,143 @@ def server_version def server_state Azure::SQL::Mgmt::V2014_04_01::Models::ServerState end - def server_key_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult + def transparent_data_encryption_activity_status + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus + end + def operation_display + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + end + def operation + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + end + def recommended_action_implementation_info + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo + end + def operation_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult + end + def recommended_action_impact_record + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord + end + def managed_instance_update + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceUpdate + end + def firewall_rule_list + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleList end def resource_identity Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceIdentity end + def sync_group_schema + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchema + end + def sync_database_id_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdListResult + end + def sync_group_schema_table + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTable + end + def sync_full_schema_table + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTable + end + def sync_group_schema_table_column + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTableColumn + end + def managed_instance_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceListResult + end + def encryption_protector_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtectorListResult + end + def sync_full_schema_table_column + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTableColumn + end + def failover_group_read_only_endpoint + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadOnlyEndpoint + end def recommended_action_state_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionStateInfo end + def sync_group_log_properties + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogProperties + end def recommended_action_error_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionErrorInfo end - def server_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + def failover_group_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult end def recommended_action_metric_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo end - def virtual_network_rule_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult - end - def recommended_action_impact_record - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord - end - def sync_group_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult + def sync_full_schema_properties_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult end - def sync_group_schema - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchema + def firewall_rule_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult end - def sync_group_log_properties - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogProperties + def server_key_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult end - def failover_group_read_write_endpoint - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint + def virtual_network_rule_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult end def sync_group_log_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult end + def server_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + end def partner_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo end def server_update Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate end - def failover_group_update - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate + def resource_with_writable_name + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName end def subscription_usage_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsageListResult end - def operation_display - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + def sync_group_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult end def sync_agent_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult end - def operation_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult + def failover_group_read_write_endpoint + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint end def sync_agent_key_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties end - def sync_full_schema_properties_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult - end - def recommended_action_implementation_info - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo + def sync_full_schema_properties + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties end def sync_member_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult end - def failover_group_read_only_endpoint - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadOnlyEndpoint + def failover_group_update + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate end def sync_agent_linked_database_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult end - def failover_group_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult + def automatic_tuning_options + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningOptions end def sync_database_id_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdProperties end - def sync_group_schema_table_column - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTableColumn - end - def sync_database_id_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdListResult - end - def sync_group_schema_table - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTable - end - def sync_full_schema_table_column - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTableColumn - end - def encryption_protector_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtectorListResult - end - def sync_full_schema_table - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTable - end - def operation - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation - end - def sync_full_schema_properties - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties - end def recommended_action Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction end def advisor Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor end - def database_blob_auditing_policy - Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseBlobAuditingPolicy + def database_automatic_tuning + Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning end def encryption_protector Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector @@ -910,6 +1005,15 @@ def encryption_protector def failover_group Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup end + def proxy_resource_with_writable_name + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName + end + def firewall_rule + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + end + def managed_instance + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance + end def server_key Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey end @@ -955,8 +1059,11 @@ def implementation_method def is_retryable Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable end - def blob_auditing_policy_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::BlobAuditingPolicyState + def automatic_tuning_mode + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode + end + def automatic_tuning_disabled_reason + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason end def server_key_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType @@ -970,12 +1077,12 @@ def read_only_endpoint_failover_policy def failover_group_replication_role Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole end - def operation_origin - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin - end def identity_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType end + def operation_origin + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin + end def sync_agent_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState end @@ -1000,45 +1107,117 @@ def sync_member_state def virtual_network_rule_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState end + def job_schedule + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + end + def job_credential_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + end + def vulnerability_assessment_recurring_scans_properties + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + end + def managed_database_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + end + def job_target_group_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + end + def resource_move_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + end + def server_dns_alias_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + end + def restore_point_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + end + def job_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + end + def long_term_retention_backup_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + end + def job_agent_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult + end + def create_database_restore_point_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + end + def job_agent_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + end def database_update Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate end + def job_step_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + end + def job_version_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + end + def server_dns_alias_acquisition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + end def automatic_tuning_server_options Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions end - def database_operation_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult + def job_execution_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget end - def create_database_restore_point_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + def complete_database_restore_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + end + def job_step_execution_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions end - def database_restore_point_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseRestorePointListResult + def sku + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku end - def arm_sku - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ArmSku + def job_execution_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult end def import_export_database_definition Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition end + def resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + end + def managed_database_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + end def database_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult end - def server_dns_alias_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + def job_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult end - def resource_move_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + def database_operation_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult end - def resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + def job_step_action + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction end - def server_dns_alias_acquisition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + def database_vulnerability_assessment_rule_baseline_item + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + end + def job_step_output + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput end def proxy_resource Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource end + def extended_database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy + end + def extended_server_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy + end + def server_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy + end + def database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + end def database_operation Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperation end @@ -1051,8 +1230,47 @@ def database def import_export_operation_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult end - def database_restore_point - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseRestorePoint + def database_vulnerability_assessment_rule_baseline + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline + end + def database_vulnerability_assessment + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment + end + def data_warehouse_user_activities + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities + end + def job_agent + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent + end + def job_credential + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential + end + def job_execution + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution + end + def job + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + end + def job_step + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep + end + def job_target_group + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup + end + def job_version + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion + end + def long_term_retention_backup + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup + end + def backup_long_term_retention_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + end + def managed_database + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase + end + def restore_point + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint end def server_automatic_tuning Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning @@ -1060,6 +1278,9 @@ def server_automatic_tuning def server_dns_alias Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias end + def blob_auditing_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState + end def management_operation_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState end @@ -1069,12 +1290,45 @@ def create_mode def sample_name Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName end - def status - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Status + def database_status + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus end def catalog_collation_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::CatalogCollationType end + def job_agent_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState + end + def job_execution_lifecycle + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle + end + def provisioning_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState + end + def job_target_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType + end + def job_schedule_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType + end + def job_step_action_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType + end + def job_step_action_source + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource + end + def job_step_output_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType + end + def job_target_group_membership_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType + end + def managed_database_status + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + end + def managed_database_create_mode + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode + end def restore_point_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType end @@ -1090,6 +1344,12 @@ def automatic_tuning_option_mode_actual def automatic_tuning_server_reason Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason end + def long_term_retention_database_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + end + def vulnerability_assessment_policy_baseline_name + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + end end end end diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql.rb index 75b3562134..eee3140b72 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql.rb @@ -20,12 +20,12 @@ require 'ms_rest_azure' module Azure::SQL::Mgmt::V2014_04_01 + autoload :ServerAdvisors, '2014-04-01/generated/azure_mgmt_sql/server_advisors.rb' autoload :DatabaseAdvisors, '2014-04-01/generated/azure_mgmt_sql/database_advisors.rb' autoload :BackupLongTermRetentionPolicies, '2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb' autoload :BackupLongTermRetentionVaults, '2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_vaults.rb' autoload :RecoverableDatabases, '2014-04-01/generated/azure_mgmt_sql/recoverable_databases.rb' autoload :RestorableDroppedDatabases, '2014-04-01/generated/azure_mgmt_sql/restorable_dropped_databases.rb' - autoload :RestorePoints, '2014-04-01/generated/azure_mgmt_sql/restore_points.rb' autoload :Capabilities, '2014-04-01/generated/azure_mgmt_sql/capabilities.rb' autoload :Servers, '2014-04-01/generated/azure_mgmt_sql/servers.rb' autoload :ServerConnectionPolicies, '2014-04-01/generated/azure_mgmt_sql/server_connection_policies.rb' @@ -43,13 +43,14 @@ module Azure::SQL::Mgmt::V2014_04_01 autoload :Queries, '2014-04-01/generated/azure_mgmt_sql/queries.rb' autoload :QueryStatistics, '2014-04-01/generated/azure_mgmt_sql/query_statistics.rb' autoload :QueryTexts, '2014-04-01/generated/azure_mgmt_sql/query_texts.rb' + autoload :RecommendedElasticPools, '2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb' autoload :ReplicationLinks, '2014-04-01/generated/azure_mgmt_sql/replication_links.rb' + autoload :RestorePoints, '2014-04-01/generated/azure_mgmt_sql/restore_points.rb' autoload :ServerAzureADAdministrators, '2014-04-01/generated/azure_mgmt_sql/server_azure_adadministrators.rb' autoload :ServerCommunicationLinks, '2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb' autoload :ServiceObjectives, '2014-04-01/generated/azure_mgmt_sql/service_objectives.rb' autoload :ElasticPoolActivities, '2014-04-01/generated/azure_mgmt_sql/elastic_pool_activities.rb' autoload :ElasticPoolDatabaseActivities, '2014-04-01/generated/azure_mgmt_sql/elastic_pool_database_activities.rb' - autoload :RecommendedElasticPools, '2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb' autoload :ServiceTierAdvisors, '2014-04-01/generated/azure_mgmt_sql/service_tier_advisors.rb' autoload :TransparentDataEncryptions, '2014-04-01/generated/azure_mgmt_sql/transparent_data_encryptions.rb' autoload :TransparentDataEncryptionActivities, '2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_activities.rb' @@ -61,91 +62,86 @@ module Azure::SQL::Mgmt::V2014_04_01 autoload :SqlManagementClient, '2014-04-01/generated/azure_mgmt_sql/sql_management_client.rb' module Models - autoload :FirewallRuleListResult, '2014-04-01/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb' - autoload :Resource, '2014-04-01/generated/azure_mgmt_sql/models/resource.rb' - autoload :DisasterRecoveryConfigurationListResult, '2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_list_result.rb' - autoload :ServerAdministratorListResult, '2014-04-01/generated/azure_mgmt_sql/models/server_administrator_list_result.rb' - autoload :ServerUsage, '2014-04-01/generated/azure_mgmt_sql/models/server_usage.rb' - autoload :ServiceTierAdvisorListResult, '2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb' - autoload :ReplicationLinkListResult, '2014-04-01/generated/azure_mgmt_sql/models/replication_link_list_result.rb' - autoload :ElasticPoolDatabaseActivityListResult, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb' - autoload :RecommendedElasticPoolMetric, '2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb' - autoload :ElasticPoolActivityListResult, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb' - autoload :ServerUsageListResult, '2014-04-01/generated/azure_mgmt_sql/models/server_usage_list_result.rb' - autoload :RecoverableDatabaseListResult, '2014-04-01/generated/azure_mgmt_sql/models/recoverable_database_list_result.rb' - autoload :QueryTextListResult, '2014-04-01/generated/azure_mgmt_sql/models/query_text_list_result.rb' - autoload :RestorableDroppedDatabaseListResult, '2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database_list_result.rb' - autoload :QueryText, '2014-04-01/generated/azure_mgmt_sql/models/query_text.rb' - autoload :RestorePointListResult, '2014-04-01/generated/azure_mgmt_sql/models/restore_point_list_result.rb' - autoload :QueryStatisticListResult, '2014-04-01/generated/azure_mgmt_sql/models/query_statistic_list_result.rb' - autoload :ServiceObjectiveCapability, '2014-04-01/generated/azure_mgmt_sql/models/service_objective_capability.rb' + autoload :MetricValue, '2014-04-01/generated/azure_mgmt_sql/models/metric_value.rb' + autoload :ServiceObjectiveListResult, '2014-04-01/generated/azure_mgmt_sql/models/service_objective_list_result.rb' + autoload :ServerListResult, '2014-04-01/generated/azure_mgmt_sql/models/server_list_result.rb' autoload :DataMaskingRuleListResult, '2014-04-01/generated/azure_mgmt_sql/models/data_masking_rule_list_result.rb' - autoload :ElasticPoolPerDatabaseMinDtuCapability, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_per_database_min_dtu_capability.rb' + autoload :QueryText, '2014-04-01/generated/azure_mgmt_sql/models/query_text.rb' + autoload :DatabaseUsageListResult, '2014-04-01/generated/azure_mgmt_sql/models/database_usage_list_result.rb' autoload :TransparentDataEncryptionListResult, '2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_list_result.rb' - autoload :ElasticPoolDtuCapability, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_dtu_capability.rb' + autoload :DatabaseUsage, '2014-04-01/generated/azure_mgmt_sql/models/database_usage.rb' autoload :ExtensionListResult, '2014-04-01/generated/azure_mgmt_sql/models/extension_list_result.rb' - autoload :ServerVersionCapability, '2014-04-01/generated/azure_mgmt_sql/models/server_version_capability.rb' - autoload :TopQueriesListResult, '2014-04-01/generated/azure_mgmt_sql/models/top_queries_list_result.rb' - autoload :CheckNameAvailabilityRequest, '2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_request.rb' - autoload :TopQueries, '2014-04-01/generated/azure_mgmt_sql/models/top_queries.rb' - autoload :TransparentDataEncryptionActivityListResult, '2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb' - autoload :QueryStatistic, '2014-04-01/generated/azure_mgmt_sql/models/query_statistic.rb' - autoload :ServerListResult, '2014-04-01/generated/azure_mgmt_sql/models/server_list_result.rb' - autoload :QueryInterval, '2014-04-01/generated/azure_mgmt_sql/models/query_interval.rb' - autoload :OperationImpact, '2014-04-01/generated/azure_mgmt_sql/models/operation_impact.rb' - autoload :ElasticPoolListResult, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb' + autoload :ServerUsageListResult, '2014-04-01/generated/azure_mgmt_sql/models/server_usage_list_result.rb' autoload :ServerCommunicationLinkListResult, '2014-04-01/generated/azure_mgmt_sql/models/server_communication_link_list_result.rb' - autoload :QueryMetric, '2014-04-01/generated/azure_mgmt_sql/models/query_metric.rb' - autoload :DatabaseListResult, '2014-04-01/generated/azure_mgmt_sql/models/database_list_result.rb' - autoload :AdvisorListResult, '2014-04-01/generated/azure_mgmt_sql/models/advisor_list_result.rb' - autoload :OperationListResult, '2014-04-01/generated/azure_mgmt_sql/models/operation_list_result.rb' - autoload :BackupLongTermRetentionVaultListResult, '2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault_list_result.rb' - autoload :RecommendedElasticPoolListResult, '2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb' - autoload :GeoBackupPolicyListResult, '2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy_list_result.rb' + autoload :ServerUsage, '2014-04-01/generated/azure_mgmt_sql/models/server_usage.rb' + autoload :DisasterRecoveryConfigurationListResult, '2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_list_result.rb' autoload :MaxSizeCapability, '2014-04-01/generated/azure_mgmt_sql/models/max_size_capability.rb' - autoload :ImportExtensionRequest, '2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb' + autoload :ServerAdministratorListResult, '2014-04-01/generated/azure_mgmt_sql/models/server_administrator_list_result.rb' + autoload :EditionCapability, '2014-04-01/generated/azure_mgmt_sql/models/edition_capability.rb' + autoload :RestorePointListResult, '2014-04-01/generated/azure_mgmt_sql/models/restore_point_list_result.rb' autoload :ElasticPoolPerDatabaseMaxDtuCapability, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_dtu_capability.rb' - autoload :DatabaseUsageListResult, '2014-04-01/generated/azure_mgmt_sql/models/database_usage_list_result.rb' + autoload :ElasticPoolListResult, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb' + autoload :ElasticPoolEditionCapability, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb' + autoload :ReplicationLinkListResult, '2014-04-01/generated/azure_mgmt_sql/models/replication_link_list_result.rb' autoload :LocationCapabilities, '2014-04-01/generated/azure_mgmt_sql/models/location_capabilities.rb' - autoload :DatabaseUsage, '2014-04-01/generated/azure_mgmt_sql/models/database_usage.rb' + autoload :FirewallRuleListResult, '2014-04-01/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb' + autoload :CheckNameAvailabilityResponse, '2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_response.rb' + autoload :RecommendedElasticPoolListMetricsResult, '2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb' autoload :SloUsageMetric, '2014-04-01/generated/azure_mgmt_sql/models/slo_usage_metric.rb' + autoload :GeoBackupPolicyListResult, '2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy_list_result.rb' + autoload :TableAuditingPolicyProperties, '2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb' + autoload :ImportExtensionRequest, '2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb' + autoload :TransparentDataEncryptionActivityListResult, '2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb' + autoload :RecommendedElasticPoolListResult, '2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb' + autoload :ElasticPoolDatabaseActivityListResult, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb' + autoload :RecommendedElasticPoolMetric, '2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb' + autoload :ElasticPoolActivityListResult, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb' autoload :ExportRequest, '2014-04-01/generated/azure_mgmt_sql/models/export_request.rb' - autoload :DatabaseTableAuditingPolicyListResult, '2014-04-01/generated/azure_mgmt_sql/models/database_table_auditing_policy_list_result.rb' - autoload :MetricValue, '2014-04-01/generated/azure_mgmt_sql/models/metric_value.rb' - autoload :BackupLongTermRetentionPolicyListResult, '2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_list_result.rb' + autoload :Resource, '2014-04-01/generated/azure_mgmt_sql/models/resource.rb' + autoload :QueryTextListResult, '2014-04-01/generated/azure_mgmt_sql/models/query_text_list_result.rb' + autoload :BackupLongTermRetentionVaultListResult, '2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault_list_result.rb' autoload :MetricName, '2014-04-01/generated/azure_mgmt_sql/models/metric_name.rb' - autoload :ServiceObjectiveListResult, '2014-04-01/generated/azure_mgmt_sql/models/service_objective_list_result.rb' + autoload :RestorableDroppedDatabaseListResult, '2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database_list_result.rb' autoload :Metric, '2014-04-01/generated/azure_mgmt_sql/models/metric.rb' - autoload :ElasticPoolEditionCapability, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb' + autoload :ElasticPoolPerDatabaseMinDtuCapability, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_per_database_min_dtu_capability.rb' autoload :MetricListResult, '2014-04-01/generated/azure_mgmt_sql/models/metric_list_result.rb' - autoload :TableAuditingPolicyProperties, '2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb' + autoload :ServerVersionCapability, '2014-04-01/generated/azure_mgmt_sql/models/server_version_capability.rb' autoload :MetricAvailability, '2014-04-01/generated/azure_mgmt_sql/models/metric_availability.rb' - autoload :RecommendedElasticPoolListMetricsResult, '2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb' + autoload :ServerTableAuditingPolicyListResult, '2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy_list_result.rb' autoload :MetricDefinition, '2014-04-01/generated/azure_mgmt_sql/models/metric_definition.rb' - autoload :CheckNameAvailabilityResponse, '2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_response.rb' + autoload :OperationImpact, '2014-04-01/generated/azure_mgmt_sql/models/operation_impact.rb' autoload :MetricDefinitionListResult, '2014-04-01/generated/azure_mgmt_sql/models/metric_definition_list_result.rb' - autoload :EditionCapability, '2014-04-01/generated/azure_mgmt_sql/models/edition_capability.rb' + autoload :DatabaseListResult, '2014-04-01/generated/azure_mgmt_sql/models/database_list_result.rb' autoload :OperationDisplay, '2014-04-01/generated/azure_mgmt_sql/models/operation_display.rb' - autoload :ServerTableAuditingPolicyListResult, '2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy_list_result.rb' + autoload :BackupLongTermRetentionPolicyListResult, '2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_list_result.rb' autoload :Operation, '2014-04-01/generated/azure_mgmt_sql/models/operation.rb' + autoload :ServiceObjectiveCapability, '2014-04-01/generated/azure_mgmt_sql/models/service_objective_capability.rb' + autoload :OperationListResult, '2014-04-01/generated/azure_mgmt_sql/models/operation_list_result.rb' + autoload :CheckNameAvailabilityRequest, '2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_request.rb' + autoload :QueryMetric, '2014-04-01/generated/azure_mgmt_sql/models/query_metric.rb' + autoload :ServiceTierAdvisorListResult, '2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb' + autoload :QueryInterval, '2014-04-01/generated/azure_mgmt_sql/models/query_interval.rb' + autoload :RecoverableDatabaseListResult, '2014-04-01/generated/azure_mgmt_sql/models/recoverable_database_list_result.rb' + autoload :QueryStatistic, '2014-04-01/generated/azure_mgmt_sql/models/query_statistic.rb' + autoload :DatabaseTableAuditingPolicyListResult, '2014-04-01/generated/azure_mgmt_sql/models/database_table_auditing_policy_list_result.rb' + autoload :TopQueries, '2014-04-01/generated/azure_mgmt_sql/models/top_queries.rb' + autoload :ElasticPoolDtuCapability, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_dtu_capability.rb' + autoload :TopQueriesListResult, '2014-04-01/generated/azure_mgmt_sql/models/top_queries_list_result.rb' + autoload :AdvisorListResult, '2014-04-01/generated/azure_mgmt_sql/models/advisor_list_result.rb' + autoload :QueryStatisticListResult, '2014-04-01/generated/azure_mgmt_sql/models/query_statistic_list_result.rb' autoload :ProxyResource, '2014-04-01/generated/azure_mgmt_sql/models/proxy_resource.rb' autoload :Advisor, '2014-04-01/generated/azure_mgmt_sql/models/advisor.rb' + autoload :TrackedResource, '2014-04-01/generated/azure_mgmt_sql/models/tracked_resource.rb' autoload :BackupLongTermRetentionPolicy, '2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb' autoload :BackupLongTermRetentionVault, '2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault.rb' - autoload :TrackedResource, '2014-04-01/generated/azure_mgmt_sql/models/tracked_resource.rb' autoload :RecoverableDatabase, '2014-04-01/generated/azure_mgmt_sql/models/recoverable_database.rb' autoload :RestorableDroppedDatabase, '2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb' - autoload :RestorePoint, '2014-04-01/generated/azure_mgmt_sql/models/restore_point.rb' autoload :ServerConnectionPolicy, '2014-04-01/generated/azure_mgmt_sql/models/server_connection_policy.rb' autoload :ServiceTierAdvisor, '2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb' autoload :TransparentDataEncryption, '2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption.rb' autoload :RecommendedIndex, '2014-04-01/generated/azure_mgmt_sql/models/recommended_index.rb' autoload :Database, '2014-04-01/generated/azure_mgmt_sql/models/database.rb' autoload :DatabaseUpdate, '2014-04-01/generated/azure_mgmt_sql/models/database_update.rb' - autoload :TransparentDataEncryptionActivity, '2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb' - autoload :ElasticPoolDatabaseActivity, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb' - autoload :ElasticPoolActivity, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity.rb' - autoload :RecommendedElasticPool, '2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb' autoload :DatabaseSecurityAlertPolicy, '2014-04-01/generated/azure_mgmt_sql/models/database_security_alert_policy.rb' autoload :DataMaskingPolicy, '2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb' autoload :DataMaskingRule, '2014-04-01/generated/azure_mgmt_sql/models/data_masking_rule.rb' @@ -156,19 +152,23 @@ module Models autoload :GeoBackupPolicy, '2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy.rb' autoload :ImportExportResponse, '2014-04-01/generated/azure_mgmt_sql/models/import_export_response.rb' autoload :ImportRequest, '2014-04-01/generated/azure_mgmt_sql/models/import_request.rb' + autoload :RecommendedElasticPool, '2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb' autoload :ReplicationLink, '2014-04-01/generated/azure_mgmt_sql/models/replication_link.rb' + autoload :RestorePoint, '2014-04-01/generated/azure_mgmt_sql/models/restore_point.rb' autoload :ServerAzureADAdministrator, '2014-04-01/generated/azure_mgmt_sql/models/server_azure_adadministrator.rb' autoload :ServerCommunicationLink, '2014-04-01/generated/azure_mgmt_sql/models/server_communication_link.rb' autoload :Server, '2014-04-01/generated/azure_mgmt_sql/models/server.rb' autoload :ServerUpdate, '2014-04-01/generated/azure_mgmt_sql/models/server_update.rb' autoload :ServiceObjective, '2014-04-01/generated/azure_mgmt_sql/models/service_objective.rb' + autoload :ElasticPoolActivity, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity.rb' + autoload :ElasticPoolDatabaseActivity, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb' + autoload :TransparentDataEncryptionActivity, '2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb' autoload :DatabaseConnectionPolicy, '2014-04-01/generated/azure_mgmt_sql/models/database_connection_policy.rb' autoload :DatabaseTableAuditingPolicy, '2014-04-01/generated/azure_mgmt_sql/models/database_table_auditing_policy.rb' autoload :ServerTableAuditingPolicy, '2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb' autoload :AdvisorStatus, '2014-04-01/generated/azure_mgmt_sql/models/advisor_status.rb' autoload :AutoExecuteStatus, '2014-04-01/generated/azure_mgmt_sql/models/auto_execute_status.rb' autoload :BackupLongTermRetentionPolicyState, '2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_state.rb' - autoload :RestorePointType, '2014-04-01/generated/azure_mgmt_sql/models/restore_point_type.rb' autoload :CapabilityStatus, '2014-04-01/generated/azure_mgmt_sql/models/capability_status.rb' autoload :MaxSizeUnits, '2014-04-01/generated/azure_mgmt_sql/models/max_size_units.rb' autoload :PerformanceLevelUnit, '2014-04-01/generated/azure_mgmt_sql/models/performance_level_unit.rb' @@ -183,8 +183,6 @@ module Models autoload :RecommendedIndexType, '2014-04-01/generated/azure_mgmt_sql/models/recommended_index_type.rb' autoload :ReadScale, '2014-04-01/generated/azure_mgmt_sql/models/read_scale.rb' autoload :SampleName, '2014-04-01/generated/azure_mgmt_sql/models/sample_name.rb' - autoload :TransparentDataEncryptionActivityStatus, '2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_status.rb' - autoload :ElasticPoolEdition, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_edition.rb' autoload :SecurityAlertPolicyState, '2014-04-01/generated/azure_mgmt_sql/models/security_alert_policy_state.rb' autoload :SecurityAlertPolicyEmailAccountAdmins, '2014-04-01/generated/azure_mgmt_sql/models/security_alert_policy_email_account_admins.rb' autoload :SecurityAlertPolicyUseServerDefault, '2014-04-01/generated/azure_mgmt_sql/models/security_alert_policy_use_server_default.rb' @@ -196,6 +194,7 @@ module Models autoload :DisasterRecoveryConfigurationFailoverPolicy, '2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_failover_policy.rb' autoload :DisasterRecoveryConfigurationRole, '2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_role.rb' autoload :ElasticPoolState, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_state.rb' + autoload :ElasticPoolEdition, '2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_edition.rb' autoload :GeoBackupPolicyState, '2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy_state.rb' autoload :StorageKeyType, '2014-04-01/generated/azure_mgmt_sql/models/storage_key_type.rb' autoload :AuthenticationType, '2014-04-01/generated/azure_mgmt_sql/models/authentication_type.rb' @@ -208,7 +207,9 @@ module Models autoload :QueryMetricUnit, '2014-04-01/generated/azure_mgmt_sql/models/query_metric_unit.rb' autoload :ReplicationRole, '2014-04-01/generated/azure_mgmt_sql/models/replication_role.rb' autoload :ReplicationState, '2014-04-01/generated/azure_mgmt_sql/models/replication_state.rb' + autoload :RestorePointType, '2014-04-01/generated/azure_mgmt_sql/models/restore_point_type.rb' autoload :ServerVersion, '2014-04-01/generated/azure_mgmt_sql/models/server_version.rb' autoload :ServerState, '2014-04-01/generated/azure_mgmt_sql/models/server_state.rb' + autoload :TransparentDataEncryptionActivityStatus, '2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_status.rb' end end diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb index 360a7ade1b..46e7ef1d97 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [BackupLongTermRetentionPolicy] operation results. # - def get(resource_group_name, server_name, database_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -55,8 +55,8 @@ def get(resource_group_name, server_name, database_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -72,7 +72,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -82,7 +82,6 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -142,8 +141,8 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni # # @return [BackupLongTermRetentionPolicy] operation results. # - def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -161,9 +160,9 @@ def create_or_update(resource_group_name, server_name, database_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -192,8 +191,8 @@ def create_or_update_async(resource_group_name, server_name, database_name, para # # @return [BackupLongTermRetentionPolicyListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -210,8 +209,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -227,7 +226,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -236,7 +235,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +294,8 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust # # @return [BackupLongTermRetentionPolicy] operation results. # - def begin_create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -316,8 +314,8 @@ def begin_create_or_update(resource_group_name, server_name, database_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -335,7 +333,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, data # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -346,12 +344,13 @@ def begin_create_or_update_async(resource_group_name, server_name, database_name 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::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_vaults.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_vaults.rb index b2f20c9303..2b0b066995 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_vaults.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_vaults.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [BackupLongTermRetentionVault] operation results. # - def get(resource_group_name, server_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -53,8 +53,8 @@ def get(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, custom_headers:nil) - get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, custom_headers = nil) + get_async(resource_group_name, server_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(resource_group_name, server_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, custom_headers:nil) + def get_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -78,7 +78,6 @@ def get_async(resource_group_name, server_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 @@ -137,8 +136,8 @@ def get_async(resource_group_name, server_name, custom_headers:nil) # # @return [BackupLongTermRetentionVault] operation results. # - def create_or_update(resource_group_name, server_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -155,9 +154,9 @@ def create_or_update(resource_group_name, server_name, parameters, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -185,8 +184,8 @@ def create_or_update_async(resource_group_name, server_name, parameters, custom_ # # @return [BackupLongTermRetentionVaultListResult] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -202,8 +201,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -218,7 +217,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -226,7 +225,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -285,8 +283,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [BackupLongTermRetentionVault] operation results. # - def begin_create_or_update(resource_group_name, server_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -304,8 +302,8 @@ def begin_create_or_update(resource_group_name, server_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! end # @@ -322,7 +320,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -332,12 +330,13 @@ def begin_create_or_update_async(resource_group_name, server_name, parameters, c 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::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/capabilities.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/capabilities.rb index 713797bb1a..8e2bef0e7d 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/capabilities.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/capabilities.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [LocationCapabilities] operation results. # - def list_by_location(location_id, custom_headers:nil) - response = list_by_location_async(location_id, custom_headers:custom_headers).value! + def list_by_location(location_id, custom_headers = nil) + response = list_by_location_async(location_id, custom_headers).value! response.body unless response.nil? end @@ -47,8 +47,8 @@ def list_by_location(location_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_location_with_http_info(location_id, custom_headers:nil) - list_by_location_async(location_id, custom_headers:custom_headers).value! + def list_by_location_with_http_info(location_id, custom_headers = nil) + list_by_location_async(location_id, custom_headers).value! end # @@ -60,14 +60,13 @@ def list_by_location_with_http_info(location_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_location_async(location_id, custom_headers:nil) + def list_by_location_async(location_id, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location_id is nil' if location_id.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_sql/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_policies.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_policies.rb index 0d6e39b138..45ab3cc3a3 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_policies.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_policies.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [DataMaskingPolicy] operation results. # - def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -59,8 +59,8 @@ def create_or_update(resource_group_name, server_name, database_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -78,7 +78,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -89,12 +89,13 @@ def create_or_update_async(resource_group_name, server_name, database_name, para 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::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -154,8 +155,8 @@ def create_or_update_async(resource_group_name, server_name, database_name, para # # @return [DataMaskingPolicy] operation results. # - def get(resource_group_name, server_name, database_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -172,8 +173,8 @@ def get(resource_group_name, server_name, database_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -189,7 +190,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -199,7 +200,6 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_rules.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_rules.rb index 8da1c188e9..e5605bdcbd 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_rules.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_rules.rb @@ -40,8 +40,8 @@ def initialize(client) # # @return [DataMaskingRule] operation results. # - def create_or_update(resource_group_name, server_name, database_name, data_masking_rule_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, data_masking_rule_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, data_masking_rule_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, data_masking_rule_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -61,8 +61,8 @@ def create_or_update(resource_group_name, server_name, database_name, data_maski # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, database_name, data_masking_rule_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, database_name, data_masking_rule_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, database_name, data_masking_rule_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, data_masking_rule_name, parameters, custom_headers).value! end # @@ -81,7 +81,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, database_name, data_masking_rule_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, data_masking_rule_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -93,12 +93,13 @@ def create_or_update_async(resource_group_name, server_name, database_name, data 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::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -168,8 +169,8 @@ def create_or_update_async(resource_group_name, server_name, database_name, data # # @return [DataMaskingRuleListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -186,8 +187,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -203,7 +204,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -213,7 +214,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_advisors.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_advisors.rb index 9e639ae252..9d7dc4c434 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_advisors.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_advisors.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [AdvisorListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -55,8 +55,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -72,7 +72,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -81,7 +81,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -140,8 +139,8 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust # # @return [Advisor] operation results. # - def get(resource_group_name, server_name, database_name, advisor_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, advisor_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers).value! response.body unless response.nil? end @@ -159,8 +158,8 @@ def get(resource_group_name, server_name, database_name, advisor_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, advisor_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, advisor_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers).value! end # @@ -177,7 +176,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, advisor_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -187,7 +186,6 @@ def get_async(resource_group_name, server_name, database_name, advisor_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -247,8 +245,8 @@ def get_async(resource_group_name, server_name, database_name, advisor_name, cus # # @return [Advisor] operation results. # - def create_or_update(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -267,8 +265,8 @@ def create_or_update(resource_group_name, server_name, database_name, advisor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers).value! end # @@ -286,7 +284,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -297,12 +295,13 @@ def create_or_update_async(resource_group_name, server_name, database_name, advi 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::SQL::Mgmt::V2014_04_01::Models::Advisor.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_connection_policies.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_connection_policies.rb index fb499df2ff..ba54b4d48c 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_connection_policies.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_connection_policies.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [DatabaseConnectionPolicy] operation results. # - def get(resource_group_name, server_name, database_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -59,8 +59,8 @@ def get(resource_group_name, server_name, database_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -78,7 +78,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -88,7 +88,6 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -149,8 +148,8 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni # # @return [DatabaseConnectionPolicy] operation results. # - def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -170,8 +169,8 @@ def create_or_update(resource_group_name, server_name, database_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -190,7 +189,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -201,12 +200,13 @@ def create_or_update_async(resource_group_name, server_name, database_name, para 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::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_table_auditing_policies.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_table_auditing_policies.rb index 6801f37168..06218b9a5e 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_table_auditing_policies.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_table_auditing_policies.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [DatabaseTableAuditingPolicy] operation results. # - def get(resource_group_name, server_name, database_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -59,8 +59,8 @@ def get(resource_group_name, server_name, database_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -78,7 +78,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -88,7 +88,6 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -150,8 +149,8 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni # # @return [DatabaseTableAuditingPolicy] operation results. # - def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -172,8 +171,8 @@ def create_or_update(resource_group_name, server_name, database_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -193,7 +192,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -204,12 +203,13 @@ def create_or_update_async(resource_group_name, server_name, database_name, para 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::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -281,8 +281,8 @@ def create_or_update_async(resource_group_name, server_name, database_name, para # # @return [DatabaseTableAuditingPolicyListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -301,8 +301,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -320,7 +320,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -329,7 +329,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_threat_detection_policies.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_threat_detection_policies.rb index 9d0a60b749..324667357c 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_threat_detection_policies.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_threat_detection_policies.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [DatabaseSecurityAlertPolicy] operation results. # - def get(resource_group_name, server_name, database_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def get(resource_group_name, server_name, database_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_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, 'server_name is nil' if server_name.nil? @@ -85,7 +85,6 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -146,8 +145,8 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni # # @return [DatabaseSecurityAlertPolicy] operation results. # - def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -167,8 +166,8 @@ def create_or_update(resource_group_name, server_name, database_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -187,7 +186,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, 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, 'server_name is nil' if server_name.nil? @@ -198,12 +197,13 @@ def create_or_update_async(resource_group_name, server_name, database_name, para 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::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_usages.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_usages.rb index 714a3163bd..9c8afaa2df 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_usages.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/database_usages.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [DatabaseUsageListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -55,8 +55,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -72,7 +72,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -81,7 +81,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb index 520ea45137..ad9c92af60 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb @@ -35,8 +35,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def pause(resource_group_name, server_name, database_name, custom_headers:nil) - response = pause_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def pause(resource_group_name, server_name, database_name, custom_headers = nil) + response = pause_async(resource_group_name, server_name, database_name, custom_headers).value! nil end @@ -52,9 +52,9 @@ def pause(resource_group_name, server_name, database_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def pause_async(resource_group_name, server_name, database_name, custom_headers:nil) + def pause_async(resource_group_name, server_name, database_name, custom_headers = nil) # Send request - promise = begin_pause_async(resource_group_name, server_name, database_name, custom_headers:custom_headers) + promise = begin_pause_async(resource_group_name, server_name, database_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -79,8 +79,8 @@ def pause_async(resource_group_name, server_name, database_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def resume(resource_group_name, server_name, database_name, custom_headers:nil) - response = resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def resume(resource_group_name, server_name, database_name, custom_headers = nil) + response = resume_async(resource_group_name, server_name, database_name, custom_headers).value! nil end @@ -96,9 +96,9 @@ def resume(resource_group_name, server_name, database_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def resume_async(resource_group_name, server_name, database_name, custom_headers:nil) + def resume_async(resource_group_name, server_name, database_name, custom_headers = nil) # Send request - promise = begin_resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers) + promise = begin_resume_async(resource_group_name, server_name, database_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -128,8 +128,8 @@ def resume_async(resource_group_name, server_name, database_name, custom_headers # # @return [Database] operation results. # - def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -148,9 +148,9 @@ def create_or_update(resource_group_name, server_name, database_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -181,8 +181,8 @@ def create_or_update_async(resource_group_name, server_name, database_name, para # # @return [Database] operation results. # - def update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -200,9 +200,9 @@ def update(resource_group_name, server_name, database_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -230,8 +230,8 @@ def update_async(resource_group_name, server_name, database_name, parameters, cu # will be added to the HTTP request. # # - def delete(resource_group_name, server_name, database_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, database_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, database_name, custom_headers).value! nil end @@ -248,8 +248,8 @@ def delete(resource_group_name, server_name, database_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - delete_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + delete_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -265,7 +265,7 @@ def delete_with_http_info(resource_group_name, server_name, database_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, server_name, database_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -274,7 +274,6 @@ def delete_async(resource_group_name, server_name, database_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -325,8 +324,8 @@ def delete_async(resource_group_name, server_name, database_name, custom_headers # # @return [Database] operation results. # - def get(resource_group_name, server_name, database_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, expand, custom_headers).value! response.body unless response.nil? end @@ -346,8 +345,8 @@ def get(resource_group_name, server_name, database_name, expand:nil, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, expand, custom_headers).value! end # @@ -366,7 +365,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, expand = nil, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -375,7 +374,6 @@ def get_async(resource_group_name, server_name, database_name, expand:nil, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -437,8 +435,8 @@ def get_async(resource_group_name, server_name, database_name, expand:nil, custo # # @return [DatabaseListResult] operation results. # - def list_by_server(resource_group_name, server_name, expand:nil, filter:nil, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, expand:expand, filter:filter, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, expand = nil, filter = nil, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, expand, filter, custom_headers).value! response.body unless response.nil? end @@ -459,8 +457,8 @@ def list_by_server(resource_group_name, server_name, expand:nil, filter:nil, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, expand:nil, filter:nil, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, expand:expand, filter:filter, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, expand = nil, filter = nil, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, expand, filter, custom_headers).value! end # @@ -480,7 +478,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, expand:nil, filter:nil, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, expand = nil, filter = nil, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -488,7 +486,6 @@ def list_by_server_async(resource_group_name, server_name, expand:nil, filter:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -548,8 +545,8 @@ def list_by_server_async(resource_group_name, server_name, expand:nil, filter:ni # # @return [Database] operation results. # - def get_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, database_name, custom_headers:nil) - response = get_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, database_name, custom_headers:custom_headers).value! + def get_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, database_name, custom_headers = nil) + response = get_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -568,8 +565,8 @@ def get_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, dat # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_by_elastic_pool_with_http_info(resource_group_name, server_name, elastic_pool_name, database_name, custom_headers:nil) - get_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, database_name, custom_headers:custom_headers).value! + def get_by_elastic_pool_with_http_info(resource_group_name, server_name, elastic_pool_name, database_name, custom_headers = nil) + get_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, database_name, custom_headers).value! end # @@ -587,7 +584,7 @@ def get_by_elastic_pool_with_http_info(resource_group_name, server_name, elastic # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, database_name, custom_headers:nil) + def get_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -597,7 +594,6 @@ def get_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -656,8 +652,8 @@ def get_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_nam # # @return [DatabaseListResult] operation results. # - def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - response = list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + response = list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! response.body unless response.nil? end @@ -675,8 +671,8 @@ def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! end # @@ -693,7 +689,7 @@ def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elasti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) + def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -702,7 +698,6 @@ def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,8 +757,8 @@ def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_na # # @return [Database] operation results. # - def get_by_recommended_elastic_pool(resource_group_name, server_name, recommended_elastic_pool_name, database_name, custom_headers:nil) - response = get_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, database_name, custom_headers:custom_headers).value! + def get_by_recommended_elastic_pool(resource_group_name, server_name, recommended_elastic_pool_name, database_name, custom_headers = nil) + response = get_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -782,8 +777,8 @@ def get_by_recommended_elastic_pool(resource_group_name, server_name, recommende # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_by_recommended_elastic_pool_with_http_info(resource_group_name, server_name, recommended_elastic_pool_name, database_name, custom_headers:nil) - get_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, database_name, custom_headers:custom_headers).value! + def get_by_recommended_elastic_pool_with_http_info(resource_group_name, server_name, recommended_elastic_pool_name, database_name, custom_headers = nil) + get_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, database_name, custom_headers).value! end # @@ -801,7 +796,7 @@ def get_by_recommended_elastic_pool_with_http_info(resource_group_name, server_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, database_name, custom_headers:nil) + def get_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -811,7 +806,6 @@ def get_by_recommended_elastic_pool_async(resource_group_name, server_name, reco request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -870,8 +864,8 @@ def get_by_recommended_elastic_pool_async(resource_group_name, server_name, reco # # @return [DatabaseListResult] operation results. # - def list_by_recommended_elastic_pool(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:nil) - response = list_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:custom_headers).value! + def list_by_recommended_elastic_pool(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers = nil) + response = list_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers).value! response.body unless response.nil? end @@ -889,8 +883,8 @@ def list_by_recommended_elastic_pool(resource_group_name, server_name, recommend # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_recommended_elastic_pool_with_http_info(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:nil) - list_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:custom_headers).value! + def list_by_recommended_elastic_pool_with_http_info(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers = nil) + list_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers).value! end # @@ -907,7 +901,7 @@ def list_by_recommended_elastic_pool_with_http_info(resource_group_name, server_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:nil) + def list_by_recommended_elastic_pool_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -916,7 +910,6 @@ def list_by_recommended_elastic_pool_async(resource_group_name, server_name, rec request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -975,8 +968,8 @@ def list_by_recommended_elastic_pool_async(resource_group_name, server_name, rec # # @return [ImportExportResponse] operation results. # - def import(resource_group_name, server_name, parameters, custom_headers:nil) - response = import_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def import(resource_group_name, server_name, parameters, custom_headers = nil) + response = import_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -993,9 +986,9 @@ def import(resource_group_name, server_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def import_async(resource_group_name, server_name, parameters, custom_headers:nil) + def import_async(resource_group_name, server_name, parameters, custom_headers = nil) # Send request - promise = begin_import_async(resource_group_name, server_name, parameters, custom_headers:custom_headers) + promise = begin_import_async(resource_group_name, server_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1027,8 +1020,8 @@ def import_async(resource_group_name, server_name, parameters, custom_headers:ni # # @return [ImportExportResponse] operation results. # - def create_import_operation(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_import_operation(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1046,9 +1039,9 @@ def create_import_operation(resource_group_name, server_name, database_name, par # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) # Send request - promise = begin_create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers) + promise = begin_create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1079,8 +1072,8 @@ def create_import_operation_async(resource_group_name, server_name, database_nam # # @return [ImportExportResponse] operation results. # - def export(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = export_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def export(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = export_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1098,9 +1091,9 @@ def export(resource_group_name, server_name, database_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def export_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def export_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) # Send request - promise = begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers) + promise = begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1131,8 +1124,8 @@ def export_async(resource_group_name, server_name, database_name, parameters, cu # # @return [MetricListResult] operation results. # - def list_metrics(resource_group_name, server_name, database_name, filter, custom_headers:nil) - response = list_metrics_async(resource_group_name, server_name, database_name, filter, custom_headers:custom_headers).value! + def list_metrics(resource_group_name, server_name, database_name, filter, custom_headers = nil) + response = list_metrics_async(resource_group_name, server_name, database_name, filter, custom_headers).value! response.body unless response.nil? end @@ -1151,8 +1144,8 @@ def list_metrics(resource_group_name, server_name, database_name, filter, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_metrics_with_http_info(resource_group_name, server_name, database_name, filter, custom_headers:nil) - list_metrics_async(resource_group_name, server_name, database_name, filter, custom_headers:custom_headers).value! + def list_metrics_with_http_info(resource_group_name, server_name, database_name, filter, custom_headers = nil) + list_metrics_async(resource_group_name, server_name, database_name, filter, custom_headers).value! end # @@ -1170,7 +1163,7 @@ def list_metrics_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_metrics_async(resource_group_name, server_name, database_name, filter, custom_headers:nil) + def list_metrics_async(resource_group_name, server_name, database_name, filter, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -1180,7 +1173,6 @@ def list_metrics_async(resource_group_name, server_name, database_name, filter, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1238,8 +1230,8 @@ def list_metrics_async(resource_group_name, server_name, database_name, filter, # # @return [MetricDefinitionListResult] operation results. # - def list_metric_definitions(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_metric_definitions_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_metric_definitions(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_metric_definitions_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -1256,8 +1248,8 @@ def list_metric_definitions(resource_group_name, server_name, database_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_metric_definitions_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_metric_definitions_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_metric_definitions_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_metric_definitions_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -1273,7 +1265,7 @@ def list_metric_definitions_with_http_info(resource_group_name, server_name, dat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_metric_definitions_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_metric_definitions_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -1282,7 +1274,6 @@ def list_metric_definitions_async(resource_group_name, server_name, database_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1339,8 +1330,8 @@ def list_metric_definitions_async(resource_group_name, server_name, database_nam # will be added to the HTTP request. # # - def begin_pause(resource_group_name, server_name, database_name, custom_headers:nil) - response = begin_pause_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def begin_pause(resource_group_name, server_name, database_name, custom_headers = nil) + response = begin_pause_async(resource_group_name, server_name, database_name, custom_headers).value! nil end @@ -1357,8 +1348,8 @@ def begin_pause(resource_group_name, server_name, database_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_pause_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - begin_pause_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def begin_pause_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + begin_pause_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -1374,7 +1365,7 @@ def begin_pause_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_pause_async(resource_group_name, server_name, database_name, custom_headers:nil) + def begin_pause_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -1383,7 +1374,6 @@ def begin_pause_async(resource_group_name, server_name, database_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1430,8 +1420,8 @@ def begin_pause_async(resource_group_name, server_name, database_name, custom_he # will be added to the HTTP request. # # - def begin_resume(resource_group_name, server_name, database_name, custom_headers:nil) - response = begin_resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def begin_resume(resource_group_name, server_name, database_name, custom_headers = nil) + response = begin_resume_async(resource_group_name, server_name, database_name, custom_headers).value! nil end @@ -1448,8 +1438,8 @@ def begin_resume(resource_group_name, server_name, database_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_resume_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - begin_resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def begin_resume_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + begin_resume_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -1465,7 +1455,7 @@ def begin_resume_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_resume_async(resource_group_name, server_name, database_name, custom_headers:nil) + def begin_resume_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -1474,7 +1464,6 @@ def begin_resume_async(resource_group_name, server_name, database_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1525,8 +1514,8 @@ def begin_resume_async(resource_group_name, server_name, database_name, custom_h # # @return [Database] operation results. # - def begin_create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1546,8 +1535,8 @@ def begin_create_or_update(resource_group_name, server_name, database_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -1566,7 +1555,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, data # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -1576,12 +1565,13 @@ def begin_create_or_update_async(resource_group_name, server_name, database_name 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::SQL::Mgmt::V2014_04_01::Models::Database.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1653,8 +1643,8 @@ def begin_create_or_update_async(resource_group_name, server_name, database_name # # @return [Database] operation results. # - def begin_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1673,8 +1663,8 @@ def begin_update(resource_group_name, server_name, database_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -1692,7 +1682,7 @@ def begin_update_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -1702,12 +1692,13 @@ def begin_update_async(resource_group_name, server_name, database_name, paramete 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::SQL::Mgmt::V2014_04_01::Models::DatabaseUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1768,8 +1759,8 @@ def begin_update_async(resource_group_name, server_name, database_name, paramete # # @return [ImportExportResponse] operation results. # - def begin_import(resource_group_name, server_name, parameters, custom_headers:nil) - response = begin_import_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def begin_import(resource_group_name, server_name, parameters, custom_headers = nil) + response = begin_import_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1787,8 +1778,8 @@ def begin_import(resource_group_name, server_name, parameters, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_import_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil) - begin_import_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def begin_import_with_http_info(resource_group_name, server_name, parameters, custom_headers = nil) + begin_import_async(resource_group_name, server_name, parameters, custom_headers).value! end # @@ -1805,7 +1796,7 @@ def begin_import_with_http_info(resource_group_name, server_name, parameters, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_import_async(resource_group_name, server_name, parameters, custom_headers:nil) + def begin_import_async(resource_group_name, server_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -1814,12 +1805,13 @@ def begin_import_async(resource_group_name, server_name, parameters, custom_head 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::SQL::Mgmt::V2014_04_01::Models::ImportRequest.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1882,8 +1874,8 @@ def begin_import_async(resource_group_name, server_name, parameters, custom_head # # @return [ImportExportResponse] operation results. # - def begin_create_import_operation(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = begin_create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_create_import_operation(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = begin_create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1903,8 +1895,8 @@ def begin_create_import_operation(resource_group_name, server_name, database_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_import_operation_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - begin_create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_create_import_operation_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + begin_create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -1923,7 +1915,7 @@ def begin_create_import_operation_with_http_info(resource_group_name, server_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def begin_create_import_operation_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -1934,12 +1926,13 @@ def begin_create_import_operation_async(resource_group_name, server_name, databa 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::SQL::Mgmt::V2014_04_01::Models::ImportExtensionRequest.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2001,8 +1994,8 @@ def begin_create_import_operation_async(resource_group_name, server_name, databa # # @return [ImportExportResponse] operation results. # - def begin_export(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_export(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2021,8 +2014,8 @@ def begin_export(resource_group_name, server_name, database_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_export_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_export_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -2040,7 +2033,7 @@ def begin_export_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -2050,12 +2043,13 @@ def begin_export_async(resource_group_name, server_name, database_name, paramete 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::SQL::Mgmt::V2014_04_01::Models::ExportRequest.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb index fa01d6efb4..03eec63361 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [DisasterRecoveryConfigurationListResult] operation results. # - def list(resource_group_name, server_name, custom_headers:nil) - response = list_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list(resource_group_name, server_name, custom_headers = nil) + response = list_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -53,8 +53,8 @@ def list(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_async(resource_group_name, server_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_with_http_info(resource_group_name, server_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, server_name, custom_headers:nil) + def list_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -77,7 +77,6 @@ def list_async(resource_group_name, server_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 @@ -134,8 +133,8 @@ def list_async(resource_group_name, server_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! nil end @@ -152,9 +151,9 @@ def delete(resource_group_name, server_name, disaster_recovery_configuration_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -182,8 +181,8 @@ def delete_async(resource_group_name, server_name, disaster_recovery_configurati # # @return [DisasterRecoveryConfiguration] operation results. # - def create_or_update(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! response.body unless response.nil? end @@ -200,9 +199,9 @@ def create_or_update(resource_group_name, server_name, disaster_recovery_configu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -232,8 +231,8 @@ def create_or_update_async(resource_group_name, server_name, disaster_recovery_c # # @return [DisasterRecoveryConfiguration] operation results. # - def get(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! response.body unless response.nil? end @@ -251,8 +250,8 @@ def get(resource_group_name, server_name, disaster_recovery_configuration_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - get_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + get_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! end # @@ -269,7 +268,7 @@ def get_with_http_info(resource_group_name, server_name, disaster_recovery_confi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) + def get_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -278,7 +277,6 @@ def get_async(resource_group_name, server_name, disaster_recovery_configuration_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -335,8 +333,8 @@ def get_async(resource_group_name, server_name, disaster_recovery_configuration_ # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def failover(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - response = failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def failover(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + response = failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! nil end @@ -353,9 +351,9 @@ def failover(resource_group_name, server_name, disaster_recovery_configuration_n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) + def failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) # Send request - promise = begin_failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers) + promise = begin_failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -382,8 +380,8 @@ def failover_async(resource_group_name, server_name, disaster_recovery_configura # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def failover_allow_data_loss(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - response = failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def failover_allow_data_loss(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + response = failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! nil end @@ -400,9 +398,9 @@ def failover_allow_data_loss(resource_group_name, server_name, disaster_recovery # @return [Concurrent::Promise] promise which provides async access to http # response. # - def failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) + def failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) # Send request - promise = begin_failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers) + promise = begin_failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -429,8 +427,8 @@ def failover_allow_data_loss_async(resource_group_name, server_name, disaster_re # will be added to the HTTP request. # # - def begin_delete(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! nil end @@ -448,8 +446,8 @@ def begin_delete(resource_group_name, server_name, disaster_recovery_configurati # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - begin_delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! end # @@ -466,7 +464,7 @@ def begin_delete_with_http_info(resource_group_name, server_name, disaster_recov # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) + def begin_delete_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -475,7 +473,6 @@ def begin_delete_async(resource_group_name, server_name, disaster_recovery_confi request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -524,8 +521,8 @@ def begin_delete_async(resource_group_name, server_name, disaster_recovery_confi # # @return [DisasterRecoveryConfiguration] operation results. # - def begin_create_or_update(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! response.body unless response.nil? end @@ -543,8 +540,8 @@ def begin_create_or_update(resource_group_name, server_name, disaster_recovery_c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! end # @@ -561,7 +558,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, disa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -570,7 +567,6 @@ def begin_create_or_update_async(resource_group_name, server_name, disaster_reco request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -648,8 +644,8 @@ def begin_create_or_update_async(resource_group_name, server_name, disaster_reco # will be added to the HTTP request. # # - def begin_failover(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - response = begin_failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def begin_failover(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + response = begin_failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! nil end @@ -667,8 +663,8 @@ def begin_failover(resource_group_name, server_name, disaster_recovery_configura # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_failover_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - begin_failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def begin_failover_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + begin_failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! end # @@ -685,7 +681,7 @@ def begin_failover_with_http_info(resource_group_name, server_name, disaster_rec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) + def begin_failover_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -694,7 +690,6 @@ def begin_failover_async(resource_group_name, server_name, disaster_recovery_con request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -743,8 +738,8 @@ def begin_failover_async(resource_group_name, server_name, disaster_recovery_con # will be added to the HTTP request. # # - def begin_failover_allow_data_loss(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - response = begin_failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def begin_failover_allow_data_loss(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + response = begin_failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! nil end @@ -763,8 +758,8 @@ def begin_failover_allow_data_loss(resource_group_name, server_name, disaster_re # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_failover_allow_data_loss_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) - begin_failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value! + def begin_failover_allow_data_loss_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) + begin_failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers).value! end # @@ -782,7 +777,7 @@ def begin_failover_allow_data_loss_with_http_info(resource_group_name, server_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil) + def begin_failover_allow_data_loss_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -791,7 +786,6 @@ def begin_failover_allow_data_loss_async(resource_group_name, server_name, disas 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_activities.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_activities.rb index 34fdef1ec1..b2f0229015 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_activities.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_activities.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [ElasticPoolActivityListResult] operation results. # - def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - response = list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + response = list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elasti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) + def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -84,7 +84,6 @@ def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_na 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_database_activities.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_database_activities.rb index 4b2d135f64..c00c0291b7 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_database_activities.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_database_activities.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [ElasticPoolDatabaseActivityListResult] operation results. # - def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - response = list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + response = list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! response.body unless response.nil? end @@ -55,8 +55,8 @@ def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! end # @@ -72,7 +72,7 @@ def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elasti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) + def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -81,7 +81,6 @@ def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_na 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb index a19d85ae37..6d22196d8a 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb @@ -40,8 +40,8 @@ def initialize(client) # # @return [ElasticPool] operation results. # - def create_or_update(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -60,9 +60,9 @@ def create_or_update(resource_group_name, server_name, elastic_pool_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -93,8 +93,8 @@ def create_or_update_async(resource_group_name, server_name, elastic_pool_name, # # @return [ElasticPool] operation results. # - def update(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -112,9 +112,9 @@ def update(resource_group_name, server_name, elastic_pool_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -142,8 +142,8 @@ def update_async(resource_group_name, server_name, elastic_pool_name, parameters # will be added to the HTTP request. # # - def delete(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! nil end @@ -160,8 +160,8 @@ def delete(resource_group_name, server_name, elastic_pool_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - delete_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + delete_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! end # @@ -177,7 +177,7 @@ def delete_with_http_info(resource_group_name, server_name, elastic_pool_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -186,7 +186,6 @@ def delete_async(resource_group_name, server_name, elastic_pool_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -235,8 +234,8 @@ def delete_async(resource_group_name, server_name, elastic_pool_name, custom_hea # # @return [ElasticPool] operation results. # - def get(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! response.body unless response.nil? end @@ -254,8 +253,8 @@ def get(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - get_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + get_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! end # @@ -272,7 +271,7 @@ def get_with_http_info(resource_group_name, server_name, elastic_pool_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) + def get_async(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -281,7 +280,6 @@ def get_async(resource_group_name, server_name, elastic_pool_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 @@ -338,8 +336,8 @@ def get_async(resource_group_name, server_name, elastic_pool_name, custom_header # # @return [ElasticPoolListResult] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -355,8 +353,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -371,7 +369,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -379,7 +377,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -439,8 +436,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [MetricListResult] operation results. # - def list_metrics(resource_group_name, server_name, elastic_pool_name, filter, custom_headers:nil) - response = list_metrics_async(resource_group_name, server_name, elastic_pool_name, filter, custom_headers:custom_headers).value! + def list_metrics(resource_group_name, server_name, elastic_pool_name, filter, custom_headers = nil) + response = list_metrics_async(resource_group_name, server_name, elastic_pool_name, filter, custom_headers).value! response.body unless response.nil? end @@ -459,8 +456,8 @@ def list_metrics(resource_group_name, server_name, elastic_pool_name, filter, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_metrics_with_http_info(resource_group_name, server_name, elastic_pool_name, filter, custom_headers:nil) - list_metrics_async(resource_group_name, server_name, elastic_pool_name, filter, custom_headers:custom_headers).value! + def list_metrics_with_http_info(resource_group_name, server_name, elastic_pool_name, filter, custom_headers = nil) + list_metrics_async(resource_group_name, server_name, elastic_pool_name, filter, custom_headers).value! end # @@ -478,7 +475,7 @@ def list_metrics_with_http_info(resource_group_name, server_name, elastic_pool_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_metrics_async(resource_group_name, server_name, elastic_pool_name, filter, custom_headers:nil) + def list_metrics_async(resource_group_name, server_name, elastic_pool_name, filter, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -488,7 +485,6 @@ def list_metrics_async(resource_group_name, server_name, elastic_pool_name, filt request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -546,8 +542,8 @@ def list_metrics_async(resource_group_name, server_name, elastic_pool_name, filt # # @return [MetricDefinitionListResult] operation results. # - def list_metric_definitions(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - response = list_metric_definitions_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def list_metric_definitions(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + response = list_metric_definitions_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! response.body unless response.nil? end @@ -564,8 +560,8 @@ def list_metric_definitions(resource_group_name, server_name, elastic_pool_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_metric_definitions_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - list_metric_definitions_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def list_metric_definitions_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + list_metric_definitions_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! end # @@ -581,7 +577,7 @@ def list_metric_definitions_with_http_info(resource_group_name, server_name, ela # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_metric_definitions_async(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) + def list_metric_definitions_async(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -590,7 +586,6 @@ def list_metric_definitions_async(resource_group_name, server_name, elastic_pool request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -651,8 +646,8 @@ def list_metric_definitions_async(resource_group_name, server_name, elastic_pool # # @return [ElasticPool] operation results. # - def begin_create_or_update(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -672,8 +667,8 @@ def begin_create_or_update(resource_group_name, server_name, elastic_pool_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers).value! end # @@ -692,7 +687,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, elas # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -702,12 +697,13 @@ def begin_create_or_update_async(resource_group_name, server_name, elastic_pool_ 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::SQL::Mgmt::V2014_04_01::Models::ElasticPool.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -779,8 +775,8 @@ def begin_create_or_update_async(resource_group_name, server_name, elastic_pool_ # # @return [ElasticPool] operation results. # - def begin_update(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -799,8 +795,8 @@ def begin_update(resource_group_name, server_name, elastic_pool_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers).value! end # @@ -818,7 +814,7 @@ def begin_update_with_http_info(resource_group_name, server_name, elastic_pool_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, server_name, elastic_pool_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -828,12 +824,13 @@ def begin_update_async(resource_group_name, server_name, elastic_pool_name, para 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::SQL::Mgmt::V2014_04_01::Models::ElasticPoolUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/extensions.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/extensions.rb index 1987977f47..1f81ee8faf 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/extensions.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/extensions.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [ExtensionListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -55,8 +55,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -72,7 +72,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -81,7 +81,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/firewall_rules.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/firewall_rules.rb index 135da0ec62..b55091f7dc 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/firewall_rules.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/firewall_rules.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [FirewallRule] operation results. # - def create_or_update(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -59,8 +59,8 @@ def create_or_update(resource_group_name, server_name, firewall_rule_name, param # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers).value! end # @@ -78,7 +78,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, firewall_r # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -88,12 +88,13 @@ def create_or_update_async(resource_group_name, server_name, firewall_rule_name, 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::SQL::Mgmt::V2014_04_01::Models::FirewallRule.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -162,8 +163,8 @@ def create_or_update_async(resource_group_name, server_name, firewall_rule_name, # will be added to the HTTP request. # # - def delete(resource_group_name, server_name, firewall_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, firewall_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, firewall_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, firewall_rule_name, custom_headers).value! nil end @@ -180,8 +181,8 @@ def delete(resource_group_name, server_name, firewall_rule_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, server_name, firewall_rule_name, custom_headers:nil) - delete_async(resource_group_name, server_name, firewall_rule_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, server_name, firewall_rule_name, custom_headers = nil) + delete_async(resource_group_name, server_name, firewall_rule_name, custom_headers).value! end # @@ -197,7 +198,7 @@ def delete_with_http_info(resource_group_name, server_name, firewall_rule_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, server_name, firewall_rule_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, firewall_rule_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -206,7 +207,6 @@ def delete_async(resource_group_name, server_name, firewall_rule_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -254,8 +254,8 @@ def delete_async(resource_group_name, server_name, firewall_rule_name, custom_he # # @return [FirewallRule] operation results. # - def get(resource_group_name, server_name, firewall_rule_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, firewall_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, firewall_rule_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, firewall_rule_name, custom_headers).value! response.body unless response.nil? end @@ -272,8 +272,8 @@ def get(resource_group_name, server_name, firewall_rule_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, firewall_rule_name, custom_headers:nil) - get_async(resource_group_name, server_name, firewall_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, firewall_rule_name, custom_headers = nil) + get_async(resource_group_name, server_name, firewall_rule_name, custom_headers).value! end # @@ -289,7 +289,7 @@ def get_with_http_info(resource_group_name, server_name, firewall_rule_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, firewall_rule_name, custom_headers:nil) + def get_async(resource_group_name, server_name, firewall_rule_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -298,7 +298,6 @@ def get_async(resource_group_name, server_name, firewall_rule_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 @@ -355,8 +354,8 @@ def get_async(resource_group_name, server_name, firewall_rule_name, custom_heade # # @return [FirewallRuleListResult] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -372,8 +371,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -388,7 +387,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -396,7 +395,6 @@ def list_by_server_async(resource_group_name, server_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_sql/lib/2014-04-01/generated/azure_mgmt_sql/geo_backup_policies.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/geo_backup_policies.rb index 5d0df92d26..d230580db8 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/geo_backup_policies.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/geo_backup_policies.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [GeoBackupPolicy] operation results. # - def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -59,8 +59,8 @@ def create_or_update(resource_group_name, server_name, database_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -78,7 +78,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -89,12 +89,13 @@ def create_or_update_async(resource_group_name, server_name, database_name, para 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::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -164,8 +165,8 @@ def create_or_update_async(resource_group_name, server_name, database_name, para # # @return [GeoBackupPolicy] operation results. # - def get(resource_group_name, server_name, database_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -182,8 +183,8 @@ def get(resource_group_name, server_name, database_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -199,7 +200,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -209,7 +210,6 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -267,8 +267,8 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni # # @return [GeoBackupPolicyListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -285,8 +285,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -302,7 +302,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -311,7 +311,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/advisor.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/advisor.rb index b3b0550bf9..704580f9a4 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/advisor.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/advisor.rb @@ -48,7 +48,6 @@ class Advisor < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Advisor', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'Advisor', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -65,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -74,7 +71,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -83,7 +79,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -92,7 +87,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -101,7 +95,6 @@ def self.mapper() } }, advisor_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.advisorStatus', @@ -111,7 +104,6 @@ def self.mapper() } }, auto_execute_value: { - client_side_validation: true, required: true, serialized_name: 'properties.autoExecuteValue', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, recommendations_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.recommendationsStatus', @@ -129,7 +120,6 @@ def self.mapper() } }, last_checked: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastChecked', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/advisor_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/advisor_list_result.rb index d17178d635..ebe2632b93 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/advisor_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/advisor_list_result.rb @@ -22,7 +22,6 @@ class AdvisorListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdvisorListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AdvisorListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdvisorElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb index e6f8dc4983..476f48b2b0 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb @@ -31,7 +31,6 @@ class BackupLongTermRetentionPolicy < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackupLongTermRetentionPolicy', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BackupLongTermRetentionPolicy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -66,7 +62,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -75,7 +70,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: true, serialized_name: 'properties.state', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, recovery_services_backup_policy_resource_id: { - client_side_validation: true, required: true, serialized_name: 'properties.recoveryServicesBackupPolicyResourceId', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_list_result.rb index c73c252f75..00d1795e00 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_list_result.rb @@ -23,7 +23,6 @@ class BackupLongTermRetentionPolicyListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackupLongTermRetentionPolicyListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'BackupLongTermRetentionPolicyListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackupLongTermRetentionPolicyElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault.rb index b44113a9bc..cc5a7057fc 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault.rb @@ -25,7 +25,6 @@ class BackupLongTermRetentionVault < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackupLongTermRetentionVault', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BackupLongTermRetentionVault', 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: false, read_only: true, serialized_name: 'location', @@ -69,7 +64,6 @@ def self.mapper() } }, recovery_services_vault_resource_id: { - client_side_validation: true, required: true, serialized_name: 'properties.recoveryServicesVaultResourceId', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault_list_result.rb index 338809b732..a336ebab58 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault_list_result.rb @@ -23,7 +23,6 @@ class BackupLongTermRetentionVaultListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackupLongTermRetentionVaultListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'BackupLongTermRetentionVaultListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackupLongTermRetentionVaultElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_request.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_request.rb index c2d4d989be..7fb37455ba 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_request.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_request.rb @@ -27,7 +27,6 @@ class CheckNameAvailabilityRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityRequest', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityRequest', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_response.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_response.rb index 9adb21785d..94f5c65fb0 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_response.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/check_name_availability_response.rb @@ -35,7 +35,6 @@ class CheckNameAvailabilityResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityResponse', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityResponse', model_properties: { available: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'available', @@ -52,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', @@ -61,7 +58,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -70,7 +66,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reason', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb index 0261568a20..f61ec8c17d 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb @@ -44,7 +44,6 @@ class DataMaskingPolicy < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataMaskingPolicy', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'DataMaskingPolicy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +59,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -70,7 +67,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -79,7 +75,6 @@ def self.mapper() } }, data_masking_state: { - client_side_validation: true, required: true, serialized_name: 'properties.dataMaskingState', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, exempt_principals: { - client_side_validation: true, required: false, serialized_name: 'properties.exemptPrincipals', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, application_principals: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.applicationPrincipals', @@ -105,7 +98,6 @@ def self.mapper() } }, masking_level: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maskingLevel', @@ -114,7 +106,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -123,7 +114,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_rule.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_rule.rb index b262ec70a0..6988f7a91b 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_rule.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_rule.rb @@ -83,7 +83,6 @@ class DataMaskingRule < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataMaskingRule', type: { @@ -91,7 +90,6 @@ def self.mapper() class_name: 'DataMaskingRule', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -100,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -109,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -118,7 +114,6 @@ def self.mapper() } }, data_masking_rule_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.id', @@ -127,7 +122,6 @@ def self.mapper() } }, alias_name: { - client_side_validation: true, required: false, serialized_name: 'properties.aliasName', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, rule_state: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleState', type: { @@ -144,7 +137,6 @@ def self.mapper() } }, schema_name: { - client_side_validation: true, required: true, serialized_name: 'properties.schemaName', type: { @@ -152,7 +144,6 @@ def self.mapper() } }, table_name: { - client_side_validation: true, required: true, serialized_name: 'properties.tableName', type: { @@ -160,7 +151,6 @@ def self.mapper() } }, column_name: { - client_side_validation: true, required: true, serialized_name: 'properties.columnName', type: { @@ -168,7 +158,6 @@ def self.mapper() } }, masking_function: { - client_side_validation: true, required: true, serialized_name: 'properties.maskingFunction', type: { @@ -177,7 +166,6 @@ def self.mapper() } }, number_from: { - client_side_validation: true, required: false, serialized_name: 'properties.numberFrom', type: { @@ -185,7 +173,6 @@ def self.mapper() } }, number_to: { - client_side_validation: true, required: false, serialized_name: 'properties.numberTo', type: { @@ -193,7 +180,6 @@ def self.mapper() } }, prefix_size: { - client_side_validation: true, required: false, serialized_name: 'properties.prefixSize', type: { @@ -201,7 +187,6 @@ def self.mapper() } }, suffix_size: { - client_side_validation: true, required: false, serialized_name: 'properties.suffixSize', type: { @@ -209,7 +194,6 @@ def self.mapper() } }, replacement_string: { - client_side_validation: true, required: false, serialized_name: 'properties.replacementString', type: { @@ -217,7 +201,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -226,7 +209,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_rule_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_rule_list_result.rb index 70a79ddf8a..cf71ab580c 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_rule_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_rule_list_result.rb @@ -23,7 +23,6 @@ class DataMaskingRuleListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataMaskingRuleListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'DataMaskingRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataMaskingRuleElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database.rb index fda3ab7afb..114e915479 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database.rb @@ -224,7 +224,6 @@ class Database < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Database', type: { @@ -232,7 +231,6 @@ def self.mapper() class_name: 'Database', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -241,7 +239,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -250,7 +247,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -258,14 +254,19 @@ def self.mapper() name: 'String' } }, + location: { + required: true, + serialized_name: 'location', + type: { + name: 'String' + } + }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -274,16 +275,7 @@ def self.mapper() } } }, - location: { - client_side_validation: true, - required: true, - serialized_name: 'location', - type: { - name: 'String' - } - }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -292,7 +284,6 @@ def self.mapper() } }, collation: { - client_side_validation: true, required: false, serialized_name: 'properties.collation', type: { @@ -300,7 +291,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -309,7 +299,6 @@ def self.mapper() } }, containment_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.containmentState', @@ -318,7 +307,6 @@ def self.mapper() } }, current_service_objective_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentServiceObjectiveId', @@ -327,7 +315,6 @@ def self.mapper() } }, database_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseId', @@ -336,7 +323,6 @@ def self.mapper() } }, earliest_restore_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.earliestRestoreDate', @@ -345,7 +331,6 @@ def self.mapper() } }, create_mode: { - client_side_validation: true, required: false, serialized_name: 'properties.createMode', type: { @@ -353,7 +338,6 @@ def self.mapper() } }, source_database_id: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceDatabaseId', type: { @@ -361,7 +345,6 @@ def self.mapper() } }, source_database_deletion_date: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceDatabaseDeletionDate', type: { @@ -369,7 +352,6 @@ def self.mapper() } }, restore_point_in_time: { - client_side_validation: true, required: false, serialized_name: 'properties.restorePointInTime', type: { @@ -377,7 +359,6 @@ def self.mapper() } }, recovery_services_recovery_point_resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.recoveryServicesRecoveryPointResourceId', type: { @@ -385,7 +366,6 @@ def self.mapper() } }, edition: { - client_side_validation: true, required: false, serialized_name: 'properties.edition', type: { @@ -393,7 +373,6 @@ def self.mapper() } }, max_size_bytes: { - client_side_validation: true, required: false, serialized_name: 'properties.maxSizeBytes', type: { @@ -401,7 +380,6 @@ def self.mapper() } }, requested_service_objective_id: { - client_side_validation: true, required: false, serialized_name: 'properties.requestedServiceObjectiveId', type: { @@ -409,7 +387,6 @@ def self.mapper() } }, requested_service_objective_name: { - client_side_validation: true, required: false, serialized_name: 'properties.requestedServiceObjectiveName', type: { @@ -417,7 +394,6 @@ def self.mapper() } }, service_level_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceLevelObjective', @@ -426,7 +402,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', @@ -435,7 +410,6 @@ def self.mapper() } }, elastic_pool_name: { - client_side_validation: true, required: false, serialized_name: 'properties.elasticPoolName', type: { @@ -443,7 +417,6 @@ def self.mapper() } }, default_secondary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.defaultSecondaryLocation', @@ -452,14 +425,12 @@ def self.mapper() } }, service_tier_advisors: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceTierAdvisors', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceTierAdvisorElementType', type: { @@ -470,14 +441,12 @@ def self.mapper() } }, transparent_data_encryption: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.transparentDataEncryption', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TransparentDataEncryptionElementType', type: { @@ -488,14 +457,12 @@ def self.mapper() } }, recommended_index: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.recommendedIndex', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RecommendedIndexElementType', type: { @@ -506,7 +473,6 @@ def self.mapper() } }, failover_group_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.failoverGroupId', @@ -515,7 +481,6 @@ def self.mapper() } }, read_scale: { - client_side_validation: true, required: false, serialized_name: 'properties.readScale', type: { @@ -524,7 +489,6 @@ def self.mapper() } }, sample_name: { - client_side_validation: true, required: false, serialized_name: 'properties.sampleName', type: { @@ -532,7 +496,6 @@ def self.mapper() } }, zone_redundant: { - client_side_validation: true, required: false, serialized_name: 'properties.zoneRedundant', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_connection_policy.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_connection_policy.rb index 06fcdb9e9e..e8a09b3c1a 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_connection_policy.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_connection_policy.rb @@ -46,7 +46,6 @@ class DatabaseConnectionPolicy < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseConnectionPolicy', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'DatabaseConnectionPolicy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +61,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -72,7 +69,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -81,7 +77,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -90,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -99,7 +93,6 @@ def self.mapper() } }, security_enabled_access: { - client_side_validation: true, required: false, serialized_name: 'properties.securityEnabledAccess', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, proxy_dns_name: { - client_side_validation: true, required: false, serialized_name: 'properties.proxyDnsName', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, proxy_port: { - client_side_validation: true, required: false, serialized_name: 'properties.proxyPort', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, visibility: { - client_side_validation: true, required: false, serialized_name: 'properties.visibility', type: { @@ -131,7 +121,6 @@ def self.mapper() } }, use_server_default: { - client_side_validation: true, required: false, serialized_name: 'properties.useServerDefault', type: { @@ -139,7 +128,6 @@ def self.mapper() } }, redirection_state: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectionState', type: { @@ -147,7 +135,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_list_result.rb index a01984f919..733e835ace 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_list_result.rb @@ -22,7 +22,6 @@ class DatabaseListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'DatabaseListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DatabaseElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_security_alert_policy.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_security_alert_policy.rb index 331a041a65..b945068d19 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_security_alert_policy.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_security_alert_policy.rb @@ -65,7 +65,6 @@ class DatabaseSecurityAlertPolicy < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseSecurityAlertPolicy', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'DatabaseSecurityAlertPolicy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +80,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -91,7 +88,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -100,7 +96,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -117,7 +111,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: true, serialized_name: 'properties.state', type: { @@ -126,7 +119,6 @@ def self.mapper() } }, disabled_alerts: { - client_side_validation: true, required: false, serialized_name: 'properties.disabledAlerts', type: { @@ -134,7 +126,6 @@ def self.mapper() } }, email_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.emailAddresses', type: { @@ -142,7 +133,6 @@ def self.mapper() } }, email_account_admins: { - client_side_validation: true, required: false, serialized_name: 'properties.emailAccountAdmins', type: { @@ -151,7 +141,6 @@ def self.mapper() } }, storage_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.storageEndpoint', type: { @@ -159,7 +148,6 @@ def self.mapper() } }, storage_account_access_key: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountAccessKey', type: { @@ -167,7 +155,6 @@ def self.mapper() } }, retention_days: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionDays', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, use_server_default: { - client_side_validation: true, required: false, serialized_name: 'properties.useServerDefault', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_table_auditing_policy.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_table_auditing_policy.rb index ce7c747c53..f56d3d334b 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_table_auditing_policy.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_table_auditing_policy.rb @@ -61,7 +61,6 @@ class DatabaseTableAuditingPolicy < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseTableAuditingPolicy', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'DatabaseTableAuditingPolicy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -78,7 +76,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -87,7 +84,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -96,7 +92,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -105,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -114,7 +108,6 @@ def self.mapper() } }, auditing_state: { - client_side_validation: true, required: false, serialized_name: 'properties.auditingState', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, audit_logs_table_name: { - client_side_validation: true, required: false, serialized_name: 'properties.auditLogsTableName', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, event_types_to_audit: { - client_side_validation: true, required: false, serialized_name: 'properties.eventTypesToAudit', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, full_audit_logs_table_name: { - client_side_validation: true, required: false, serialized_name: 'properties.fullAuditLogsTableName', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, retention_days: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionDays', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountKey', type: { @@ -162,7 +150,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountName', type: { @@ -170,7 +157,6 @@ def self.mapper() } }, storage_account_resource_group_name: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountResourceGroupName', type: { @@ -178,7 +164,6 @@ def self.mapper() } }, storage_account_secondary_key: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountSecondaryKey', type: { @@ -186,7 +171,6 @@ def self.mapper() } }, storage_account_subscription_id: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountSubscriptionId', type: { @@ -194,7 +178,6 @@ def self.mapper() } }, storage_table_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.storageTableEndpoint', type: { @@ -202,7 +185,6 @@ def self.mapper() } }, use_server_default: { - client_side_validation: true, required: false, serialized_name: 'properties.useServerDefault', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_table_auditing_policy_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_table_auditing_policy_list_result.rb index 6c980a9923..0ea97127c8 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_table_auditing_policy_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_table_auditing_policy_list_result.rb @@ -24,7 +24,6 @@ class DatabaseTableAuditingPolicyListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseTableAuditingPolicyListResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DatabaseTableAuditingPolicyListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DatabaseTableAuditingPolicyElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_update.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_update.rb index ab2ba28b4c..fa81fa5493 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_update.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_update.rb @@ -223,7 +223,6 @@ class DatabaseUpdate < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseUpdate', type: { @@ -231,7 +230,6 @@ def self.mapper() class_name: 'DatabaseUpdate', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -240,7 +238,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -249,7 +246,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -258,13 +254,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: { @@ -274,7 +268,6 @@ def self.mapper() } }, collation: { - client_side_validation: true, required: false, serialized_name: 'properties.collation', type: { @@ -282,7 +275,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -291,7 +283,6 @@ def self.mapper() } }, containment_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.containmentState', @@ -300,7 +291,6 @@ def self.mapper() } }, current_service_objective_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentServiceObjectiveId', @@ -309,7 +299,6 @@ def self.mapper() } }, database_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseId', @@ -318,7 +307,6 @@ def self.mapper() } }, earliest_restore_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.earliestRestoreDate', @@ -327,7 +315,6 @@ def self.mapper() } }, create_mode: { - client_side_validation: true, required: false, serialized_name: 'properties.createMode', type: { @@ -335,7 +322,6 @@ def self.mapper() } }, source_database_id: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceDatabaseId', type: { @@ -343,7 +329,6 @@ def self.mapper() } }, source_database_deletion_date: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceDatabaseDeletionDate', type: { @@ -351,7 +336,6 @@ def self.mapper() } }, restore_point_in_time: { - client_side_validation: true, required: false, serialized_name: 'properties.restorePointInTime', type: { @@ -359,7 +343,6 @@ def self.mapper() } }, recovery_services_recovery_point_resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.recoveryServicesRecoveryPointResourceId', type: { @@ -367,7 +350,6 @@ def self.mapper() } }, edition: { - client_side_validation: true, required: false, serialized_name: 'properties.edition', type: { @@ -375,7 +357,6 @@ def self.mapper() } }, max_size_bytes: { - client_side_validation: true, required: false, serialized_name: 'properties.maxSizeBytes', type: { @@ -383,7 +364,6 @@ def self.mapper() } }, requested_service_objective_id: { - client_side_validation: true, required: false, serialized_name: 'properties.requestedServiceObjectiveId', type: { @@ -391,7 +371,6 @@ def self.mapper() } }, requested_service_objective_name: { - client_side_validation: true, required: false, serialized_name: 'properties.requestedServiceObjectiveName', type: { @@ -399,7 +378,6 @@ def self.mapper() } }, service_level_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceLevelObjective', @@ -408,7 +386,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', @@ -417,7 +394,6 @@ def self.mapper() } }, elastic_pool_name: { - client_side_validation: true, required: false, serialized_name: 'properties.elasticPoolName', type: { @@ -425,7 +401,6 @@ def self.mapper() } }, default_secondary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.defaultSecondaryLocation', @@ -434,14 +409,12 @@ def self.mapper() } }, service_tier_advisors: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceTierAdvisors', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceTierAdvisorElementType', type: { @@ -452,14 +425,12 @@ def self.mapper() } }, transparent_data_encryption: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.transparentDataEncryption', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TransparentDataEncryptionElementType', type: { @@ -470,14 +441,12 @@ def self.mapper() } }, recommended_index: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.recommendedIndex', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RecommendedIndexElementType', type: { @@ -488,7 +457,6 @@ def self.mapper() } }, failover_group_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.failoverGroupId', @@ -497,7 +465,6 @@ def self.mapper() } }, read_scale: { - client_side_validation: true, required: false, serialized_name: 'properties.readScale', type: { @@ -506,7 +473,6 @@ def self.mapper() } }, sample_name: { - client_side_validation: true, required: false, serialized_name: 'properties.sampleName', type: { @@ -514,7 +480,6 @@ def self.mapper() } }, zone_redundant: { - client_side_validation: true, required: false, serialized_name: 'properties.zoneRedundant', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_usage.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_usage.rb index 45eb319166..70112215d2 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_usage.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_usage.rb @@ -41,7 +41,6 @@ class DatabaseUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseUsage', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'DatabaseUsage', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +56,6 @@ def self.mapper() } }, resource_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceName', @@ -67,7 +64,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'displayName', @@ -76,7 +72,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -85,7 +80,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -94,7 +88,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -103,7 +96,6 @@ def self.mapper() } }, next_reset_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextResetTime', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_usage_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_usage_list_result.rb index c4fab998f5..4d55f8e9f3 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_usage_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/database_usage_list_result.rb @@ -23,7 +23,6 @@ class DatabaseUsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseUsageListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'DatabaseUsageListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DatabaseUsageElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration.rb index e6d76211af..f0016348a6 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration.rb @@ -52,7 +52,6 @@ class DisasterRecoveryConfiguration < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DisasterRecoveryConfiguration', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'DisasterRecoveryConfiguration', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -69,7 +67,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -78,7 +75,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -87,7 +83,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', @@ -96,7 +91,6 @@ def self.mapper() } }, auto_failover: { - client_side_validation: true, required: true, serialized_name: 'properties.autoFailover', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, failover_policy: { - client_side_validation: true, required: true, serialized_name: 'properties.failoverPolicy', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, partner_server_id: { - client_side_validation: true, required: true, serialized_name: 'properties.partnerServerId', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, logical_server_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.logicalServerName', @@ -129,7 +120,6 @@ def self.mapper() } }, partner_logical_server_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerLogicalServerName', @@ -138,7 +128,6 @@ def self.mapper() } }, role: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.role', @@ -147,7 +136,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_list_result.rb index 0fb429dddf..1cca192686 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_list_result.rb @@ -24,7 +24,6 @@ class DisasterRecoveryConfigurationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DisasterRecoveryConfigurationListResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DisasterRecoveryConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DisasterRecoveryConfigurationElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/edition_capability.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/edition_capability.rb index 46a96be81b..664e3b31ce 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/edition_capability.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/edition_capability.rb @@ -34,7 +34,6 @@ class EditionCapability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EditionCapability', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EditionCapability', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -61,14 +58,12 @@ def self.mapper() } }, supported_service_level_objectives: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'supportedServiceLevelObjectives', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceObjectiveCapabilityElementType', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, zone_redundant: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'zoneRedundant', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool.rb index 2860bc9eec..d660ee104a 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool.rb @@ -53,7 +53,6 @@ class ElasticPool < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ElasticPool', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'ElasticPool', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -87,14 +83,19 @@ def self.mapper() name: 'String' } }, + location: { + required: true, + serialized_name: 'location', + type: { + name: 'String' + } + }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,16 +104,7 @@ def self.mapper() } } }, - location: { - client_side_validation: true, - required: true, - serialized_name: 'location', - type: { - name: 'String' - } - }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -121,7 +113,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -130,7 +121,6 @@ def self.mapper() } }, edition: { - client_side_validation: true, required: false, serialized_name: 'properties.edition', type: { @@ -138,7 +128,6 @@ def self.mapper() } }, dtu: { - client_side_validation: true, required: false, serialized_name: 'properties.dtu', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, database_dtu_max: { - client_side_validation: true, required: false, serialized_name: 'properties.databaseDtuMax', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, database_dtu_min: { - client_side_validation: true, required: false, serialized_name: 'properties.databaseDtuMin', type: { @@ -162,7 +149,6 @@ def self.mapper() } }, storage_mb: { - client_side_validation: true, required: false, serialized_name: 'properties.storageMB', type: { @@ -170,7 +156,6 @@ def self.mapper() } }, zone_redundant: { - client_side_validation: true, required: false, serialized_name: 'properties.zoneRedundant', type: { @@ -178,7 +163,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity.rb index 9f7eeb039f..8e0169527d 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity.rb @@ -83,7 +83,6 @@ class ElasticPoolActivity < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolActivity', type: { @@ -91,7 +90,6 @@ def self.mapper() class_name: 'ElasticPoolActivity', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -100,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -109,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -118,7 +114,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endTime', @@ -135,7 +129,6 @@ def self.mapper() } }, error_code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorCode', @@ -144,7 +137,6 @@ def self.mapper() } }, error_message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorMessage', @@ -153,7 +145,6 @@ def self.mapper() } }, error_severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorSeverity', @@ -162,7 +153,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operation', @@ -171,7 +161,6 @@ def self.mapper() } }, operation_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationId', @@ -180,7 +169,6 @@ def self.mapper() } }, percent_complete: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.percentComplete', @@ -189,7 +177,6 @@ def self.mapper() } }, requested_database_dtu_max: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestedDatabaseDtuMax', @@ -198,7 +185,6 @@ def self.mapper() } }, requested_database_dtu_min: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestedDatabaseDtuMin', @@ -207,7 +193,6 @@ def self.mapper() } }, requested_dtu: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestedDtu', @@ -216,7 +201,6 @@ def self.mapper() } }, requested_elastic_pool_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestedElasticPoolName', @@ -225,7 +209,6 @@ def self.mapper() } }, requested_storage_limit_in_gb: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestedStorageLimitInGB', @@ -234,7 +217,6 @@ def self.mapper() } }, elastic_pool_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.elasticPoolName', @@ -243,7 +225,6 @@ def self.mapper() } }, server_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serverName', @@ -252,7 +233,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.startTime', @@ -261,7 +241,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -270,7 +249,6 @@ def self.mapper() } }, requested_storage_limit_in_mb: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestedStorageLimitInMB', @@ -279,7 +257,6 @@ def self.mapper() } }, requested_database_dtu_guarantee: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestedDatabaseDtuGuarantee', @@ -288,7 +265,6 @@ def self.mapper() } }, requested_database_dtu_cap: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestedDatabaseDtuCap', @@ -297,7 +273,6 @@ def self.mapper() } }, requested_dtu_guarantee: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestedDtuGuarantee', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb index d76e3d1aac..bd7fc8cb9d 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb @@ -23,7 +23,6 @@ class ElasticPoolActivityListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolActivityListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ElasticPoolActivityListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolActivityElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb index 1c5878f32d..5951e9fb10 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb @@ -71,7 +71,6 @@ class ElasticPoolDatabaseActivity < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolDatabaseActivity', type: { @@ -79,7 +78,6 @@ def self.mapper() class_name: 'ElasticPoolDatabaseActivity', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -88,7 +86,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -97,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -106,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -114,7 +109,6 @@ def self.mapper() } }, database_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseName', @@ -123,7 +117,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endTime', @@ -132,7 +125,6 @@ def self.mapper() } }, error_code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorCode', @@ -141,7 +133,6 @@ def self.mapper() } }, error_message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorMessage', @@ -150,7 +141,6 @@ def self.mapper() } }, error_severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorSeverity', @@ -159,7 +149,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operation', @@ -168,7 +157,6 @@ def self.mapper() } }, operation_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationId', @@ -177,7 +165,6 @@ def self.mapper() } }, percent_complete: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.percentComplete', @@ -186,7 +173,6 @@ def self.mapper() } }, requested_elastic_pool_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestedElasticPoolName', @@ -195,7 +181,6 @@ def self.mapper() } }, current_elastic_pool_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentElasticPoolName', @@ -204,7 +189,6 @@ def self.mapper() } }, current_service_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentServiceObjective', @@ -213,7 +197,6 @@ def self.mapper() } }, requested_service_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestedServiceObjective', @@ -222,7 +205,6 @@ def self.mapper() } }, server_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serverName', @@ -231,7 +213,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.startTime', @@ -240,7 +221,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb index 06278e8339..4d93bf0896 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb @@ -23,7 +23,6 @@ class ElasticPoolDatabaseActivityListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolDatabaseActivityListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ElasticPoolDatabaseActivityListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolDatabaseActivityElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_dtu_capability.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_dtu_capability.rb index fe07fcf27b..0e1c556d7d 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_dtu_capability.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_dtu_capability.rb @@ -45,7 +45,6 @@ class ElasticPoolDtuCapability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolDtuCapability', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'ElasticPoolDtuCapability', model_properties: { limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -62,7 +60,6 @@ def self.mapper() } }, max_database_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maxDatabaseCount', @@ -71,7 +68,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -81,14 +77,12 @@ def self.mapper() } }, supported_max_sizes: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'supportedMaxSizes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MaxSizeCapabilityElementType', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, included_max_size: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'includedMaxSize', @@ -109,14 +102,12 @@ def self.mapper() } }, supported_per_database_max_sizes: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'supportedPerDatabaseMaxSizes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MaxSizeCapabilityElementType', type: { @@ -127,14 +118,12 @@ def self.mapper() } }, supported_per_database_max_dtus: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'supportedPerDatabaseMaxDtus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolPerDatabaseMaxDtuCapabilityElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb index d41d95b822..170a27f71b 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb @@ -34,7 +34,6 @@ class ElasticPoolEditionCapability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolEditionCapability', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ElasticPoolEditionCapability', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -61,14 +58,12 @@ def self.mapper() } }, supported_elastic_pool_dtus: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'supportedElasticPoolDtus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolDtuCapabilityElementType', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, zone_redundant: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'zoneRedundant', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb index 679c3de2c2..7faf6c52be 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb @@ -23,7 +23,6 @@ class ElasticPoolListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ElasticPoolListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_dtu_capability.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_dtu_capability.rb index 7d4e0491a4..d553d4596c 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_dtu_capability.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_dtu_capability.rb @@ -30,7 +30,6 @@ class ElasticPoolPerDatabaseMaxDtuCapability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolPerDatabaseMaxDtuCapability', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ElasticPoolPerDatabaseMaxDtuCapability', model_properties: { limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -47,7 +45,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -57,14 +54,12 @@ def self.mapper() } }, supported_per_database_min_dtus: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'supportedPerDatabaseMinDtus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolPerDatabaseMinDtuCapabilityElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_per_database_min_dtu_capability.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_per_database_min_dtu_capability.rb index 9dd9ac2c0e..488dd56511 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_per_database_min_dtu_capability.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_per_database_min_dtu_capability.rb @@ -26,7 +26,6 @@ class ElasticPoolPerDatabaseMinDtuCapability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolPerDatabaseMinDtuCapability', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ElasticPoolPerDatabaseMinDtuCapability', model_properties: { limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -43,7 +41,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_update.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_update.rb index 05eda6b056..c11252149e 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_update.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_update.rb @@ -52,7 +52,6 @@ class ElasticPoolUpdate < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolUpdate', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'ElasticPoolUpdate', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -69,7 +67,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -78,7 +75,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -87,13 +83,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: { @@ -103,7 +97,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -112,7 +105,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -121,7 +113,6 @@ def self.mapper() } }, edition: { - client_side_validation: true, required: false, serialized_name: 'properties.edition', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, dtu: { - client_side_validation: true, required: false, serialized_name: 'properties.dtu', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, database_dtu_max: { - client_side_validation: true, required: false, serialized_name: 'properties.databaseDtuMax', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, database_dtu_min: { - client_side_validation: true, required: false, serialized_name: 'properties.databaseDtuMin', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, storage_mb: { - client_side_validation: true, required: false, serialized_name: 'properties.storageMB', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, zone_redundant: { - client_side_validation: true, required: false, serialized_name: 'properties.zoneRedundant', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/export_request.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/export_request.rb index 483e918f3e..421f90f187 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/export_request.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/export_request.rb @@ -40,7 +40,6 @@ class ExportRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExportRequest', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ExportRequest', model_properties: { storage_key_type: { - client_side_validation: true, required: true, serialized_name: 'storageKeyType', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, storage_key: { - client_side_validation: true, required: true, serialized_name: 'storageKey', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: true, serialized_name: 'storageUri', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, administrator_login: { - client_side_validation: true, required: true, serialized_name: 'administratorLogin', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, administrator_login_password: { - client_side_validation: true, required: true, serialized_name: 'administratorLoginPassword', type: { @@ -89,7 +83,6 @@ def self.mapper() } }, authentication_type: { - client_side_validation: true, required: false, serialized_name: 'authenticationType', default_value: 'SQL', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/extension_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/extension_list_result.rb index 84f4f97bd0..1d27e928ab 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/extension_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/extension_list_result.rb @@ -22,7 +22,6 @@ class ExtensionListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExtensionListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ExtensionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/firewall_rule.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/firewall_rule.rb index 5d8f9e9e36..3e377a1461 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/firewall_rule.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/firewall_rule.rb @@ -36,7 +36,6 @@ class FirewallRule < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FirewallRule', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'FirewallRule', 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() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -80,7 +75,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -89,7 +83,6 @@ def self.mapper() } }, start_ip_address: { - client_side_validation: true, required: true, serialized_name: 'properties.startIpAddress', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, end_ip_address: { - client_side_validation: true, required: true, serialized_name: 'properties.endIpAddress', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb index c29ec66028..c5c73570de 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb @@ -22,7 +22,6 @@ class FirewallRuleListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FirewallRuleListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'FirewallRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FirewallRuleElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy.rb index 79ff72984e..b71b094bc1 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy.rb @@ -33,7 +33,6 @@ class GeoBackupPolicy < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GeoBackupPolicy', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'GeoBackupPolicy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: true, serialized_name: 'properties.state', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, storage_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.storageType', @@ -86,7 +80,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -95,7 +88,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy_list_result.rb index c59f559b91..58e8f92fe7 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/geo_backup_policy_list_result.rb @@ -22,7 +22,6 @@ class GeoBackupPolicyListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GeoBackupPolicyListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GeoBackupPolicyListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GeoBackupPolicyElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_export_response.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_export_response.rb index 60f62a271a..ba9fc03a19 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_export_response.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_export_response.rb @@ -46,7 +46,6 @@ class ImportExportResponse < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImportExportResponse', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ImportExportResponse', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +61,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -72,7 +69,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -81,7 +77,6 @@ def self.mapper() } }, request_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestType', @@ -90,7 +85,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestId', @@ -99,7 +93,6 @@ def self.mapper() } }, server_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serverName', @@ -108,7 +101,6 @@ def self.mapper() } }, database_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseName', @@ -117,7 +109,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', @@ -126,7 +117,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', @@ -135,7 +125,6 @@ def self.mapper() } }, queued_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.queuedTime', @@ -144,7 +133,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.blobUri', @@ -153,7 +141,6 @@ def self.mapper() } }, error_message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorMessage', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb index 2e857ae220..04c3dcda81 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb @@ -50,7 +50,6 @@ class ImportExtensionRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImportExtensionRequest', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ImportExtensionRequest', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, storage_key_type: { - client_side_validation: true, required: true, serialized_name: 'properties.storageKeyType', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, storage_key: { - client_side_validation: true, required: true, serialized_name: 'properties.storageKey', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: true, serialized_name: 'properties.storageUri', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, administrator_login: { - client_side_validation: true, required: true, serialized_name: 'properties.administratorLogin', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, administrator_login_password: { - client_side_validation: true, required: true, serialized_name: 'properties.administratorLoginPassword', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, authentication_type: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationType', default_value: 'SQL', @@ -125,7 +116,6 @@ def self.mapper() } }, operation_mode: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.operationMode', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb index aa7b2e86d0..ad77be6135 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb @@ -44,7 +44,6 @@ class ImportRequest < ExportRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImportRequest', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ImportRequest', model_properties: { storage_key_type: { - client_side_validation: true, required: true, serialized_name: 'storageKeyType', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, storage_key: { - client_side_validation: true, required: true, serialized_name: 'storageKey', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: true, serialized_name: 'storageUri', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, administrator_login: { - client_side_validation: true, required: true, serialized_name: 'administratorLogin', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, administrator_login_password: { - client_side_validation: true, required: true, serialized_name: 'administratorLoginPassword', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, authentication_type: { - client_side_validation: true, required: false, serialized_name: 'authenticationType', default_value: 'SQL', @@ -103,7 +96,6 @@ def self.mapper() } }, database_name: { - client_side_validation: true, required: true, serialized_name: 'databaseName', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, edition: { - client_side_validation: true, required: true, serialized_name: 'edition', type: { @@ -119,7 +110,6 @@ def self.mapper() } }, service_objective_name: { - client_side_validation: true, required: true, serialized_name: 'serviceObjectiveName', type: { @@ -127,7 +117,6 @@ def self.mapper() } }, max_size_bytes: { - client_side_validation: true, required: true, serialized_name: 'maxSizeBytes', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/location_capabilities.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/location_capabilities.rb index 77a45c0b3c..15aecb4c29 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/location_capabilities.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/location_capabilities.rb @@ -31,7 +31,6 @@ class LocationCapabilities # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocationCapabilities', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'LocationCapabilities', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -48,7 +46,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -58,14 +55,12 @@ def self.mapper() } }, supported_server_versions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'supportedServerVersions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServerVersionCapabilityElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/max_size_capability.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/max_size_capability.rb index 9ae70d9f54..ec3e2cd13a 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/max_size_capability.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/max_size_capability.rb @@ -32,7 +32,6 @@ class MaxSizeCapability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MaxSizeCapability', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'MaxSizeCapability', model_properties: { limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -49,7 +47,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -59,7 +56,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric.rb index db22edf425..a5c00c7735 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric.rb @@ -41,7 +41,6 @@ class Metric # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Metric', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'Metric', model_properties: { start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -58,7 +56,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -67,7 +64,6 @@ def self.mapper() } }, time_grain: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'timeGrain', @@ -76,7 +72,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -85,7 +80,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,14 +89,12 @@ def self.mapper() } }, metric_values: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'metricValues', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricValueElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_availability.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_availability.rb index f5aea50369..eeb10a2f54 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_availability.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_availability.rb @@ -25,7 +25,6 @@ class MetricAvailability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricAvailability', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'MetricAvailability', model_properties: { retention: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'retention', @@ -42,7 +40,6 @@ def self.mapper() } }, time_grain: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'timeGrain', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_definition.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_definition.rb index 203fb271df..ad6fb5c924 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_definition.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_definition.rb @@ -39,7 +39,6 @@ class MetricDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricDefinition', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'MetricDefinition', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +55,6 @@ def self.mapper() } }, primary_aggregation_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'primaryAggregationType', @@ -66,7 +63,6 @@ def self.mapper() } }, resource_uri: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceUri', @@ -75,7 +71,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -84,14 +79,12 @@ def self.mapper() } }, metric_availabilities: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'metricAvailabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricAvailabilityElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_definition_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_definition_list_result.rb index d1d69663d2..90e2fe796c 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_definition_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_definition_list_result.rb @@ -23,7 +23,6 @@ class MetricDefinitionListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricDefinitionListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'MetricDefinitionListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricDefinitionElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_list_result.rb index f33c98e628..f51521499a 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_list_result.rb @@ -22,7 +22,6 @@ class MetricListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'MetricListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_name.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_name.rb index 8f4e1b101e..b22899785d 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_name.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_name.rb @@ -25,7 +25,6 @@ class MetricName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'MetricName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_value.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_value.rb index 8478c97671..4635862f16 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_value.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/metric_value.rb @@ -37,7 +37,6 @@ class MetricValue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricValue', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'MetricValue', model_properties: { count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', @@ -54,7 +52,6 @@ def self.mapper() } }, average: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'average', @@ -63,7 +60,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -72,7 +68,6 @@ def self.mapper() } }, minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -81,7 +76,6 @@ def self.mapper() } }, timestamp: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'timestamp', @@ -90,7 +84,6 @@ def self.mapper() } }, total: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'total', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation.rb index 410bda22fd..b3b0e219e9 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation.rb @@ -26,7 +26,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_display.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_display.rb index b0ea6e2521..a5da7965d4 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_display.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_display.rb @@ -29,7 +29,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_impact.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_impact.rb index e05bdcf466..648482e170 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_impact.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_impact.rb @@ -33,7 +33,6 @@ class OperationImpact # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationImpact', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'OperationImpact', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +48,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -59,7 +56,6 @@ def self.mapper() } }, change_value_absolute: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'changeValueAbsolute', @@ -68,7 +64,6 @@ def self.mapper() } }, change_value_relative: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'changeValueRelative', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_list_result.rb index e86a3d7e7a..60e8440e67 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/operation_list_result.rb @@ -28,7 +28,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'OperationListResult', 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: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/proxy_resource.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/proxy_resource.rb index cd408abce1..bef94ebd4d 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/proxy_resource.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/proxy_resource.rb @@ -19,7 +19,6 @@ class ProxyResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ProxyResource', type: { @@ -27,7 +26,6 @@ def self.mapper() class_name: 'ProxyResource', 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_interval.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_interval.rb index c88b4c22a6..e4f83ab2b1 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_interval.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_interval.rb @@ -31,7 +31,6 @@ class QueryInterval # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryInterval', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'QueryInterval', model_properties: { interval_start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'intervalStartTime', @@ -48,7 +46,6 @@ def self.mapper() } }, execution_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'executionCount', @@ -57,14 +54,12 @@ def self.mapper() } }, metrics: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'metrics', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'QueryMetricElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_metric.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_metric.rb index faac96b8a7..35b74ecf44 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_metric.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_metric.rb @@ -32,7 +32,6 @@ class QueryMetric # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryMetric', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'QueryMetric', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -49,7 +47,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'displayName', @@ -58,7 +55,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -68,7 +64,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_statistic.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_statistic.rb index ed78bda944..1ac603edda 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_statistic.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_statistic.rb @@ -25,7 +25,6 @@ class QueryStatistic # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryStatistic', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'QueryStatistic', model_properties: { query_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queryId', @@ -42,14 +40,12 @@ def self.mapper() } }, intervals: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'intervals', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'QueryIntervalElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_statistic_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_statistic_list_result.rb index 79627354dc..bcd91e3412 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_statistic_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_statistic_list_result.rb @@ -22,7 +22,6 @@ class QueryStatisticListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryStatisticListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'QueryStatisticListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'QueryStatisticElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text.rb index 38bd2f7c74..1ef4aa379b 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text.rb @@ -29,7 +29,6 @@ class QueryText # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryText', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'QueryText', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -46,7 +44,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -55,7 +52,6 @@ def self.mapper() } }, query_text: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queryText', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text_list_result.rb index dbbd338730..de645d1718 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text_list_result.rb @@ -22,7 +22,6 @@ class QueryTextListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTextListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'QueryTextListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'QueryTextElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb index 9f55b0eb6a..998f3620f7 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb @@ -56,7 +56,6 @@ class RecommendedElasticPool < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecommendedElasticPool', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'RecommendedElasticPool', 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() } }, database_edition: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseEdition', @@ -100,7 +95,6 @@ def self.mapper() } }, dtu: { - client_side_validation: true, required: false, serialized_name: 'properties.dtu', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, database_dtu_min: { - client_side_validation: true, required: false, serialized_name: 'properties.databaseDtuMin', type: { @@ -116,7 +109,6 @@ def self.mapper() } }, database_dtu_max: { - client_side_validation: true, required: false, serialized_name: 'properties.databaseDtuMax', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, storage_mb: { - client_side_validation: true, required: false, serialized_name: 'properties.storageMB', type: { @@ -132,7 +123,6 @@ def self.mapper() } }, observation_period_start: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.observationPeriodStart', @@ -141,7 +131,6 @@ def self.mapper() } }, observation_period_end: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.observationPeriodEnd', @@ -150,7 +139,6 @@ def self.mapper() } }, max_observed_dtu: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxObservedDtu', @@ -159,7 +147,6 @@ def self.mapper() } }, max_observed_storage_mb: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxObservedStorageMB', @@ -168,14 +155,12 @@ def self.mapper() } }, databases: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databases', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DatabaseElementType', type: { @@ -186,14 +171,12 @@ def self.mapper() } }, metrics: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.metrics', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RecommendedElasticPoolMetricElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb index 9d1dfba3e1..8977056927 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb @@ -24,7 +24,6 @@ class RecommendedElasticPoolListMetricsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecommendedElasticPoolListMetricsResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'RecommendedElasticPoolListMetricsResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RecommendedElasticPoolMetricElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb index 8fb4114421..66dfedb354 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb @@ -23,7 +23,6 @@ class RecommendedElasticPoolListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecommendedElasticPoolListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'RecommendedElasticPoolListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RecommendedElasticPoolElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb index f5389512f1..dd3273d6d0 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb @@ -29,7 +29,6 @@ class RecommendedElasticPoolMetric # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecommendedElasticPoolMetric', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'RecommendedElasticPoolMetric', model_properties: { date_time: { - client_side_validation: true, required: false, serialized_name: 'dateTime', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, dtu: { - client_side_validation: true, required: false, serialized_name: 'dtu', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, size_gb: { - client_side_validation: true, required: false, serialized_name: 'sizeGB', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_index.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_index.rb index 9d6511f965..bd89ff341c 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_index.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recommended_index.rb @@ -69,7 +69,6 @@ class RecommendedIndex < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecommendedIndex', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'RecommendedIndex', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, action: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.action', @@ -114,7 +109,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -124,7 +118,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', @@ -133,7 +126,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModified', @@ -142,7 +134,6 @@ def self.mapper() } }, index_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.indexType', @@ -152,7 +143,6 @@ def self.mapper() } }, schema: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.schema', @@ -161,7 +151,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.table', @@ -170,14 +159,12 @@ def self.mapper() } }, columns: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.columns', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -187,14 +174,12 @@ def self.mapper() } }, included_columns: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.includedColumns', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -204,7 +189,6 @@ def self.mapper() } }, index_script: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.indexScript', @@ -213,14 +197,12 @@ def self.mapper() } }, estimated_impact: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.estimatedImpact', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationImpactElementType', type: { @@ -231,14 +213,12 @@ def self.mapper() } }, reported_impact: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reportedImpact', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationImpactElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recoverable_database.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recoverable_database.rb index fcb56a7ef8..097e8f1eae 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recoverable_database.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recoverable_database.rb @@ -32,7 +32,6 @@ class RecoverableDatabase < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecoverableDatabase', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'RecoverableDatabase', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, edition: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.edition', @@ -76,7 +71,6 @@ def self.mapper() } }, service_level_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceLevelObjective', @@ -85,7 +79,6 @@ def self.mapper() } }, elastic_pool_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.elasticPoolName', @@ -94,7 +87,6 @@ def self.mapper() } }, last_available_backup_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastAvailableBackupDate', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recoverable_database_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recoverable_database_list_result.rb index c16498ad21..61226c153f 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recoverable_database_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/recoverable_database_list_result.rb @@ -22,7 +22,6 @@ class RecoverableDatabaseListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecoverableDatabaseListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'RecoverableDatabaseListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RecoverableDatabaseElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/replication_link.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/replication_link.rb index c483e037f5..8df08edbb3 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/replication_link.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/replication_link.rb @@ -61,7 +61,6 @@ class ReplicationLink < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReplicationLink', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'ReplicationLink', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -78,7 +76,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -87,7 +84,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -96,7 +92,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -105,7 +100,6 @@ def self.mapper() } }, is_termination_allowed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isTerminationAllowed', @@ -114,7 +108,6 @@ def self.mapper() } }, replication_mode: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.replicationMode', @@ -123,7 +116,6 @@ def self.mapper() } }, partner_server: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerServer', @@ -132,7 +124,6 @@ def self.mapper() } }, partner_database: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerDatabase', @@ -141,7 +132,6 @@ def self.mapper() } }, partner_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerLocation', @@ -150,7 +140,6 @@ def self.mapper() } }, role: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.role', @@ -160,7 +149,6 @@ def self.mapper() } }, partner_role: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerRole', @@ -170,7 +158,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.startTime', @@ -179,7 +166,6 @@ def self.mapper() } }, percent_complete: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.percentComplete', @@ -188,7 +174,6 @@ def self.mapper() } }, replication_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.replicationState', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/replication_link_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/replication_link_list_result.rb index 45d55e5b93..9503e14b18 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/replication_link_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/replication_link_list_result.rb @@ -23,7 +23,6 @@ class ReplicationLinkListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReplicationLinkListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ReplicationLinkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ReplicationLinkElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/resource.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/resource.rb index 1a1d35a0bb..2f8acc19a0 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/resource.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/resource.rb @@ -28,7 +28,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Resource', 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', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb index 00fa5705ba..a11659ebf8 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb @@ -47,7 +47,6 @@ class RestorableDroppedDatabase < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RestorableDroppedDatabase', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'RestorableDroppedDatabase', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -64,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +70,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -82,7 +78,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -91,7 +86,6 @@ def self.mapper() } }, database_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseName', @@ -100,7 +94,6 @@ def self.mapper() } }, edition: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.edition', @@ -109,7 +102,6 @@ def self.mapper() } }, max_size_bytes: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxSizeBytes', @@ -118,7 +110,6 @@ def self.mapper() } }, service_level_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceLevelObjective', @@ -127,7 +118,6 @@ def self.mapper() } }, elastic_pool_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.elasticPoolName', @@ -136,7 +126,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -145,7 +134,6 @@ def self.mapper() } }, deletion_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.deletionDate', @@ -154,7 +142,6 @@ def self.mapper() } }, earliest_restore_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.earliestRestoreDate', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database_list_result.rb index 6702bcee8c..62b71f0d3b 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database_list_result.rb @@ -23,7 +23,6 @@ class RestorableDroppedDatabaseListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RestorableDroppedDatabaseListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'RestorableDroppedDatabaseListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RestorableDroppedDatabaseElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restore_point.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restore_point.rb index a2257c007f..8df0045809 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restore_point.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restore_point.rb @@ -31,7 +31,6 @@ class RestorePoint < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RestorePoint', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'RestorePoint', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -66,7 +62,6 @@ def self.mapper() } }, restore_point_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.restorePointType', @@ -76,7 +71,6 @@ def self.mapper() } }, restore_point_creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.restorePointCreationDate', @@ -85,7 +79,6 @@ def self.mapper() } }, earliest_restore_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.earliestRestoreDate', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restore_point_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restore_point_list_result.rb index edb03aebcd..a0aec88883 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restore_point_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/restore_point_list_result.rb @@ -22,7 +22,6 @@ class RestorePointListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RestorePointListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'RestorePointListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RestorePointElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server.rb index 1a802d98cd..79d467841f 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server.rb @@ -54,7 +54,6 @@ class Server < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Server', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'Server', 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', @@ -88,14 +84,19 @@ def self.mapper() name: 'String' } }, + location: { + required: true, + serialized_name: 'location', + type: { + name: 'String' + } + }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,16 +105,7 @@ def self.mapper() } } }, - location: { - client_side_validation: true, - required: true, - serialized_name: 'location', - type: { - name: 'String' - } - }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -122,7 +114,6 @@ def self.mapper() } }, fully_qualified_domain_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.fullyQualifiedDomainName', @@ -131,7 +122,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'properties.version', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, administrator_login: { - client_side_validation: true, required: false, serialized_name: 'properties.administratorLogin', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, administrator_login_password: { - client_side_validation: true, required: false, serialized_name: 'properties.administratorLoginPassword', type: { @@ -155,7 +143,6 @@ def self.mapper() } }, external_administrator_sid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.externalAdministratorSid', @@ -164,7 +151,6 @@ def self.mapper() } }, external_administrator_login: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.externalAdministratorLogin', @@ -173,7 +159,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_administrator_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_administrator_list_result.rb index cdced4e8c1..8a1f97d5f0 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_administrator_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_administrator_list_result.rb @@ -23,7 +23,6 @@ class ServerAdministratorListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerAdministratorListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ServerAdministratorListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServerAzureADAdministratorElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_azure_adadministrator.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_azure_adadministrator.rb index 26b288579a..f8563e8402 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_azure_adadministrator.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_azure_adadministrator.rb @@ -32,7 +32,6 @@ class ServerAzureADAdministrator < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerAzureADAdministrator', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ServerAzureADAdministrator', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, administrator_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.administratorType', @@ -77,7 +72,6 @@ def self.mapper() } }, login: { - client_side_validation: true, required: true, serialized_name: 'properties.login', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, sid: { - client_side_validation: true, required: true, serialized_name: 'properties.sid', type: { @@ -93,7 +86,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: true, serialized_name: 'properties.tenantId', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_communication_link.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_communication_link.rb index aa721d20b7..e6f03bc16a 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_communication_link.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_communication_link.rb @@ -32,7 +32,6 @@ class ServerCommunicationLink < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerCommunicationLink', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ServerCommunicationLink', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -76,7 +71,6 @@ def self.mapper() } }, partner_server: { - client_side_validation: true, required: true, serialized_name: 'properties.partnerServer', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -93,7 +86,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_communication_link_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_communication_link_list_result.rb index 5af9609eff..83e4153e9c 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_communication_link_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_communication_link_list_result.rb @@ -23,7 +23,6 @@ class ServerCommunicationLinkListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerCommunicationLinkListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ServerCommunicationLinkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServerCommunicationLinkElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_connection_policy.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_connection_policy.rb index 6a6ff5086f..ef412d1907 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_connection_policy.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_connection_policy.rb @@ -29,7 +29,6 @@ class ServerConnectionPolicy < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerConnectionPolicy', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ServerConnectionPolicy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -46,7 +44,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -55,7 +52,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -64,7 +60,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -73,7 +68,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -82,7 +76,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_list_result.rb index e3bfb05ac9..8dab186990 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_list_result.rb @@ -22,7 +22,6 @@ class ServerListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ServerListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServerElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb index c4c66bb128..2899879a75 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb @@ -58,7 +58,6 @@ class ServerTableAuditingPolicy < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerTableAuditingPolicy', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'ServerTableAuditingPolicy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -75,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -84,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -93,7 +89,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -102,7 +97,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -111,7 +105,6 @@ def self.mapper() } }, auditing_state: { - client_side_validation: true, required: false, serialized_name: 'properties.auditingState', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, audit_logs_table_name: { - client_side_validation: true, required: false, serialized_name: 'properties.auditLogsTableName', type: { @@ -127,7 +119,6 @@ def self.mapper() } }, event_types_to_audit: { - client_side_validation: true, required: false, serialized_name: 'properties.eventTypesToAudit', type: { @@ -135,7 +126,6 @@ def self.mapper() } }, full_audit_logs_table_name: { - client_side_validation: true, required: false, serialized_name: 'properties.fullAuditLogsTableName', type: { @@ -143,7 +133,6 @@ def self.mapper() } }, retention_days: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionDays', type: { @@ -151,7 +140,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountKey', type: { @@ -159,7 +147,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountName', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, storage_account_resource_group_name: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountResourceGroupName', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, storage_account_secondary_key: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountSecondaryKey', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, storage_account_subscription_id: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountSubscriptionId', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, storage_table_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.storageTableEndpoint', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy_list_result.rb index f21d853886..89299b3e48 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy_list_result.rb @@ -23,7 +23,6 @@ class ServerTableAuditingPolicyListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerTableAuditingPolicyListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ServerTableAuditingPolicyListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServerTableAuditingPolicyElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_update.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_update.rb index 3061fd4240..666d717a1f 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_update.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_update.rb @@ -53,7 +53,6 @@ class ServerUpdate < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerUpdate', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'ServerUpdate', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,13 +84,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: { @@ -104,7 +98,6 @@ def self.mapper() } }, fully_qualified_domain_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.fullyQualifiedDomainName', @@ -113,7 +106,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'properties.version', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, administrator_login: { - client_side_validation: true, required: false, serialized_name: 'properties.administratorLogin', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, administrator_login_password: { - client_side_validation: true, required: false, serialized_name: 'properties.administratorLoginPassword', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, external_administrator_sid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.externalAdministratorSid', @@ -146,7 +135,6 @@ def self.mapper() } }, external_administrator_login: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.externalAdministratorLogin', @@ -155,7 +143,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_usage.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_usage.rb index c3847486d8..7ccc5f8861 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_usage.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_usage.rb @@ -40,7 +40,6 @@ class ServerUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerUsage', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ServerUsage', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +55,6 @@ def self.mapper() } }, resource_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceName', @@ -66,7 +63,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'displayName', @@ -75,7 +71,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -84,7 +79,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -93,7 +87,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -102,7 +95,6 @@ def self.mapper() } }, next_reset_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextResetTime', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_usage_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_usage_list_result.rb index a071be3cc6..ce8053e410 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_usage_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_usage_list_result.rb @@ -22,7 +22,6 @@ class ServerUsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerUsageListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ServerUsageListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServerUsageElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_version_capability.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_version_capability.rb index 0786d8ed23..7582b6fcfc 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_version_capability.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/server_version_capability.rb @@ -34,7 +34,6 @@ class ServerVersionCapability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerVersionCapability', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ServerVersionCapability', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -61,14 +58,12 @@ def self.mapper() } }, supported_editions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'supportedEditions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EditionCapabilityElementType', type: { @@ -79,14 +74,12 @@ def self.mapper() } }, supported_elastic_pool_editions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'supportedElasticPoolEditions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ElasticPoolEditionCapabilityElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective.rb index 8680b7464d..89b19239cb 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective.rb @@ -36,7 +36,6 @@ class ServiceObjective < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceObjective', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ServiceObjective', 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() } }, service_objective_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceObjectiveName', @@ -80,7 +75,6 @@ def self.mapper() } }, is_default: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isDefault', @@ -89,7 +83,6 @@ def self.mapper() } }, is_system: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isSystem', @@ -98,7 +91,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.description', @@ -107,7 +99,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.enabled', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective_capability.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective_capability.rb index 4664abcc48..6731c7adbe 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective_capability.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective_capability.rb @@ -44,7 +44,6 @@ class ServiceObjectiveCapability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceObjectiveCapability', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ServiceObjectiveCapability', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +59,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -71,7 +68,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'performanceLevel.unit', @@ -81,7 +77,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'performanceLevel.value', @@ -90,7 +85,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -99,14 +93,12 @@ def self.mapper() } }, supported_max_sizes: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'supportedMaxSizes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MaxSizeCapabilityElementType', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, included_max_size: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'includedMaxSize', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective_list_result.rb index f50550f390..b03abd83c0 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective_list_result.rb @@ -23,7 +23,6 @@ class ServiceObjectiveListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceObjectiveListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ServiceObjectiveListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceObjectiveElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb index e3d30f99cd..3c073b4c43 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor.rb @@ -91,7 +91,6 @@ class ServiceTierAdvisor < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceTierAdvisor', type: { @@ -99,7 +98,6 @@ def self.mapper() class_name: 'ServiceTierAdvisor', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -108,7 +106,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -117,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -126,7 +122,6 @@ def self.mapper() } }, observation_period_start: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.observationPeriodStart', @@ -135,7 +130,6 @@ def self.mapper() } }, observation_period_end: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.observationPeriodEnd', @@ -144,7 +138,6 @@ def self.mapper() } }, active_time_ratio: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.activeTimeRatio', @@ -153,7 +146,6 @@ def self.mapper() } }, min_dtu: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.minDtu', @@ -162,7 +154,6 @@ def self.mapper() } }, avg_dtu: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.avgDtu', @@ -171,7 +162,6 @@ def self.mapper() } }, max_dtu: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxDtu', @@ -180,7 +170,6 @@ def self.mapper() } }, max_size_in_gb: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxSizeInGB', @@ -189,14 +178,12 @@ def self.mapper() } }, service_level_objective_usage_metrics: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceLevelObjectiveUsageMetrics', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SloUsageMetricElementType', type: { @@ -207,7 +194,6 @@ def self.mapper() } }, current_service_level_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentServiceLevelObjective', @@ -216,7 +202,6 @@ def self.mapper() } }, current_service_level_objective_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentServiceLevelObjectiveId', @@ -225,7 +210,6 @@ def self.mapper() } }, usage_based_recommendation_service_level_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageBasedRecommendationServiceLevelObjective', @@ -234,7 +218,6 @@ def self.mapper() } }, usage_based_recommendation_service_level_objective_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageBasedRecommendationServiceLevelObjectiveId', @@ -243,7 +226,6 @@ def self.mapper() } }, database_size_based_recommendation_service_level_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseSizeBasedRecommendationServiceLevelObjective', @@ -252,7 +234,6 @@ def self.mapper() } }, database_size_based_recommendation_service_level_objective_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseSizeBasedRecommendationServiceLevelObjectiveId', @@ -261,7 +242,6 @@ def self.mapper() } }, disaster_plan_based_recommendation_service_level_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.disasterPlanBasedRecommendationServiceLevelObjective', @@ -270,7 +250,6 @@ def self.mapper() } }, disaster_plan_based_recommendation_service_level_objective_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.disasterPlanBasedRecommendationServiceLevelObjectiveId', @@ -279,7 +258,6 @@ def self.mapper() } }, overall_recommendation_service_level_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.overallRecommendationServiceLevelObjective', @@ -288,7 +266,6 @@ def self.mapper() } }, overall_recommendation_service_level_objective_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.overallRecommendationServiceLevelObjectiveId', @@ -297,7 +274,6 @@ def self.mapper() } }, confidence: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.confidence', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb index 9d5d2f7406..7418a98df4 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb @@ -23,7 +23,6 @@ class ServiceTierAdvisorListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceTierAdvisorListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ServiceTierAdvisorListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceTierAdvisorElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/slo_usage_metric.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/slo_usage_metric.rb index dc2de4fedd..e55fc618bf 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/slo_usage_metric.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/slo_usage_metric.rb @@ -38,7 +38,6 @@ class SloUsageMetric # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SloUsageMetric', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'SloUsageMetric', model_properties: { service_level_objective: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'serviceLevelObjective', @@ -55,7 +53,6 @@ def self.mapper() } }, service_level_objective_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'serviceLevelObjectiveId', @@ -64,7 +61,6 @@ def self.mapper() } }, in_range_time_ratio: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'inRangeTimeRatio', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb index dc4e0e6232..e5fa5f602d 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb @@ -52,7 +52,6 @@ class TableAuditingPolicyProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TableAuditingPolicyProperties', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'TableAuditingPolicyProperties', model_properties: { auditing_state: { - client_side_validation: true, required: false, serialized_name: 'auditingState', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, audit_logs_table_name: { - client_side_validation: true, required: false, serialized_name: 'auditLogsTableName', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, event_types_to_audit: { - client_side_validation: true, required: false, serialized_name: 'eventTypesToAudit', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, full_audit_logs_table_name: { - client_side_validation: true, required: false, serialized_name: 'fullAuditLogsTableName', type: { @@ -92,7 +87,6 @@ def self.mapper() } }, retention_days: { - client_side_validation: true, required: false, serialized_name: 'retentionDays', type: { @@ -100,7 +94,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: false, serialized_name: 'storageAccountName', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, storage_account_resource_group_name: { - client_side_validation: true, required: false, serialized_name: 'storageAccountResourceGroupName', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, storage_account_secondary_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountSecondaryKey', type: { @@ -132,7 +122,6 @@ def self.mapper() } }, storage_account_subscription_id: { - client_side_validation: true, required: false, serialized_name: 'storageAccountSubscriptionId', type: { @@ -140,7 +129,6 @@ def self.mapper() } }, storage_table_endpoint: { - client_side_validation: true, required: false, serialized_name: 'storageTableEndpoint', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/top_queries.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/top_queries.rb index 9bef2f2d3d..fef707e2c1 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/top_queries.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/top_queries.rb @@ -52,7 +52,6 @@ class TopQueries # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopQueries', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'TopQueries', model_properties: { aggregation_function: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'aggregationFunction', @@ -70,7 +68,6 @@ def self.mapper() } }, execution_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'executionType', @@ -80,7 +77,6 @@ def self.mapper() } }, interval_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'intervalType', @@ -89,7 +85,6 @@ def self.mapper() } }, number_of_top_queries: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'numberOfTopQueries', @@ -98,7 +93,6 @@ def self.mapper() } }, observation_start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'observationStartTime', @@ -107,7 +101,6 @@ def self.mapper() } }, observation_end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'observationEndTime', @@ -116,7 +109,6 @@ def self.mapper() } }, observed_metric: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'observedMetric', @@ -126,14 +118,12 @@ def self.mapper() } }, queries: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queries', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'QueryStatisticElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/top_queries_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/top_queries_list_result.rb index c7f80955e6..5f0036cf93 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/top_queries_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/top_queries_list_result.rb @@ -22,7 +22,6 @@ class TopQueriesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopQueriesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TopQueriesListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopQueriesElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/tracked_resource.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/tracked_resource.rb index 0edd186b7c..08c4ca94f3 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/tracked_resource.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/tracked_resource.rb @@ -12,12 +12,12 @@ class TrackedResource < Resource include MsRestAzure - # @return [Hash{String => String}] Resource tags. - attr_accessor :tags - # @return [String] Resource location. attr_accessor :location + # @return [Hash{String => String}] Resource tags. + attr_accessor :tags + # # Mapper for TrackedResource class as Ruby Hash. @@ -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', @@ -59,14 +55,19 @@ def self.mapper() name: 'String' } }, + location: { + required: true, + serialized_name: 'location', + type: { + name: 'String' + } + }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -74,14 +75,6 @@ def self.mapper() } } } - }, - location: { - client_side_validation: true, - required: true, - serialized_name: 'location', - type: { - name: 'String' - } } } } diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption.rb index bac2121464..b50c081d08 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption.rb @@ -27,7 +27,6 @@ class TransparentDataEncryption < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TransparentDataEncryption', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'TransparentDataEncryption', 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: false, read_only: true, serialized_name: 'location', @@ -71,7 +66,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb index da85b0bcf5..bcec04afaf 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb @@ -30,7 +30,6 @@ class TransparentDataEncryptionActivity < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TransparentDataEncryptionActivity', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TransparentDataEncryptionActivity', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -56,7 +53,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -65,7 +61,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -74,7 +69,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', @@ -83,7 +77,6 @@ def self.mapper() } }, percent_complete: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.percentComplete', diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb index ece01ffc75..f0f91b6d6b 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb @@ -25,7 +25,6 @@ class TransparentDataEncryptionActivityListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TransparentDataEncryptionActivityListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'TransparentDataEncryptionActivityListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TransparentDataEncryptionActivityElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_list_result.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_list_result.rb index 92f8a83750..8921afc6aa 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_list_result.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/models/transparent_data_encryption_list_result.rb @@ -24,7 +24,6 @@ class TransparentDataEncryptionListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TransparentDataEncryptionListResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'TransparentDataEncryptionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TransparentDataEncryptionElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/operations.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/operations.rb index 6840be6885..021e1a8029 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/operations.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [OperationListResult] 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 @@ -45,8 +45,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 # @@ -57,12 +57,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_sql/lib/2014-04-01/generated/azure_mgmt_sql/queries.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/queries.rb index 026ad613fc..de6f8db53c 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/queries.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/queries.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [TopQueriesListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -55,8 +55,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -72,7 +72,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -81,7 +81,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/query_statistics.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/query_statistics.rb index 5a231025e6..7580909ba2 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/query_statistics.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/query_statistics.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [QueryStatisticListResult] operation results. # - def list_by_query(resource_group_name, server_name, database_name, query_id, custom_headers:nil) - response = list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers:custom_headers).value! + def list_by_query(resource_group_name, server_name, database_name, query_id, custom_headers = nil) + response = list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def list_by_query(resource_group_name, server_name, database_name, query_id, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_query_with_http_info(resource_group_name, server_name, database_name, query_id, custom_headers:nil) - list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers:custom_headers).value! + def list_by_query_with_http_info(resource_group_name, server_name, database_name, query_id, custom_headers = nil) + list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers).value! end # @@ -75,7 +75,7 @@ def list_by_query_with_http_info(resource_group_name, server_name, database_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers:nil) + def list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -85,7 +85,6 @@ def list_by_query_async(resource_group_name, server_name, database_name, query_i 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/query_texts.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/query_texts.rb index 82b9acb2f5..19283c7f4b 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/query_texts.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/query_texts.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [QueryTextListResult] operation results. # - def list_by_query(resource_group_name, server_name, database_name, query_id, custom_headers:nil) - response = list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers:custom_headers).value! + def list_by_query(resource_group_name, server_name, database_name, query_id, custom_headers = nil) + response = list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def list_by_query(resource_group_name, server_name, database_name, query_id, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_query_with_http_info(resource_group_name, server_name, database_name, query_id, custom_headers:nil) - list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers:custom_headers).value! + def list_by_query_with_http_info(resource_group_name, server_name, database_name, query_id, custom_headers = nil) + list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers).value! end # @@ -75,7 +75,7 @@ def list_by_query_with_http_info(resource_group_name, server_name, database_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers:nil) + def list_by_query_async(resource_group_name, server_name, database_name, query_id, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -85,7 +85,6 @@ def list_by_query_async(resource_group_name, server_name, database_name, query_i 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb index 723786de22..89b9dfc990 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [RecommendedElasticPool] operation results. # - def get(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def get(resource_group_name, server_name, recommended_elastic_pool_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:nil) - get_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers = nil) + get_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def get_with_http_info(resource_group_name, server_name, recommended_elastic_poo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:nil) + def get_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -84,7 +84,6 @@ def get_async(resource_group_name, server_name, recommended_elastic_pool_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -141,8 +140,8 @@ def get_async(resource_group_name, server_name, recommended_elastic_pool_name, c # # @return [RecommendedElasticPoolListResult] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -158,8 +157,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -174,7 +173,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -182,7 +181,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -241,8 +239,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [RecommendedElasticPoolListMetricsResult] operation results. # - def list_metrics(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:nil) - response = list_metrics_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:custom_headers).value! + def list_metrics(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers = nil) + response = list_metrics_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers).value! response.body unless response.nil? end @@ -260,8 +258,8 @@ def list_metrics(resource_group_name, server_name, recommended_elastic_pool_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_metrics_with_http_info(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:nil) - list_metrics_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:custom_headers).value! + def list_metrics_with_http_info(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers = nil) + list_metrics_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers).value! end # @@ -278,7 +276,7 @@ def list_metrics_with_http_info(resource_group_name, server_name, recommended_el # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_metrics_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:nil) + def list_metrics_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -287,7 +285,6 @@ def list_metrics_async(resource_group_name, server_name, recommended_elastic_poo 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/recoverable_databases.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/recoverable_databases.rb index 0a6744982a..8be0da1699 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/recoverable_databases.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/recoverable_databases.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [RecoverableDatabase] operation results. # - def get(resource_group_name, server_name, database_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def get(resource_group_name, server_name, database_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -84,7 +84,6 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -141,8 +140,8 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni # # @return [RecoverableDatabaseListResult] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -158,8 +157,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -174,7 +173,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -182,7 +181,6 @@ def list_by_server_async(resource_group_name, server_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_sql/lib/2014-04-01/generated/azure_mgmt_sql/replication_links.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/replication_links.rb index cd1d45d109..6bbab753d7 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/replication_links.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/replication_links.rb @@ -38,8 +38,8 @@ def initialize(client) # will be added to the HTTP request. # # - def delete(resource_group_name, server_name, database_name, link_id, custom_headers:nil) - response = delete_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, database_name, link_id, custom_headers = nil) + response = delete_async(resource_group_name, server_name, database_name, link_id, custom_headers).value! nil end @@ -58,8 +58,8 @@ def delete(resource_group_name, server_name, database_name, link_id, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, server_name, database_name, link_id, custom_headers:nil) - delete_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, server_name, database_name, link_id, custom_headers = nil) + delete_async(resource_group_name, server_name, database_name, link_id, custom_headers).value! end # @@ -77,7 +77,7 @@ def delete_with_http_info(resource_group_name, server_name, database_name, link_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, server_name, database_name, link_id, custom_headers:nil) + def delete_async(resource_group_name, server_name, database_name, link_id, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -87,7 +87,6 @@ def delete_async(resource_group_name, server_name, database_name, link_id, custo 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 delete_async(resource_group_name, server_name, database_name, link_id, custo # # @return [ReplicationLink] operation results. # - def get(resource_group_name, server_name, database_name, link_id, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, link_id, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, link_id, custom_headers).value! response.body unless response.nil? end @@ -155,8 +154,8 @@ def get(resource_group_name, server_name, database_name, link_id, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, link_id, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, link_id, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, link_id, custom_headers).value! end # @@ -173,7 +172,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, link_id, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, link_id, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, link_id, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -183,7 +182,6 @@ def get_async(resource_group_name, server_name, database_name, link_id, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -242,8 +240,8 @@ def get_async(resource_group_name, server_name, database_name, link_id, custom_h # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def failover(resource_group_name, server_name, database_name, link_id, custom_headers:nil) - response = failover_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value! + def failover(resource_group_name, server_name, database_name, link_id, custom_headers = nil) + response = failover_async(resource_group_name, server_name, database_name, link_id, custom_headers).value! nil end @@ -261,9 +259,9 @@ def failover(resource_group_name, server_name, database_name, link_id, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def failover_async(resource_group_name, server_name, database_name, link_id, custom_headers:nil) + def failover_async(resource_group_name, server_name, database_name, link_id, custom_headers = nil) # Send request - promise = begin_failover_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers) + promise = begin_failover_async(resource_group_name, server_name, database_name, link_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -291,8 +289,8 @@ def failover_async(resource_group_name, server_name, database_name, link_id, cus # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def failover_allow_data_loss(resource_group_name, server_name, database_name, link_id, custom_headers:nil) - response = failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value! + def failover_allow_data_loss(resource_group_name, server_name, database_name, link_id, custom_headers = nil) + response = failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers).value! nil end @@ -310,9 +308,9 @@ def failover_allow_data_loss(resource_group_name, server_name, database_name, li # @return [Concurrent::Promise] promise which provides async access to http # response. # - def failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers:nil) + def failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers = nil) # Send request - promise = begin_failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers) + promise = begin_failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -339,8 +337,8 @@ def failover_allow_data_loss_async(resource_group_name, server_name, database_na # # @return [ReplicationLinkListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -357,8 +355,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -374,7 +372,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -383,7 +381,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,8 +440,8 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust # will be added to the HTTP request. # # - def begin_failover(resource_group_name, server_name, database_name, link_id, custom_headers:nil) - response = begin_failover_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value! + def begin_failover(resource_group_name, server_name, database_name, link_id, custom_headers = nil) + response = begin_failover_async(resource_group_name, server_name, database_name, link_id, custom_headers).value! nil end @@ -464,8 +461,8 @@ def begin_failover(resource_group_name, server_name, database_name, link_id, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_failover_with_http_info(resource_group_name, server_name, database_name, link_id, custom_headers:nil) - begin_failover_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value! + def begin_failover_with_http_info(resource_group_name, server_name, database_name, link_id, custom_headers = nil) + begin_failover_async(resource_group_name, server_name, database_name, link_id, custom_headers).value! end # @@ -484,7 +481,7 @@ def begin_failover_with_http_info(resource_group_name, server_name, database_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_failover_async(resource_group_name, server_name, database_name, link_id, custom_headers:nil) + def begin_failover_async(resource_group_name, server_name, database_name, link_id, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -494,7 +491,6 @@ def begin_failover_async(resource_group_name, server_name, database_name, link_i request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -544,8 +540,8 @@ def begin_failover_async(resource_group_name, server_name, database_name, link_i # will be added to the HTTP request. # # - def begin_failover_allow_data_loss(resource_group_name, server_name, database_name, link_id, custom_headers:nil) - response = begin_failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value! + def begin_failover_allow_data_loss(resource_group_name, server_name, database_name, link_id, custom_headers = nil) + response = begin_failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers).value! nil end @@ -565,8 +561,8 @@ def begin_failover_allow_data_loss(resource_group_name, server_name, database_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_failover_allow_data_loss_with_http_info(resource_group_name, server_name, database_name, link_id, custom_headers:nil) - begin_failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value! + def begin_failover_allow_data_loss_with_http_info(resource_group_name, server_name, database_name, link_id, custom_headers = nil) + begin_failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers).value! end # @@ -585,7 +581,7 @@ def begin_failover_allow_data_loss_with_http_info(resource_group_name, server_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers:nil) + def begin_failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -595,7 +591,6 @@ def begin_failover_allow_data_loss_async(resource_group_name, server_name, datab 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/restorable_dropped_databases.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/restorable_dropped_databases.rb index 64f24b2362..3085e3282c 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/restorable_dropped_databases.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/restorable_dropped_databases.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [RestorableDroppedDatabase] operation results. # - def get(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers:nil) - response = get_async(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers = nil) + response = get_async(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def get(resource_group_name, server_name, restorable_droppeded_database_id, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers:nil) - get_async(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers = nil) + get_async(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers).value! end # @@ -75,7 +75,7 @@ def get_with_http_info(resource_group_name, server_name, restorable_droppeded_da # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers:nil) + def get_async(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -84,7 +84,6 @@ def get_async(resource_group_name, server_name, restorable_droppeded_database_id request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -141,8 +140,8 @@ def get_async(resource_group_name, server_name, restorable_droppeded_database_id # # @return [RestorableDroppedDatabaseListResult] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -158,8 +157,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -174,7 +173,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -182,7 +181,6 @@ def list_by_server_async(resource_group_name, server_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_sql/lib/2014-04-01/generated/azure_mgmt_sql/restore_points.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/restore_points.rb index 1e90fee94f..31ae5d66df 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/restore_points.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/restore_points.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [RestorePointListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -84,7 +84,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_advisors.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_advisors.rb new file mode 100644 index 0000000000..0cd12cc4a5 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_advisors.rb @@ -0,0 +1,454 @@ +# 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::SQL::Mgmt::V2014_04_01 + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class ServerAdvisors + include MsRestAzure + + # + # Creates and initializes a new instance of the ServerAdvisors class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a list of server advisors. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [AdvisorListResult] operation results. + # + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a list of server advisors. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! + end + + # + # Gets a list of server advisors. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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_server_async(resource_group_name, server_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'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::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult.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 + + # + # Gets a server advisor. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param advisor_name [String] The name of the Server Advisor. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Advisor] operation results. + # + def get(resource_group_name, server_name, advisor_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, advisor_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a server advisor. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param advisor_name [String] The name of the Server Advisor. + # @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, server_name, advisor_name, custom_headers = nil) + get_async(resource_group_name, server_name, advisor_name, custom_headers).value! + end + + # + # Gets a server advisor. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param advisor_name [String] The name of the Server Advisor. + # @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, server_name, advisor_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'advisor_name is nil' if advisor_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'advisorName' => advisor_name,'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::SQL::Mgmt::V2014_04_01::Models::Advisor.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 + + # + # Updates a server advisor. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param advisor_name [String] The name of the Server Advisor. + # @param parameters [Advisor] The requested advisor resource state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Advisor] operation results. + # + def update(resource_group_name, server_name, advisor_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Updates a server advisor. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param advisor_name [String] The name of the Server Advisor. + # @param parameters [Advisor] The requested advisor resource state. + # @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 update_with_http_info(resource_group_name, server_name, advisor_name, parameters, custom_headers = nil) + update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers).value! + end + + # + # Updates a server advisor. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param advisor_name [String] The name of the Server Advisor. + # @param parameters [Advisor] The requested advisor resource state. + # @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 update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'advisor_name is nil' if advisor_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2014_04_01::Models::Advisor.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'advisorName' => advisor_name,'subscriptionId' => @client.subscription_id}, + 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 == 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::SQL::Mgmt::V2014_04_01::Models::Advisor.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 + + # + # Creates or updates a server advisor. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param advisor_name [String] The name of the Server Advisor. + # @param parameters [Advisor] The requested advisor resource state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Advisor] operation results. + # + def create_or_update(resource_group_name, server_name, advisor_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a server advisor. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param advisor_name [String] The name of the Server Advisor. + # @param parameters [Advisor] The requested advisor resource state. + # @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 create_or_update_with_http_info(resource_group_name, server_name, advisor_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers).value! + end + + # + # Creates or updates a server advisor. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param advisor_name [String] The name of the Server Advisor. + # @param parameters [Advisor] The requested advisor resource state. + # @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 create_or_update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'advisor_name is nil' if advisor_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2014_04_01::Models::Advisor.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'advisorName' => advisor_name,'subscriptionId' => @client.subscription_id}, + 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 == 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::SQL::Mgmt::V2014_04_01::Models::Advisor.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_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_azure_adadministrators.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_azure_adadministrators.rb index c0600e2172..05bead0613 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_azure_adadministrators.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_azure_adadministrators.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [ServerAzureADAdministrator] operation results. # - def create_or_update(resource_group_name, server_name, properties, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, properties, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, properties, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, properties, custom_headers).value! response.body unless response.nil? end @@ -57,9 +57,9 @@ def create_or_update(resource_group_name, server_name, properties, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, properties, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, properties, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, properties, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, properties, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -87,8 +87,8 @@ def create_or_update_async(resource_group_name, server_name, properties, custom_ # # @return [ServerAzureADAdministrator] operation results. # - def delete(resource_group_name, server_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def delete(resource_group_name, server_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, server_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, server_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, server_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def delete_async(resource_group_name, server_name, custom_headers:nil) # # @return [ServerAzureADAdministrator] operation results. # - def get(resource_group_name, server_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +150,8 @@ def get(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, custom_headers:nil) - get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, custom_headers = nil) + get_async(resource_group_name, server_name, custom_headers).value! end # @@ -166,7 +166,7 @@ def get_with_http_info(resource_group_name, server_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, custom_headers:nil) + def get_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -175,7 +175,6 @@ def get_async(resource_group_name, server_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 @@ -232,8 +231,8 @@ def get_async(resource_group_name, server_name, custom_headers:nil) # # @return [ServerAdministratorListResult] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -249,8 +248,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -265,7 +264,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -273,7 +272,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -333,8 +331,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [ServerAzureADAdministrator] operation results. # - def begin_create_or_update(resource_group_name, server_name, properties, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, properties, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, properties, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, properties, custom_headers).value! response.body unless response.nil? end @@ -353,8 +351,8 @@ def begin_create_or_update(resource_group_name, server_name, properties, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, properties, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, properties, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, properties, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, properties, custom_headers).value! end # @@ -372,7 +370,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, prop # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, properties, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, properties, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -382,12 +380,13 @@ def begin_create_or_update_async(resource_group_name, server_name, properties, c 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::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator.mapper() request_content = @client.serialize(request_mapper, properties) @@ -466,8 +465,8 @@ def begin_create_or_update_async(resource_group_name, server_name, properties, c # # @return [ServerAzureADAdministrator] operation results. # - def begin_delete(resource_group_name, server_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, server_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -483,8 +482,8 @@ def begin_delete(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, server_name, custom_headers:nil) - begin_delete_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, server_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, custom_headers).value! end # @@ -499,7 +498,7 @@ def begin_delete_with_http_info(resource_group_name, server_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, server_name, custom_headers:nil) + def begin_delete_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -508,7 +507,6 @@ def begin_delete_async(resource_group_name, server_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_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb index 0858018ec0..907ba90eb5 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb @@ -37,8 +37,8 @@ def initialize(client) # will be added to the HTTP request. # # - def delete(resource_group_name, server_name, communication_link_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, communication_link_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, communication_link_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, communication_link_name, custom_headers).value! nil end @@ -56,8 +56,8 @@ def delete(resource_group_name, server_name, communication_link_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, server_name, communication_link_name, custom_headers:nil) - delete_async(resource_group_name, server_name, communication_link_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, server_name, communication_link_name, custom_headers = nil) + delete_async(resource_group_name, server_name, communication_link_name, custom_headers).value! end # @@ -74,7 +74,7 @@ def delete_with_http_info(resource_group_name, server_name, communication_link_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, server_name, communication_link_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, communication_link_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -83,7 +83,6 @@ def delete_async(resource_group_name, server_name, communication_link_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +131,8 @@ def delete_async(resource_group_name, server_name, communication_link_name, cust # # @return [ServerCommunicationLink] operation results. # - def get(resource_group_name, server_name, communication_link_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, communication_link_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, communication_link_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, communication_link_name, custom_headers).value! response.body unless response.nil? end @@ -151,8 +150,8 @@ def get(resource_group_name, server_name, communication_link_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, communication_link_name, custom_headers:nil) - get_async(resource_group_name, server_name, communication_link_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, communication_link_name, custom_headers = nil) + get_async(resource_group_name, server_name, communication_link_name, custom_headers).value! end # @@ -169,7 +168,7 @@ def get_with_http_info(resource_group_name, server_name, communication_link_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, communication_link_name, custom_headers:nil) + def get_async(resource_group_name, server_name, communication_link_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -178,7 +177,6 @@ def get_async(resource_group_name, server_name, communication_link_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -239,8 +237,8 @@ def get_async(resource_group_name, server_name, communication_link_name, custom_ # # @return [ServerCommunicationLink] operation results. # - def create_or_update(resource_group_name, server_name, communication_link_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, communication_link_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -259,9 +257,9 @@ def create_or_update(resource_group_name, server_name, communication_link_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -289,8 +287,8 @@ def create_or_update_async(resource_group_name, server_name, communication_link_ # # @return [ServerCommunicationLinkListResult] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -306,8 +304,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -322,7 +320,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -330,7 +328,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -391,8 +388,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [ServerCommunicationLink] operation results. # - def begin_create_or_update(resource_group_name, server_name, communication_link_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, communication_link_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -412,8 +409,8 @@ def begin_create_or_update(resource_group_name, server_name, communication_link_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, communication_link_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, communication_link_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers).value! end # @@ -432,7 +429,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, comm # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, communication_link_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -442,12 +439,13 @@ def begin_create_or_update_async(resource_group_name, server_name, communication 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::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_connection_policies.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_connection_policies.rb index a4baaf0990..55e89a54c5 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_connection_policies.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_connection_policies.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [ServerConnectionPolicy] operation results. # - def create_or_update(resource_group_name, server_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def create_or_update(resource_group_name, server_name, parameters, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! end # @@ -75,7 +75,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, parameters # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -85,12 +85,13 @@ def create_or_update_async(resource_group_name, server_name, parameters, custom_ 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::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -159,8 +160,8 @@ def create_or_update_async(resource_group_name, server_name, parameters, custom_ # # @return [ServerConnectionPolicy] operation results. # - def get(resource_group_name, server_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -176,8 +177,8 @@ def get(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, custom_headers:nil) - get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, custom_headers = nil) + get_async(resource_group_name, server_name, custom_headers).value! end # @@ -192,7 +193,7 @@ def get_with_http_info(resource_group_name, server_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, custom_headers:nil) + def get_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -201,7 +202,6 @@ def get_async(resource_group_name, server_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_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_table_auditing_policies.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_table_auditing_policies.rb index 8f840e6022..436b88740b 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_table_auditing_policies.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_table_auditing_policies.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [ServerTableAuditingPolicy] operation results. # - def get(resource_group_name, server_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -55,8 +55,8 @@ def get(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, custom_headers:nil) - get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, custom_headers = nil) + get_async(resource_group_name, server_name, custom_headers).value! end # @@ -72,7 +72,7 @@ def get_with_http_info(resource_group_name, server_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, custom_headers:nil) + def get_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? table_auditing_policy_name = 'default' @@ -81,7 +81,6 @@ def get_async(resource_group_name, server_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 @@ -141,8 +140,8 @@ def get_async(resource_group_name, server_name, custom_headers:nil) # # @return [ServerTableAuditingPolicy] operation results. # - def create_or_update(resource_group_name, server_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -161,8 +160,8 @@ def create_or_update(resource_group_name, server_name, parameters, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! end # @@ -180,7 +179,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, parameters # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? table_auditing_policy_name = 'default' @@ -190,12 +189,13 @@ def create_or_update_async(resource_group_name, server_name, parameters, custom_ 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::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -265,8 +265,8 @@ def create_or_update_async(resource_group_name, server_name, parameters, custom_ # # @return [ServerTableAuditingPolicyListResult] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -283,8 +283,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -300,7 +300,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -308,7 +308,6 @@ def list_by_server_async(resource_group_name, server_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_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_usages.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_usages.rb index da2d11583e..2cc94fb86a 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_usages.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_usages.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [ServerUsageListResult] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -53,8 +53,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -77,7 +77,6 @@ def list_by_server_async(resource_group_name, server_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_sql/lib/2014-04-01/generated/azure_mgmt_sql/servers.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/servers.rb index db4d48074a..d7b05b2606 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/servers.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/servers.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [CheckNameAvailabilityResponse] operation results. # - def check_name_availability(parameters, custom_headers:nil) - response = check_name_availability_async(parameters, custom_headers:custom_headers).value! + def check_name_availability(parameters, custom_headers = nil) + response = check_name_availability_async(parameters, custom_headers).value! response.body unless response.nil? end @@ -49,8 +49,8 @@ def check_name_availability(parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(parameters, custom_headers:nil) - check_name_availability_async(parameters, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(parameters, custom_headers = nil) + check_name_availability_async(parameters, custom_headers).value! end # @@ -63,19 +63,20 @@ def check_name_availability_with_http_info(parameters, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(parameters, custom_headers:nil) + def check_name_availability_async(parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -130,8 +131,8 @@ def check_name_availability_async(parameters, custom_headers:nil) # # @return [ServerListResult] 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 @@ -143,8 +144,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 # @@ -155,13 +156,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -220,8 +220,8 @@ def list_async(custom_headers:nil) # # @return [Server] operation results. # - def create_or_update(resource_group_name, server_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -239,8 +239,8 @@ def create_or_update(resource_group_name, server_name, parameters, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! end # @@ -257,7 +257,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, parameters # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -266,12 +266,13 @@ def create_or_update_async(resource_group_name, server_name, parameters, custom_ 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::SQL::Mgmt::V2014_04_01::Models::Server.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -342,8 +343,8 @@ def create_or_update_async(resource_group_name, server_name, parameters, custom_ # # @return [Server] operation results. # - def update(resource_group_name, server_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -361,8 +362,8 @@ def update(resource_group_name, server_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil) - update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, server_name, parameters, custom_headers = nil) + update_async(resource_group_name, server_name, parameters, custom_headers).value! end # @@ -379,7 +380,7 @@ def update_with_http_info(resource_group_name, server_name, parameters, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -388,12 +389,13 @@ def update_async(resource_group_name, server_name, parameters, custom_headers:ni 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::SQL::Mgmt::V2014_04_01::Models::ServerUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -451,8 +453,8 @@ def update_async(resource_group_name, server_name, parameters, custom_headers:ni # will be added to the HTTP request. # # - def delete(resource_group_name, server_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, custom_headers).value! nil end @@ -468,8 +470,8 @@ def delete(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, server_name, custom_headers:nil) - delete_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, server_name, custom_headers = nil) + delete_async(resource_group_name, server_name, custom_headers).value! end # @@ -484,7 +486,7 @@ def delete_with_http_info(resource_group_name, server_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, server_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -492,7 +494,6 @@ def delete_async(resource_group_name, server_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 @@ -539,8 +540,8 @@ def delete_async(resource_group_name, server_name, custom_headers:nil) # # @return [Server] operation results. # - def get(resource_group_name, server_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -556,8 +557,8 @@ def get(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, custom_headers:nil) - get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, custom_headers = nil) + get_async(resource_group_name, server_name, custom_headers).value! end # @@ -572,7 +573,7 @@ def get_with_http_info(resource_group_name, server_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, custom_headers:nil) + def get_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -580,7 +581,6 @@ def get_async(resource_group_name, server_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 @@ -636,8 +636,8 @@ def get_async(resource_group_name, server_name, custom_headers:nil) # # @return [ServerListResult] 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 @@ -652,8 +652,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 # @@ -667,14 +667,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.api_version is nil' if @client.api_version.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? 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/service_objectives.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/service_objectives.rb index 5e08a88d61..b90b965de7 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/service_objectives.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/service_objectives.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [ServiceObjective] operation results. # - def get(resource_group_name, server_name, service_objective_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, service_objective_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, service_objective_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, service_objective_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def get(resource_group_name, server_name, service_objective_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, service_objective_name, custom_headers:nil) - get_async(resource_group_name, server_name, service_objective_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, service_objective_name, custom_headers = nil) + get_async(resource_group_name, server_name, service_objective_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def get_with_http_info(resource_group_name, server_name, service_objective_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, service_objective_name, custom_headers:nil) + def get_async(resource_group_name, server_name, service_objective_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -84,7 +84,6 @@ def get_async(resource_group_name, server_name, service_objective_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -141,8 +140,8 @@ def get_async(resource_group_name, server_name, service_objective_name, custom_h # # @return [ServiceObjectiveListResult] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -158,8 +157,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -174,7 +173,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -182,7 +181,6 @@ def list_by_server_async(resource_group_name, server_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_sql/lib/2014-04-01/generated/azure_mgmt_sql/service_tier_advisors.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/service_tier_advisors.rb index b37fb82003..1399895b97 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/service_tier_advisors.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/service_tier_advisors.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [ServiceTierAdvisor] operation results. # - def get(resource_group_name, server_name, database_name, service_tier_advisor_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, service_tier_advisor_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, service_tier_advisor_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, service_tier_advisor_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def get(resource_group_name, server_name, database_name, service_tier_advisor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, service_tier_advisor_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, service_tier_advisor_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, service_tier_advisor_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, service_tier_advisor_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, service_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, service_tier_advisor_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, service_tier_advisor_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -85,7 +85,6 @@ def get_async(resource_group_name, server_name, database_name, service_tier_advi request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -143,8 +142,8 @@ def get_async(resource_group_name, server_name, database_name, service_tier_advi # # @return [ServiceTierAdvisorListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -161,8 +160,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -178,7 +177,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -187,7 +186,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/sql_management_client.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/sql_management_client.rb index a0b860f140..8e7caa72c2 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/sql_management_client.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/sql_management_client.rb @@ -17,13 +17,13 @@ class SqlManagementClient < MsRestAzure::AzureServiceClient # @return Credentials needed for the client to connect to Azure. attr_reader :credentials + # @return [String] The API version to use for the request. + attr_reader :api_version + # @return [String] The subscription ID that identifies an Azure # subscription. attr_accessor :subscription_id - # @return [String] The API version to use for the request. - attr_reader :api_version - # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language @@ -35,6 +35,9 @@ class SqlManagementClient < MsRestAzure::AzureServiceClient # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id + # @return [ServerAdvisors] server_advisors + attr_reader :server_advisors + # @return [DatabaseAdvisors] database_advisors attr_reader :database_advisors @@ -51,9 +54,6 @@ class SqlManagementClient < MsRestAzure::AzureServiceClient # @return [RestorableDroppedDatabases] restorable_dropped_databases attr_reader :restorable_dropped_databases - # @return [RestorePoints] restore_points - attr_reader :restore_points - # @return [Capabilities] capabilities attr_reader :capabilities @@ -107,9 +107,15 @@ class SqlManagementClient < MsRestAzure::AzureServiceClient # @return [QueryTexts] query_texts attr_reader :query_texts + # @return [RecommendedElasticPools] recommended_elastic_pools + attr_reader :recommended_elastic_pools + # @return [ReplicationLinks] replication_links attr_reader :replication_links + # @return [RestorePoints] restore_points + attr_reader :restore_points + # @return [ServerAzureADAdministrators] server_azure_adadministrators attr_reader :server_azure_adadministrators @@ -125,9 +131,6 @@ class SqlManagementClient < MsRestAzure::AzureServiceClient # @return [ElasticPoolDatabaseActivities] elastic_pool_database_activities attr_reader :elastic_pool_database_activities - # @return [RecommendedElasticPools] recommended_elastic_pools - attr_reader :recommended_elastic_pools - # @return [ServiceTierAdvisors] service_tier_advisors attr_reader :service_tier_advisors @@ -166,12 +169,12 @@ def initialize(credentials = nil, base_url = nil, options = nil) fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil? @credentials = credentials + @server_advisors = ServerAdvisors.new(self) @database_advisors = DatabaseAdvisors.new(self) @backup_long_term_retention_policies = BackupLongTermRetentionPolicies.new(self) @backup_long_term_retention_vaults = BackupLongTermRetentionVaults.new(self) @recoverable_databases = RecoverableDatabases.new(self) @restorable_dropped_databases = RestorableDroppedDatabases.new(self) - @restore_points = RestorePoints.new(self) @capabilities = Capabilities.new(self) @servers = Servers.new(self) @server_connection_policies = ServerConnectionPolicies.new(self) @@ -189,13 +192,14 @@ def initialize(credentials = nil, base_url = nil, options = nil) @queries = Queries.new(self) @query_statistics = QueryStatistics.new(self) @query_texts = QueryTexts.new(self) + @recommended_elastic_pools = RecommendedElasticPools.new(self) @replication_links = ReplicationLinks.new(self) + @restore_points = RestorePoints.new(self) @server_azure_adadministrators = ServerAzureADAdministrators.new(self) @server_communication_links = ServerCommunicationLinks.new(self) @service_objectives = ServiceObjectives.new(self) @elastic_pool_activities = ElasticPoolActivities.new(self) @elastic_pool_database_activities = ElasticPoolDatabaseActivities.new(self) - @recommended_elastic_pools = RecommendedElasticPools.new(self) @service_tier_advisors = ServiceTierAdvisors.new(self) @transparent_data_encryptions = TransparentDataEncryptions.new(self) @transparent_data_encryption_activities = TransparentDataEncryptionActivities.new(self) @@ -257,9 +261,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? @@ -276,7 +277,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_sql' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::SQL::Mgmt::V2014_04_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::SQL::Mgmt::V2014_04_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_activities.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_activities.rb index d19877de9b..c1908eab40 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_activities.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_activities.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [TransparentDataEncryptionActivityListResult] operation results. # - def list_by_configuration(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_configuration_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_configuration(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_configuration_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def list_by_configuration(resource_group_name, server_name, database_name, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_configuration_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_configuration_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_configuration_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_configuration_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def list_by_configuration_with_http_info(resource_group_name, server_name, datab # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_configuration_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_configuration_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -85,7 +85,6 @@ def list_by_configuration_async(resource_group_name, server_name, database_name, 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_configurations.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_configurations.rb index e8131d4ddf..17be6dc7f9 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_configurations.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_configurations.rb @@ -40,8 +40,8 @@ def initialize(client) # # @return [TransparentDataEncryptionListResult] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -61,8 +61,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -90,7 +90,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryptions.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryptions.rb index deba8dacc1..da3553608c 100644 --- a/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryptions.rb +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryptions.rb @@ -40,8 +40,8 @@ def initialize(client) # # @return [TransparentDataEncryption] operation results. # - def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -61,8 +61,8 @@ def create_or_update(resource_group_name, server_name, database_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -81,7 +81,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -92,12 +92,13 @@ def create_or_update_async(resource_group_name, server_name, database_name, para 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::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -168,8 +169,8 @@ def create_or_update_async(resource_group_name, server_name, database_name, para # # @return [TransparentDataEncryption] operation results. # - def get(resource_group_name, server_name, database_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -187,8 +188,8 @@ def get(resource_group_name, server_name, database_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -205,7 +206,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -215,7 +216,6 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni 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_sql/lib/2014-04-01/generated/azure_mgmt_sql/version.rb b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/version.rb new file mode 100644 index 0000000000..5d66b5eedc --- /dev/null +++ b/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/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::SQL::Mgmt::V2014_04_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql.rb index 938b0ef104..dbc013c88f 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql.rb @@ -24,8 +24,11 @@ module Azure::SQL::Mgmt::V2015_05_01_preview autoload :DatabaseRecommendedActions, '2015-05-01-preview/generated/azure_mgmt_sql/database_recommended_actions.rb' autoload :ServerAdvisors, '2015-05-01-preview/generated/azure_mgmt_sql/server_advisors.rb' autoload :DatabaseBlobAuditingPolicies, '2015-05-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb' + autoload :DatabaseAutomaticTuningOperations, '2015-05-01-preview/generated/azure_mgmt_sql/database_automatic_tuning_operations.rb' autoload :EncryptionProtectors, '2015-05-01-preview/generated/azure_mgmt_sql/encryption_protectors.rb' autoload :FailoverGroups, '2015-05-01-preview/generated/azure_mgmt_sql/failover_groups.rb' + autoload :FirewallRules, '2015-05-01-preview/generated/azure_mgmt_sql/firewall_rules.rb' + autoload :ManagedInstances, '2015-05-01-preview/generated/azure_mgmt_sql/managed_instances.rb' autoload :Operations, '2015-05-01-preview/generated/azure_mgmt_sql/operations.rb' autoload :ServerKeys, '2015-05-01-preview/generated/azure_mgmt_sql/server_keys.rb' autoload :Servers, '2015-05-01-preview/generated/azure_mgmt_sql/servers.rb' @@ -37,51 +40,62 @@ module Azure::SQL::Mgmt::V2015_05_01_preview autoload :SqlManagementClient, '2015-05-01-preview/generated/azure_mgmt_sql/sql_management_client.rb' module Models - autoload :ServerKeyListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/server_key_list_result.rb' - autoload :Resource, '2015-05-01-preview/generated/azure_mgmt_sql/models/resource.rb' + autoload :OperationDisplay, '2015-05-01-preview/generated/azure_mgmt_sql/models/operation_display.rb' + autoload :Operation, '2015-05-01-preview/generated/azure_mgmt_sql/models/operation.rb' + autoload :RecommendedActionImplementationInfo, '2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_implementation_info.rb' + autoload :OperationListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/operation_list_result.rb' + autoload :RecommendedActionImpactRecord, '2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_impact_record.rb' + autoload :ManagedInstanceUpdate, '2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_update.rb' + autoload :FirewallRuleList, '2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list.rb' autoload :ResourceIdentity, '2015-05-01-preview/generated/azure_mgmt_sql/models/resource_identity.rb' + autoload :SyncGroupSchema, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema.rb' + autoload :Sku, '2015-05-01-preview/generated/azure_mgmt_sql/models/sku.rb' + autoload :SyncDatabaseIdListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_database_id_list_result.rb' + autoload :SyncGroupSchemaTable, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table.rb' + autoload :SyncFullSchemaTable, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table.rb' + autoload :SyncGroupSchemaTableColumn, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table_column.rb' + autoload :ManagedInstanceListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_list_result.rb' + autoload :EncryptionProtectorListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector_list_result.rb' + autoload :SyncFullSchemaTableColumn, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb' + autoload :FailoverGroupReadOnlyEndpoint, '2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_only_endpoint.rb' autoload :RecommendedActionStateInfo, '2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_state_info.rb' + autoload :SyncGroupLogProperties, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_properties.rb' autoload :RecommendedActionErrorInfo, '2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_error_info.rb' - autoload :ServerListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/server_list_result.rb' + autoload :FailoverGroupListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_list_result.rb' autoload :RecommendedActionMetricInfo, '2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_metric_info.rb' + autoload :SyncFullSchemaPropertiesListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties_list_result.rb' + autoload :FirewallRuleListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb' + autoload :ServerKeyListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/server_key_list_result.rb' + autoload :Resource, '2015-05-01-preview/generated/azure_mgmt_sql/models/resource.rb' autoload :VirtualNetworkRuleListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_network_rule_list_result.rb' - autoload :RecommendedActionImpactRecord, '2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_impact_record.rb' - autoload :SyncGroupListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_list_result.rb' - autoload :SyncGroupSchema, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema.rb' - autoload :SyncGroupLogProperties, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_properties.rb' - autoload :FailoverGroupReadWriteEndpoint, '2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_write_endpoint.rb' autoload :SyncGroupLogListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_list_result.rb' + autoload :ServerListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/server_list_result.rb' autoload :PartnerInfo, '2015-05-01-preview/generated/azure_mgmt_sql/models/partner_info.rb' autoload :ServerUpdate, '2015-05-01-preview/generated/azure_mgmt_sql/models/server_update.rb' - autoload :FailoverGroupUpdate, '2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_update.rb' + autoload :ResourceWithWritableName, '2015-05-01-preview/generated/azure_mgmt_sql/models/resource_with_writable_name.rb' autoload :SubscriptionUsageListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage_list_result.rb' - autoload :OperationDisplay, '2015-05-01-preview/generated/azure_mgmt_sql/models/operation_display.rb' + autoload :SyncGroupListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_list_result.rb' autoload :SyncAgentListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_list_result.rb' - autoload :OperationListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/operation_list_result.rb' + autoload :FailoverGroupReadWriteEndpoint, '2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_write_endpoint.rb' autoload :SyncAgentKeyProperties, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_key_properties.rb' - autoload :SyncFullSchemaPropertiesListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties_list_result.rb' - autoload :RecommendedActionImplementationInfo, '2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_implementation_info.rb' + autoload :SyncFullSchemaProperties, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties.rb' autoload :SyncMemberListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_member_list_result.rb' - autoload :FailoverGroupReadOnlyEndpoint, '2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_only_endpoint.rb' + autoload :FailoverGroupUpdate, '2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_update.rb' autoload :SyncAgentLinkedDatabaseListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_linked_database_list_result.rb' - autoload :FailoverGroupListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_list_result.rb' + autoload :AutomaticTuningOptions, '2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_options.rb' autoload :SyncDatabaseIdProperties, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_database_id_properties.rb' - autoload :SyncGroupSchemaTableColumn, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table_column.rb' - autoload :SyncDatabaseIdListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_database_id_list_result.rb' - autoload :SyncGroupSchemaTable, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table.rb' - autoload :SyncFullSchemaTableColumn, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb' - autoload :EncryptionProtectorListResult, '2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector_list_result.rb' - autoload :SyncFullSchemaTable, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table.rb' - autoload :Operation, '2015-05-01-preview/generated/azure_mgmt_sql/models/operation.rb' - autoload :SyncFullSchemaProperties, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties.rb' autoload :ProxyResource, '2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb' autoload :RecommendedAction, '2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action.rb' autoload :Advisor, '2015-05-01-preview/generated/azure_mgmt_sql/models/advisor.rb' + autoload :TrackedResource, '2015-05-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb' autoload :DatabaseBlobAuditingPolicy, '2015-05-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb' + autoload :DatabaseAutomaticTuning, '2015-05-01-preview/generated/azure_mgmt_sql/models/database_automatic_tuning.rb' autoload :EncryptionProtector, '2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector.rb' autoload :FailoverGroup, '2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group.rb' + autoload :ProxyResourceWithWritableName, '2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource_with_writable_name.rb' + autoload :FirewallRule, '2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule.rb' + autoload :ManagedInstance, '2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb' autoload :ServerKey, '2015-05-01-preview/generated/azure_mgmt_sql/models/server_key.rb' - autoload :TrackedResource, '2015-05-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb' autoload :Server, '2015-05-01-preview/generated/azure_mgmt_sql/models/server.rb' autoload :SyncAgent, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent.rb' autoload :SyncAgentLinkedDatabase, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_linked_database.rb' @@ -97,12 +111,16 @@ module Models autoload :ImplementationMethod, '2015-05-01-preview/generated/azure_mgmt_sql/models/implementation_method.rb' autoload :IsRetryable, '2015-05-01-preview/generated/azure_mgmt_sql/models/is_retryable.rb' autoload :BlobAuditingPolicyState, '2015-05-01-preview/generated/azure_mgmt_sql/models/blob_auditing_policy_state.rb' + autoload :AutomaticTuningMode, '2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_mode.rb' + autoload :AutomaticTuningOptionModeDesired, '2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb' + autoload :AutomaticTuningOptionModeActual, '2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb' + autoload :AutomaticTuningDisabledReason, '2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_disabled_reason.rb' autoload :ServerKeyType, '2015-05-01-preview/generated/azure_mgmt_sql/models/server_key_type.rb' autoload :ReadWriteEndpointFailoverPolicy, '2015-05-01-preview/generated/azure_mgmt_sql/models/read_write_endpoint_failover_policy.rb' autoload :ReadOnlyEndpointFailoverPolicy, '2015-05-01-preview/generated/azure_mgmt_sql/models/read_only_endpoint_failover_policy.rb' autoload :FailoverGroupReplicationRole, '2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_replication_role.rb' - autoload :OperationOrigin, '2015-05-01-preview/generated/azure_mgmt_sql/models/operation_origin.rb' autoload :IdentityType, '2015-05-01-preview/generated/azure_mgmt_sql/models/identity_type.rb' + autoload :OperationOrigin, '2015-05-01-preview/generated/azure_mgmt_sql/models/operation_origin.rb' autoload :SyncAgentState, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_state.rb' autoload :SyncMemberDbType, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_member_db_type.rb' autoload :SyncGroupLogType, '2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_type.rb' diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_advisors.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_advisors.rb index 808021151e..9b4bfc41cf 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_advisors.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_advisors.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -55,8 +55,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -72,7 +72,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -81,7 +81,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -114,13 +113,11 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdvisorElementType', type: { @@ -156,8 +153,8 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust # # @return [Advisor] operation results. # - def get(resource_group_name, server_name, database_name, advisor_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, advisor_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers).value! response.body unless response.nil? end @@ -175,8 +172,8 @@ def get(resource_group_name, server_name, database_name, advisor_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, advisor_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, advisor_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers).value! end # @@ -193,7 +190,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, advisor_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, advisor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -203,7 +200,6 @@ def get_async(resource_group_name, server_name, database_name, advisor_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -263,8 +259,8 @@ def get_async(resource_group_name, server_name, database_name, advisor_name, cus # # @return [Advisor] operation results. # - def update(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -283,8 +279,8 @@ def update(resource_group_name, server_name, database_name, advisor_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers:nil) - update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers = nil) + update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers).value! end # @@ -302,7 +298,7 @@ def update_with_http_info(resource_group_name, server_name, database_name, advis # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, database_name, advisor_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -313,12 +309,13 @@ def update_async(resource_group_name, server_name, database_name, advisor_name, 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::SQL::Mgmt::V2015_05_01_preview::Models::Advisor.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_automatic_tuning_operations.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_automatic_tuning_operations.rb new file mode 100644 index 0000000000..76358733a9 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_automatic_tuning_operations.rb @@ -0,0 +1,246 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class DatabaseAutomaticTuningOperations + include MsRestAzure + + # + # Creates and initializes a new instance of the DatabaseAutomaticTuningOperations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a database's automatic tuning. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DatabaseAutomaticTuning] operation results. + # + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a database's automatic tuning. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! + end + + # + # Gets a database's automatic tuning. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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, server_name, database_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/automaticTuning/current' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'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::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning.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 + + # + # Update automatic tuning properties for target database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [DatabaseAutomaticTuning] The requested automatic tuning + # resource state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DatabaseAutomaticTuning] operation results. + # + def update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Update automatic tuning properties for target database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [DatabaseAutomaticTuning] The requested automatic tuning + # resource state. + # @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 update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + end + + # + # Update automatic tuning properties for target database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [DatabaseAutomaticTuning] The requested automatic tuning + # resource state. + # @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 update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/automaticTuning/current' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'subscriptionId' => @client.subscription_id}, + 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 == 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::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning.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_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb index 29e64369ef..ead20f329b 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb @@ -31,15 +31,14 @@ def initialize(client) # contains the resource. You can obtain this value from the Azure Resource # Manager API or the portal. # @param server_name [String] The name of the server. - # @param database_name [String] The name of the database for which the blob - # audit policy is defined. + # @param database_name [String] The name of the database. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [DatabaseBlobAuditingPolicy] operation results. # - def get(resource_group_name, server_name, database_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -50,15 +49,14 @@ def get(resource_group_name, server_name, database_name, custom_headers:nil) # contains the resource. You can obtain this value from the Azure Resource # Manager API or the portal. # @param server_name [String] The name of the server. - # @param database_name [String] The name of the database for which the blob - # audit policy is defined. + # @param database_name [String] The name of the database. # @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, server_name, database_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -68,14 +66,13 @@ def get_with_http_info(resource_group_name, server_name, database_name, custom_h # contains the resource. You can obtain this value from the Azure Resource # Manager API or the portal. # @param server_name [String] The name of the server. - # @param database_name [String] The name of the database for which the blob - # audit policy is defined. + # @param database_name [String] The name of the database. # @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, server_name, database_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -85,7 +82,6 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -137,8 +133,7 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni # contains the resource. You can obtain this value from the Azure Resource # Manager API or the portal. # @param server_name [String] The name of the server. - # @param database_name [String] The name of the database for which the blob - # auditing policy will be defined. + # @param database_name [String] The name of the database. # @param parameters [DatabaseBlobAuditingPolicy] The database blob auditing # policy. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -146,8 +141,8 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni # # @return [DatabaseBlobAuditingPolicy] operation results. # - def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -158,8 +153,7 @@ def create_or_update(resource_group_name, server_name, database_name, parameters # contains the resource. You can obtain this value from the Azure Resource # Manager API or the portal. # @param server_name [String] The name of the server. - # @param database_name [String] The name of the database for which the blob - # auditing policy will be defined. + # @param database_name [String] The name of the database. # @param parameters [DatabaseBlobAuditingPolicy] The database blob auditing # policy. # @param custom_headers [Hash{String => String}] A hash of custom headers that @@ -167,8 +161,8 @@ def create_or_update(resource_group_name, server_name, database_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -178,8 +172,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, database_n # contains the resource. You can obtain this value from the Azure Resource # Manager API or the portal. # @param server_name [String] The name of the server. - # @param database_name [String] The name of the database for which the blob - # auditing policy will be defined. + # @param database_name [String] The name of the database. # @param parameters [DatabaseBlobAuditingPolicy] The database blob auditing # policy. # @param [Hash{String => String}] A hash of custom headers that will be added @@ -187,7 +180,7 @@ def create_or_update_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -198,12 +191,13 @@ def create_or_update_async(resource_group_name, server_name, database_name, para 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::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseBlobAuditingPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_recommended_actions.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_recommended_actions.rb index d25f5d7d84..4964e41ea1 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_recommended_actions.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_recommended_actions.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_database_advisor(resource_group_name, server_name, database_name, advisor_name, custom_headers:nil) - response = list_by_database_advisor_async(resource_group_name, server_name, database_name, advisor_name, custom_headers:custom_headers).value! + def list_by_database_advisor(resource_group_name, server_name, database_name, advisor_name, custom_headers = nil) + response = list_by_database_advisor_async(resource_group_name, server_name, database_name, advisor_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def list_by_database_advisor(resource_group_name, server_name, database_name, ad # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_advisor_with_http_info(resource_group_name, server_name, database_name, advisor_name, custom_headers:nil) - list_by_database_advisor_async(resource_group_name, server_name, database_name, advisor_name, custom_headers:custom_headers).value! + def list_by_database_advisor_with_http_info(resource_group_name, server_name, database_name, advisor_name, custom_headers = nil) + list_by_database_advisor_async(resource_group_name, server_name, database_name, advisor_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def list_by_database_advisor_with_http_info(resource_group_name, server_name, da # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_advisor_async(resource_group_name, server_name, database_name, advisor_name, custom_headers:nil) + def list_by_database_advisor_async(resource_group_name, server_name, database_name, advisor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -85,7 +85,6 @@ def list_by_database_advisor_async(resource_group_name, server_name, database_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,13 +117,11 @@ def list_by_database_advisor_async(resource_group_name, server_name, database_na begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RecommendedActionElementType', type: { @@ -162,8 +159,8 @@ def list_by_database_advisor_async(resource_group_name, server_name, database_na # # @return [RecommendedAction] operation results. # - def get(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, custom_headers).value! response.body unless response.nil? end @@ -183,8 +180,8 @@ def get(resource_group_name, server_name, database_name, advisor_name, recommend # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, custom_headers).value! end # @@ -203,7 +200,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, advisor_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -214,7 +211,6 @@ def get_async(resource_group_name, server_name, database_name, advisor_name, rec request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -277,8 +273,8 @@ def get_async(resource_group_name, server_name, database_name, advisor_name, rec # # @return [RecommendedAction] operation results. # - def update(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -300,8 +296,8 @@ def update(resource_group_name, server_name, database_name, advisor_name, recomm # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, parameters, custom_headers:nil) - update_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, parameters, custom_headers = nil) + update_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, parameters, custom_headers).value! end # @@ -322,7 +318,7 @@ def update_with_http_info(resource_group_name, server_name, database_name, advis # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, database_name, advisor_name, recommended_action_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -334,12 +330,13 @@ def update_async(resource_group_name, server_name, database_name, advisor_name, 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::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/encryption_protectors.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/encryption_protectors.rb index 2139a85324..dd001b6a0b 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/encryption_protectors.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/encryption_protectors.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers:custom_headers) + def list_by_server(resource_group_name, server_name, custom_headers = nil) + first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers) first_page.get_all_items end @@ -53,8 +53,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -77,7 +77,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -134,8 +133,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [EncryptionProtector] operation results. # - def get(resource_group_name, server_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -151,8 +150,8 @@ def get(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, custom_headers:nil) - get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, custom_headers = nil) + get_async(resource_group_name, server_name, custom_headers).value! end # @@ -167,7 +166,7 @@ def get_with_http_info(resource_group_name, server_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, custom_headers:nil) + def get_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? encryption_protector_name = 'current' @@ -176,7 +175,6 @@ def get_async(resource_group_name, server_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 @@ -235,8 +233,8 @@ def get_async(resource_group_name, server_name, custom_headers:nil) # # @return [EncryptionProtector] operation results. # - def create_or_update(resource_group_name, server_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -253,9 +251,9 @@ def create_or_update(resource_group_name, server_name, parameters, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -285,8 +283,8 @@ def create_or_update_async(resource_group_name, server_name, parameters, custom_ # # @return [EncryptionProtector] operation results. # - def begin_create_or_update(resource_group_name, server_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -304,8 +302,8 @@ def begin_create_or_update(resource_group_name, server_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! end # @@ -322,7 +320,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? encryption_protector_name = 'current' @@ -332,12 +330,13 @@ def begin_create_or_update_async(resource_group_name, server_name, parameters, c 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::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -394,8 +393,8 @@ def begin_create_or_update_async(resource_group_name, server_name, parameters, c # # @return [EncryptionProtectorListResult] operation results. # - def list_by_server_next(next_page_link, custom_headers:nil) - response = list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next(next_page_link, custom_headers = nil) + response = list_by_server_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -409,8 +408,8 @@ def list_by_server_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) - list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next_with_http_info(next_page_link, custom_headers = nil) + list_by_server_next_async(next_page_link, custom_headers).value! end # @@ -423,12 +422,11 @@ def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_next_async(next_page_link, custom_headers:nil) + def list_by_server_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -485,12 +483,12 @@ def list_by_server_next_async(next_page_link, custom_headers:nil) # @return [EncryptionProtectorListResult] which provide lazy access to pages of # the response. # - def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_as_lazy(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_server_next_async(next_page_link, custom_headers:custom_headers) + list_by_server_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/failover_groups.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/failover_groups.rb index 19f9d0e63e..915d0e7399 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/failover_groups.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/failover_groups.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [FailoverGroup] operation results. # - def get(resource_group_name, server_name, failover_group_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, failover_group_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, failover_group_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def get(resource_group_name, server_name, failover_group_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, failover_group_name, custom_headers:nil) - get_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, failover_group_name, custom_headers = nil) + get_async(resource_group_name, server_name, failover_group_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def get_with_http_info(resource_group_name, server_name, failover_group_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, failover_group_name, custom_headers:nil) + def get_async(resource_group_name, server_name, failover_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'failover_group_name is nil' if failover_group_name.nil? @@ -84,7 +84,6 @@ def get_async(resource_group_name, server_name, failover_group_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -144,8 +143,8 @@ def get_async(resource_group_name, server_name, failover_group_name, custom_head # # @return [FailoverGroup] operation results. # - def create_or_update(resource_group_name, server_name, failover_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, failover_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -163,9 +162,9 @@ def create_or_update(resource_group_name, server_name, failover_group_name, para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -193,8 +192,8 @@ def create_or_update_async(resource_group_name, server_name, failover_group_name # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, server_name, failover_group_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, failover_group_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, failover_group_name, custom_headers).value! nil end @@ -211,9 +210,9 @@ def delete(resource_group_name, server_name, failover_group_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, server_name, failover_group_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, failover_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, server_name, failover_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -242,8 +241,8 @@ def delete_async(resource_group_name, server_name, failover_group_name, custom_h # # @return [FailoverGroup] operation results. # - def update(resource_group_name, server_name, failover_group_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, failover_group_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -261,9 +260,9 @@ def update(resource_group_name, server_name, failover_group_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -292,8 +291,8 @@ def update_async(resource_group_name, server_name, failover_group_name, paramete # # @return [Array] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers:custom_headers) + def list_by_server(resource_group_name, server_name, custom_headers = nil) + first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers) first_page.get_all_items end @@ -310,8 +309,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -327,7 +326,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -335,7 +334,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -394,8 +392,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [FailoverGroup] operation results. # - def failover(resource_group_name, server_name, failover_group_name, custom_headers:nil) - response = failover_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers).value! + def failover(resource_group_name, server_name, failover_group_name, custom_headers = nil) + response = failover_async(resource_group_name, server_name, failover_group_name, custom_headers).value! response.body unless response.nil? end @@ -412,9 +410,9 @@ def failover(resource_group_name, server_name, failover_group_name, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def failover_async(resource_group_name, server_name, failover_group_name, custom_headers:nil) + def failover_async(resource_group_name, server_name, failover_group_name, custom_headers = nil) # Send request - promise = begin_failover_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers) + promise = begin_failover_async(resource_group_name, server_name, failover_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -445,8 +443,8 @@ def failover_async(resource_group_name, server_name, failover_group_name, custom # # @return [FailoverGroup] operation results. # - def force_failover_allow_data_loss(resource_group_name, server_name, failover_group_name, custom_headers:nil) - response = force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers).value! + def force_failover_allow_data_loss(resource_group_name, server_name, failover_group_name, custom_headers = nil) + response = force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers).value! response.body unless response.nil? end @@ -463,9 +461,9 @@ def force_failover_allow_data_loss(resource_group_name, server_name, failover_gr # @return [Concurrent::Promise] promise which provides async access to http # response. # - def force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers:nil) + def force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers = nil) # Send request - promise = begin_force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers) + promise = begin_force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -496,8 +494,8 @@ def force_failover_allow_data_loss_async(resource_group_name, server_name, failo # # @return [FailoverGroup] operation results. # - def begin_create_or_update(resource_group_name, server_name, failover_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, failover_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -516,8 +514,8 @@ def begin_create_or_update(resource_group_name, server_name, failover_group_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, failover_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, failover_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers).value! end # @@ -535,7 +533,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, fail # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'failover_group_name is nil' if failover_group_name.nil? @@ -545,12 +543,13 @@ def begin_create_or_update_async(resource_group_name, server_name, failover_grou 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::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -620,8 +619,8 @@ def begin_create_or_update_async(resource_group_name, server_name, failover_grou # will be added to the HTTP request. # # - def begin_delete(resource_group_name, server_name, failover_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, server_name, failover_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, failover_group_name, custom_headers).value! nil end @@ -639,8 +638,8 @@ def begin_delete(resource_group_name, server_name, failover_group_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, server_name, failover_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, server_name, failover_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, failover_group_name, custom_headers).value! end # @@ -657,7 +656,7 @@ def begin_delete_with_http_info(resource_group_name, server_name, failover_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, server_name, failover_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, server_name, failover_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'failover_group_name is nil' if failover_group_name.nil? @@ -666,7 +665,6 @@ def begin_delete_async(resource_group_name, server_name, failover_group_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -716,8 +714,8 @@ def begin_delete_async(resource_group_name, server_name, failover_group_name, cu # # @return [FailoverGroup] operation results. # - def begin_update(resource_group_name, server_name, failover_group_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, server_name, failover_group_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -736,8 +734,8 @@ def begin_update(resource_group_name, server_name, failover_group_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, server_name, failover_group_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, server_name, failover_group_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers).value! end # @@ -755,7 +753,7 @@ def begin_update_with_http_info(resource_group_name, server_name, failover_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, server_name, failover_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'failover_group_name is nil' if failover_group_name.nil? @@ -765,12 +763,13 @@ def begin_update_async(resource_group_name, server_name, failover_group_name, pa 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::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -831,8 +830,8 @@ def begin_update_async(resource_group_name, server_name, failover_group_name, pa # # @return [FailoverGroup] operation results. # - def begin_failover(resource_group_name, server_name, failover_group_name, custom_headers:nil) - response = begin_failover_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers).value! + def begin_failover(resource_group_name, server_name, failover_group_name, custom_headers = nil) + response = begin_failover_async(resource_group_name, server_name, failover_group_name, custom_headers).value! response.body unless response.nil? end @@ -850,8 +849,8 @@ def begin_failover(resource_group_name, server_name, failover_group_name, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_failover_with_http_info(resource_group_name, server_name, failover_group_name, custom_headers:nil) - begin_failover_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers).value! + def begin_failover_with_http_info(resource_group_name, server_name, failover_group_name, custom_headers = nil) + begin_failover_async(resource_group_name, server_name, failover_group_name, custom_headers).value! end # @@ -868,7 +867,7 @@ def begin_failover_with_http_info(resource_group_name, server_name, failover_gro # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_failover_async(resource_group_name, server_name, failover_group_name, custom_headers:nil) + def begin_failover_async(resource_group_name, server_name, failover_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'failover_group_name is nil' if failover_group_name.nil? @@ -877,7 +876,6 @@ def begin_failover_async(resource_group_name, server_name, failover_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -937,8 +935,8 @@ def begin_failover_async(resource_group_name, server_name, failover_group_name, # # @return [FailoverGroup] operation results. # - def begin_force_failover_allow_data_loss(resource_group_name, server_name, failover_group_name, custom_headers:nil) - response = begin_force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers).value! + def begin_force_failover_allow_data_loss(resource_group_name, server_name, failover_group_name, custom_headers = nil) + response = begin_force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers).value! response.body unless response.nil? end @@ -957,8 +955,8 @@ def begin_force_failover_allow_data_loss(resource_group_name, server_name, failo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_force_failover_allow_data_loss_with_http_info(resource_group_name, server_name, failover_group_name, custom_headers:nil) - begin_force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers:custom_headers).value! + def begin_force_failover_allow_data_loss_with_http_info(resource_group_name, server_name, failover_group_name, custom_headers = nil) + begin_force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers).value! end # @@ -976,7 +974,7 @@ def begin_force_failover_allow_data_loss_with_http_info(resource_group_name, ser # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers:nil) + def begin_force_failover_allow_data_loss_async(resource_group_name, server_name, failover_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'failover_group_name is nil' if failover_group_name.nil? @@ -985,7 +983,6 @@ def begin_force_failover_allow_data_loss_async(resource_group_name, server_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1040,8 +1037,8 @@ def begin_force_failover_allow_data_loss_async(resource_group_name, server_name, # # @return [FailoverGroupListResult] operation results. # - def list_by_server_next(next_page_link, custom_headers:nil) - response = list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next(next_page_link, custom_headers = nil) + response = list_by_server_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1055,8 +1052,8 @@ def list_by_server_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) - list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next_with_http_info(next_page_link, custom_headers = nil) + list_by_server_next_async(next_page_link, custom_headers).value! end # @@ -1069,12 +1066,11 @@ def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_next_async(next_page_link, custom_headers:nil) + def list_by_server_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1132,12 +1128,12 @@ def list_by_server_next_async(next_page_link, custom_headers:nil) # @return [FailoverGroupListResult] which provide lazy access to pages of the # response. # - def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_as_lazy(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_server_next_async(next_page_link, custom_headers:custom_headers) + list_by_server_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/firewall_rules.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/firewall_rules.rb new file mode 100644 index 0000000000..1e594f820f --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/firewall_rules.rb @@ -0,0 +1,664 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class FirewallRules + include MsRestAzure + + # + # Creates and initializes a new instance of the FirewallRules class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a firewall rule. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param firewall_rule_name [String] The name of the firewall rule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [FirewallRule] operation results. + # + def get(resource_group_name, server_name, firewall_rule_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, firewall_rule_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a firewall rule. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param firewall_rule_name [String] The name of the firewall rule. + # @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, server_name, firewall_rule_name, custom_headers = nil) + get_async(resource_group_name, server_name, firewall_rule_name, custom_headers).value! + end + + # + # Gets a firewall rule. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param firewall_rule_name [String] The name of the firewall rule. + # @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, server_name, firewall_rule_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'firewall_rule_name is nil' if firewall_rule_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'firewallRuleName' => firewall_rule_name,'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::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule.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 + + # + # Creates or updates a firewall rule. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param firewall_rule_name [String] The name of the firewall rule. + # @param parameters [FirewallRule] The required parameters for creating or + # updating a firewall rule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [FirewallRule] operation results. + # + def create_or_update(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a firewall rule. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param firewall_rule_name [String] The name of the firewall rule. + # @param parameters [FirewallRule] The required parameters for creating or + # updating a firewall rule. + # @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 create_or_update_with_http_info(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers).value! + end + + # + # Creates or updates a firewall rule. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param firewall_rule_name [String] The name of the firewall rule. + # @param parameters [FirewallRule] The required parameters for creating or + # updating a firewall rule. + # @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 create_or_update_async(resource_group_name, server_name, firewall_rule_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'firewall_rule_name is nil' if firewall_rule_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'firewallRuleName' => firewall_rule_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule.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 + + # + # Deletes a firewall rule. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param firewall_rule_name [String] The name of the firewall rule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, server_name, firewall_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, firewall_rule_name, custom_headers).value! + nil + end + + # + # Deletes a firewall rule. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param firewall_rule_name [String] The name of the firewall rule. + # @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 delete_with_http_info(resource_group_name, server_name, firewall_rule_name, custom_headers = nil) + delete_async(resource_group_name, server_name, firewall_rule_name, custom_headers).value! + end + + # + # Deletes a firewall rule. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param firewall_rule_name [String] The name of the firewall rule. + # @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 delete_async(resource_group_name, server_name, firewall_rule_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'firewall_rule_name is nil' if firewall_rule_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'firewallRuleName' => firewall_rule_name,'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(: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 == 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 + + # + # Gets a list of firewall rules. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_server(resource_group_name, server_name, custom_headers = nil) + first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers) + first_page.get_all_items + end + + # + # Gets a list of firewall rules. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! + end + + # + # Gets a list of firewall rules. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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_server_async(resource_group_name, server_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'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::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult.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 + + # + # Replaces all firewall rules on the server. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [FirewallRuleList] + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [FirewallRule] operation results. + # + def replace(resource_group_name, server_name, parameters, custom_headers = nil) + response = replace_async(resource_group_name, server_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Replaces all firewall rules on the server. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [FirewallRuleList] + # @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 replace_with_http_info(resource_group_name, server_name, parameters, custom_headers = nil) + replace_async(resource_group_name, server_name, parameters, custom_headers).value! + end + + # + # Replaces all firewall rules on the server. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [FirewallRuleList] + # @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 replace_async(resource_group_name, server_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleList.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || status_code == 202 + 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::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule.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 + + # + # Gets a list of firewall rules. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [FirewallRuleListResult] operation results. + # + def list_by_server_next(next_page_link, custom_headers = nil) + response = list_by_server_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a list of firewall rules. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_server_next_with_http_info(next_page_link, custom_headers = nil) + list_by_server_next_async(next_page_link, custom_headers).value! + end + + # + # Gets a list of firewall rules. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_server_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult.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 + + # + # Gets a list of firewall rules. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [FirewallRuleListResult] which provide lazy access to pages of the + # response. + # + def list_by_server_as_lazy(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_server_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/managed_instances.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/managed_instances.rb new file mode 100644 index 0000000000..a509cafc55 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/managed_instances.rb @@ -0,0 +1,982 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class ManagedInstances + include MsRestAzure + + # + # Creates and initializes a new instance of the ManagedInstances class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a list of all managed instances in the subscription. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) + first_page.get_all_items + end + + # + # Gets a list of all managed instances in the 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_with_http_info(custom_headers = nil) + list_async(custom_headers).value! + end + + # + # Gets a list of all managed instances in the 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_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.Sql/managedInstances' + + 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::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceListResult.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 + + # + # Gets a list of managed instances in a resource group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # Gets a list of managed instances in a resource group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @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 + + # + # Gets a list of managed instances in a resource group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @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, 'resource_group_name is nil' if resource_group_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'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::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceListResult.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 + + # + # Gets a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedInstance] operation results. + # + def get(resource_group_name, managed_instance_name, custom_headers = nil) + response = get_async(resource_group_name, managed_instance_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @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, managed_instance_name, custom_headers = nil) + get_async(resource_group_name, managed_instance_name, custom_headers).value! + end + + # + # Gets a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @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, managed_instance_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'managed_instance_name is nil' if managed_instance_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'managedInstanceName' => managed_instance_name,'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::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance.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 + + # + # Creates or updates a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param parameters [ManagedInstance] The requested managed instance resource + # state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedInstance] operation results. + # + def create_or_update(resource_group_name, managed_instance_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, managed_instance_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param parameters [ManagedInstance] The requested managed instance resource + # state. + # @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, managed_instance_name, parameters, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, managed_instance_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance.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 + + # + # Deletes a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, managed_instance_name, custom_headers = nil) + response = delete_async(resource_group_name, managed_instance_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @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, managed_instance_name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, managed_instance_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 + + # + # Updates a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param parameters [ManagedInstanceUpdate] The requested managed instance + # resource state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedInstance] operation results. + # + def update(resource_group_name, managed_instance_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, managed_instance_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param parameters [ManagedInstanceUpdate] The requested managed instance + # resource state. + # @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, managed_instance_name, parameters, custom_headers = nil) + # Send request + promise = begin_update_async(resource_group_name, managed_instance_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance.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 + + # + # Creates or updates a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param parameters [ManagedInstance] The requested managed instance resource + # state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedInstance] operation results. + # + def begin_create_or_update(resource_group_name, managed_instance_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, managed_instance_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param parameters [ManagedInstance] The requested managed instance resource + # state. + # @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, managed_instance_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, managed_instance_name, parameters, custom_headers).value! + end + + # + # Creates or updates a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param parameters [ManagedInstance] The requested managed instance resource + # state. + # @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, managed_instance_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'managed_instance_name is nil' if managed_instance_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'managedInstanceName' => managed_instance_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || status_code == 202 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance.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 + + # + # Deletes a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @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, managed_instance_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, managed_instance_name, custom_headers).value! + nil + end + + # + # Deletes a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @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, managed_instance_name, custom_headers = nil) + begin_delete_async(resource_group_name, managed_instance_name, custom_headers).value! + end + + # + # Deletes a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @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, managed_instance_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'managed_instance_name is nil' if managed_instance_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'managedInstanceName' => managed_instance_name,'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(: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 + + # + # Updates a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param parameters [ManagedInstanceUpdate] The requested managed instance + # resource state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedInstance] operation results. + # + def begin_update(resource_group_name, managed_instance_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, managed_instance_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Updates a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param parameters [ManagedInstanceUpdate] The requested managed instance + # resource state. + # @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, managed_instance_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, managed_instance_name, parameters, custom_headers).value! + end + + # + # Updates a managed instance. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param parameters [ManagedInstanceUpdate] The requested managed instance + # resource state. + # @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, managed_instance_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'managed_instance_name is nil' if managed_instance_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceUpdate.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'managedInstanceName' => managed_instance_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || status_code == 202 + 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::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance.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 + + # + # Gets a list of all managed instances in the subscription. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedInstanceListResult] operation results. + # + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a list of all managed instances in the subscription. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! + end + + # + # Gets a list of all managed instances in the subscription. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceListResult.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 + + # + # Gets a list of managed instances in a resource group. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedInstanceListResult] operation results. + # + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a list of managed instances in a resource group. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! + end + + # + # Gets a list of managed instances in a resource group. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceListResult.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 + + # + # Gets a list of all managed instances in the subscription. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedInstanceListResult] which provide lazy access to pages of the + # response. + # + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_next_async(next_page_link, custom_headers) + end + page + end + end + + # + # Gets a list of managed instances in a resource group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedInstanceListResult] which provide lazy access to pages of the + # response. + # + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_resource_group_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/advisor.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/advisor.rb index bd665b5390..27727b195e 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/advisor.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/advisor.rb @@ -61,7 +61,6 @@ class Advisor < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Advisor', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'Advisor', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -78,7 +76,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -87,7 +84,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -96,7 +92,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -105,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -114,7 +108,6 @@ def self.mapper() } }, advisor_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.advisorStatus', @@ -124,7 +117,6 @@ def self.mapper() } }, auto_execute_status: { - client_side_validation: true, required: true, serialized_name: 'properties.autoExecuteStatus', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, auto_execute_status_inherited_from: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.autoExecuteStatusInheritedFrom', @@ -143,7 +134,6 @@ def self.mapper() } }, recommendations_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.recommendationsStatus', @@ -152,7 +142,6 @@ def self.mapper() } }, last_checked: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastChecked', @@ -161,14 +150,12 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RecommendedActionElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_disabled_reason.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_disabled_reason.rb new file mode 100644 index 0000000000..1aa0b4b000 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_disabled_reason.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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # Defines values for AutomaticTuningDisabledReason + # + module AutomaticTuningDisabledReason + Default = "Default" + Disabled = "Disabled" + AutoConfigured = "AutoConfigured" + InheritedFromServer = "InheritedFromServer" + QueryStoreOff = "QueryStoreOff" + QueryStoreReadOnly = "QueryStoreReadOnly" + NotSupported = "NotSupported" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_mode.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_mode.rb new file mode 100644 index 0000000000..c53aaaa793 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_mode.rb @@ -0,0 +1,18 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # Defines values for AutomaticTuningMode + # + module AutomaticTuningMode + Inherit = "Inherit" + Custom = "Custom" + Auto = "Auto" + Unspecified = "Unspecified" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb new file mode 100644 index 0000000000..84c322a287 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # Defines values for AutomaticTuningOptionModeActual + # + module AutomaticTuningOptionModeActual + Off = "Off" + On = "On" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb new file mode 100644 index 0000000000..06f6406b77 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb @@ -0,0 +1,17 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # Defines values for AutomaticTuningOptionModeDesired + # + module AutomaticTuningOptionModeDesired + Off = "Off" + On = "On" + Default = "Default" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_options.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_options.rb new file mode 100644 index 0000000000..936497e645 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_options.rb @@ -0,0 +1,86 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # Automatic tuning properties for individual advisors. + # + class AutomaticTuningOptions + + include MsRestAzure + + # @return [AutomaticTuningOptionModeDesired] Automatic tuning option + # desired state. Possible values include: 'Off', 'On', 'Default' + attr_accessor :desired_state + + # @return [AutomaticTuningOptionModeActual] Automatic tuning option + # actual state. Possible values include: 'Off', 'On' + attr_accessor :actual_state + + # @return [Integer] Reason code if desired and actual state are + # different. + attr_accessor :reason_code + + # @return [AutomaticTuningDisabledReason] Reason description if desired + # and actual state are different. Possible values include: 'Default', + # 'Disabled', 'AutoConfigured', 'InheritedFromServer', 'QueryStoreOff', + # 'QueryStoreReadOnly', 'NotSupported' + attr_accessor :reason_desc + + + # + # Mapper for AutomaticTuningOptions class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AutomaticTuningOptions', + type: { + name: 'Composite', + class_name: 'AutomaticTuningOptions', + model_properties: { + desired_state: { + required: false, + serialized_name: 'desiredState', + type: { + name: 'Enum', + module: 'AutomaticTuningOptionModeDesired' + } + }, + actual_state: { + required: false, + read_only: true, + serialized_name: 'actualState', + type: { + name: 'Enum', + module: 'AutomaticTuningOptionModeActual' + } + }, + reason_code: { + required: false, + read_only: true, + serialized_name: 'reasonCode', + type: { + name: 'Number' + } + }, + reason_desc: { + required: false, + read_only: true, + serialized_name: 'reasonDesc', + type: { + name: 'Enum', + module: 'AutomaticTuningDisabledReason' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_automatic_tuning.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_automatic_tuning.rb new file mode 100644 index 0000000000..6371b2a6b6 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_automatic_tuning.rb @@ -0,0 +1,102 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # Database-level Automatic Tuning. + # + class DatabaseAutomaticTuning < ProxyResource + + include MsRestAzure + + # @return [AutomaticTuningMode] Automatic tuning desired state. Possible + # values include: 'Inherit', 'Custom', 'Auto', 'Unspecified' + attr_accessor :desired_state + + # @return [AutomaticTuningMode] Automatic tuning actual state. Possible + # values include: 'Inherit', 'Custom', 'Auto', 'Unspecified' + attr_accessor :actual_state + + # @return [Hash{String => AutomaticTuningOptions}] Automatic tuning + # options definition. + attr_accessor :options + + + # + # Mapper for DatabaseAutomaticTuning class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DatabaseAutomaticTuning', + type: { + name: 'Composite', + class_name: 'DatabaseAutomaticTuning', + 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' + } + }, + desired_state: { + required: false, + serialized_name: 'properties.desiredState', + type: { + name: 'Enum', + module: 'AutomaticTuningMode' + } + }, + actual_state: { + required: false, + read_only: true, + serialized_name: 'properties.actualState', + type: { + name: 'Enum', + module: 'AutomaticTuningMode' + } + }, + options: { + required: false, + serialized_name: 'properties.options', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'AutomaticTuningOptionsElementType', + type: { + name: 'Composite', + class_name: 'AutomaticTuningOptions' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb index e30b811d19..cd577ccd58 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb @@ -33,15 +33,85 @@ class DatabaseBlobAuditingPolicy < ProxyResource # logs. attr_accessor :retention_days - # @return [Array] Specifies the Actions and Actions-Groups to + # @return [Array] Specifies the Actions-Groups and Actions to # audit. + # + # The recommended set of action groups to use is the following + # combination - this will audit all the queries and stored procedures + # executed against the database, as well as successful and failed logins: + # + # BATCH_COMPLETED_GROUP, + # SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, + # FAILED_DATABASE_AUTHENTICATION_GROUP. + # + # This above combination is also the set that is configured by default + # when enabling auditing from the Azure portal. + # + # The supported action groups to audit are (note: choose only specific + # groups that cover your auditing needs. Using unnecessary groups could + # lead to very large quantities of audit records): + # + # APPLICATION_ROLE_CHANGE_PASSWORD_GROUP + # BACKUP_RESTORE_GROUP + # DATABASE_LOGOUT_GROUP + # DATABASE_OBJECT_CHANGE_GROUP + # DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP + # DATABASE_OBJECT_PERMISSION_CHANGE_GROUP + # DATABASE_OPERATION_GROUP + # DATABASE_PERMISSION_CHANGE_GROUP + # DATABASE_PRINCIPAL_CHANGE_GROUP + # DATABASE_PRINCIPAL_IMPERSONATION_GROUP + # DATABASE_ROLE_MEMBER_CHANGE_GROUP + # FAILED_DATABASE_AUTHENTICATION_GROUP + # SCHEMA_OBJECT_ACCESS_GROUP + # SCHEMA_OBJECT_CHANGE_GROUP + # SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP + # SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP + # SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP + # USER_CHANGE_PASSWORD_GROUP + # BATCH_STARTED_GROUP + # BATCH_COMPLETED_GROUP + # + # These are groups that cover all sql statements and stored procedures + # executed against the database, and should not be used in combination + # with other groups as this will result in duplicate audit logs. + # + # For more information, see [Database-Level Audit Action + # Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). + # + # For Database auditing policy, specific Actions can also be specified + # (note that Actions cannot be specified for Server auditing policy). The + # supported actions to audit are: + # SELECT + # UPDATE + # INSERT + # DELETE + # EXECUTE + # RECEIVE + # REFERENCES + # + # The general form for defining an action to be audited is: + # ON BY + # + # Note that in the above format can refer to an object like a + # table, view, or stored procedure, or an entire database or schema. For + # the latter cases, the forms DATABASE:: and + # SCHEMA:: are used, respectively. + # + # For example: + # SELECT on dbo.myTable by public + # SELECT on DATABASE::myDatabase by public + # SELECT on SCHEMA::mySchema by public + # + # For more information, see [Database-Level Audit + # Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) attr_accessor :audit_actions_and_groups # @return Specifies the blob storage subscription Id. attr_accessor :storage_account_subscription_id # @return [Boolean] Specifies whether storageAccountAccessKey value is - # the storage’s secondary key. + # the storage's secondary key. attr_accessor :is_storage_secondary_key_in_use @@ -51,7 +121,6 @@ class DatabaseBlobAuditingPolicy < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseBlobAuditingPolicy', type: { @@ -59,7 +128,6 @@ def self.mapper() class_name: 'DatabaseBlobAuditingPolicy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +144,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +152,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -95,7 +160,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: true, serialized_name: 'properties.state', type: { @@ -104,7 +168,6 @@ def self.mapper() } }, storage_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.storageEndpoint', type: { @@ -112,7 +175,6 @@ def self.mapper() } }, storage_account_access_key: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountAccessKey', type: { @@ -120,7 +182,6 @@ def self.mapper() } }, retention_days: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionDays', type: { @@ -128,13 +189,11 @@ def self.mapper() } }, audit_actions_and_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.auditActionsAndGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -144,7 +203,6 @@ def self.mapper() } }, storage_account_subscription_id: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountSubscriptionId', type: { @@ -152,7 +210,6 @@ def self.mapper() } }, is_storage_secondary_key_in_use: { - client_side_validation: true, required: false, serialized_name: 'properties.isStorageSecondaryKeyInUse', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector.rb index 72b8688afc..10185615eb 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector.rb @@ -43,7 +43,6 @@ class EncryptionProtector < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionProtector', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'EncryptionProtector', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +58,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +66,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +74,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, serialized_name: 'kind', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -95,7 +89,6 @@ def self.mapper() } }, subregion: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subregion', @@ -104,7 +97,6 @@ def self.mapper() } }, server_key_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serverKeyName', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, server_key_type: { - client_side_validation: true, required: true, serialized_name: 'properties.serverKeyType', type: { @@ -120,7 +111,6 @@ def self.mapper() } }, uri: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.uri', @@ -129,7 +119,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.thumbprint', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector_list_result.rb index 7553083967..e71e771216 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/encryption_protector_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionProtectorListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'EncryptionProtectorListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EncryptionProtectorElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group.rb index 2acb4797c2..eefddaa916 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group.rb @@ -48,7 +48,6 @@ class FailoverGroup < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FailoverGroup', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'FailoverGroup', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -65,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -74,7 +71,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -83,7 +79,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -92,13 +87,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: { @@ -108,7 +101,6 @@ def self.mapper() } }, read_write_endpoint: { - client_side_validation: true, required: true, serialized_name: 'properties.readWriteEndpoint', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, read_only_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.readOnlyEndpoint', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, replication_role: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.replicationRole', @@ -135,7 +125,6 @@ def self.mapper() } }, replication_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.replicationState', @@ -144,13 +133,11 @@ def self.mapper() } }, partner_servers: { - client_side_validation: true, required: true, serialized_name: 'properties.partnerServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PartnerInfoElementType', type: { @@ -161,13 +148,11 @@ def self.mapper() } }, databases: { - client_side_validation: true, required: false, serialized_name: 'properties.databases', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_list_result.rb index 063ac6edf0..dc51a92490 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FailoverGroupListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'FailoverGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FailoverGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_only_endpoint.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_only_endpoint.rb index 4d06517e70..0768b5750b 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_only_endpoint.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_only_endpoint.rb @@ -24,7 +24,6 @@ class FailoverGroupReadOnlyEndpoint # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FailoverGroupReadOnlyEndpoint', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'FailoverGroupReadOnlyEndpoint', model_properties: { failover_policy: { - client_side_validation: true, required: false, serialized_name: 'failoverPolicy', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_write_endpoint.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_write_endpoint.rb index d542f7f6a5..b572e252cd 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_write_endpoint.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_write_endpoint.rb @@ -30,7 +30,6 @@ class FailoverGroupReadWriteEndpoint # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FailoverGroupReadWriteEndpoint', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'FailoverGroupReadWriteEndpoint', model_properties: { failover_policy: { - client_side_validation: true, required: true, serialized_name: 'failoverPolicy', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, failover_with_data_loss_grace_period_minutes: { - client_side_validation: true, required: false, serialized_name: 'failoverWithDataLossGracePeriodMinutes', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_update.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_update.rb index 8f78db4a5e..d0f03a5173 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_update.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_update.rb @@ -33,7 +33,6 @@ class FailoverGroupUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FailoverGroupUpdate', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'FailoverGroupUpdate', model_properties: { read_write_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.readWriteEndpoint', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, read_only_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.readOnlyEndpoint', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, databases: { - client_side_validation: true, required: false, serialized_name: 'properties.databases', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -75,13 +70,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_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule.rb new file mode 100644 index 0000000000..0eee4cbb81 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule.rb @@ -0,0 +1,80 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # A server firewall rule. + # + class FirewallRule < ProxyResourceWithWritableName + + include MsRestAzure + + # @return [String] The start IP address of the firewall rule. Must be + # IPv4 format. Use value '0.0.0.0' for all Azure-internal IP addresses. + attr_accessor :start_ip_address + + # @return [String] The end IP address of the firewall rule. Must be IPv4 + # format. Must be greater than or equal to startIpAddress. Use value + # '0.0.0.0' for all Azure-internal IP addresses. + attr_accessor :end_ip_address + + + # + # Mapper for FirewallRule class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'FirewallRule', + type: { + name: 'Composite', + class_name: 'FirewallRule', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + start_ip_address: { + required: false, + serialized_name: 'properties.startIpAddress', + type: { + name: 'String' + } + }, + end_ip_address: { + required: false, + serialized_name: 'properties.endIpAddress', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list.rb new file mode 100644 index 0000000000..bfbc216ba4 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list.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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # A list of server firewall rules. + # + class FirewallRuleList + + include MsRestAzure + + # @return [Array] + attr_accessor :values + + + # + # Mapper for FirewallRuleList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'FirewallRuleList', + type: { + name: 'Composite', + class_name: 'FirewallRuleList', + model_properties: { + values: { + required: false, + serialized_name: 'values', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'FirewallRuleElementType', + type: { + name: 'Composite', + class_name: 'FirewallRule' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb new file mode 100644 index 0000000000..609acf8b4b --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb @@ -0,0 +1,96 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # The response to a list firewall rules request + # + class FirewallRuleListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [FirewallRuleListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for FirewallRuleListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'FirewallRuleListResult', + type: { + name: 'Composite', + class_name: 'FirewallRuleListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'FirewallRuleElementType', + type: { + name: 'Composite', + class_name: 'FirewallRule' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb new file mode 100644 index 0000000000..ca4610a904 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb @@ -0,0 +1,189 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # An Azure SQL managed instance. + # + class ManagedInstance < TrackedResource + + include MsRestAzure + + # @return [ResourceIdentity] The Azure Active Directory identity of the + # managed instance. + attr_accessor :identity + + # @return [Sku] Managed instance sku + attr_accessor :sku + + # @return [String] The fully qualified domain name of the managed + # instance. + attr_accessor :fully_qualified_domain_name + + # @return [String] Administrator username for the managed instance. Can + # only be specified when the managed instance is being created (and is + # required for creation). + attr_accessor :administrator_login + + # @return [String] The administrator login password (required for managed + # instance creation). + attr_accessor :administrator_login_password + + # @return [String] Subnet resource ID for the managed instance. + attr_accessor :subnet_id + + # @return [String] The state of the managed instance. + attr_accessor :state + + # @return [String] The license type. Possible values are + # 'LicenseIncluded' and 'BasePrice'. + attr_accessor :license_type + + # @return [Integer] The number of VCores. + attr_accessor :v_cores + + # @return [Integer] The maximum storage size in GB. + attr_accessor :storage_size_in_gb + + + # + # Mapper for ManagedInstance class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ManagedInstance', + type: { + name: 'Composite', + class_name: 'ManagedInstance', + 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' + } + } + } + }, + identity: { + required: false, + serialized_name: 'identity', + type: { + name: 'Composite', + class_name: 'ResourceIdentity' + } + }, + sku: { + required: false, + serialized_name: 'sku', + type: { + name: 'Composite', + class_name: 'Sku' + } + }, + fully_qualified_domain_name: { + required: false, + read_only: true, + serialized_name: 'properties.fullyQualifiedDomainName', + type: { + name: 'String' + } + }, + administrator_login: { + required: false, + serialized_name: 'properties.administratorLogin', + type: { + name: 'String' + } + }, + administrator_login_password: { + required: false, + serialized_name: 'properties.administratorLoginPassword', + type: { + name: 'String' + } + }, + subnet_id: { + required: false, + serialized_name: 'properties.subnetId', + type: { + name: 'String' + } + }, + state: { + required: false, + read_only: true, + serialized_name: 'properties.state', + type: { + name: 'String' + } + }, + license_type: { + required: false, + serialized_name: 'properties.licenseType', + type: { + name: 'String' + } + }, + v_cores: { + required: false, + serialized_name: 'properties.vCores', + type: { + name: 'Number' + } + }, + storage_size_in_gb: { + required: false, + serialized_name: 'properties.storageSizeInGB', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_list_result.rb new file mode 100644 index 0000000000..36b6e4dde5 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_list_result.rb @@ -0,0 +1,96 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # A list of managed instances. + # + class ManagedInstanceListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [ManagedInstanceListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for ManagedInstanceListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ManagedInstanceListResult', + type: { + name: 'Composite', + class_name: 'ManagedInstanceListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ManagedInstanceElementType', + type: { + name: 'Composite', + class_name: 'ManagedInstance' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_update.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_update.rb new file mode 100644 index 0000000000..7ce6dcc015 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_update.rb @@ -0,0 +1,149 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # An update request for an Azure SQL Database managed instance. + # + class ManagedInstanceUpdate + + include MsRestAzure + + # @return [Sku] Managed instance sku + attr_accessor :sku + + # @return [String] The fully qualified domain name of the managed + # instance. + attr_accessor :fully_qualified_domain_name + + # @return [String] Administrator username for the managed instance. Can + # only be specified when the managed instance is being created (and is + # required for creation). + attr_accessor :administrator_login + + # @return [String] The administrator login password (required for managed + # instance creation). + attr_accessor :administrator_login_password + + # @return [String] Subnet resource ID for the managed instance. + attr_accessor :subnet_id + + # @return [String] The state of the managed instance. + attr_accessor :state + + # @return [String] The license type. Possible values are + # 'LicenseIncluded' and 'BasePrice'. + attr_accessor :license_type + + # @return [Integer] The number of VCores. + attr_accessor :v_cores + + # @return [Integer] The maximum storage size in GB. + attr_accessor :storage_size_in_gb + + # @return [Hash{String => String}] Resource tags. + attr_accessor :tags + + + # + # Mapper for ManagedInstanceUpdate class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ManagedInstanceUpdate', + type: { + name: 'Composite', + class_name: 'ManagedInstanceUpdate', + model_properties: { + sku: { + required: false, + serialized_name: 'sku', + type: { + name: 'Composite', + class_name: 'Sku' + } + }, + fully_qualified_domain_name: { + required: false, + read_only: true, + serialized_name: 'properties.fullyQualifiedDomainName', + type: { + name: 'String' + } + }, + administrator_login: { + required: false, + serialized_name: 'properties.administratorLogin', + type: { + name: 'String' + } + }, + administrator_login_password: { + required: false, + serialized_name: 'properties.administratorLoginPassword', + type: { + name: 'String' + } + }, + subnet_id: { + required: false, + serialized_name: 'properties.subnetId', + type: { + name: 'String' + } + }, + state: { + required: false, + read_only: true, + serialized_name: 'properties.state', + type: { + name: 'String' + } + }, + license_type: { + required: false, + serialized_name: 'properties.licenseType', + type: { + name: 'String' + } + }, + v_cores: { + required: false, + serialized_name: 'properties.vCores', + type: { + name: 'Number' + } + }, + storage_size_in_gb: { + required: false, + serialized_name: 'properties.storageSizeInGB', + type: { + name: 'Number' + } + }, + 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_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation.rb index d028b90144..c0f6fde3cc 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation.rb @@ -34,7 +34,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'display', @@ -61,7 +58,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -70,14 +66,12 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation_display.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation_display.rb index 1ba4e6d073..99febef724 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation_display.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation_display.rb @@ -33,7 +33,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationDisplay', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'provider', @@ -50,7 +48,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resource', @@ -59,7 +56,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'operation', @@ -68,7 +64,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'description', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation_list_result.rb index 924f7fdaf9..bb793e3f3e 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/operation_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/partner_info.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/partner_info.rb index 0dd3b3452b..bd4c0ec78a 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/partner_info.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/partner_info.rb @@ -29,7 +29,6 @@ class PartnerInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PartnerInfo', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'PartnerInfo', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -54,7 +51,6 @@ def self.mapper() } }, replication_role: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'replicationRole', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb index 1868f73915..2594184e80 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb @@ -19,7 +19,6 @@ class ProxyResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ProxyResource', type: { @@ -27,7 +26,6 @@ def self.mapper() class_name: 'ProxyResource', 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_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource_with_writable_name.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource_with_writable_name.rb new file mode 100644 index 0000000000..3240445ade --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource_with_writable_name.rb @@ -0,0 +1,57 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # ARM proxy resource. + # + class ProxyResourceWithWritableName < ResourceWithWritableName + + include MsRestAzure + + + # + # Mapper for ProxyResourceWithWritableName class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ProxyResourceWithWritableName', + type: { + name: 'Composite', + class_name: 'ProxyResourceWithWritableName', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + 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_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action.rb index f80037877c..cc1ec0d206 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action.rb @@ -123,7 +123,6 @@ class RecommendedAction < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecommendedAction', type: { @@ -131,7 +130,6 @@ def self.mapper() class_name: 'RecommendedAction', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -140,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -149,7 +146,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -158,7 +154,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -167,7 +162,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -176,7 +170,6 @@ def self.mapper() } }, recommendation_reason: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.recommendationReason', @@ -185,7 +178,6 @@ def self.mapper() } }, valid_since: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.validSince', @@ -194,7 +186,6 @@ def self.mapper() } }, last_refresh: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastRefresh', @@ -203,7 +194,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: true, serialized_name: 'properties.state', type: { @@ -212,7 +202,6 @@ def self.mapper() } }, is_executable_action: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isExecutableAction', @@ -221,7 +210,6 @@ def self.mapper() } }, is_revertable_action: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isRevertableAction', @@ -230,7 +218,6 @@ def self.mapper() } }, is_archived_action: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isArchivedAction', @@ -239,7 +226,6 @@ def self.mapper() } }, execute_action_start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.executeActionStartTime', @@ -248,7 +234,6 @@ def self.mapper() } }, execute_action_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.executeActionDuration', @@ -257,7 +242,6 @@ def self.mapper() } }, revert_action_start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.revertActionStartTime', @@ -266,7 +250,6 @@ def self.mapper() } }, revert_action_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.revertActionDuration', @@ -275,7 +258,6 @@ def self.mapper() } }, execute_action_initiated_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.executeActionInitiatedBy', @@ -285,7 +267,6 @@ def self.mapper() } }, execute_action_initiated_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.executeActionInitiatedTime', @@ -294,7 +275,6 @@ def self.mapper() } }, revert_action_initiated_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.revertActionInitiatedBy', @@ -304,7 +284,6 @@ def self.mapper() } }, revert_action_initiated_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.revertActionInitiatedTime', @@ -313,7 +292,6 @@ def self.mapper() } }, score: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.score', @@ -322,7 +300,6 @@ def self.mapper() } }, implementation_details: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.implementationDetails', @@ -332,7 +309,6 @@ def self.mapper() } }, error_details: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorDetails', @@ -342,14 +318,12 @@ def self.mapper() } }, estimated_impact: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.estimatedImpact', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RecommendedActionImpactRecordElementType', type: { @@ -360,14 +334,12 @@ def self.mapper() } }, observed_impact: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.observedImpact', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RecommendedActionImpactRecordElementType', type: { @@ -378,14 +350,12 @@ def self.mapper() } }, time_series: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeSeries', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RecommendedActionMetricInfoElementType', type: { @@ -396,14 +366,12 @@ def self.mapper() } }, linked_objects: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.linkedObjects', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -413,14 +381,12 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.details', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_error_info.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_error_info.rb index bc4b39cf7d..5b6a2335eb 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_error_info.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_error_info.rb @@ -29,7 +29,6 @@ class RecommendedActionErrorInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecommendedActionErrorInfo', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'RecommendedActionErrorInfo', model_properties: { error_code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'errorCode', @@ -46,7 +44,6 @@ def self.mapper() } }, is_retryable: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'isRetryable', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_impact_record.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_impact_record.rb index 8278a4e169..b8393f89c4 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_impact_record.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_impact_record.rb @@ -40,7 +40,6 @@ class RecommendedActionImpactRecord # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecommendedActionImpactRecord', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'RecommendedActionImpactRecord', model_properties: { dimension_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'dimensionName', @@ -57,7 +55,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -66,7 +63,6 @@ def self.mapper() } }, absolute_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'absoluteValue', @@ -75,7 +71,6 @@ def self.mapper() } }, change_value_absolute: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'changeValueAbsolute', @@ -84,7 +79,6 @@ def self.mapper() } }, change_value_relative: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'changeValueRelative', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_implementation_info.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_implementation_info.rb index 6509a996f3..89920382ac 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_implementation_info.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_implementation_info.rb @@ -29,7 +29,6 @@ class RecommendedActionImplementationInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecommendedActionImplementationInfo', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'RecommendedActionImplementationInfo', model_properties: { method: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'method', @@ -47,7 +45,6 @@ def self.mapper() } }, script: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'script', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_metric_info.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_metric_info.rb index d5f2242eb4..68747908ee 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_metric_info.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_metric_info.rb @@ -40,7 +40,6 @@ class RecommendedActionMetricInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecommendedActionMetricInfo', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'RecommendedActionMetricInfo', model_properties: { metric_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'metricName', @@ -57,7 +55,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -66,7 +63,6 @@ def self.mapper() } }, time_grain: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'timeGrain', @@ -75,7 +71,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -84,7 +79,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_state_info.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_state_info.rb index 98eb56bae3..9e6609c8bb 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_state_info.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_state_info.rb @@ -49,7 +49,6 @@ class RecommendedActionStateInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecommendedActionStateInfo', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'RecommendedActionStateInfo', model_properties: { current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, action_initiated_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'actionInitiatedBy', @@ -75,7 +72,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource.rb index 9998dcc33e..ee6f19db95 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource.rb @@ -28,7 +28,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Resource', 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', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource_identity.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource_identity.rb index 0de045b20f..c1b621aaea 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource_identity.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource_identity.rb @@ -30,7 +30,6 @@ class ResourceIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceIdentity', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ResourceIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -47,7 +45,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource_with_writable_name.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource_with_writable_name.rb new file mode 100644 index 0000000000..8c91a06ad0 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource_with_writable_name.rb @@ -0,0 +1,66 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # ARM resource. + # + class ResourceWithWritableName + + include MsRestAzure + + # @return [String] Resource ID. + attr_accessor :id + + # @return [String] Resource name. + attr_accessor :name + + # @return [String] Resource type. + attr_accessor :type + + + # + # Mapper for ResourceWithWritableName class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResourceWithWritableName', + type: { + name: 'Composite', + class_name: 'ResourceWithWritableName', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + 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_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server.rb index 0a8de91f5c..997154cbae 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server.rb @@ -44,7 +44,6 @@ class Server < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Server', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'Server', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +59,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -70,7 +67,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -79,7 +75,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -87,13 +82,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: { @@ -103,7 +96,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -121,7 +112,6 @@ def self.mapper() } }, administrator_login: { - client_side_validation: true, required: false, serialized_name: 'properties.administratorLogin', type: { @@ -129,7 +119,6 @@ def self.mapper() } }, administrator_login_password: { - client_side_validation: true, required: false, serialized_name: 'properties.administratorLoginPassword', type: { @@ -137,7 +126,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'properties.version', type: { @@ -145,7 +133,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -154,7 +141,6 @@ def self.mapper() } }, fully_qualified_domain_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.fullyQualifiedDomainName', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_key.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_key.rb index 9424babbd7..fa37bc05df 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_key.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_key.rb @@ -43,7 +43,6 @@ class ServerKey < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerKey', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ServerKey', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +58,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +66,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +74,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, serialized_name: 'kind', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -95,7 +89,6 @@ def self.mapper() } }, subregion: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subregion', @@ -104,7 +97,6 @@ def self.mapper() } }, server_key_type: { - client_side_validation: true, required: true, serialized_name: 'properties.serverKeyType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, uri: { - client_side_validation: true, required: false, serialized_name: 'properties.uri', type: { @@ -120,7 +111,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -128,7 +118,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, serialized_name: 'properties.creationDate', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_key_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_key_list_result.rb index 0edd01c926..ea140f1f71 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_key_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_key_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerKeyListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'ServerKeyListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServerKeyElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_list_result.rb index cf91dd87ef..f4eac34dae 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'ServerListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_update.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_update.rb index 34b0950c63..09e3fe402e 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_update.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/server_update.rb @@ -39,7 +39,6 @@ class ServerUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerUpdate', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ServerUpdate', model_properties: { administrator_login: { - client_side_validation: true, required: false, serialized_name: 'properties.administratorLogin', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, administrator_login_password: { - client_side_validation: true, required: false, serialized_name: 'properties.administratorLoginPassword', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'properties.version', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -80,7 +75,6 @@ def self.mapper() } }, fully_qualified_domain_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.fullyQualifiedDomainName', @@ -89,13 +83,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_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sku.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sku.rb new file mode 100644 index 0000000000..e6fd170bac --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sku.rb @@ -0,0 +1,91 @@ +# 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::SQL::Mgmt::V2015_05_01_preview + module Models + # + # The resource model definition representing SKU + # + class Sku + + include MsRestAzure + + # @return [String] The name of the SKU. Ex - P3. It is typically a + # letter+number code + attr_accessor :name + + # @return [String] This field is required to be implemented by the + # Resource Provider if the service has more than one tier, but is not + # required on a PUT. + attr_accessor :tier + + # @return [String] The SKU size. When the name field is the combination + # of tier and some other value, this would be the standalone code. + attr_accessor :size + + # @return [String] If the service has different generations of hardware, + # for the same SKU, then that can be captured here. + attr_accessor :family + + # @return [Integer] If the SKU supports scale out/in then the capacity + # integer should be included. If scale out/in is not possible for the + # resource this may be omitted. + attr_accessor :capacity + + + # + # Mapper for Sku class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Sku', + type: { + name: 'Composite', + class_name: 'Sku', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + tier: { + required: false, + serialized_name: 'tier', + type: { + name: 'String' + } + }, + size: { + required: false, + serialized_name: 'size', + type: { + name: 'String' + } + }, + family: { + required: false, + serialized_name: 'family', + type: { + name: 'String' + } + }, + capacity: { + required: false, + serialized_name: 'capacity', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage.rb index 34630857f2..7a2b791a34 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage.rb @@ -31,7 +31,6 @@ class SubscriptionUsage < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubscriptionUsage', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'SubscriptionUsage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -66,7 +62,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.displayName', @@ -75,7 +70,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentValue', @@ -84,7 +78,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.limit', @@ -93,7 +86,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.unit', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage_list_result.rb index 6ad643d3d0..5f02318266 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubscriptionUsageListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'SubscriptionUsageListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubscriptionUsageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent.rb index 713b9f7747..ed6bf3c7be 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent.rb @@ -42,7 +42,6 @@ class SyncAgent < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncAgent', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'SyncAgent', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -59,7 +57,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -68,7 +65,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -77,7 +73,6 @@ def self.mapper() } }, sync_agent_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.name', @@ -86,7 +81,6 @@ def self.mapper() } }, sync_database_id: { - client_side_validation: true, required: false, serialized_name: 'properties.syncDatabaseId', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, last_alive_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastAliveTime', @@ -103,7 +96,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -112,7 +104,6 @@ def self.mapper() } }, is_up_to_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isUpToDate', @@ -121,7 +112,6 @@ def self.mapper() } }, expiry_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.expiryTime', @@ -130,7 +120,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.version', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_key_properties.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_key_properties.rb index 77bebd68b9..0bbb58bcc4 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_key_properties.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_key_properties.rb @@ -22,7 +22,6 @@ class SyncAgentKeyProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncAgentKeyProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SyncAgentKeyProperties', model_properties: { sync_agent_key: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'syncAgentKey', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_linked_database.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_linked_database.rb index ebf42a31d6..f5d12283eb 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_linked_database.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_linked_database.rb @@ -38,7 +38,6 @@ class SyncAgentLinkedDatabase < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncAgentLinkedDatabase', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'SyncAgentLinkedDatabase', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -55,7 +53,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,7 +69,6 @@ def self.mapper() } }, database_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseType', @@ -82,7 +77,6 @@ def self.mapper() } }, database_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseId', @@ -91,7 +85,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.description', @@ -100,7 +93,6 @@ def self.mapper() } }, server_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serverName', @@ -109,7 +101,6 @@ def self.mapper() } }, database_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseName', @@ -118,7 +109,6 @@ def self.mapper() } }, user_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.userName', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_linked_database_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_linked_database_list_result.rb index 853f0e8fe6..862cb3bc9d 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_linked_database_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_linked_database_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncAgentLinkedDatabaseListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'SyncAgentLinkedDatabaseListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SyncAgentLinkedDatabaseElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_list_result.rb index 1f15b7c461..628f8ca3b7 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_agent_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncAgentListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'SyncAgentListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SyncAgentElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_database_id_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_database_id_list_result.rb index 69131812f3..37f1ca7232 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_database_id_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_database_id_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncDatabaseIdListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'SyncDatabaseIdListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SyncDatabaseIdPropertiesElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_database_id_properties.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_database_id_properties.rb index b824d4a2db..bcf48ad6d2 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_database_id_properties.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_database_id_properties.rb @@ -22,7 +22,6 @@ class SyncDatabaseIdProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncDatabaseIdProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SyncDatabaseIdProperties', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties.rb index 39170ecd81..87d1b47968 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties.rb @@ -26,7 +26,6 @@ class SyncFullSchemaProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncFullSchemaProperties', type: { @@ -34,14 +33,12 @@ def self.mapper() class_name: 'SyncFullSchemaProperties', model_properties: { tables: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SyncFullSchemaTableElementType', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, last_update_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastUpdateTime', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties_list_result.rb index 39a58795b4..b50f886a4f 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_properties_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncFullSchemaPropertiesListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'SyncFullSchemaPropertiesListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SyncFullSchemaPropertiesElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table.rb index c88075dfda..68e3cf96c5 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table.rb @@ -35,7 +35,6 @@ class SyncFullSchemaTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncFullSchemaTable', type: { @@ -43,14 +42,12 @@ def self.mapper() class_name: 'SyncFullSchemaTable', model_properties: { columns: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'columns', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SyncFullSchemaTableColumnElementType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, error_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'errorId', @@ -70,7 +66,6 @@ def self.mapper() } }, has_error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hasError', @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +82,6 @@ def self.mapper() } }, quoted_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'quotedName', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb index a072d422e1..a90575f0b7 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb @@ -40,7 +40,6 @@ class SyncFullSchemaTableColumn # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncFullSchemaTableColumn', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'SyncFullSchemaTableColumn', model_properties: { data_size: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'dataSize', @@ -57,7 +55,6 @@ def self.mapper() } }, data_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'dataType', @@ -66,7 +63,6 @@ def self.mapper() } }, error_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'errorId', @@ -75,7 +71,6 @@ def self.mapper() } }, has_error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hasError', @@ -84,7 +79,6 @@ def self.mapper() } }, is_primary_key: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'isPrimaryKey', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -102,7 +95,6 @@ def self.mapper() } }, quoted_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'quotedName', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb index cb10ed6446..34b5cf31c8 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb @@ -46,7 +46,6 @@ class SyncGroup < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'SyncGroup', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +61,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -72,7 +69,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -81,7 +77,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -89,7 +84,6 @@ def self.mapper() } }, last_sync_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastSyncTime', @@ -98,7 +92,6 @@ def self.mapper() } }, conflict_resolution_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.conflictResolutionPolicy', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, sync_database_id: { - client_side_validation: true, required: false, serialized_name: 'properties.syncDatabaseId', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, hub_database_user_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hubDatabaseUserName', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, hub_database_password: { - client_side_validation: true, required: false, serialized_name: 'properties.hubDatabasePassword', type: { @@ -130,7 +120,6 @@ def self.mapper() } }, sync_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.syncState', @@ -139,7 +128,6 @@ def self.mapper() } }, schema: { - client_side_validation: true, required: false, serialized_name: 'properties.schema', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_list_result.rb index d73413aa4d..96741de6d6 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncGroupListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'SyncGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SyncGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_list_result.rb index c1e67336b8..2eb410870d 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncGroupLogListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'SyncGroupLogListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SyncGroupLogPropertiesElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_properties.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_properties.rb index df689b0dee..ff52b2bab1 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_properties.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_log_properties.rb @@ -38,7 +38,6 @@ class SyncGroupLogProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncGroupLogProperties', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'SyncGroupLogProperties', model_properties: { timestamp: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'timestamp', @@ -55,7 +53,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -64,7 +61,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'source', @@ -73,7 +69,6 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'details', @@ -82,7 +77,6 @@ def self.mapper() } }, tracing_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tracingId', @@ -91,7 +85,6 @@ def self.mapper() } }, operation_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'operationStatus', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema.rb index 3caa180f5f..0fe019a698 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema.rb @@ -26,7 +26,6 @@ class SyncGroupSchema # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncGroupSchema', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'SyncGroupSchema', model_properties: { tables: { - client_side_validation: true, required: false, serialized_name: 'tables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SyncGroupSchemaTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, master_sync_member_name: { - client_side_validation: true, required: false, serialized_name: 'masterSyncMemberName', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table.rb index bc70c867a6..18b44d41f0 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table.rb @@ -26,7 +26,6 @@ class SyncGroupSchemaTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncGroupSchemaTable', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'SyncGroupSchemaTable', model_properties: { columns: { - client_side_validation: true, required: false, serialized_name: 'columns', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SyncGroupSchemaTableColumnElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, quoted_name: { - client_side_validation: true, required: false, serialized_name: 'quotedName', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table_column.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table_column.rb index b19900e3ff..ede0b49265 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table_column.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group_schema_table_column.rb @@ -28,7 +28,6 @@ class SyncGroupSchemaTableColumn # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncGroupSchemaTableColumn', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'SyncGroupSchemaTableColumn', model_properties: { quoted_name: { - client_side_validation: true, required: false, serialized_name: 'quotedName', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, data_size: { - client_side_validation: true, required: false, serialized_name: 'dataSize', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, data_type: { - client_side_validation: true, required: false, serialized_name: 'dataType', type: { diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_member.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_member.rb index edeb6cc79f..9268d97a6b 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_member.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_member.rb @@ -56,7 +56,6 @@ class SyncMember < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncMember', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'SyncMember', 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() } }, database_type: { - client_side_validation: true, required: false, serialized_name: 'properties.databaseType', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, sync_agent_id: { - client_side_validation: true, required: false, serialized_name: 'properties.syncAgentId', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, sql_server_database_id: { - client_side_validation: true, required: false, serialized_name: 'properties.sqlServerDatabaseId', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, server_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serverName', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, database_name: { - client_side_validation: true, required: false, serialized_name: 'properties.databaseName', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, user_name: { - client_side_validation: true, required: false, serialized_name: 'properties.userName', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, sync_direction: { - client_side_validation: true, required: false, serialized_name: 'properties.syncDirection', type: { @@ -155,7 +143,6 @@ def self.mapper() } }, sync_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.syncState', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_member_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_member_list_result.rb index 9a9c841ebe..2d4a16ab84 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_member_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_member_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncMemberListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'SyncMemberListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SyncMemberElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb index b61cad534a..fd83eb143b 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/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_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_network_rule.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_network_rule.rb index ee0ce94d43..51d00abb28 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_network_rule.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_network_rule.rb @@ -31,7 +31,6 @@ class VirtualNetworkRule < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkRule', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualNetworkRule', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -66,7 +62,6 @@ def self.mapper() } }, virtual_network_subnet_id: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkSubnetId', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, ignore_missing_vnet_service_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.ignoreMissingVnetServiceEndpoint', type: { @@ -82,7 +76,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_network_rule_list_result.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_network_rule_list_result.rb index 31440f598e..cbe6576043 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_network_rule_list_result.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_network_rule_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkRuleListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'VirtualNetworkRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/operations.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/operations.rb index e8d1d6bc9b..c1bdecd2e6 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/operations.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +45,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 # @@ -57,12 +57,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 @@ -116,8 +115,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -131,8 +130,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -145,12 +144,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,12 +201,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_advisors.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_advisors.rb index eaea6bc73b..68f8329284 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_advisors.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_advisors.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -53,8 +53,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -77,7 +77,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -110,13 +109,11 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdvisorElementType', type: { @@ -151,8 +148,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [Advisor] operation results. # - def get(resource_group_name, server_name, advisor_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, advisor_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, advisor_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, advisor_name, custom_headers).value! response.body unless response.nil? end @@ -169,8 +166,8 @@ def get(resource_group_name, server_name, advisor_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, advisor_name, custom_headers:nil) - get_async(resource_group_name, server_name, advisor_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, advisor_name, custom_headers = nil) + get_async(resource_group_name, server_name, advisor_name, custom_headers).value! end # @@ -186,7 +183,7 @@ def get_with_http_info(resource_group_name, server_name, advisor_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, advisor_name, custom_headers:nil) + def get_async(resource_group_name, server_name, advisor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'advisor_name is nil' if advisor_name.nil? @@ -195,7 +192,6 @@ def get_async(resource_group_name, server_name, advisor_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 @@ -254,8 +250,8 @@ def get_async(resource_group_name, server_name, advisor_name, custom_headers:nil # # @return [Advisor] operation results. # - def update(resource_group_name, server_name, advisor_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, advisor_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -273,8 +269,8 @@ def update(resource_group_name, server_name, advisor_name, parameters, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, server_name, advisor_name, parameters, custom_headers:nil) - update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, server_name, advisor_name, parameters, custom_headers = nil) + update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers).value! end # @@ -291,7 +287,7 @@ def update_with_http_info(resource_group_name, server_name, advisor_name, parame # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, advisor_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'advisor_name is nil' if advisor_name.nil? @@ -301,12 +297,13 @@ def update_async(resource_group_name, server_name, advisor_name, parameters, cus 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::SQL::Mgmt::V2015_05_01_preview::Models::Advisor.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_keys.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_keys.rb index 8299b2d2ae..4022949d4a 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_keys.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_keys.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers:custom_headers) + def list_by_server(resource_group_name, server_name, custom_headers = nil) + first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers) first_page.get_all_items end @@ -53,8 +53,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -77,7 +77,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -135,8 +134,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [ServerKey] operation results. # - def get(resource_group_name, server_name, key_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, key_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, key_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, key_name, custom_headers).value! response.body unless response.nil? end @@ -153,8 +152,8 @@ def get(resource_group_name, server_name, key_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, key_name, custom_headers:nil) - get_async(resource_group_name, server_name, key_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, key_name, custom_headers = nil) + get_async(resource_group_name, server_name, key_name, custom_headers).value! end # @@ -170,7 +169,7 @@ def get_with_http_info(resource_group_name, server_name, key_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, key_name, custom_headers:nil) + def get_async(resource_group_name, server_name, key_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'key_name is nil' if key_name.nil? @@ -179,7 +178,6 @@ def get_async(resource_group_name, server_name, key_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 @@ -243,8 +241,8 @@ def get_async(resource_group_name, server_name, key_name, custom_headers:nil) # # @return [ServerKey] operation results. # - def create_or_update(resource_group_name, server_name, key_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, key_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -266,9 +264,9 @@ def create_or_update(resource_group_name, server_name, key_name, parameters, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -295,8 +293,8 @@ def create_or_update_async(resource_group_name, server_name, key_name, parameter # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, server_name, key_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, key_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, key_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, key_name, custom_headers).value! nil end @@ -312,9 +310,9 @@ def delete(resource_group_name, server_name, key_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, server_name, key_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, key_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, server_name, key_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, server_name, key_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -347,8 +345,8 @@ def delete_async(resource_group_name, server_name, key_name, custom_headers:nil) # # @return [ServerKey] operation results. # - def begin_create_or_update(resource_group_name, server_name, key_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, key_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -371,8 +369,8 @@ def begin_create_or_update(resource_group_name, server_name, key_name, parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, key_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, key_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers).value! end # @@ -394,7 +392,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, key_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, key_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'key_name is nil' if key_name.nil? @@ -404,12 +402,13 @@ def begin_create_or_update_async(resource_group_name, server_name, key_name, par 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::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -478,8 +477,8 @@ def begin_create_or_update_async(resource_group_name, server_name, key_name, par # will be added to the HTTP request. # # - def begin_delete(resource_group_name, server_name, key_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, server_name, key_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, server_name, key_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, key_name, custom_headers).value! nil end @@ -496,8 +495,8 @@ def begin_delete(resource_group_name, server_name, key_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, server_name, key_name, custom_headers:nil) - begin_delete_async(resource_group_name, server_name, key_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, server_name, key_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, key_name, custom_headers).value! end # @@ -513,7 +512,7 @@ def begin_delete_with_http_info(resource_group_name, server_name, key_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, server_name, key_name, custom_headers:nil) + def begin_delete_async(resource_group_name, server_name, key_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'key_name is nil' if key_name.nil? @@ -522,7 +521,6 @@ def begin_delete_async(resource_group_name, server_name, key_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 @@ -567,8 +565,8 @@ def begin_delete_async(resource_group_name, server_name, key_name, custom_header # # @return [ServerKeyListResult] operation results. # - def list_by_server_next(next_page_link, custom_headers:nil) - response = list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next(next_page_link, custom_headers = nil) + response = list_by_server_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -582,8 +580,8 @@ def list_by_server_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) - list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next_with_http_info(next_page_link, custom_headers = nil) + list_by_server_next_async(next_page_link, custom_headers).value! end # @@ -596,12 +594,11 @@ def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_next_async(next_page_link, custom_headers:nil) + def list_by_server_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -658,12 +655,12 @@ def list_by_server_next_async(next_page_link, custom_headers:nil) # @return [ServerKeyListResult] which provide lazy access to pages of the # response. # - def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_as_lazy(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_server_next_async(next_page_link, custom_headers:custom_headers) + list_by_server_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/servers.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/servers.rb index 1bbed109b2..6bb34ea8b5 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/servers.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/servers.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +45,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 # @@ -57,13 +57,12 @@ 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.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 @@ -119,8 +118,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -135,8 +134,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 # @@ -150,14 +149,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, 'resource_group_name is nil' if resource_group_name.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 @@ -214,8 +212,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Server] operation results. # - def get(resource_group_name, server_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -231,8 +229,8 @@ def get(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, custom_headers:nil) - get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, custom_headers = nil) + get_async(resource_group_name, server_name, custom_headers).value! end # @@ -247,7 +245,7 @@ def get_with_http_info(resource_group_name, server_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, custom_headers:nil) + def get_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -255,7 +253,6 @@ def get_async(resource_group_name, server_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 @@ -313,8 +310,8 @@ def get_async(resource_group_name, server_name, custom_headers:nil) # # @return [Server] operation results. # - def create_or_update(resource_group_name, server_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -330,9 +327,9 @@ def create_or_update(resource_group_name, server_name, parameters, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -358,8 +355,8 @@ def create_or_update_async(resource_group_name, server_name, parameters, 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, server_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, custom_headers).value! nil end @@ -374,9 +371,9 @@ def delete(resource_group_name, server_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, server_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, server_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, server_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -403,8 +400,8 @@ def delete_async(resource_group_name, server_name, custom_headers:nil) # # @return [Server] operation results. # - def update(resource_group_name, server_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -420,9 +417,9 @@ def update(resource_group_name, server_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, server_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -451,8 +448,8 @@ def update_async(resource_group_name, server_name, parameters, custom_headers:ni # # @return [Server] operation results. # - def begin_create_or_update(resource_group_name, server_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -469,8 +466,8 @@ def begin_create_or_update(resource_group_name, server_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! end # @@ -486,7 +483,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -495,12 +492,13 @@ def begin_create_or_update_async(resource_group_name, server_name, parameters, c 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::SQL::Mgmt::V2015_05_01_preview::Models::Server.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -568,8 +566,8 @@ def begin_create_or_update_async(resource_group_name, server_name, parameters, c # will be added to the HTTP request. # # - def begin_delete(resource_group_name, server_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, server_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, custom_headers).value! nil end @@ -585,8 +583,8 @@ def begin_delete(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, server_name, custom_headers:nil) - begin_delete_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, server_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, custom_headers).value! end # @@ -601,7 +599,7 @@ def begin_delete_with_http_info(resource_group_name, server_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, server_name, custom_headers:nil) + def begin_delete_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -609,7 +607,6 @@ def begin_delete_async(resource_group_name, server_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 @@ -657,8 +654,8 @@ def begin_delete_async(resource_group_name, server_name, custom_headers:nil) # # @return [Server] operation results. # - def begin_update(resource_group_name, server_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -675,8 +672,8 @@ def begin_update(resource_group_name, server_name, parameters, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, server_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, server_name, parameters, custom_headers).value! end # @@ -692,7 +689,7 @@ def begin_update_with_http_info(resource_group_name, server_name, parameters, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, server_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -701,12 +698,13 @@ def begin_update_async(resource_group_name, server_name, parameters, custom_head 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::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -763,8 +761,8 @@ def begin_update_async(resource_group_name, server_name, parameters, custom_head # # @return [ServerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -778,8 +776,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -792,12 +790,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -851,8 +848,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ServerListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -866,8 +863,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -880,12 +877,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -938,12 +934,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ServerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -961,12 +957,12 @@ def list_as_lazy(custom_headers:nil) # @return [ServerListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sql_management_client.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sql_management_client.rb index e41edd09fb..cf54f7d783 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sql_management_client.rb @@ -47,12 +47,22 @@ class SqlManagementClient < MsRestAzure::AzureServiceClient # @return [DatabaseBlobAuditingPolicies] database_blob_auditing_policies attr_reader :database_blob_auditing_policies + # @return [DatabaseAutomaticTuningOperations] + # database_automatic_tuning_operations + attr_reader :database_automatic_tuning_operations + # @return [EncryptionProtectors] encryption_protectors attr_reader :encryption_protectors # @return [FailoverGroups] failover_groups attr_reader :failover_groups + # @return [FirewallRules] firewall_rules + attr_reader :firewall_rules + + # @return [ManagedInstances] managed_instances + attr_reader :managed_instances + # @return [Operations] operations attr_reader :operations @@ -94,8 +104,11 @@ def initialize(credentials = nil, base_url = nil, options = nil) @database_recommended_actions = DatabaseRecommendedActions.new(self) @server_advisors = ServerAdvisors.new(self) @database_blob_auditing_policies = DatabaseBlobAuditingPolicies.new(self) + @database_automatic_tuning_operations = DatabaseAutomaticTuningOperations.new(self) @encryption_protectors = EncryptionProtectors.new(self) @failover_groups = FailoverGroups.new(self) + @firewall_rules = FirewallRules.new(self) + @managed_instances = ManagedInstances.new(self) @operations = Operations.new(self) @server_keys = ServerKeys.new(self) @servers = Servers.new(self) @@ -157,9 +170,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? @@ -176,7 +186,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_sql' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::SQL::Mgmt::V2015_05_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::SQL::Mgmt::V2015_05_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/subscription_usages.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/subscription_usages.rb index 720583f4e6..28f39f6839 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/subscription_usages.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/subscription_usages.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_location(location_name, custom_headers:nil) - first_page = list_by_location_as_lazy(location_name, custom_headers:custom_headers) + def list_by_location(location_name, custom_headers = nil) + first_page = list_by_location_as_lazy(location_name, custom_headers) first_page.get_all_items end @@ -49,8 +49,8 @@ def list_by_location(location_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_location_with_http_info(location_name, custom_headers:nil) - list_by_location_async(location_name, custom_headers:custom_headers).value! + def list_by_location_with_http_info(location_name, custom_headers = nil) + list_by_location_async(location_name, custom_headers).value! end # @@ -63,14 +63,13 @@ def list_by_location_with_http_info(location_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_location_async(location_name, custom_headers:nil) + def list_by_location_async(location_name, custom_headers = nil) fail ArgumentError, 'location_name is nil' if location_name.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 @@ -126,8 +125,8 @@ def list_by_location_async(location_name, custom_headers:nil) # # @return [SubscriptionUsage] operation results. # - def get(location_name, usage_name, custom_headers:nil) - response = get_async(location_name, usage_name, custom_headers:custom_headers).value! + def get(location_name, usage_name, custom_headers = nil) + response = get_async(location_name, usage_name, custom_headers).value! response.body unless response.nil? end @@ -142,8 +141,8 @@ def get(location_name, usage_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location_name, usage_name, custom_headers:nil) - get_async(location_name, usage_name, custom_headers:custom_headers).value! + def get_with_http_info(location_name, usage_name, custom_headers = nil) + get_async(location_name, usage_name, custom_headers).value! end # @@ -157,7 +156,7 @@ def get_with_http_info(location_name, usage_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location_name, usage_name, custom_headers:nil) + def get_async(location_name, usage_name, custom_headers = nil) fail ArgumentError, 'location_name is nil' if location_name.nil? fail ArgumentError, 'usage_name is nil' if usage_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -165,7 +164,6 @@ def get_async(location_name, usage_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 @@ -220,8 +218,8 @@ def get_async(location_name, usage_name, custom_headers:nil) # # @return [SubscriptionUsageListResult] operation results. # - def list_by_location_next(next_page_link, custom_headers:nil) - response = list_by_location_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_location_next(next_page_link, custom_headers = nil) + response = list_by_location_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -235,8 +233,8 @@ def list_by_location_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_location_next_with_http_info(next_page_link, custom_headers:nil) - list_by_location_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_location_next_with_http_info(next_page_link, custom_headers = nil) + list_by_location_next_async(next_page_link, custom_headers).value! end # @@ -249,12 +247,11 @@ def list_by_location_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_location_next_async(next_page_link, custom_headers:nil) + def list_by_location_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,12 +306,12 @@ def list_by_location_next_async(next_page_link, custom_headers:nil) # @return [SubscriptionUsageListResult] which provide lazy access to pages of # the response. # - def list_by_location_as_lazy(location_name, custom_headers:nil) - response = list_by_location_async(location_name, custom_headers:custom_headers).value! + def list_by_location_as_lazy(location_name, custom_headers = nil) + response = list_by_location_async(location_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_location_next_async(next_page_link, custom_headers:custom_headers) + list_by_location_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_agents.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_agents.rb index 502b07e62b..a289e28977 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_agents.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_agents.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [SyncAgent] operation results. # - def get(resource_group_name, server_name, sync_agent_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, sync_agent_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, sync_agent_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, sync_agent_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def get(resource_group_name, server_name, sync_agent_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, sync_agent_name, custom_headers:nil) - get_async(resource_group_name, server_name, sync_agent_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, sync_agent_name, custom_headers = nil) + get_async(resource_group_name, server_name, sync_agent_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def get_with_http_info(resource_group_name, server_name, sync_agent_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, sync_agent_name, custom_headers:nil) + def get_async(resource_group_name, server_name, sync_agent_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'sync_agent_name is nil' if sync_agent_name.nil? @@ -84,7 +84,6 @@ def get_async(resource_group_name, server_name, sync_agent_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -144,8 +143,8 @@ def get_async(resource_group_name, server_name, sync_agent_name, custom_headers: # # @return [SyncAgent] operation results. # - def create_or_update(resource_group_name, server_name, sync_agent_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, sync_agent_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -163,9 +162,9 @@ def create_or_update(resource_group_name, server_name, sync_agent_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -193,8 +192,8 @@ def create_or_update_async(resource_group_name, server_name, sync_agent_name, pa # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, server_name, sync_agent_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, sync_agent_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, sync_agent_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, sync_agent_name, custom_headers).value! nil end @@ -211,9 +210,9 @@ def delete(resource_group_name, server_name, sync_agent_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, server_name, sync_agent_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, sync_agent_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, server_name, sync_agent_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, server_name, sync_agent_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -240,8 +239,8 @@ def delete_async(resource_group_name, server_name, sync_agent_name, custom_heade # # @return [Array] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers:custom_headers) + def list_by_server(resource_group_name, server_name, custom_headers = nil) + first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers) first_page.get_all_items end @@ -258,8 +257,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -275,7 +274,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -283,7 +282,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -342,8 +340,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [SyncAgentKeyProperties] operation results. # - def generate_key(resource_group_name, server_name, sync_agent_name, custom_headers:nil) - response = generate_key_async(resource_group_name, server_name, sync_agent_name, custom_headers:custom_headers).value! + def generate_key(resource_group_name, server_name, sync_agent_name, custom_headers = nil) + response = generate_key_async(resource_group_name, server_name, sync_agent_name, custom_headers).value! response.body unless response.nil? end @@ -361,8 +359,8 @@ def generate_key(resource_group_name, server_name, sync_agent_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generate_key_with_http_info(resource_group_name, server_name, sync_agent_name, custom_headers:nil) - generate_key_async(resource_group_name, server_name, sync_agent_name, custom_headers:custom_headers).value! + def generate_key_with_http_info(resource_group_name, server_name, sync_agent_name, custom_headers = nil) + generate_key_async(resource_group_name, server_name, sync_agent_name, custom_headers).value! end # @@ -379,7 +377,7 @@ def generate_key_with_http_info(resource_group_name, server_name, sync_agent_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generate_key_async(resource_group_name, server_name, sync_agent_name, custom_headers:nil) + def generate_key_async(resource_group_name, server_name, sync_agent_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'sync_agent_name is nil' if sync_agent_name.nil? @@ -388,7 +386,6 @@ def generate_key_async(resource_group_name, server_name, sync_agent_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -447,8 +444,8 @@ def generate_key_async(resource_group_name, server_name, sync_agent_name, custom # # @return [Array] operation results. # - def list_linked_databases(resource_group_name, server_name, sync_agent_name, custom_headers:nil) - first_page = list_linked_databases_as_lazy(resource_group_name, server_name, sync_agent_name, custom_headers:custom_headers) + def list_linked_databases(resource_group_name, server_name, sync_agent_name, custom_headers = nil) + first_page = list_linked_databases_as_lazy(resource_group_name, server_name, sync_agent_name, custom_headers) first_page.get_all_items end @@ -466,8 +463,8 @@ def list_linked_databases(resource_group_name, server_name, sync_agent_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_linked_databases_with_http_info(resource_group_name, server_name, sync_agent_name, custom_headers:nil) - list_linked_databases_async(resource_group_name, server_name, sync_agent_name, custom_headers:custom_headers).value! + def list_linked_databases_with_http_info(resource_group_name, server_name, sync_agent_name, custom_headers = nil) + list_linked_databases_async(resource_group_name, server_name, sync_agent_name, custom_headers).value! end # @@ -484,7 +481,7 @@ def list_linked_databases_with_http_info(resource_group_name, server_name, sync_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_linked_databases_async(resource_group_name, server_name, sync_agent_name, custom_headers:nil) + def list_linked_databases_async(resource_group_name, server_name, sync_agent_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'sync_agent_name is nil' if sync_agent_name.nil? @@ -493,7 +490,6 @@ def list_linked_databases_async(resource_group_name, server_name, sync_agent_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -553,8 +549,8 @@ def list_linked_databases_async(resource_group_name, server_name, sync_agent_nam # # @return [SyncAgent] operation results. # - def begin_create_or_update(resource_group_name, server_name, sync_agent_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, sync_agent_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -573,8 +569,8 @@ def begin_create_or_update(resource_group_name, server_name, sync_agent_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, sync_agent_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, sync_agent_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers).value! end # @@ -592,7 +588,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, sync # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, sync_agent_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'sync_agent_name is nil' if sync_agent_name.nil? @@ -602,12 +598,13 @@ def begin_create_or_update_async(resource_group_name, server_name, sync_agent_na 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::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -677,8 +674,8 @@ def begin_create_or_update_async(resource_group_name, server_name, sync_agent_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, server_name, sync_agent_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, server_name, sync_agent_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, server_name, sync_agent_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, sync_agent_name, custom_headers).value! nil end @@ -696,8 +693,8 @@ def begin_delete(resource_group_name, server_name, sync_agent_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, server_name, sync_agent_name, custom_headers:nil) - begin_delete_async(resource_group_name, server_name, sync_agent_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, server_name, sync_agent_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, sync_agent_name, custom_headers).value! end # @@ -714,7 +711,7 @@ def begin_delete_with_http_info(resource_group_name, server_name, sync_agent_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, server_name, sync_agent_name, custom_headers:nil) + def begin_delete_async(resource_group_name, server_name, sync_agent_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'sync_agent_name is nil' if sync_agent_name.nil? @@ -723,7 +720,6 @@ def begin_delete_async(resource_group_name, server_name, sync_agent_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -768,8 +764,8 @@ def begin_delete_async(resource_group_name, server_name, sync_agent_name, custom # # @return [SyncAgentListResult] operation results. # - def list_by_server_next(next_page_link, custom_headers:nil) - response = list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next(next_page_link, custom_headers = nil) + response = list_by_server_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -783,8 +779,8 @@ def list_by_server_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) - list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next_with_http_info(next_page_link, custom_headers = nil) + list_by_server_next_async(next_page_link, custom_headers).value! end # @@ -797,12 +793,11 @@ def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_next_async(next_page_link, custom_headers:nil) + def list_by_server_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -856,8 +851,8 @@ def list_by_server_next_async(next_page_link, custom_headers:nil) # # @return [SyncAgentLinkedDatabaseListResult] operation results. # - def list_linked_databases_next(next_page_link, custom_headers:nil) - response = list_linked_databases_next_async(next_page_link, custom_headers:custom_headers).value! + def list_linked_databases_next(next_page_link, custom_headers = nil) + response = list_linked_databases_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -871,8 +866,8 @@ def list_linked_databases_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_linked_databases_next_with_http_info(next_page_link, custom_headers:nil) - list_linked_databases_next_async(next_page_link, custom_headers:custom_headers).value! + def list_linked_databases_next_with_http_info(next_page_link, custom_headers = nil) + list_linked_databases_next_async(next_page_link, custom_headers).value! end # @@ -885,12 +880,11 @@ def list_linked_databases_next_with_http_info(next_page_link, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_linked_databases_next_async(next_page_link, custom_headers:nil) + def list_linked_databases_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -948,12 +942,12 @@ def list_linked_databases_next_async(next_page_link, custom_headers:nil) # @return [SyncAgentListResult] which provide lazy access to pages of the # response. # - def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_as_lazy(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_server_next_async(next_page_link, custom_headers:custom_headers) + list_by_server_next_async(next_page_link, custom_headers) end page end @@ -974,12 +968,12 @@ def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil) # @return [SyncAgentLinkedDatabaseListResult] which provide lazy access to # pages of the response. # - def list_linked_databases_as_lazy(resource_group_name, server_name, sync_agent_name, custom_headers:nil) - response = list_linked_databases_async(resource_group_name, server_name, sync_agent_name, custom_headers:custom_headers).value! + def list_linked_databases_as_lazy(resource_group_name, server_name, sync_agent_name, custom_headers = nil) + response = list_linked_databases_async(resource_group_name, server_name, sync_agent_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_linked_databases_next_async(next_page_link, custom_headers:custom_headers) + list_linked_databases_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_groups.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_groups.rb index 33e1558fec..2820fedbc4 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_groups.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_groups.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_sync_database_ids(location_name, custom_headers:nil) - first_page = list_sync_database_ids_as_lazy(location_name, custom_headers:custom_headers) + def list_sync_database_ids(location_name, custom_headers = nil) + first_page = list_sync_database_ids_as_lazy(location_name, custom_headers) first_page.get_all_items end @@ -49,8 +49,8 @@ def list_sync_database_ids(location_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_sync_database_ids_with_http_info(location_name, custom_headers:nil) - list_sync_database_ids_async(location_name, custom_headers:custom_headers).value! + def list_sync_database_ids_with_http_info(location_name, custom_headers = nil) + list_sync_database_ids_async(location_name, custom_headers).value! end # @@ -63,14 +63,13 @@ def list_sync_database_ids_with_http_info(location_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_sync_database_ids_async(location_name, custom_headers:nil) + def list_sync_database_ids_async(location_name, custom_headers = nil) fail ArgumentError, 'location_name is nil' if location_name.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 @@ -128,8 +127,8 @@ def list_sync_database_ids_async(location_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def refresh_hub_schema(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - response = refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def refresh_hub_schema(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + response = refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! nil end @@ -147,9 +146,9 @@ def refresh_hub_schema(resource_group_name, server_name, database_name, sync_gro # @return [Concurrent::Promise] promise which provides async access to http # response. # - def refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) + def refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) # Send request - promise = begin_refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers) + promise = begin_refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -178,8 +177,8 @@ def refresh_hub_schema_async(resource_group_name, server_name, database_name, sy # # @return [Array] operation results. # - def list_hub_schemas(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - first_page = list_hub_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers) + def list_hub_schemas(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + first_page = list_hub_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers) first_page.get_all_items end @@ -198,8 +197,8 @@ def list_hub_schemas(resource_group_name, server_name, database_name, sync_group # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_hub_schemas_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - list_hub_schemas_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def list_hub_schemas_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + list_hub_schemas_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! end # @@ -217,7 +216,7 @@ def list_hub_schemas_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_hub_schemas_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) + def list_hub_schemas_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -227,7 +226,6 @@ def list_hub_schemas_async(resource_group_name, server_name, database_name, sync request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -292,8 +290,8 @@ def list_hub_schemas_async(resource_group_name, server_name, database_name, sync # # @return [Array] operation results. # - def list_logs(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token:nil, custom_headers:nil) - first_page = list_logs_as_lazy(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token:continuation_token, custom_headers:custom_headers) + def list_logs(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token = nil, custom_headers = nil) + first_page = list_logs_as_lazy(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token, custom_headers) first_page.get_all_items end @@ -317,8 +315,8 @@ def list_logs(resource_group_name, server_name, database_name, sync_group_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_logs_with_http_info(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token:nil, custom_headers:nil) - list_logs_async(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token:continuation_token, custom_headers:custom_headers).value! + def list_logs_with_http_info(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token = nil, custom_headers = nil) + list_logs_async(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token, custom_headers).value! end # @@ -341,7 +339,7 @@ def list_logs_with_http_info(resource_group_name, server_name, database_name, sy # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_logs_async(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token:nil, custom_headers:nil) + def list_logs_async(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -354,7 +352,6 @@ def list_logs_async(resource_group_name, server_name, database_name, sync_group_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -413,8 +410,8 @@ def list_logs_async(resource_group_name, server_name, database_name, sync_group_ # will be added to the HTTP request. # # - def cancel_sync(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - response = cancel_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def cancel_sync(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + response = cancel_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! nil end @@ -433,8 +430,8 @@ def cancel_sync(resource_group_name, server_name, database_name, sync_group_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def cancel_sync_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - cancel_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def cancel_sync_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + cancel_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! end # @@ -452,7 +449,7 @@ def cancel_sync_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def cancel_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) + def cancel_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -462,7 +459,6 @@ def cancel_sync_async(resource_group_name, server_name, database_name, sync_grou request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -511,8 +507,8 @@ def cancel_sync_async(resource_group_name, server_name, database_name, sync_grou # will be added to the HTTP request. # # - def trigger_sync(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - response = trigger_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def trigger_sync(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + response = trigger_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! nil end @@ -531,8 +527,8 @@ def trigger_sync(resource_group_name, server_name, database_name, sync_group_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def trigger_sync_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - trigger_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def trigger_sync_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + trigger_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! end # @@ -550,7 +546,7 @@ def trigger_sync_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def trigger_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) + def trigger_sync_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -560,7 +556,6 @@ def trigger_sync_async(resource_group_name, server_name, database_name, sync_gro request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -610,8 +605,8 @@ def trigger_sync_async(resource_group_name, server_name, database_name, sync_gro # # @return [SyncGroup] operation results. # - def get(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! response.body unless response.nil? end @@ -630,8 +625,8 @@ def get(resource_group_name, server_name, database_name, sync_group_name, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! end # @@ -649,7 +644,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, sync_gro # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -659,7 +654,6 @@ def get_async(resource_group_name, server_name, database_name, sync_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -720,8 +714,8 @@ def get_async(resource_group_name, server_name, database_name, sync_group_name, # # @return [SyncGroup] operation results. # - def create_or_update(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -740,9 +734,9 @@ def create_or_update(resource_group_name, server_name, database_name, sync_group # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -771,8 +765,8 @@ def create_or_update_async(resource_group_name, server_name, database_name, sync # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! nil end @@ -790,9 +784,9 @@ def delete(resource_group_name, server_name, database_name, sync_group_name, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -822,8 +816,8 @@ def delete_async(resource_group_name, server_name, database_name, sync_group_nam # # @return [SyncGroup] operation results. # - def update(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -842,9 +836,9 @@ def update(resource_group_name, server_name, database_name, sync_group_name, par # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -874,8 +868,8 @@ def update_async(resource_group_name, server_name, database_name, sync_group_nam # # @return [Array] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - first_page = list_by_database_as_lazy(resource_group_name, server_name, database_name, custom_headers:custom_headers) + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + first_page = list_by_database_as_lazy(resource_group_name, server_name, database_name, custom_headers) first_page.get_all_items end @@ -893,8 +887,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -911,7 +905,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -920,7 +914,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -979,8 +972,8 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust # will be added to the HTTP request. # # - def begin_refresh_hub_schema(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - response = begin_refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def begin_refresh_hub_schema(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + response = begin_refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! nil end @@ -999,8 +992,8 @@ def begin_refresh_hub_schema(resource_group_name, server_name, database_name, sy # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_refresh_hub_schema_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - begin_refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def begin_refresh_hub_schema_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + begin_refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! end # @@ -1018,7 +1011,7 @@ def begin_refresh_hub_schema_with_http_info(resource_group_name, server_name, da # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) + def begin_refresh_hub_schema_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -1028,7 +1021,6 @@ def begin_refresh_hub_schema_async(resource_group_name, server_name, database_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1079,8 +1071,8 @@ def begin_refresh_hub_schema_async(resource_group_name, server_name, database_na # # @return [SyncGroup] operation results. # - def begin_create_or_update(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1100,8 +1092,8 @@ def begin_create_or_update(resource_group_name, server_name, database_name, sync # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers).value! end # @@ -1120,7 +1112,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, data # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -1131,12 +1123,13 @@ def begin_create_or_update_async(resource_group_name, server_name, database_name 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::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1207,8 +1200,8 @@ def begin_create_or_update_async(resource_group_name, server_name, database_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! nil end @@ -1227,8 +1220,8 @@ def begin_delete(resource_group_name, server_name, database_name, sync_group_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! end # @@ -1246,7 +1239,7 @@ def begin_delete_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -1256,7 +1249,6 @@ def begin_delete_async(resource_group_name, server_name, database_name, sync_gro request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1307,8 +1299,8 @@ def begin_delete_async(resource_group_name, server_name, database_name, sync_gro # # @return [SyncGroup] operation results. # - def begin_update(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1328,8 +1320,8 @@ def begin_update(resource_group_name, server_name, database_name, sync_group_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers).value! end # @@ -1348,7 +1340,7 @@ def begin_update_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, server_name, database_name, sync_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -1359,12 +1351,13 @@ def begin_update_async(resource_group_name, server_name, database_name, sync_gro 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::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1421,8 +1414,8 @@ def begin_update_async(resource_group_name, server_name, database_name, sync_gro # # @return [SyncDatabaseIdListResult] operation results. # - def list_sync_database_ids_next(next_page_link, custom_headers:nil) - response = list_sync_database_ids_next_async(next_page_link, custom_headers:custom_headers).value! + def list_sync_database_ids_next(next_page_link, custom_headers = nil) + response = list_sync_database_ids_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1436,8 +1429,8 @@ def list_sync_database_ids_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_sync_database_ids_next_with_http_info(next_page_link, custom_headers:nil) - list_sync_database_ids_next_async(next_page_link, custom_headers:custom_headers).value! + def list_sync_database_ids_next_with_http_info(next_page_link, custom_headers = nil) + list_sync_database_ids_next_async(next_page_link, custom_headers).value! end # @@ -1450,12 +1443,11 @@ def list_sync_database_ids_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_sync_database_ids_next_async(next_page_link, custom_headers:nil) + def list_sync_database_ids_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1509,8 +1501,8 @@ def list_sync_database_ids_next_async(next_page_link, custom_headers:nil) # # @return [SyncFullSchemaPropertiesListResult] operation results. # - def list_hub_schemas_next(next_page_link, custom_headers:nil) - response = list_hub_schemas_next_async(next_page_link, custom_headers:custom_headers).value! + def list_hub_schemas_next(next_page_link, custom_headers = nil) + response = list_hub_schemas_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1524,8 +1516,8 @@ def list_hub_schemas_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_hub_schemas_next_with_http_info(next_page_link, custom_headers:nil) - list_hub_schemas_next_async(next_page_link, custom_headers:custom_headers).value! + def list_hub_schemas_next_with_http_info(next_page_link, custom_headers = nil) + list_hub_schemas_next_async(next_page_link, custom_headers).value! end # @@ -1538,12 +1530,11 @@ def list_hub_schemas_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_hub_schemas_next_async(next_page_link, custom_headers:nil) + def list_hub_schemas_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1597,8 +1588,8 @@ def list_hub_schemas_next_async(next_page_link, custom_headers:nil) # # @return [SyncGroupLogListResult] operation results. # - def list_logs_next(next_page_link, custom_headers:nil) - response = list_logs_next_async(next_page_link, custom_headers:custom_headers).value! + def list_logs_next(next_page_link, custom_headers = nil) + response = list_logs_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1612,8 +1603,8 @@ def list_logs_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_logs_next_with_http_info(next_page_link, custom_headers:nil) - list_logs_next_async(next_page_link, custom_headers:custom_headers).value! + def list_logs_next_with_http_info(next_page_link, custom_headers = nil) + list_logs_next_async(next_page_link, custom_headers).value! end # @@ -1626,12 +1617,11 @@ def list_logs_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_logs_next_async(next_page_link, custom_headers:nil) + def list_logs_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1685,8 +1675,8 @@ def list_logs_next_async(next_page_link, custom_headers:nil) # # @return [SyncGroupListResult] operation results. # - def list_by_database_next(next_page_link, custom_headers:nil) - response = list_by_database_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_database_next(next_page_link, custom_headers = nil) + response = list_by_database_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1700,8 +1690,8 @@ def list_by_database_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_next_with_http_info(next_page_link, custom_headers:nil) - list_by_database_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_database_next_with_http_info(next_page_link, custom_headers = nil) + list_by_database_next_async(next_page_link, custom_headers).value! end # @@ -1714,12 +1704,11 @@ def list_by_database_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_next_async(next_page_link, custom_headers:nil) + def list_by_database_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1774,12 +1763,12 @@ def list_by_database_next_async(next_page_link, custom_headers:nil) # @return [SyncDatabaseIdListResult] which provide lazy access to pages of the # response. # - def list_sync_database_ids_as_lazy(location_name, custom_headers:nil) - response = list_sync_database_ids_async(location_name, custom_headers:custom_headers).value! + def list_sync_database_ids_as_lazy(location_name, custom_headers = nil) + response = list_sync_database_ids_async(location_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_sync_database_ids_next_async(next_page_link, custom_headers:custom_headers) + list_sync_database_ids_next_async(next_page_link, custom_headers) end page end @@ -1801,12 +1790,12 @@ def list_sync_database_ids_as_lazy(location_name, custom_headers:nil) # @return [SyncFullSchemaPropertiesListResult] which provide lazy access to # pages of the response. # - def list_hub_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - response = list_hub_schemas_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def list_hub_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + response = list_hub_schemas_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_hub_schemas_next_async(next_page_link, custom_headers:custom_headers) + list_hub_schemas_next_async(next_page_link, custom_headers) end page end @@ -1833,12 +1822,12 @@ def list_hub_schemas_as_lazy(resource_group_name, server_name, database_name, sy # @return [SyncGroupLogListResult] which provide lazy access to pages of the # response. # - def list_logs_as_lazy(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token:nil, custom_headers:nil) - response = list_logs_async(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token:continuation_token, custom_headers:custom_headers).value! + def list_logs_as_lazy(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token = nil, custom_headers = nil) + response = list_logs_async(resource_group_name, server_name, database_name, sync_group_name, start_time, end_time, type, continuation_token, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_logs_next_async(next_page_link, custom_headers:custom_headers) + list_logs_next_async(next_page_link, custom_headers) end page end @@ -1859,12 +1848,12 @@ def list_logs_as_lazy(resource_group_name, server_name, database_name, sync_grou # @return [SyncGroupListResult] which provide lazy access to pages of the # response. # - def list_by_database_as_lazy(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_as_lazy(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_database_next_async(next_page_link, custom_headers:custom_headers) + list_by_database_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_members.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_members.rb index 3a9f0d1162..e700842610 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_members.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_members.rb @@ -41,8 +41,8 @@ def initialize(client) # # @return [SyncMember] operation results. # - def get(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value! response.body unless response.nil? end @@ -63,8 +63,8 @@ def get(resource_group_name, server_name, database_name, sync_group_name, sync_m # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value! end # @@ -84,7 +84,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, sync_gro # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -95,7 +95,6 @@ def get_async(resource_group_name, server_name, database_name, sync_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -158,8 +157,8 @@ def get_async(resource_group_name, server_name, database_name, sync_group_name, # # @return [SyncMember] operation results. # - def create_or_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -180,9 +179,9 @@ def create_or_update(resource_group_name, server_name, database_name, sync_group # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, server_name, database_name, sync # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value! nil end @@ -234,9 +233,9 @@ def delete(resource_group_name, server_name, database_name, sync_group_name, syn # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -268,8 +267,8 @@ def delete_async(resource_group_name, server_name, database_name, sync_group_nam # # @return [SyncMember] operation results. # - def update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -290,9 +289,9 @@ def update(resource_group_name, server_name, database_name, sync_group_name, syn # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -323,8 +322,8 @@ def update_async(resource_group_name, server_name, database_name, sync_group_nam # # @return [Array] operation results. # - def list_by_sync_group(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - first_page = list_by_sync_group_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers) + def list_by_sync_group(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + first_page = list_by_sync_group_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers) first_page.get_all_items end @@ -343,8 +342,8 @@ def list_by_sync_group(resource_group_name, server_name, database_name, sync_gro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_sync_group_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def list_by_sync_group_with_http_info(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! end # @@ -362,7 +361,7 @@ def list_by_sync_group_with_http_info(resource_group_name, server_name, database # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) + def list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -372,7 +371,6 @@ def list_by_sync_group_async(resource_group_name, server_name, database_name, sy request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -434,8 +432,8 @@ def list_by_sync_group_async(resource_group_name, server_name, database_name, sy # # @return [Array] operation results. # - def list_member_schemas(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) - first_page = list_member_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers) + def list_member_schemas(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) + first_page = list_member_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers) first_page.get_all_items end @@ -456,8 +454,8 @@ def list_member_schemas(resource_group_name, server_name, database_name, sync_gr # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_member_schemas_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) - list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value! + def list_member_schemas_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) + list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value! end # @@ -477,7 +475,7 @@ def list_member_schemas_with_http_info(resource_group_name, server_name, databas # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) + def list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -488,7 +486,6 @@ def list_member_schemas_async(resource_group_name, server_name, database_name, s request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -548,8 +545,8 @@ def list_member_schemas_async(resource_group_name, server_name, database_name, s # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def refresh_member_schema(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) - response = refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value! + def refresh_member_schema(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) + response = refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value! nil end @@ -569,9 +566,9 @@ def refresh_member_schema(resource_group_name, server_name, database_name, sync_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) + def refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) # Send request - promise = begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers) + promise = begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -603,8 +600,8 @@ def refresh_member_schema_async(resource_group_name, server_name, database_name, # # @return [SyncMember] operation results. # - def begin_create_or_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -626,8 +623,8 @@ def begin_create_or_update(resource_group_name, server_name, database_name, sync # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value! end # @@ -648,7 +645,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, data # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -660,12 +657,13 @@ def begin_create_or_update_async(resource_group_name, server_name, database_name 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::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -738,8 +736,8 @@ def begin_create_or_update_async(resource_group_name, server_name, database_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value! nil end @@ -760,8 +758,8 @@ def begin_delete(resource_group_name, server_name, database_name, sync_group_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) - begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value! end # @@ -781,7 +779,7 @@ def begin_delete_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) + def begin_delete_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -792,7 +790,6 @@ def begin_delete_async(resource_group_name, server_name, database_name, sync_gro request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -845,8 +842,8 @@ def begin_delete_async(resource_group_name, server_name, database_name, sync_gro # # @return [SyncMember] operation results. # - def begin_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -868,8 +865,8 @@ def begin_update(resource_group_name, server_name, database_name, sync_group_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers).value! end # @@ -890,7 +887,7 @@ def begin_update_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -902,12 +899,13 @@ def begin_update_async(resource_group_name, server_name, database_name, sync_gro 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::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -970,8 +968,8 @@ def begin_update_async(resource_group_name, server_name, database_name, sync_gro # will be added to the HTTP request. # # - def begin_refresh_member_schema(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) - response = begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value! + def begin_refresh_member_schema(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) + response = begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value! nil end @@ -992,8 +990,8 @@ def begin_refresh_member_schema(resource_group_name, server_name, database_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_refresh_member_schema_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) - begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value! + def begin_refresh_member_schema_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) + begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value! end # @@ -1013,7 +1011,7 @@ def begin_refresh_member_schema_with_http_info(resource_group_name, server_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) + def begin_refresh_member_schema_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -1024,7 +1022,6 @@ def begin_refresh_member_schema_async(resource_group_name, server_name, database request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1069,8 +1066,8 @@ def begin_refresh_member_schema_async(resource_group_name, server_name, database # # @return [SyncMemberListResult] operation results. # - def list_by_sync_group_next(next_page_link, custom_headers:nil) - response = list_by_sync_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_sync_group_next(next_page_link, custom_headers = nil) + response = list_by_sync_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1084,8 +1081,8 @@ def list_by_sync_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_sync_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_sync_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_sync_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_sync_group_next_async(next_page_link, custom_headers).value! end # @@ -1098,12 +1095,11 @@ def list_by_sync_group_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_sync_group_next_async(next_page_link, custom_headers:nil) + def list_by_sync_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1157,8 +1153,8 @@ def list_by_sync_group_next_async(next_page_link, custom_headers:nil) # # @return [SyncFullSchemaPropertiesListResult] operation results. # - def list_member_schemas_next(next_page_link, custom_headers:nil) - response = list_member_schemas_next_async(next_page_link, custom_headers:custom_headers).value! + def list_member_schemas_next(next_page_link, custom_headers = nil) + response = list_member_schemas_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1172,8 +1168,8 @@ def list_member_schemas_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_member_schemas_next_with_http_info(next_page_link, custom_headers:nil) - list_member_schemas_next_async(next_page_link, custom_headers:custom_headers).value! + def list_member_schemas_next_with_http_info(next_page_link, custom_headers = nil) + list_member_schemas_next_async(next_page_link, custom_headers).value! end # @@ -1186,12 +1182,11 @@ def list_member_schemas_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_member_schemas_next_async(next_page_link, custom_headers:nil) + def list_member_schemas_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1251,12 +1246,12 @@ def list_member_schemas_next_async(next_page_link, custom_headers:nil) # @return [SyncMemberListResult] which provide lazy access to pages of the # response. # - def list_by_sync_group_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers:nil) - response = list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers:custom_headers).value! + def list_by_sync_group_as_lazy(resource_group_name, server_name, database_name, sync_group_name, custom_headers = nil) + response = list_by_sync_group_async(resource_group_name, server_name, database_name, sync_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_sync_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_sync_group_next_async(next_page_link, custom_headers) end page end @@ -1280,12 +1275,12 @@ def list_by_sync_group_as_lazy(resource_group_name, server_name, database_name, # @return [SyncFullSchemaPropertiesListResult] which provide lazy access to # pages of the response. # - def list_member_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:nil) - response = list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers:custom_headers).value! + def list_member_schemas_as_lazy(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers = nil) + response = list_member_schemas_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_member_schemas_next_async(next_page_link, custom_headers:custom_headers) + list_member_schemas_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/version.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/version.rb new file mode 100644 index 0000000000..dc66eff99e --- /dev/null +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/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::SQL::Mgmt::V2015_05_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/virtual_network_rules.rb b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/virtual_network_rules.rb index 1854126d49..60d9f9a2bc 100644 --- a/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/virtual_network_rules.rb +++ b/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/virtual_network_rules.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [VirtualNetworkRule] operation results. # - def get(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, virtual_network_rule_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def get(resource_group_name, server_name, virtual_network_rule_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil) - get_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers = nil) + get_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def get_with_http_info(resource_group_name, server_name, virtual_network_rule_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil) + def get_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'virtual_network_rule_name is nil' if virtual_network_rule_name.nil? @@ -84,7 +84,6 @@ def get_async(resource_group_name, server_name, virtual_network_rule_name, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -145,8 +144,8 @@ def get_async(resource_group_name, server_name, virtual_network_rule_name, custo # # @return [VirtualNetworkRule] operation results. # - def create_or_update(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -165,9 +164,9 @@ def create_or_update(resource_group_name, server_name, virtual_network_rule_name # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -195,8 +194,8 @@ def create_or_update_async(resource_group_name, server_name, virtual_network_rul # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, virtual_network_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers).value! nil end @@ -213,9 +212,9 @@ def delete(resource_group_name, server_name, virtual_network_rule_name, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -241,8 +240,8 @@ def delete_async(resource_group_name, server_name, virtual_network_rule_name, cu # # @return [Array] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers:custom_headers) + def list_by_server(resource_group_name, server_name, custom_headers = nil) + first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers) first_page.get_all_items end @@ -258,8 +257,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -274,7 +273,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -282,7 +281,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -343,8 +341,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [VirtualNetworkRule] operation results. # - def begin_create_or_update(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -364,8 +362,8 @@ def begin_create_or_update(resource_group_name, server_name, virtual_network_rul # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers).value! end # @@ -384,7 +382,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, virt # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, virtual_network_rule_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'virtual_network_rule_name is nil' if virtual_network_rule_name.nil? @@ -394,12 +392,13 @@ def begin_create_or_update_async(resource_group_name, server_name, virtual_netwo 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::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -469,8 +468,8 @@ def begin_create_or_update_async(resource_group_name, server_name, virtual_netwo # will be added to the HTTP request. # # - def begin_delete(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, server_name, virtual_network_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers).value! nil end @@ -488,8 +487,8 @@ def begin_delete(resource_group_name, server_name, virtual_network_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers).value! end # @@ -506,7 +505,7 @@ def begin_delete_with_http_info(resource_group_name, server_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'virtual_network_rule_name is nil' if virtual_network_rule_name.nil? @@ -515,7 +514,6 @@ def begin_delete_async(resource_group_name, server_name, virtual_network_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +558,8 @@ def begin_delete_async(resource_group_name, server_name, virtual_network_rule_na # # @return [VirtualNetworkRuleListResult] operation results. # - def list_by_server_next(next_page_link, custom_headers:nil) - response = list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next(next_page_link, custom_headers = nil) + response = list_by_server_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -575,8 +573,8 @@ def list_by_server_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) - list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next_with_http_info(next_page_link, custom_headers = nil) + list_by_server_next_async(next_page_link, custom_headers).value! end # @@ -589,12 +587,11 @@ def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_next_async(next_page_link, custom_headers:nil) + def list_by_server_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -651,12 +648,12 @@ def list_by_server_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkRuleListResult] which provide lazy access to pages of # the response. # - def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_as_lazy(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_server_next_async(next_page_link, custom_headers:custom_headers) + list_by_server_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb index c5559b9947..347a03c6bb 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb @@ -20,43 +20,113 @@ require 'ms_rest_azure' module Azure::SQL::Mgmt::V2017_03_01_preview + autoload :ExtendedDatabaseBlobAuditingPolicies, '2017-03-01-preview/generated/azure_mgmt_sql/extended_database_blob_auditing_policies.rb' + autoload :ExtendedServerBlobAuditingPolicies, '2017-03-01-preview/generated/azure_mgmt_sql/extended_server_blob_auditing_policies.rb' + autoload :ServerBlobAuditingPolicies, '2017-03-01-preview/generated/azure_mgmt_sql/server_blob_auditing_policies.rb' + autoload :DatabaseBlobAuditingPolicies, '2017-03-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb' autoload :DatabaseOperations, '2017-03-01-preview/generated/azure_mgmt_sql/database_operations.rb' autoload :Databases, '2017-03-01-preview/generated/azure_mgmt_sql/databases.rb' - autoload :DatabaseRestorePoints, '2017-03-01-preview/generated/azure_mgmt_sql/database_restore_points.rb' + autoload :DatabaseVulnerabilityAssessmentRuleBaselines, '2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_rule_baselines.rb' + autoload :DatabaseVulnerabilityAssessments, '2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessments.rb' + autoload :DataWarehouseUserActivitiesOperations, '2017-03-01-preview/generated/azure_mgmt_sql/data_warehouse_user_activities_operations.rb' + autoload :JobAgents, '2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb' + autoload :JobCredentials, '2017-03-01-preview/generated/azure_mgmt_sql/job_credentials.rb' + autoload :JobExecutions, '2017-03-01-preview/generated/azure_mgmt_sql/job_executions.rb' + autoload :Jobs, '2017-03-01-preview/generated/azure_mgmt_sql/jobs.rb' + autoload :JobStepExecutions, '2017-03-01-preview/generated/azure_mgmt_sql/job_step_executions.rb' + autoload :JobSteps, '2017-03-01-preview/generated/azure_mgmt_sql/job_steps.rb' + autoload :JobTargetExecutions, '2017-03-01-preview/generated/azure_mgmt_sql/job_target_executions.rb' + autoload :JobTargetGroups, '2017-03-01-preview/generated/azure_mgmt_sql/job_target_groups.rb' + autoload :JobVersions, '2017-03-01-preview/generated/azure_mgmt_sql/job_versions.rb' + autoload :LongTermRetentionBackups, '2017-03-01-preview/generated/azure_mgmt_sql/long_term_retention_backups.rb' + autoload :BackupLongTermRetentionPolicies, '2017-03-01-preview/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb' + autoload :ManagedDatabases, '2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb' + autoload :RestorePoints, '2017-03-01-preview/generated/azure_mgmt_sql/restore_points.rb' autoload :ServerAutomaticTuningOperations, '2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb' autoload :ServerDnsAliases, '2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb' autoload :SqlManagementClient, '2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb' module Models + autoload :JobSchedule, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule.rb' + autoload :JobCredentialListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential_list_result.rb' + autoload :VulnerabilityAssessmentRecurringScansProperties, '2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb' + autoload :ManagedDatabaseUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_update.rb' + autoload :JobTargetGroupListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_list_result.rb' + autoload :ResourceMoveDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb' + autoload :ServerDnsAliasListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb' + autoload :RestorePointListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_list_result.rb' + autoload :JobTarget, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_target.rb' + autoload :LongTermRetentionBackupListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup_list_result.rb' + autoload :JobAgentListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_list_result.rb' + autoload :CreateDatabaseRestorePointDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb' + autoload :JobAgentUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_update.rb' autoload :DatabaseUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb' + autoload :JobStepListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_list_result.rb' + autoload :JobVersionListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_version_list_result.rb' + autoload :ServerDnsAliasAcquisition, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_acquisition.rb' autoload :AutomaticTuningServerOptions, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_options.rb' - autoload :DatabaseOperationListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation_list_result.rb' - autoload :CreateDatabaseRestorePointDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb' - autoload :DatabaseRestorePointListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_restore_point_list_result.rb' - autoload :ArmSku, '2017-03-01-preview/generated/azure_mgmt_sql/models/arm_sku.rb' + autoload :JobExecutionTarget, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_target.rb' + autoload :CompleteDatabaseRestoreDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/complete_database_restore_definition.rb' + autoload :JobStepExecutionOptions, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_execution_options.rb' + autoload :Sku, '2017-03-01-preview/generated/azure_mgmt_sql/models/sku.rb' + autoload :JobExecutionListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_list_result.rb' autoload :ImportExportDatabaseDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_database_definition.rb' - autoload :DatabaseListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb' - autoload :ServerDnsAliasListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb' - autoload :ResourceMoveDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb' autoload :Resource, '2017-03-01-preview/generated/azure_mgmt_sql/models/resource.rb' - autoload :ServerDnsAliasAcquisition, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_acquisition.rb' + autoload :ManagedDatabaseListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_list_result.rb' + autoload :DatabaseListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb' + autoload :JobListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_list_result.rb' + autoload :DatabaseOperationListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation_list_result.rb' + autoload :JobStepAction, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action.rb' + autoload :DatabaseVulnerabilityAssessmentRuleBaselineItem, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline_item.rb' + autoload :JobStepOutput, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output.rb' autoload :ProxyResource, '2017-03-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb' + autoload :ExtendedDatabaseBlobAuditingPolicy, '2017-03-01-preview/generated/azure_mgmt_sql/models/extended_database_blob_auditing_policy.rb' + autoload :ExtendedServerBlobAuditingPolicy, '2017-03-01-preview/generated/azure_mgmt_sql/models/extended_server_blob_auditing_policy.rb' + autoload :ServerBlobAuditingPolicy, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_blob_auditing_policy.rb' + autoload :DatabaseBlobAuditingPolicy, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb' autoload :DatabaseOperation, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation.rb' autoload :TrackedResource, '2017-03-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb' autoload :Database, '2017-03-01-preview/generated/azure_mgmt_sql/models/database.rb' autoload :ImportExportOperationResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_operation_result.rb' - autoload :DatabaseRestorePoint, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_restore_point.rb' + autoload :DatabaseVulnerabilityAssessmentRuleBaseline, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline.rb' + autoload :DatabaseVulnerabilityAssessment, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment.rb' + autoload :DataWarehouseUserActivities, '2017-03-01-preview/generated/azure_mgmt_sql/models/data_warehouse_user_activities.rb' + autoload :JobAgent, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent.rb' + autoload :JobCredential, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential.rb' + autoload :JobExecution, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb' + autoload :Job, '2017-03-01-preview/generated/azure_mgmt_sql/models/job.rb' + autoload :JobStep, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb' + autoload :JobTargetGroup, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group.rb' + autoload :JobVersion, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_version.rb' + autoload :LongTermRetentionBackup, '2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup.rb' + autoload :BackupLongTermRetentionPolicy, '2017-03-01-preview/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb' + autoload :ManagedDatabase, '2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database.rb' + autoload :RestorePoint, '2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb' autoload :ServerAutomaticTuning, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_automatic_tuning.rb' autoload :ServerDnsAlias, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias.rb' + autoload :BlobAuditingPolicyState, '2017-03-01-preview/generated/azure_mgmt_sql/models/blob_auditing_policy_state.rb' autoload :ManagementOperationState, '2017-03-01-preview/generated/azure_mgmt_sql/models/management_operation_state.rb' autoload :CreateMode, '2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb' autoload :SampleName, '2017-03-01-preview/generated/azure_mgmt_sql/models/sample_name.rb' - autoload :Status, '2017-03-01-preview/generated/azure_mgmt_sql/models/status.rb' + autoload :DatabaseStatus, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_status.rb' autoload :CatalogCollationType, '2017-03-01-preview/generated/azure_mgmt_sql/models/catalog_collation_type.rb' + autoload :JobAgentState, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_state.rb' + autoload :JobExecutionLifecycle, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_lifecycle.rb' + autoload :ProvisioningState, '2017-03-01-preview/generated/azure_mgmt_sql/models/provisioning_state.rb' + autoload :JobTargetType, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_type.rb' + autoload :JobScheduleType, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule_type.rb' + autoload :JobStepActionType, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_type.rb' + autoload :JobStepActionSource, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_source.rb' + autoload :JobStepOutputType, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output_type.rb' + autoload :JobTargetGroupMembershipType, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_membership_type.rb' + autoload :ManagedDatabaseStatus, '2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_status.rb' + autoload :ManagedDatabaseCreateMode, '2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_create_mode.rb' autoload :RestorePointType, '2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_type.rb' autoload :AutomaticTuningServerMode, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_mode.rb' autoload :AutomaticTuningOptionModeDesired, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb' autoload :AutomaticTuningOptionModeActual, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb' autoload :AutomaticTuningServerReason, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_reason.rb' + autoload :LongTermRetentionDatabaseState, '2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_database_state.rb' + autoload :VulnerabilityAssessmentPolicyBaselineName, '2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_policy_baseline_name.rb' end end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb new file mode 100644 index 0000000000..019db8756a --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb @@ -0,0 +1,401 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class BackupLongTermRetentionPolicies + include MsRestAzure + + # + # Creates and initializes a new instance of the BackupLongTermRetentionPolicies class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a database's long term retention policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [BackupLongTermRetentionPolicy] operation results. + # + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a database's long term retention policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! + end + + # + # Gets a database's long term retention policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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, server_name, database_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + policy_name = 'default' + 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'policyName' => policy_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy.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 + + # + # Sets a database's long term retention policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [BackupLongTermRetentionPolicy] The long term retention + # policy info. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [BackupLongTermRetentionPolicy] operation results. + # + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [BackupLongTermRetentionPolicy] The long term retention + # policy info. + # @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, server_name, database_name, parameters, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy.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 + + # + # Gets a database's long term retention policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [BackupLongTermRetentionPolicy] operation results. + # + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a database's long term retention policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! + end + + # + # Gets a database's long term retention policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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_database_async(resource_group_name, server_name, database_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy.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 + + # + # Sets a database's long term retention policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [BackupLongTermRetentionPolicy] The long term retention + # policy info. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [BackupLongTermRetentionPolicy] operation results. + # + def begin_create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Sets a database's long term retention policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [BackupLongTermRetentionPolicy] The long term retention + # policy info. + # @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, server_name, database_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + end + + # + # Sets a database's long term retention policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [BackupLongTermRetentionPolicy] The long term retention + # policy info. + # @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, server_name, database_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + policy_name = 'default' + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'policyName' => policy_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || status_code == 202 + 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::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy.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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/data_warehouse_user_activities_operations.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/data_warehouse_user_activities_operations.rb new file mode 100644 index 0000000000..71c53e8602 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/data_warehouse_user_activities_operations.rb @@ -0,0 +1,133 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class DataWarehouseUserActivitiesOperations + include MsRestAzure + + # + # Creates and initializes a new instance of the DataWarehouseUserActivitiesOperations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets the user activities of a data warehouse which includes running and + # suspended queries + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DataWarehouseUserActivities] operation results. + # + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets the user activities of a data warehouse which includes running and + # suspended queries + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! + end + + # + # Gets the user activities of a data warehouse which includes running and + # suspended queries + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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, server_name, database_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + data_warehouse_user_activity_name = 'current' + 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataWarehouseUserActivities/{dataWarehouseUserActivityName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'dataWarehouseUserActivityName' => data_warehouse_user_activity_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities.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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb new file mode 100644 index 0000000000..396167a21b --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb @@ -0,0 +1,258 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class DatabaseBlobAuditingPolicies + include MsRestAzure + + # + # Creates and initializes a new instance of the DatabaseBlobAuditingPolicies class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DatabaseBlobAuditingPolicy] operation results. + # + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! + end + + # + # Gets a database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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, server_name, database_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + blob_auditing_policy_name = 'default' + 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'blobAuditingPolicyName' => blob_auditing_policy_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy.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 + + # + # Creates or updates a database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [DatabaseBlobAuditingPolicy] The database blob auditing + # policy. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DatabaseBlobAuditingPolicy] operation results. + # + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [DatabaseBlobAuditingPolicy] The database blob auditing + # policy. + # @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 create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + end + + # + # Creates or updates a database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [DatabaseBlobAuditingPolicy] The database blob auditing + # policy. + # @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 create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + blob_auditing_policy_name = 'default' + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'blobAuditingPolicyName' => blob_auditing_policy_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy.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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_operations.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_operations.rb index 8656c52c7d..a7932b700e 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_operations.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_operations.rb @@ -5,10 +5,10 @@ module Azure::SQL::Mgmt::V2017_03_01_preview # - # The Azure SQL Database management API provides a RESTful set of web APIs - # that interact with Azure SQL Database services to manage your databases. - # The API enables users to create, retrieve, update, and delete databases, - # servers, and other entities. + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. # class DatabaseOperations include MsRestAzure @@ -37,8 +37,8 @@ def initialize(client) # will be added to the HTTP request. # # - def cancel(resource_group_name, server_name, database_name, operation_id, custom_headers:nil) - response = cancel_async(resource_group_name, server_name, database_name, operation_id, custom_headers:custom_headers).value! + def cancel(resource_group_name, server_name, database_name, operation_id, custom_headers = nil) + response = cancel_async(resource_group_name, server_name, database_name, operation_id, custom_headers).value! nil end @@ -56,8 +56,8 @@ def cancel(resource_group_name, server_name, database_name, operation_id, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def cancel_with_http_info(resource_group_name, server_name, database_name, operation_id, custom_headers:nil) - cancel_async(resource_group_name, server_name, database_name, operation_id, custom_headers:custom_headers).value! + def cancel_with_http_info(resource_group_name, server_name, database_name, operation_id, custom_headers = nil) + cancel_async(resource_group_name, server_name, database_name, operation_id, custom_headers).value! end # @@ -74,7 +74,7 @@ def cancel_with_http_info(resource_group_name, server_name, database_name, opera # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def cancel_async(resource_group_name, server_name, database_name, operation_id, custom_headers:nil) + def cancel_async(resource_group_name, server_name, database_name, operation_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -84,7 +84,6 @@ def cancel_async(resource_group_name, server_name, database_name, operation_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +131,8 @@ def cancel_async(resource_group_name, server_name, database_name, operation_id, # # @return [Array] operation results. # - def list_by_database(resource_group_name, server_name, database_name, custom_headers:nil) - first_page = list_by_database_as_lazy(resource_group_name, server_name, database_name, custom_headers:custom_headers) + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + first_page = list_by_database_as_lazy(resource_group_name, server_name, database_name, custom_headers) first_page.get_all_items end @@ -150,8 +149,8 @@ def list_by_database(resource_group_name, server_name, database_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -167,7 +166,7 @@ def list_by_database_with_http_info(resource_group_name, server_name, database_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_async(resource_group_name, server_name, database_name, custom_headers:nil) + def list_by_database_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -176,7 +175,6 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +229,8 @@ def list_by_database_async(resource_group_name, server_name, database_name, cust # # @return [DatabaseOperationListResult] operation results. # - def list_by_database_next(next_page_link, custom_headers:nil) - response = list_by_database_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_database_next(next_page_link, custom_headers = nil) + response = list_by_database_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -246,8 +244,8 @@ def list_by_database_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_database_next_with_http_info(next_page_link, custom_headers:nil) - list_by_database_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_database_next_with_http_info(next_page_link, custom_headers = nil) + list_by_database_next_async(next_page_link, custom_headers).value! end # @@ -260,12 +258,11 @@ def list_by_database_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_database_next_async(next_page_link, custom_headers:nil) + def list_by_database_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -323,12 +320,12 @@ def list_by_database_next_async(next_page_link, custom_headers:nil) # @return [DatabaseOperationListResult] which provide lazy access to pages of # the response. # - def list_by_database_as_lazy(resource_group_name, server_name, database_name, custom_headers:nil) - response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def list_by_database_as_lazy(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_database_next_async(next_page_link, custom_headers:custom_headers) + list_by_database_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_rule_baselines.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_rule_baselines.rb new file mode 100644 index 0000000000..ad4f12a92d --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_rule_baselines.rb @@ -0,0 +1,399 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class DatabaseVulnerabilityAssessmentRuleBaselines + include MsRestAzure + + # + # Creates and initializes a new instance of the DatabaseVulnerabilityAssessmentRuleBaselines class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a database's vulnerability assessment rule baseline. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment rule baseline is defined. + # @param rule_id [String] The vulnerability assessment rule ID. + # @param baseline_name [VulnerabilityAssessmentPolicyBaselineName] The name of + # the vulnerability assessment rule baseline (default implies a baseline on a + # database level rule and master for server level rule). Possible values + # include: 'master', 'default' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DatabaseVulnerabilityAssessmentRuleBaseline] operation results. + # + def get(resource_group_name, server_name, database_name, rule_id, baseline_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, rule_id, baseline_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a database's vulnerability assessment rule baseline. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment rule baseline is defined. + # @param rule_id [String] The vulnerability assessment rule ID. + # @param baseline_name [VulnerabilityAssessmentPolicyBaselineName] The name of + # the vulnerability assessment rule baseline (default implies a baseline on a + # database level rule and master for server level rule). Possible values + # include: 'master', 'default' + # @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, server_name, database_name, rule_id, baseline_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, rule_id, baseline_name, custom_headers).value! + end + + # + # Gets a database's vulnerability assessment rule baseline. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment rule baseline is defined. + # @param rule_id [String] The vulnerability assessment rule ID. + # @param baseline_name [VulnerabilityAssessmentPolicyBaselineName] The name of + # the vulnerability assessment rule baseline (default implies a baseline on a + # database level rule and master for server level rule). Possible values + # include: 'master', 'default' + # @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, server_name, database_name, rule_id, baseline_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + vulnerability_assessment_name = 'default' + fail ArgumentError, 'rule_id is nil' if rule_id.nil? + fail ArgumentError, 'baseline_name is nil' if baseline_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'vulnerabilityAssessmentName' => vulnerability_assessment_name,'ruleId' => rule_id,'baselineName' => baseline_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline.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 + + # + # Creates or updates a database's vulnerability assessment rule baseline. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment rule baseline is defined. + # @param rule_id [String] The vulnerability assessment rule ID. + # @param baseline_name [VulnerabilityAssessmentPolicyBaselineName] The name of + # the vulnerability assessment rule baseline (default implies a baseline on a + # database level rule and master for server level rule). Possible values + # include: 'master', 'default' + # @param parameters [DatabaseVulnerabilityAssessmentRuleBaseline] The requested + # rule baseline resource. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DatabaseVulnerabilityAssessmentRuleBaseline] operation results. + # + def create_or_update(resource_group_name, server_name, database_name, rule_id, baseline_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, rule_id, baseline_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a database's vulnerability assessment rule baseline. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment rule baseline is defined. + # @param rule_id [String] The vulnerability assessment rule ID. + # @param baseline_name [VulnerabilityAssessmentPolicyBaselineName] The name of + # the vulnerability assessment rule baseline (default implies a baseline on a + # database level rule and master for server level rule). Possible values + # include: 'master', 'default' + # @param parameters [DatabaseVulnerabilityAssessmentRuleBaseline] The requested + # rule baseline 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 create_or_update_with_http_info(resource_group_name, server_name, database_name, rule_id, baseline_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, rule_id, baseline_name, parameters, custom_headers).value! + end + + # + # Creates or updates a database's vulnerability assessment rule baseline. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment rule baseline is defined. + # @param rule_id [String] The vulnerability assessment rule ID. + # @param baseline_name [VulnerabilityAssessmentPolicyBaselineName] The name of + # the vulnerability assessment rule baseline (default implies a baseline on a + # database level rule and master for server level rule). Possible values + # include: 'master', 'default' + # @param parameters [DatabaseVulnerabilityAssessmentRuleBaseline] The requested + # rule baseline 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 create_or_update_async(resource_group_name, server_name, database_name, rule_id, baseline_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + vulnerability_assessment_name = 'default' + fail ArgumentError, 'rule_id is nil' if rule_id.nil? + fail ArgumentError, 'baseline_name is nil' if baseline_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'vulnerabilityAssessmentName' => vulnerability_assessment_name,'ruleId' => rule_id,'baselineName' => baseline_name,'subscriptionId' => @client.subscription_id}, + 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 == 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::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline.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 + + # + # Removes the database's vulnerability assessment rule baseline. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment rule baseline is defined. + # @param rule_id [String] The vulnerability assessment rule ID. + # @param baseline_name [VulnerabilityAssessmentPolicyBaselineName] The name of + # the vulnerability assessment rule baseline (default implies a baseline on a + # database level rule and master for server level rule). Possible values + # include: 'master', 'default' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, server_name, database_name, rule_id, baseline_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, database_name, rule_id, baseline_name, custom_headers).value! + nil + end + + # + # Removes the database's vulnerability assessment rule baseline. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment rule baseline is defined. + # @param rule_id [String] The vulnerability assessment rule ID. + # @param baseline_name [VulnerabilityAssessmentPolicyBaselineName] The name of + # the vulnerability assessment rule baseline (default implies a baseline on a + # database level rule and master for server level rule). Possible values + # include: 'master', 'default' + # @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 delete_with_http_info(resource_group_name, server_name, database_name, rule_id, baseline_name, custom_headers = nil) + delete_async(resource_group_name, server_name, database_name, rule_id, baseline_name, custom_headers).value! + end + + # + # Removes the database's vulnerability assessment rule baseline. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment rule baseline is defined. + # @param rule_id [String] The vulnerability assessment rule ID. + # @param baseline_name [VulnerabilityAssessmentPolicyBaselineName] The name of + # the vulnerability assessment rule baseline (default implies a baseline on a + # database level rule and master for server level rule). Possible values + # include: 'master', 'default' + # @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 delete_async(resource_group_name, server_name, database_name, rule_id, baseline_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + vulnerability_assessment_name = 'default' + fail ArgumentError, 'rule_id is nil' if rule_id.nil? + fail ArgumentError, 'baseline_name is nil' if baseline_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'vulnerabilityAssessmentName' => vulnerability_assessment_name,'ruleId' => rule_id,'baselineName' => baseline_name,'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(: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 + 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 + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessments.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessments.rb new file mode 100644 index 0000000000..dd452de45a --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessments.rb @@ -0,0 +1,355 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class DatabaseVulnerabilityAssessments + include MsRestAzure + + # + # Creates and initializes a new instance of the DatabaseVulnerabilityAssessments class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets the database's vulnerability assessment. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment is defined. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DatabaseVulnerabilityAssessment] operation results. + # + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets the database's vulnerability assessment. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment is defined. + # @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, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! + end + + # + # Gets the database's vulnerability assessment. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment is defined. + # @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, server_name, database_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + vulnerability_assessment_name = 'default' + 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'vulnerabilityAssessmentName' => vulnerability_assessment_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment.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 + + # + # Creates or updates the database's vulnerability assessment. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment is defined. + # @param parameters [DatabaseVulnerabilityAssessment] The requested resource. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DatabaseVulnerabilityAssessment] operation results. + # + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates the database's vulnerability assessment. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment is defined. + # @param parameters [DatabaseVulnerabilityAssessment] The requested 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 create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + end + + # + # Creates or updates the database's vulnerability assessment. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment is defined. + # @param parameters [DatabaseVulnerabilityAssessment] The requested 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 create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + vulnerability_assessment_name = 'default' + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'vulnerabilityAssessmentName' => vulnerability_assessment_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment.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 + + # + # Removes the database's vulnerability assessment. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment is defined. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, server_name, database_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, database_name, custom_headers).value! + nil + end + + # + # Removes the database's vulnerability assessment. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment is defined. + # @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 delete_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + delete_async(resource_group_name, server_name, database_name, custom_headers).value! + end + + # + # Removes the database's vulnerability assessment. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database for which the + # vulnerability assessment is defined. + # @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 delete_async(resource_group_name, server_name, database_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + vulnerability_assessment_name = 'default' + 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'vulnerabilityAssessmentName' => vulnerability_assessment_name,'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(: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 + 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 + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/databases.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/databases.rb index 03eeb893f7..57327f87dd 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/databases.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/databases.rb @@ -5,10 +5,10 @@ module Azure::SQL::Mgmt::V2017_03_01_preview # - # The Azure SQL Database management API provides a RESTful set of web APIs - # that interact with Azure SQL Database services to manage your databases. - # The API enables users to create, retrieve, update, and delete databases, - # servers, and other entities. + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. # class Databases include MsRestAzure @@ -36,8 +36,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers:custom_headers) + def list_by_server(resource_group_name, server_name, custom_headers = nil) + first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers) first_page.get_all_items end @@ -53,8 +53,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -77,7 +77,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -135,8 +134,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # # @return [Database] operation results. # - def get(resource_group_name, server_name, database_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -153,8 +152,8 @@ def get(resource_group_name, server_name, database_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - get_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -170,7 +169,7 @@ def get_with_http_info(resource_group_name, server_name, database_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, database_name, custom_headers:nil) + def get_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -179,7 +178,6 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -238,8 +236,8 @@ def get_async(resource_group_name, server_name, database_name, custom_headers:ni # # @return [Database] operation results. # - def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -256,9 +254,9 @@ def create_or_update(resource_group_name, server_name, database_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -285,8 +283,8 @@ def create_or_update_async(resource_group_name, server_name, database_name, para # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, server_name, database_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, database_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, database_name, custom_headers).value! nil end @@ -302,9 +300,9 @@ def delete(resource_group_name, server_name, database_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, server_name, database_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, database_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, server_name, database_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, server_name, database_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -332,8 +330,8 @@ def delete_async(resource_group_name, server_name, database_name, custom_headers # # @return [Database] operation results. # - def update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -350,9 +348,9 @@ def update(resource_group_name, server_name, database_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -383,8 +381,8 @@ def update_async(resource_group_name, server_name, database_name, parameters, cu # # @return [ImportExportOperationResult] operation results. # - def export(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = export_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def export(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = export_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -402,9 +400,9 @@ def export(resource_group_name, server_name, database_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def export_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def export_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) # Send request - promise = begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers) + promise = begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -433,8 +431,8 @@ def export_async(resource_group_name, server_name, database_name, parameters, cu # # @return [Database] operation results. # - def pause(resource_group_name, server_name, database_name, custom_headers:nil) - response = pause_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def pause(resource_group_name, server_name, database_name, custom_headers = nil) + response = pause_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -450,9 +448,9 @@ def pause(resource_group_name, server_name, database_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def pause_async(resource_group_name, server_name, database_name, custom_headers:nil) + def pause_async(resource_group_name, server_name, database_name, custom_headers = nil) # Send request - promise = begin_pause_async(resource_group_name, server_name, database_name, custom_headers:custom_headers) + promise = begin_pause_async(resource_group_name, server_name, database_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -481,8 +479,8 @@ def pause_async(resource_group_name, server_name, database_name, custom_headers: # # @return [Array] operation results. # - def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - first_page = list_by_elastic_pool_as_lazy(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers) + def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + first_page = list_by_elastic_pool_as_lazy(resource_group_name, server_name, elastic_pool_name, custom_headers) first_page.get_all_items end @@ -499,8 +497,8 @@ def list_by_elastic_pool(resource_group_name, server_name, elastic_pool_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! end # @@ -516,7 +514,7 @@ def list_by_elastic_pool_with_http_info(resource_group_name, server_name, elasti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) + def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'elastic_pool_name is nil' if elastic_pool_name.nil? @@ -525,7 +523,6 @@ def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -583,8 +580,8 @@ def list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_na # # @return [Database] operation results. # - def resume(resource_group_name, server_name, database_name, custom_headers:nil) - response = resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def resume(resource_group_name, server_name, database_name, custom_headers = nil) + response = resume_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -600,9 +597,9 @@ def resume(resource_group_name, server_name, database_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def resume_async(resource_group_name, server_name, database_name, custom_headers:nil) + def resume_async(resource_group_name, server_name, database_name, custom_headers = nil) # Send request - promise = begin_resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers) + promise = begin_resume_async(resource_group_name, server_name, database_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -632,8 +629,8 @@ def resume_async(resource_group_name, server_name, database_name, custom_headers # will be added to the HTTP request. # # - def rename(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = rename_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def rename(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = rename_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! nil end @@ -652,8 +649,8 @@ def rename(resource_group_name, server_name, database_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def rename_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - rename_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def rename_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + rename_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -671,7 +668,7 @@ def rename_with_http_info(resource_group_name, server_name, database_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def rename_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def rename_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -681,12 +678,13 @@ def rename_async(resource_group_name, server_name, database_name, parameters, 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::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -737,8 +735,8 @@ def rename_async(resource_group_name, server_name, database_name, parameters, cu # # @return [Database] operation results. # - def begin_create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -756,8 +754,8 @@ def begin_create_or_update(resource_group_name, server_name, database_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -774,7 +772,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, data # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -784,12 +782,13 @@ def begin_create_or_update_async(resource_group_name, server_name, database_name 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::SQL::Mgmt::V2017_03_01_preview::Models::Database.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -858,8 +857,8 @@ def begin_create_or_update_async(resource_group_name, server_name, database_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, server_name, database_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, server_name, database_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, database_name, custom_headers).value! nil end @@ -876,8 +875,8 @@ def begin_delete(resource_group_name, server_name, database_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - begin_delete_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -893,7 +892,7 @@ def begin_delete_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, server_name, database_name, custom_headers:nil) + def begin_delete_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -902,7 +901,6 @@ def begin_delete_async(resource_group_name, server_name, database_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -951,8 +949,8 @@ def begin_delete_async(resource_group_name, server_name, database_name, custom_h # # @return [Database] operation results. # - def begin_update(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -970,8 +968,8 @@ def begin_update(resource_group_name, server_name, database_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -988,7 +986,7 @@ def begin_update_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -998,12 +996,13 @@ def begin_update_async(resource_group_name, server_name, database_name, paramete 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::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1065,8 +1064,8 @@ def begin_update_async(resource_group_name, server_name, database_name, paramete # # @return [ImportExportOperationResult] operation results. # - def begin_export(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - response = begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_export(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1085,8 +1084,8 @@ def begin_export(resource_group_name, server_name, database_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_export_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil) - begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value! + def begin_export_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! end # @@ -1104,7 +1103,7 @@ def begin_export_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers:nil) + def begin_export_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -1114,12 +1113,13 @@ def begin_export_async(resource_group_name, server_name, database_name, paramete 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::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1179,8 +1179,8 @@ def begin_export_async(resource_group_name, server_name, database_name, paramete # # @return [Database] operation results. # - def begin_pause(resource_group_name, server_name, database_name, custom_headers:nil) - response = begin_pause_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def begin_pause(resource_group_name, server_name, database_name, custom_headers = nil) + response = begin_pause_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -1197,8 +1197,8 @@ def begin_pause(resource_group_name, server_name, database_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_pause_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - begin_pause_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def begin_pause_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + begin_pause_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -1214,7 +1214,7 @@ def begin_pause_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_pause_async(resource_group_name, server_name, database_name, custom_headers:nil) + def begin_pause_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -1223,7 +1223,6 @@ def begin_pause_async(resource_group_name, server_name, database_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1281,8 +1280,8 @@ def begin_pause_async(resource_group_name, server_name, database_name, custom_he # # @return [Database] operation results. # - def begin_resume(resource_group_name, server_name, database_name, custom_headers:nil) - response = begin_resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def begin_resume(resource_group_name, server_name, database_name, custom_headers = nil) + response = begin_resume_async(resource_group_name, server_name, database_name, custom_headers).value! response.body unless response.nil? end @@ -1299,8 +1298,8 @@ def begin_resume(resource_group_name, server_name, database_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_resume_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil) - begin_resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value! + def begin_resume_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + begin_resume_async(resource_group_name, server_name, database_name, custom_headers).value! end # @@ -1316,7 +1315,7 @@ def begin_resume_with_http_info(resource_group_name, server_name, database_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_resume_async(resource_group_name, server_name, database_name, custom_headers:nil) + def begin_resume_async(resource_group_name, server_name, database_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'database_name is nil' if database_name.nil? @@ -1325,7 +1324,6 @@ def begin_resume_async(resource_group_name, server_name, database_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1380,8 +1378,8 @@ def begin_resume_async(resource_group_name, server_name, database_name, custom_h # # @return [DatabaseListResult] operation results. # - def list_by_server_next(next_page_link, custom_headers:nil) - response = list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next(next_page_link, custom_headers = nil) + response = list_by_server_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1395,8 +1393,8 @@ def list_by_server_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) - list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next_with_http_info(next_page_link, custom_headers = nil) + list_by_server_next_async(next_page_link, custom_headers).value! end # @@ -1409,12 +1407,11 @@ def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_next_async(next_page_link, custom_headers:nil) + def list_by_server_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1468,8 +1465,8 @@ def list_by_server_next_async(next_page_link, custom_headers:nil) # # @return [DatabaseListResult] operation results. # - def list_by_elastic_pool_next(next_page_link, custom_headers:nil) - response = list_by_elastic_pool_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_elastic_pool_next(next_page_link, custom_headers = nil) + response = list_by_elastic_pool_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1483,8 +1480,8 @@ def list_by_elastic_pool_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_elastic_pool_next_with_http_info(next_page_link, custom_headers:nil) - list_by_elastic_pool_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_elastic_pool_next_with_http_info(next_page_link, custom_headers = nil) + list_by_elastic_pool_next_async(next_page_link, custom_headers).value! end # @@ -1497,12 +1494,11 @@ def list_by_elastic_pool_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_elastic_pool_next_async(next_page_link, custom_headers:nil) + def list_by_elastic_pool_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1559,12 +1555,12 @@ def list_by_elastic_pool_next_async(next_page_link, custom_headers:nil) # @return [DatabaseListResult] which provide lazy access to pages of the # response. # - def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_as_lazy(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_server_next_async(next_page_link, custom_headers:custom_headers) + list_by_server_next_async(next_page_link, custom_headers) end page end @@ -1584,12 +1580,12 @@ def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil) # @return [DatabaseListResult] which provide lazy access to pages of the # response. # - def list_by_elastic_pool_as_lazy(resource_group_name, server_name, elastic_pool_name, custom_headers:nil) - response = list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value! + def list_by_elastic_pool_as_lazy(resource_group_name, server_name, elastic_pool_name, custom_headers = nil) + response = list_by_elastic_pool_async(resource_group_name, server_name, elastic_pool_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_elastic_pool_next_async(next_page_link, custom_headers:custom_headers) + list_by_elastic_pool_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_database_blob_auditing_policies.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_database_blob_auditing_policies.rb new file mode 100644 index 0000000000..5ca6932353 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_database_blob_auditing_policies.rb @@ -0,0 +1,258 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class ExtendedDatabaseBlobAuditingPolicies + include MsRestAzure + + # + # Creates and initializes a new instance of the ExtendedDatabaseBlobAuditingPolicies class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets an extended database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ExtendedDatabaseBlobAuditingPolicy] operation results. + # + def get(resource_group_name, server_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets an extended database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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, server_name, database_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, custom_headers).value! + end + + # + # Gets an extended database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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, server_name, database_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + blob_auditing_policy_name = 'default' + 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extendedAuditingSettings/{blobAuditingPolicyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'blobAuditingPolicyName' => blob_auditing_policy_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy.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 + + # + # Creates or updates an extended database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [ExtendedDatabaseBlobAuditingPolicy] The extended database + # blob auditing policy. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ExtendedDatabaseBlobAuditingPolicy] operation results. + # + def create_or_update(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates an extended database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [ExtendedDatabaseBlobAuditingPolicy] The extended database + # blob auditing policy. + # @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 create_or_update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + end + + # + # Creates or updates an extended database's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [ExtendedDatabaseBlobAuditingPolicy] The extended database + # blob auditing policy. + # @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 create_or_update_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + blob_auditing_policy_name = 'default' + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extendedAuditingSettings/{blobAuditingPolicyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'blobAuditingPolicyName' => blob_auditing_policy_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy.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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_server_blob_auditing_policies.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_server_blob_auditing_policies.rb new file mode 100644 index 0000000000..cc7b50afe3 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_server_blob_auditing_policies.rb @@ -0,0 +1,290 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class ExtendedServerBlobAuditingPolicies + include MsRestAzure + + # + # Creates and initializes a new instance of the ExtendedServerBlobAuditingPolicies class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets an extended server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ExtendedServerBlobAuditingPolicy] operation results. + # + def get(resource_group_name, server_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets an extended server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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, server_name, custom_headers = nil) + get_async(resource_group_name, server_name, custom_headers).value! + end + + # + # Gets an extended server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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, server_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + blob_auditing_policy_name = 'default' + 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/extendedAuditingSettings/{blobAuditingPolicyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'blobAuditingPolicyName' => blob_auditing_policy_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy.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 + + # + # Creates or updates an extended server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ExtendedServerBlobAuditingPolicy] Properties of extended + # blob auditing policy + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ExtendedServerBlobAuditingPolicy] operation results. + # + def create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ExtendedServerBlobAuditingPolicy] Properties of extended + # blob auditing policy + # @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, server_name, parameters, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy.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 + + # + # Creates or updates an extended server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ExtendedServerBlobAuditingPolicy] Properties of extended + # blob auditing policy + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ExtendedServerBlobAuditingPolicy] operation results. + # + def begin_create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates an extended server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ExtendedServerBlobAuditingPolicy] Properties of extended + # blob auditing policy + # @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, server_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! + end + + # + # Creates or updates an extended server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ExtendedServerBlobAuditingPolicy] Properties of extended + # blob auditing policy + # @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, server_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + blob_auditing_policy_name = 'default' + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/extendedAuditingSettings/{blobAuditingPolicyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'blobAuditingPolicyName' => blob_auditing_policy_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || status_code == 202 + 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::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy.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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb new file mode 100644 index 0000000000..1cb8eda742 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb @@ -0,0 +1,814 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class JobAgents + include MsRestAzure + + # + # Creates and initializes a new instance of the JobAgents class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a list of job agents in a server. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_server(resource_group_name, server_name, custom_headers = nil) + first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers) + first_page.get_all_items + end + + # + # Gets a list of job agents in a server. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! + end + + # + # Gets a list of job agents in a server. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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_server_async(resource_group_name, server_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult.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 + + # + # Gets a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be retrieved. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobAgent] operation results. + # + def get(resource_group_name, server_name, job_agent_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, job_agent_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be retrieved. + # @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, server_name, job_agent_name, custom_headers = nil) + get_async(resource_group_name, server_name, job_agent_name, custom_headers).value! + end + + # + # Gets a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be retrieved. + # @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, server_name, job_agent_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent.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 + + # + # Creates or updates a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be created or + # updated. + # @param parameters [JobAgent] The requested job agent resource state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobAgent] operation results. + # + def create_or_update(resource_group_name, server_name, job_agent_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, job_agent_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be created or + # updated. + # @param parameters [JobAgent] The requested job agent resource state. + # @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, server_name, job_agent_name, parameters, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, server_name, job_agent_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent.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 + + # + # Deletes a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be deleted. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, server_name, job_agent_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, job_agent_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be deleted. + # @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, server_name, job_agent_name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, server_name, job_agent_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 + + # + # Updates a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be updated. + # @param parameters [JobAgentUpdate] The update to the job agent. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobAgent] operation results. + # + def update(resource_group_name, server_name, job_agent_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, job_agent_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be updated. + # @param parameters [JobAgentUpdate] The update to the job agent. + # @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, server_name, job_agent_name, parameters, custom_headers = nil) + # Send request + promise = begin_update_async(resource_group_name, server_name, job_agent_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent.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 + + # + # Creates or updates a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be created or + # updated. + # @param parameters [JobAgent] The requested job agent resource state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobAgent] operation results. + # + def begin_create_or_update(resource_group_name, server_name, job_agent_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, job_agent_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be created or + # updated. + # @param parameters [JobAgent] The requested job agent resource state. + # @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, server_name, job_agent_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, job_agent_name, parameters, custom_headers).value! + end + + # + # Creates or updates a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be created or + # updated. + # @param parameters [JobAgent] The requested job agent resource state. + # @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, server_name, job_agent_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || status_code == 202 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent.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 + + # + # Deletes a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be deleted. + # @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, server_name, job_agent_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, job_agent_name, custom_headers).value! + nil + end + + # + # Deletes a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be deleted. + # @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, server_name, job_agent_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, job_agent_name, custom_headers).value! + end + + # + # Deletes a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be deleted. + # @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, server_name, job_agent_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'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(: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 + + # + # Updates a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be updated. + # @param parameters [JobAgentUpdate] The update to the job agent. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobAgent] operation results. + # + def begin_update(resource_group_name, server_name, job_agent_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, server_name, job_agent_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Updates a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be updated. + # @param parameters [JobAgentUpdate] The update to the job agent. + # @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, server_name, job_agent_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, server_name, job_agent_name, parameters, custom_headers).value! + end + + # + # Updates a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent to be updated. + # @param parameters [JobAgentUpdate] The update to the job agent. + # @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, server_name, job_agent_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || status_code == 202 + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent.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 + + # + # Gets a list of job agents in a server. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobAgentListResult] operation results. + # + def list_by_server_next(next_page_link, custom_headers = nil) + response = list_by_server_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a list of job agents in a server. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_server_next_with_http_info(next_page_link, custom_headers = nil) + list_by_server_next_async(next_page_link, custom_headers).value! + end + + # + # Gets a list of job agents in a server. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_server_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult.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 + + # + # Gets a list of job agents in a server. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobAgentListResult] which provide lazy access to pages of the + # response. + # + def list_by_server_as_lazy(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_server_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_credentials.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_credentials.rb new file mode 100644 index 0000000000..2affe6e27e --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_credentials.rb @@ -0,0 +1,568 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class JobCredentials + include MsRestAzure + + # + # Creates and initializes a new instance of the JobCredentials class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a list of jobs credentials. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_agent(resource_group_name, server_name, job_agent_name, custom_headers = nil) + first_page = list_by_agent_as_lazy(resource_group_name, server_name, job_agent_name, custom_headers) + first_page.get_all_items + end + + # + # Gets a list of jobs credentials. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @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_agent_with_http_info(resource_group_name, server_name, job_agent_name, custom_headers = nil) + list_by_agent_async(resource_group_name, server_name, job_agent_name, custom_headers).value! + end + + # + # Gets a list of jobs credentials. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @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_agent_async(resource_group_name, server_name, job_agent_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult.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 + + # + # Gets a jobs credential. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param credential_name [String] The name of the credential. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobCredential] operation results. + # + def get(resource_group_name, server_name, job_agent_name, credential_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, job_agent_name, credential_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a jobs credential. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param credential_name [String] The name of the credential. + # @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, server_name, job_agent_name, credential_name, custom_headers = nil) + get_async(resource_group_name, server_name, job_agent_name, credential_name, custom_headers).value! + end + + # + # Gets a jobs credential. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param credential_name [String] The name of the credential. + # @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, server_name, job_agent_name, credential_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'credential_name is nil' if credential_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'credentialName' => credential_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential.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 + + # + # Creates or updates a job credential. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param credential_name [String] The name of the credential. + # @param parameters [JobCredential] The requested job credential state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobCredential] operation results. + # + def create_or_update(resource_group_name, server_name, job_agent_name, credential_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, job_agent_name, credential_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a job credential. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param credential_name [String] The name of the credential. + # @param parameters [JobCredential] The requested job credential state. + # @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 create_or_update_with_http_info(resource_group_name, server_name, job_agent_name, credential_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, job_agent_name, credential_name, parameters, custom_headers).value! + end + + # + # Creates or updates a job credential. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param credential_name [String] The name of the credential. + # @param parameters [JobCredential] The requested job credential state. + # @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 create_or_update_async(resource_group_name, server_name, job_agent_name, credential_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'credential_name is nil' if credential_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'credentialName' => credential_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential.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 + + # + # Deletes a job credential. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param credential_name [String] The name of the credential. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, server_name, job_agent_name, credential_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, job_agent_name, credential_name, custom_headers).value! + nil + end + + # + # Deletes a job credential. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param credential_name [String] The name of the credential. + # @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 delete_with_http_info(resource_group_name, server_name, job_agent_name, credential_name, custom_headers = nil) + delete_async(resource_group_name, server_name, job_agent_name, credential_name, custom_headers).value! + end + + # + # Deletes a job credential. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param credential_name [String] The name of the credential. + # @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 delete_async(resource_group_name, server_name, job_agent_name, credential_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'credential_name is nil' if credential_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'credentialName' => credential_name,'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(: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 == 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 + + # + # Gets a list of jobs credentials. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobCredentialListResult] operation results. + # + def list_by_agent_next(next_page_link, custom_headers = nil) + response = list_by_agent_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a list of jobs credentials. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_agent_next_with_http_info(next_page_link, custom_headers = nil) + list_by_agent_next_async(next_page_link, custom_headers).value! + end + + # + # Gets a list of jobs credentials. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_agent_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult.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 + + # + # Gets a list of jobs credentials. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobCredentialListResult] which provide lazy access to pages of the + # response. + # + def list_by_agent_as_lazy(resource_group_name, server_name, job_agent_name, custom_headers = nil) + response = list_by_agent_async(resource_group_name, server_name, job_agent_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_agent_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_executions.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_executions.rb new file mode 100644 index 0000000000..4fe91af84f --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_executions.rb @@ -0,0 +1,1093 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class JobExecutions + include MsRestAzure + + # + # Creates and initializes a new instance of the JobExecutions class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Lists all executions in a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_agent(resource_group_name, server_name, job_agent_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + first_page = list_by_agent_as_lazy(resource_group_name, server_name, job_agent_name, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers) + first_page.get_all_items + end + + # + # Lists all executions in a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @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_agent_with_http_info(resource_group_name, server_name, job_agent_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + list_by_agent_async(resource_group_name, server_name, job_agent_name, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers).value! + end + + # + # Lists all executions in a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @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_agent_async(resource_group_name, server_name, job_agent_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/executions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'subscriptionId' => @client.subscription_id}, + query_params: {'createTimeMin' => create_time_min,'createTimeMax' => create_time_max,'endTimeMin' => end_time_min,'endTimeMax' => end_time_max,'isActive' => is_active,'$skip' => skip,'$top' => top,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult.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 + + # + # Requests cancellation of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_execution_id The id of the job execution to cancel. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def cancel(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers = nil) + response = cancel_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers).value! + nil + end + + # + # Requests cancellation of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_execution_id The id of the job execution to cancel. + # @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 cancel_with_http_info(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers = nil) + cancel_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers).value! + end + + # + # Requests cancellation of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_execution_id The id of the job execution to cancel. + # @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 cancel_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'job_execution_id is nil' if job_execution_id.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/cancel' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'jobExecutionId' => job_execution_id,'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(: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? + + result + end + + promise.execute + end + + # + # Starts an elastic job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecution] operation results. + # + def create(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + response = create_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @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_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + # Send request + promise = begin_create_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution.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 + + # + # Lists a job's executions. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_job(resource_group_name, server_name, job_agent_name, job_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + first_page = list_by_job_as_lazy(resource_group_name, server_name, job_agent_name, job_name, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers) + first_page.get_all_items + end + + # + # Lists a job's executions. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @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_job_with_http_info(resource_group_name, server_name, job_agent_name, job_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + list_by_job_async(resource_group_name, server_name, job_agent_name, job_name, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers).value! + end + + # + # Lists a job's executions. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @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_job_async(resource_group_name, server_name, job_agent_name, job_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'subscriptionId' => @client.subscription_id}, + query_params: {'createTimeMin' => create_time_min,'createTimeMax' => create_time_max,'endTimeMin' => end_time_min,'endTimeMax' => end_time_max,'isActive' => is_active,'$skip' => skip,'$top' => top,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult.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 + + # + # Gets a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_execution_id The id of the job execution + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecution] operation results. + # + def get(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers = nil) + response = get_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_execution_id The id of the job execution + # @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, server_name, job_agent_name, job_name, job_execution_id, custom_headers = nil) + get_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers).value! + end + + # + # Gets a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_execution_id The id of the job execution + # @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, server_name, job_agent_name, job_name, job_execution_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'job_execution_id is nil' if job_execution_id.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'jobExecutionId' => job_execution_id,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution.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 + + # + # Creates or updatess a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The job execution id to create the job execution + # under. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecution] operation results. + # + def create_or_update(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The job execution id to create the job execution + # under. + # @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, server_name, job_agent_name, job_name, job_execution_id, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution.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 + + # + # Starts an elastic job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecution] operation results. + # + def begin_create(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + response = begin_create_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Starts an elastic job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @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_with_http_info(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + begin_create_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers).value! + end + + # + # Starts an elastic job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @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_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/start' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'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(: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 || status_code == 202 + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution.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 + + # + # Creates or updatess a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The job execution id to create the job execution + # under. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecution] operation results. + # + def begin_create_or_update(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updatess a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The job execution id to create the job execution + # under. + # @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, server_name, job_agent_name, job_name, job_execution_id, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, custom_headers).value! + end + + # + # Creates or updatess a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The job execution id to create the job execution + # under. + # @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, server_name, job_agent_name, job_name, job_execution_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'job_execution_id is nil' if job_execution_id.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'jobExecutionId' => job_execution_id,'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(: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 == 200 || status_code == 202 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution.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 + + # + # Lists all executions in a job agent. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecutionListResult] operation results. + # + def list_by_agent_next(next_page_link, custom_headers = nil) + response = list_by_agent_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists all executions in a job agent. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_agent_next_with_http_info(next_page_link, custom_headers = nil) + list_by_agent_next_async(next_page_link, custom_headers).value! + end + + # + # Lists all executions in a job agent. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_agent_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult.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 + + # + # Lists a job's executions. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecutionListResult] operation results. + # + def list_by_job_next(next_page_link, custom_headers = nil) + response = list_by_job_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists a job's executions. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_job_next_with_http_info(next_page_link, custom_headers = nil) + list_by_job_next_async(next_page_link, custom_headers).value! + end + + # + # Lists a job's executions. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_job_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult.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 + + # + # Lists all executions in a job agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecutionListResult] which provide lazy access to pages of the + # response. + # + def list_by_agent_as_lazy(resource_group_name, server_name, job_agent_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + response = list_by_agent_async(resource_group_name, server_name, job_agent_name, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_agent_next_async(next_page_link, custom_headers) + end + page + end + end + + # + # Lists a job's executions. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecutionListResult] which provide lazy access to pages of the + # response. + # + def list_by_job_as_lazy(resource_group_name, server_name, job_agent_name, job_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + response = list_by_job_async(resource_group_name, server_name, job_agent_name, job_name, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_job_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_step_executions.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_step_executions.rb new file mode 100644 index 0000000000..1ae0d0a369 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_step_executions.rb @@ -0,0 +1,412 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class JobStepExecutions + include MsRestAzure + + # + # Creates and initializes a new instance of the JobStepExecutions class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Lists the step executions of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_job_execution(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + first_page = list_by_job_execution_as_lazy(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers) + first_page.get_all_items + end + + # + # Lists the step executions of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @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_job_execution_with_http_info(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + list_by_job_execution_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers).value! + end + + # + # Lists the step executions of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @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_job_execution_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'job_execution_id is nil' if job_execution_id.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'jobExecutionId' => job_execution_id,'subscriptionId' => @client.subscription_id}, + query_params: {'createTimeMin' => create_time_min,'createTimeMax' => create_time_max,'endTimeMin' => end_time_min,'endTimeMax' => end_time_max,'isActive' => is_active,'$skip' => skip,'$top' => top,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult.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 + + # + # Gets a step execution of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The unique id of the job execution + # @param step_name [String] The name of the step. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecution] operation results. + # + def get(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a step execution of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The unique id of the job execution + # @param step_name [String] The name of the step. + # @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, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers = nil) + get_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers).value! + end + + # + # Gets a step execution of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The unique id of the job execution + # @param step_name [String] The name of the step. + # @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, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'job_execution_id is nil' if job_execution_id.nil? + fail ArgumentError, 'step_name is nil' if step_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps/{stepName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'jobExecutionId' => job_execution_id,'stepName' => step_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution.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 + + # + # Lists the step executions of a job execution. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecutionListResult] operation results. + # + def list_by_job_execution_next(next_page_link, custom_headers = nil) + response = list_by_job_execution_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists the step executions of a job execution. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_job_execution_next_with_http_info(next_page_link, custom_headers = nil) + list_by_job_execution_next_async(next_page_link, custom_headers).value! + end + + # + # Lists the step executions of a job execution. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_job_execution_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult.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 + + # + # Lists the step executions of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecutionListResult] which provide lazy access to pages of the + # response. + # + def list_by_job_execution_as_lazy(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + response = list_by_job_execution_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_job_execution_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_steps.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_steps.rb new file mode 100644 index 0000000000..5432b03358 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_steps.rb @@ -0,0 +1,921 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class JobSteps + include MsRestAzure + + # + # Creates and initializes a new instance of the JobSteps class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets all job steps in the specified job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_version [Integer] The version of the job to get. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_version(resource_group_name, server_name, job_agent_name, job_name, job_version, custom_headers = nil) + first_page = list_by_version_as_lazy(resource_group_name, server_name, job_agent_name, job_name, job_version, custom_headers) + first_page.get_all_items + end + + # + # Gets all job steps in the specified job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_version [Integer] The version of the job to get. + # @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_version_with_http_info(resource_group_name, server_name, job_agent_name, job_name, job_version, custom_headers = nil) + list_by_version_async(resource_group_name, server_name, job_agent_name, job_name, job_version, custom_headers).value! + end + + # + # Gets all job steps in the specified job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_version [Integer] The version of the job to get. + # @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_version_async(resource_group_name, server_name, job_agent_name, job_name, job_version, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'job_version is nil' if job_version.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/versions/{jobVersion}/steps' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'jobVersion' => job_version,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult.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 + + # + # Gets the specified version of a job step. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_version [Integer] The version of the job to get. + # @param step_name [String] The name of the job step. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobStep] operation results. + # + def get_by_version(resource_group_name, server_name, job_agent_name, job_name, job_version, step_name, custom_headers = nil) + response = get_by_version_async(resource_group_name, server_name, job_agent_name, job_name, job_version, step_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets the specified version of a job step. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_version [Integer] The version of the job to get. + # @param step_name [String] The name of the job step. + # @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_by_version_with_http_info(resource_group_name, server_name, job_agent_name, job_name, job_version, step_name, custom_headers = nil) + get_by_version_async(resource_group_name, server_name, job_agent_name, job_name, job_version, step_name, custom_headers).value! + end + + # + # Gets the specified version of a job step. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_version [Integer] The version of the job to get. + # @param step_name [String] The name of the job step. + # @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_by_version_async(resource_group_name, server_name, job_agent_name, job_name, job_version, step_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'job_version is nil' if job_version.nil? + fail ArgumentError, 'step_name is nil' if step_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/versions/{jobVersion}/steps/{stepName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'jobVersion' => job_version,'stepName' => step_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobStep.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 + + # + # Gets all job steps for a job's current version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_job(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + first_page = list_by_job_as_lazy(resource_group_name, server_name, job_agent_name, job_name, custom_headers) + first_page.get_all_items + end + + # + # Gets all job steps for a job's current version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @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_job_with_http_info(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + list_by_job_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers).value! + end + + # + # Gets all job steps for a job's current version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @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_job_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult.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 + + # + # Gets a job step in a job's current version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param step_name [String] The name of the job step. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobStep] operation results. + # + def get(resource_group_name, server_name, job_agent_name, job_name, step_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, job_agent_name, job_name, step_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a job step in a job's current version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param step_name [String] The name of the job step. + # @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, server_name, job_agent_name, job_name, step_name, custom_headers = nil) + get_async(resource_group_name, server_name, job_agent_name, job_name, step_name, custom_headers).value! + end + + # + # Gets a job step in a job's current version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param step_name [String] The name of the job step. + # @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, server_name, job_agent_name, job_name, step_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'step_name is nil' if step_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'stepName' => step_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobStep.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 + + # + # Creates or updates a job step. This will implicitly create a new job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param step_name [String] The name of the job step. + # @param parameters [JobStep] The requested state of the job step. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobStep] operation results. + # + def create_or_update(resource_group_name, server_name, job_agent_name, job_name, step_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, job_agent_name, job_name, step_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a job step. This will implicitly create a new job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param step_name [String] The name of the job step. + # @param parameters [JobStep] The requested state of the job step. + # @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 create_or_update_with_http_info(resource_group_name, server_name, job_agent_name, job_name, step_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, job_agent_name, job_name, step_name, parameters, custom_headers).value! + end + + # + # Creates or updates a job step. This will implicitly create a new job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param step_name [String] The name of the job step. + # @param parameters [JobStep] The requested state of the job step. + # @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 create_or_update_async(resource_group_name, server_name, job_agent_name, job_name, step_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'step_name is nil' if step_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'stepName' => step_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep.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 + + # + # Deletes a job step. This will implicitly create a new job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param step_name [String] The name of the job step to delete. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, server_name, job_agent_name, job_name, step_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, job_agent_name, job_name, step_name, custom_headers).value! + nil + end + + # + # Deletes a job step. This will implicitly create a new job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param step_name [String] The name of the job step to delete. + # @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 delete_with_http_info(resource_group_name, server_name, job_agent_name, job_name, step_name, custom_headers = nil) + delete_async(resource_group_name, server_name, job_agent_name, job_name, step_name, custom_headers).value! + end + + # + # Deletes a job step. This will implicitly create a new job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param step_name [String] The name of the job step to delete. + # @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 delete_async(resource_group_name, server_name, job_agent_name, job_name, step_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'step_name is nil' if step_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'stepName' => step_name,'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(: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 == 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 + + # + # Gets all job steps in the specified job version. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobStepListResult] operation results. + # + def list_by_version_next(next_page_link, custom_headers = nil) + response = list_by_version_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets all job steps in the specified job version. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_version_next_with_http_info(next_page_link, custom_headers = nil) + list_by_version_next_async(next_page_link, custom_headers).value! + end + + # + # Gets all job steps in the specified job version. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_version_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult.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 + + # + # Gets all job steps for a job's current version. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobStepListResult] operation results. + # + def list_by_job_next(next_page_link, custom_headers = nil) + response = list_by_job_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets all job steps for a job's current version. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_job_next_with_http_info(next_page_link, custom_headers = nil) + list_by_job_next_async(next_page_link, custom_headers).value! + end + + # + # Gets all job steps for a job's current version. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_job_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult.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 + + # + # Gets all job steps in the specified job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_version [Integer] The version of the job to get. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobStepListResult] which provide lazy access to pages of the + # response. + # + def list_by_version_as_lazy(resource_group_name, server_name, job_agent_name, job_name, job_version, custom_headers = nil) + response = list_by_version_async(resource_group_name, server_name, job_agent_name, job_name, job_version, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_version_next_async(next_page_link, custom_headers) + end + page + end + end + + # + # Gets all job steps for a job's current version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobStepListResult] which provide lazy access to pages of the + # response. + # + def list_by_job_as_lazy(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + response = list_by_job_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_job_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_executions.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_executions.rb new file mode 100644 index 0000000000..e047c6ae26 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_executions.rb @@ -0,0 +1,692 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class JobTargetExecutions + include MsRestAzure + + # + # Creates and initializes a new instance of the JobTargetExecutions class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Lists target executions for all steps of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_job_execution(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + first_page = list_by_job_execution_as_lazy(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers) + first_page.get_all_items + end + + # + # Lists target executions for all steps of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @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_job_execution_with_http_info(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + list_by_job_execution_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers).value! + end + + # + # Lists target executions for all steps of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @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_job_execution_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'job_execution_id is nil' if job_execution_id.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/targets' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'jobExecutionId' => job_execution_id,'subscriptionId' => @client.subscription_id}, + query_params: {'createTimeMin' => create_time_min,'createTimeMax' => create_time_max,'endTimeMin' => end_time_min,'endTimeMax' => end_time_max,'isActive' => is_active,'$skip' => skip,'$top' => top,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult.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 + + # + # Lists the target executions of a job step execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param step_name [String] The name of the step. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_step(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + first_page = list_by_step_as_lazy(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers) + first_page.get_all_items + end + + # + # Lists the target executions of a job step execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param step_name [String] The name of the step. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @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_step_with_http_info(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + list_by_step_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers).value! + end + + # + # Lists the target executions of a job step execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param step_name [String] The name of the step. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @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_step_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'job_execution_id is nil' if job_execution_id.nil? + fail ArgumentError, 'step_name is nil' if step_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps/{stepName}/targets' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'jobExecutionId' => job_execution_id,'stepName' => step_name,'subscriptionId' => @client.subscription_id}, + query_params: {'createTimeMin' => create_time_min,'createTimeMax' => create_time_max,'endTimeMin' => end_time_min,'endTimeMax' => end_time_max,'isActive' => is_active,'$skip' => skip,'$top' => top,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult.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 + + # + # Gets a target execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The unique id of the job execution + # @param step_name [String] The name of the step. + # @param target_id The target id. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecution] operation results. + # + def get(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, target_id, custom_headers = nil) + response = get_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, target_id, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a target execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The unique id of the job execution + # @param step_name [String] The name of the step. + # @param target_id The target id. + # @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, server_name, job_agent_name, job_name, job_execution_id, step_name, target_id, custom_headers = nil) + get_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, target_id, custom_headers).value! + end + + # + # Gets a target execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The unique id of the job execution + # @param step_name [String] The name of the step. + # @param target_id The target id. + # @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, server_name, job_agent_name, job_name, job_execution_id, step_name, target_id, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'job_execution_id is nil' if job_execution_id.nil? + fail ArgumentError, 'step_name is nil' if step_name.nil? + fail ArgumentError, 'target_id is nil' if target_id.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps/{stepName}/targets/{targetId}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'jobExecutionId' => job_execution_id,'stepName' => step_name,'targetId' => target_id,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution.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 + + # + # Lists target executions for all steps of a job execution. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecutionListResult] operation results. + # + def list_by_job_execution_next(next_page_link, custom_headers = nil) + response = list_by_job_execution_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists target executions for all steps of a job execution. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_job_execution_next_with_http_info(next_page_link, custom_headers = nil) + list_by_job_execution_next_async(next_page_link, custom_headers).value! + end + + # + # Lists target executions for all steps of a job execution. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_job_execution_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult.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 + + # + # Lists the target executions of a job step execution. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecutionListResult] operation results. + # + def list_by_step_next(next_page_link, custom_headers = nil) + response = list_by_step_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists the target executions of a job step execution. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_step_next_with_http_info(next_page_link, custom_headers = nil) + list_by_step_next_async(next_page_link, custom_headers).value! + end + + # + # Lists the target executions of a job step execution. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_step_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult.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 + + # + # Lists target executions for all steps of a job execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecutionListResult] which provide lazy access to pages of the + # response. + # + def list_by_job_execution_as_lazy(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + response = list_by_job_execution_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_job_execution_next_async(next_page_link, custom_headers) + end + page + end + end + + # + # Lists the target executions of a job step execution. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param job_execution_id The id of the job execution + # @param step_name [String] The name of the step. + # @param create_time_min [DateTime] If specified, only job executions created + # at or after the specified time are included. + # @param create_time_max [DateTime] If specified, only job executions created + # before the specified time are included. + # @param end_time_min [DateTime] If specified, only job executions completed at + # or after the specified time are included. + # @param end_time_max [DateTime] If specified, only job executions completed + # before the specified time are included. + # @param is_active [Boolean] If specified, only active or only completed job + # executions are included. + # @param skip [Integer] The number of elements in the collection to skip. + # @param top [Integer] The number of elements to return from the collection. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobExecutionListResult] which provide lazy access to pages of the + # response. + # + def list_by_step_as_lazy(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, create_time_min = nil, create_time_max = nil, end_time_min = nil, end_time_max = nil, is_active = nil, skip = nil, top = nil, custom_headers = nil) + response = list_by_step_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, create_time_min, create_time_max, end_time_min, end_time_max, is_active, skip, top, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_step_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_groups.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_groups.rb new file mode 100644 index 0000000000..6f4419d2e5 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_groups.rb @@ -0,0 +1,568 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class JobTargetGroups + include MsRestAzure + + # + # Creates and initializes a new instance of the JobTargetGroups class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets all target groups in an agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_agent(resource_group_name, server_name, job_agent_name, custom_headers = nil) + first_page = list_by_agent_as_lazy(resource_group_name, server_name, job_agent_name, custom_headers) + first_page.get_all_items + end + + # + # Gets all target groups in an agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @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_agent_with_http_info(resource_group_name, server_name, job_agent_name, custom_headers = nil) + list_by_agent_async(resource_group_name, server_name, job_agent_name, custom_headers).value! + end + + # + # Gets all target groups in an agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @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_agent_async(resource_group_name, server_name, job_agent_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult.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 + + # + # Gets a target group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param target_group_name [String] The name of the target group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobTargetGroup] operation results. + # + def get(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a target group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param target_group_name [String] The name of the target group. + # @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, server_name, job_agent_name, target_group_name, custom_headers = nil) + get_async(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers).value! + end + + # + # Gets a target group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param target_group_name [String] The name of the target group. + # @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, server_name, job_agent_name, target_group_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'target_group_name is nil' if target_group_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups/{targetGroupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'targetGroupName' => target_group_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup.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 + + # + # Creates or updates a target group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param target_group_name [String] The name of the target group. + # @param parameters [JobTargetGroup] The requested state of the target group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobTargetGroup] operation results. + # + def create_or_update(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a target group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param target_group_name [String] The name of the target group. + # @param parameters [JobTargetGroup] The requested state of the target group. + # @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 create_or_update_with_http_info(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers).value! + end + + # + # Creates or updates a target group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param target_group_name [String] The name of the target group. + # @param parameters [JobTargetGroup] The requested state of the target group. + # @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 create_or_update_async(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'target_group_name is nil' if target_group_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups/{targetGroupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'targetGroupName' => target_group_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup.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 + + # + # Deletes a target group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param target_group_name [String] The name of the target group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers).value! + nil + end + + # + # Deletes a target group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param target_group_name [String] The name of the target group. + # @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 delete_with_http_info(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers = nil) + delete_async(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers).value! + end + + # + # Deletes a target group. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param target_group_name [String] The name of the target group. + # @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 delete_async(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'target_group_name is nil' if target_group_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups/{targetGroupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'targetGroupName' => target_group_name,'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(: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 == 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 + + # + # Gets all target groups in an agent. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobTargetGroupListResult] operation results. + # + def list_by_agent_next(next_page_link, custom_headers = nil) + response = list_by_agent_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets all target groups in an agent. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_agent_next_with_http_info(next_page_link, custom_headers = nil) + list_by_agent_next_async(next_page_link, custom_headers).value! + end + + # + # Gets all target groups in an agent. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_agent_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult.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 + + # + # Gets all target groups in an agent. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobTargetGroupListResult] which provide lazy access to pages of the + # response. + # + def list_by_agent_as_lazy(resource_group_name, server_name, job_agent_name, custom_headers = nil) + response = list_by_agent_async(resource_group_name, server_name, job_agent_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_agent_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_versions.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_versions.rb new file mode 100644 index 0000000000..79921a11be --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_versions.rb @@ -0,0 +1,355 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class JobVersions + include MsRestAzure + + # + # Creates and initializes a new instance of the JobVersions class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets all versions of a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_job(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + first_page = list_by_job_as_lazy(resource_group_name, server_name, job_agent_name, job_name, custom_headers) + first_page.get_all_items + end + + # + # Gets all versions of a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @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_job_with_http_info(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + list_by_job_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers).value! + end + + # + # Gets all versions of a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @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_job_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/versions' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult.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 + + # + # Gets a job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_version [Integer] The version of the job to get. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobVersion] operation results. + # + def get(resource_group_name, server_name, job_agent_name, job_name, job_version, custom_headers = nil) + response = get_async(resource_group_name, server_name, job_agent_name, job_name, job_version, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_version [Integer] The version of the job to get. + # @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, server_name, job_agent_name, job_name, job_version, custom_headers = nil) + get_async(resource_group_name, server_name, job_agent_name, job_name, job_version, custom_headers).value! + end + + # + # Gets a job version. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job. + # @param job_version [Integer] The version of the job to get. + # @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, server_name, job_agent_name, job_name, job_version, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'job_version is nil' if job_version.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/versions/{jobVersion}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'jobVersion' => job_version,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion.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 + + # + # Gets all versions of a job. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobVersionListResult] operation results. + # + def list_by_job_next(next_page_link, custom_headers = nil) + response = list_by_job_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets all versions of a job. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_job_next_with_http_info(next_page_link, custom_headers = nil) + list_by_job_next_async(next_page_link, custom_headers).value! + end + + # + # Gets all versions of a job. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_job_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult.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 + + # + # Gets all versions of a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobVersionListResult] which provide lazy access to pages of the + # response. + # + def list_by_job_as_lazy(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + response = list_by_job_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_job_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/jobs.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/jobs.rb new file mode 100644 index 0000000000..00d791e1b8 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/jobs.rb @@ -0,0 +1,567 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class Jobs + include MsRestAzure + + # + # Creates and initializes a new instance of the Jobs class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a list of jobs. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_agent(resource_group_name, server_name, job_agent_name, custom_headers = nil) + first_page = list_by_agent_as_lazy(resource_group_name, server_name, job_agent_name, custom_headers) + first_page.get_all_items + end + + # + # Gets a list of jobs. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @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_agent_with_http_info(resource_group_name, server_name, job_agent_name, custom_headers = nil) + list_by_agent_async(resource_group_name, server_name, job_agent_name, custom_headers).value! + end + + # + # Gets a list of jobs. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @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_agent_async(resource_group_name, server_name, job_agent_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult.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 + + # + # Gets a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Job] operation results. + # + def get(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @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, server_name, job_agent_name, job_name, custom_headers = nil) + get_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers).value! + end + + # + # Gets a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @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, server_name, job_agent_name, job_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::Job.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 + + # + # Creates or updates a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param parameters [Job] The requested job state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Job] operation results. + # + def create_or_update(resource_group_name, server_name, job_agent_name, job_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, job_agent_name, job_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param parameters [Job] The requested job state. + # @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 create_or_update_with_http_info(resource_group_name, server_name, job_agent_name, job_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, server_name, job_agent_name, job_name, parameters, custom_headers).value! + end + + # + # Creates or updates a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to get. + # @param parameters [Job] The requested job state. + # @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 create_or_update_async(resource_group_name, server_name, job_agent_name, job_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job.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 + + # + # Deletes a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to delete. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers).value! + nil + end + + # + # Deletes a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to delete. + # @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 delete_with_http_info(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + delete_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers).value! + end + + # + # Deletes a job. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param job_name [String] The name of the job to delete. + # @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 delete_async(resource_group_name, server_name, job_agent_name, job_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'job_agent_name is nil' if job_agent_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'jobAgentName' => job_agent_name,'jobName' => job_name,'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(: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 == 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 + + # + # Gets a list of jobs. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobListResult] operation results. + # + def list_by_agent_next(next_page_link, custom_headers = nil) + response = list_by_agent_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a list of jobs. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_agent_next_with_http_info(next_page_link, custom_headers = nil) + list_by_agent_next_async(next_page_link, custom_headers).value! + end + + # + # Gets a list of jobs. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_agent_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult.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 + + # + # Gets a list of jobs. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param job_agent_name [String] The name of the job agent. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobListResult] which provide lazy access to pages of the response. + # + def list_by_agent_as_lazy(resource_group_name, server_name, job_agent_name, custom_headers = nil) + response = list_by_agent_async(resource_group_name, server_name, job_agent_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_agent_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/long_term_retention_backups.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/long_term_retention_backups.rb new file mode 100644 index 0000000000..fda8000480 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/long_term_retention_backups.rb @@ -0,0 +1,917 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class LongTermRetentionBackups + include MsRestAzure + + # + # Creates and initializes a new instance of the LongTermRetentionBackups class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a long term retention backup. + # + # @param location_name [String] The location of the database. + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param backup_name [String] The backup name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LongTermRetentionBackup] operation results. + # + def get(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers = nil) + response = get_async(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a long term retention backup. + # + # @param location_name [String] The location of the database. + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param backup_name [String] The backup name. + # @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(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers = nil) + get_async(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers).value! + end + + # + # Gets a long term retention backup. + # + # @param location_name [String] The location of the database. + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param backup_name [String] The backup name. + # @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(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers = nil) + fail ArgumentError, 'location_name is nil' if location_name.nil? + fail ArgumentError, 'long_term_retention_server_name is nil' if long_term_retention_server_name.nil? + fail ArgumentError, 'long_term_retention_database_name is nil' if long_term_retention_database_name.nil? + fail ArgumentError, 'backup_name is nil' if backup_name.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.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'locationName' => location_name,'longTermRetentionServerName' => long_term_retention_server_name,'longTermRetentionDatabaseName' => long_term_retention_database_name,'backupName' => backup_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup.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 + + # + # Deletes a long term retention backup. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param backup_name [String] The backup name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers = nil) + response = delete_async(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers).value! + nil + end + + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param backup_name [String] The backup name. + # @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(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers = nil) + # Send request + promise = begin_delete_async(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_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 + + # + # Lists all long term retention backups for a database. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_database(location_name, long_term_retention_server_name, long_term_retention_database_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + first_page = list_by_database_as_lazy(location_name, long_term_retention_server_name, long_term_retention_database_name, only_latest_per_database, database_state, custom_headers) + first_page.get_all_items + end + + # + # Lists all long term retention backups for a database. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @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_database_with_http_info(location_name, long_term_retention_server_name, long_term_retention_database_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + list_by_database_async(location_name, long_term_retention_server_name, long_term_retention_database_name, only_latest_per_database, database_state, custom_headers).value! + end + + # + # Lists all long term retention backups for a database. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @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_database_async(location_name, long_term_retention_server_name, long_term_retention_database_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + fail ArgumentError, 'location_name is nil' if location_name.nil? + fail ArgumentError, 'long_term_retention_server_name is nil' if long_term_retention_server_name.nil? + fail ArgumentError, 'long_term_retention_database_name is nil' if long_term_retention_database_name.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.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'locationName' => location_name,'longTermRetentionServerName' => long_term_retention_server_name,'longTermRetentionDatabaseName' => long_term_retention_database_name,'subscriptionId' => @client.subscription_id}, + query_params: {'onlyLatestPerDatabase' => only_latest_per_database,'databaseState' => database_state,'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::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult.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 + + # + # Lists the long term retention backups for a given location. + # + # @param location_name [String] The location of the database + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_location(location_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + first_page = list_by_location_as_lazy(location_name, only_latest_per_database, database_state, custom_headers) + first_page.get_all_items + end + + # + # Lists the long term retention backups for a given location. + # + # @param location_name [String] The location of the database + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @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_location_with_http_info(location_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + list_by_location_async(location_name, only_latest_per_database, database_state, custom_headers).value! + end + + # + # Lists the long term retention backups for a given location. + # + # @param location_name [String] The location of the database + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @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_location_async(location_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + fail ArgumentError, 'location_name is nil' if location_name.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.Sql/locations/{locationName}/longTermRetentionBackups' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'locationName' => location_name,'subscriptionId' => @client.subscription_id}, + query_params: {'onlyLatestPerDatabase' => only_latest_per_database,'databaseState' => database_state,'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::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult.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 + + # + # Lists the long term retention backups for a given server. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_server(location_name, long_term_retention_server_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + first_page = list_by_server_as_lazy(location_name, long_term_retention_server_name, only_latest_per_database, database_state, custom_headers) + first_page.get_all_items + end + + # + # Lists the long term retention backups for a given server. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @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_server_with_http_info(location_name, long_term_retention_server_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + list_by_server_async(location_name, long_term_retention_server_name, only_latest_per_database, database_state, custom_headers).value! + end + + # + # Lists the long term retention backups for a given server. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @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_server_async(location_name, long_term_retention_server_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + fail ArgumentError, 'location_name is nil' if location_name.nil? + fail ArgumentError, 'long_term_retention_server_name is nil' if long_term_retention_server_name.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.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'locationName' => location_name,'longTermRetentionServerName' => long_term_retention_server_name,'subscriptionId' => @client.subscription_id}, + query_params: {'onlyLatestPerDatabase' => only_latest_per_database,'databaseState' => database_state,'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::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult.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 + + # + # Deletes a long term retention backup. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param backup_name [String] The backup name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers = nil) + response = begin_delete_async(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers).value! + nil + end + + # + # Deletes a long term retention backup. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param backup_name [String] The backup name. + # @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(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers = nil) + begin_delete_async(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers).value! + end + + # + # Deletes a long term retention backup. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param backup_name [String] The backup name. + # @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(location_name, long_term_retention_server_name, long_term_retention_database_name, backup_name, custom_headers = nil) + fail ArgumentError, 'location_name is nil' if location_name.nil? + fail ArgumentError, 'long_term_retention_server_name is nil' if long_term_retention_server_name.nil? + fail ArgumentError, 'long_term_retention_database_name is nil' if long_term_retention_database_name.nil? + fail ArgumentError, 'backup_name is nil' if backup_name.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.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'locationName' => location_name,'longTermRetentionServerName' => long_term_retention_server_name,'longTermRetentionDatabaseName' => long_term_retention_database_name,'backupName' => backup_name,'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(: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 + 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 + + # + # Lists all long term retention backups for a database. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LongTermRetentionBackupListResult] operation results. + # + def list_by_database_next(next_page_link, custom_headers = nil) + response = list_by_database_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists all long term retention backups for a database. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_database_next_with_http_info(next_page_link, custom_headers = nil) + list_by_database_next_async(next_page_link, custom_headers).value! + end + + # + # Lists all long term retention backups for a database. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_database_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult.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 + + # + # Lists the long term retention backups for a given location. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LongTermRetentionBackupListResult] operation results. + # + def list_by_location_next(next_page_link, custom_headers = nil) + response = list_by_location_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists the long term retention backups for a given location. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_location_next_with_http_info(next_page_link, custom_headers = nil) + list_by_location_next_async(next_page_link, custom_headers).value! + end + + # + # Lists the long term retention backups for a given location. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_location_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult.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 + + # + # Lists the long term retention backups for a given server. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LongTermRetentionBackupListResult] operation results. + # + def list_by_server_next(next_page_link, custom_headers = nil) + response = list_by_server_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists the long term retention backups for a given server. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_server_next_with_http_info(next_page_link, custom_headers = nil) + list_by_server_next_async(next_page_link, custom_headers).value! + end + + # + # Lists the long term retention backups for a given server. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_server_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult.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 + + # + # Lists all long term retention backups for a database. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param long_term_retention_database_name [String] + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LongTermRetentionBackupListResult] which provide lazy access to + # pages of the response. + # + def list_by_database_as_lazy(location_name, long_term_retention_server_name, long_term_retention_database_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + response = list_by_database_async(location_name, long_term_retention_server_name, long_term_retention_database_name, only_latest_per_database, database_state, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_database_next_async(next_page_link, custom_headers) + end + page + end + end + + # + # Lists the long term retention backups for a given location. + # + # @param location_name [String] The location of the database + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LongTermRetentionBackupListResult] which provide lazy access to + # pages of the response. + # + def list_by_location_as_lazy(location_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + response = list_by_location_async(location_name, only_latest_per_database, database_state, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_location_next_async(next_page_link, custom_headers) + end + page + end + end + + # + # Lists the long term retention backups for a given server. + # + # @param location_name [String] The location of the database + # @param long_term_retention_server_name [String] + # @param only_latest_per_database [Boolean] Whether or not to only get the + # latest backup for each database. + # @param database_state [LongTermRetentionDatabaseState] Whether to query + # against just live databases, just deleted databases, or all databases. + # Possible values include: 'All', 'Live', 'Deleted' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LongTermRetentionBackupListResult] which provide lazy access to + # pages of the response. + # + def list_by_server_as_lazy(location_name, long_term_retention_server_name, only_latest_per_database = nil, database_state = nil, custom_headers = nil) + response = list_by_server_async(location_name, long_term_retention_server_name, only_latest_per_database, database_state, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_server_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb new file mode 100644 index 0000000000..9bb4950311 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb @@ -0,0 +1,962 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class ManagedDatabases + include MsRestAzure + + # + # Creates and initializes a new instance of the ManagedDatabases class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Completes the restore operation on a managed database. + # + # @param location_name [String] The name of the region where the resource is + # located. + # @param operation_id Management operation id that this request tries to + # complete. + # @param parameters [CompleteDatabaseRestoreDefinition] The definition for + # completing the restore of this managed database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def complete_restore(location_name, operation_id, parameters, custom_headers = nil) + response = complete_restore_async(location_name, operation_id, parameters, custom_headers).value! + nil + end + + # + # @param location_name [String] The name of the region where the resource is + # located. + # @param operation_id Management operation id that this request tries to + # complete. + # @param parameters [CompleteDatabaseRestoreDefinition] The definition for + # completing the restore of this managed database. + # @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 complete_restore_async(location_name, operation_id, parameters, custom_headers = nil) + # Send request + promise = begin_complete_restore_async(location_name, operation_id, parameters, 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 + + # + # Gets a list of managed databases. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_instance(resource_group_name, managed_instance_name, custom_headers = nil) + first_page = list_by_instance_as_lazy(resource_group_name, managed_instance_name, custom_headers) + first_page.get_all_items + end + + # + # Gets a list of managed databases. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @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_instance_with_http_info(resource_group_name, managed_instance_name, custom_headers = nil) + list_by_instance_async(resource_group_name, managed_instance_name, custom_headers).value! + end + + # + # Gets a list of managed databases. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @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_instance_async(resource_group_name, managed_instance_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'managed_instance_name is nil' if managed_instance_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'managedInstanceName' => managed_instance_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult.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 + + # + # Gets a managed database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedDatabase] operation results. + # + def get(resource_group_name, managed_instance_name, database_name, custom_headers = nil) + response = get_async(resource_group_name, managed_instance_name, database_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a managed database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @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, managed_instance_name, database_name, custom_headers = nil) + get_async(resource_group_name, managed_instance_name, database_name, custom_headers).value! + end + + # + # Gets a managed database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @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, managed_instance_name, database_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'managed_instance_name is nil' if managed_instance_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'managedInstanceName' => managed_instance_name,'databaseName' => database_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase.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 + + # + # Creates a new database or updates an existing database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param parameters [ManagedDatabase] The requested database resource state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedDatabase] operation results. + # + def create_or_update(resource_group_name, managed_instance_name, database_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, managed_instance_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param parameters [ManagedDatabase] The requested database resource state. + # @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, managed_instance_name, database_name, parameters, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, managed_instance_name, database_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase.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 + + # + # Deletes the managed database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, managed_instance_name, database_name, custom_headers = nil) + response = delete_async(resource_group_name, managed_instance_name, database_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @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, managed_instance_name, database_name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, managed_instance_name, database_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 + + # + # Updates an existing database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param parameters [ManagedDatabaseUpdate] The requested database resource + # state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedDatabase] operation results. + # + def update(resource_group_name, managed_instance_name, database_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, managed_instance_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param parameters [ManagedDatabaseUpdate] The requested database resource + # state. + # @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, managed_instance_name, database_name, parameters, custom_headers = nil) + # Send request + promise = begin_update_async(resource_group_name, managed_instance_name, database_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase.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 + + # + # Completes the restore operation on a managed database. + # + # @param location_name [String] The name of the region where the resource is + # located. + # @param operation_id Management operation id that this request tries to + # complete. + # @param parameters [CompleteDatabaseRestoreDefinition] The definition for + # completing the restore of this managed database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_complete_restore(location_name, operation_id, parameters, custom_headers = nil) + response = begin_complete_restore_async(location_name, operation_id, parameters, custom_headers).value! + nil + end + + # + # Completes the restore operation on a managed database. + # + # @param location_name [String] The name of the region where the resource is + # located. + # @param operation_id Management operation id that this request tries to + # complete. + # @param parameters [CompleteDatabaseRestoreDefinition] The definition for + # completing the restore of this managed database. + # @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_complete_restore_with_http_info(location_name, operation_id, parameters, custom_headers = nil) + begin_complete_restore_async(location_name, operation_id, parameters, custom_headers).value! + end + + # + # Completes the restore operation on a managed database. + # + # @param location_name [String] The name of the region where the resource is + # located. + # @param operation_id Management operation id that this request tries to + # complete. + # @param parameters [CompleteDatabaseRestoreDefinition] The definition for + # completing the restore of this managed database. + # @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_complete_restore_async(location_name, operation_id, parameters, custom_headers = nil) + fail ArgumentError, 'location_name is nil' if location_name.nil? + fail ArgumentError, 'operation_id is nil' if operation_id.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/managedDatabaseRestoreAzureAsyncOperation/{operationId}/completeRestore' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'locationName' => location_name,'operationId' => operation_id,'subscriptionId' => @client.subscription_id}, + 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 || status_code == 202 + 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 + + # + # Creates a new database or updates an existing database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param parameters [ManagedDatabase] The requested database resource state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedDatabase] operation results. + # + def begin_create_or_update(resource_group_name, managed_instance_name, database_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, managed_instance_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates a new database or updates an existing database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param parameters [ManagedDatabase] The requested database resource state. + # @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, managed_instance_name, database_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, managed_instance_name, database_name, parameters, custom_headers).value! + end + + # + # Creates a new database or updates an existing database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param parameters [ManagedDatabase] The requested database resource state. + # @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, managed_instance_name, database_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'managed_instance_name is nil' if managed_instance_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'managedInstanceName' => managed_instance_name,'databaseName' => database_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || status_code == 202 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase.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 + + # + # Deletes the managed database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @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, managed_instance_name, database_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, managed_instance_name, database_name, custom_headers).value! + nil + end + + # + # Deletes the managed database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @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, managed_instance_name, database_name, custom_headers = nil) + begin_delete_async(resource_group_name, managed_instance_name, database_name, custom_headers).value! + end + + # + # Deletes the managed database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @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, managed_instance_name, database_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'managed_instance_name is nil' if managed_instance_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'managedInstanceName' => managed_instance_name,'databaseName' => database_name,'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(: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 + + # + # Updates an existing database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param parameters [ManagedDatabaseUpdate] The requested database resource + # state. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedDatabase] operation results. + # + def begin_update(resource_group_name, managed_instance_name, database_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, managed_instance_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Updates an existing database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param parameters [ManagedDatabaseUpdate] The requested database resource + # state. + # @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, managed_instance_name, database_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, managed_instance_name, database_name, parameters, custom_headers).value! + end + + # + # Updates an existing database. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param database_name [String] The name of the database. + # @param parameters [ManagedDatabaseUpdate] The requested database resource + # state. + # @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, managed_instance_name, database_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'managed_instance_name is nil' if managed_instance_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'managedInstanceName' => managed_instance_name,'databaseName' => database_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || status_code == 202 + 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::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase.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 + + # + # Gets a list of managed databases. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedDatabaseListResult] operation results. + # + def list_by_instance_next(next_page_link, custom_headers = nil) + response = list_by_instance_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a list of managed databases. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_instance_next_with_http_info(next_page_link, custom_headers = nil) + list_by_instance_next_async(next_page_link, custom_headers).value! + end + + # + # Gets a list of managed databases. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_instance_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult.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 + + # + # Gets a list of managed databases. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param managed_instance_name [String] The name of the managed instance. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ManagedDatabaseListResult] which provide lazy access to pages of the + # response. + # + def list_by_instance_as_lazy(resource_group_name, managed_instance_name, custom_headers = nil) + response = list_by_instance_async(resource_group_name, managed_instance_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_instance_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_options.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_options.rb index 4ab4288e9b..b78f440e3b 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_options.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_options.rb @@ -36,7 +36,6 @@ class AutomaticTuningServerOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AutomaticTuningServerOptions', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'AutomaticTuningServerOptions', model_properties: { desired_state: { - client_side_validation: true, required: false, serialized_name: 'desiredState', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, actual_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'actualState', @@ -63,7 +60,6 @@ def self.mapper() } }, reason_code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reasonCode', @@ -72,7 +68,6 @@ def self.mapper() } }, reason_desc: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reasonDesc', diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb new file mode 100644 index 0000000000..708057b5d0 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb @@ -0,0 +1,102 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A long term retention policy. + # + class BackupLongTermRetentionPolicy < ProxyResource + + include MsRestAzure + + # @return [String] The weekly retention policy for an LTR backup in an + # ISO 8601 format. + attr_accessor :weekly_retention + + # @return [String] The montly retention policy for an LTR backup in an + # ISO 8601 format. + attr_accessor :monthly_retention + + # @return [String] The yearly retention policy for an LTR backup in an + # ISO 8601 format. + attr_accessor :yearly_retention + + # @return [Integer] The week of year to take the yearly backup in an ISO + # 8601 format. + attr_accessor :week_of_year + + + # + # Mapper for BackupLongTermRetentionPolicy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'BackupLongTermRetentionPolicy', + type: { + name: 'Composite', + class_name: 'BackupLongTermRetentionPolicy', + 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' + } + }, + weekly_retention: { + required: false, + serialized_name: 'properties.weeklyRetention', + type: { + name: 'String' + } + }, + monthly_retention: { + required: false, + serialized_name: 'properties.monthlyRetention', + type: { + name: 'String' + } + }, + yearly_retention: { + required: false, + serialized_name: 'properties.yearlyRetention', + type: { + name: 'String' + } + }, + week_of_year: { + required: false, + serialized_name: 'properties.weekOfYear', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/blob_auditing_policy_state.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/blob_auditing_policy_state.rb new file mode 100644 index 0000000000..503ef7cd4a --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/blob_auditing_policy_state.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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for BlobAuditingPolicyState + # + module BlobAuditingPolicyState + Enabled = "Enabled" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/complete_database_restore_definition.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/complete_database_restore_definition.rb new file mode 100644 index 0000000000..4fdef50451 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/complete_database_restore_definition.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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Contains the information necessary to perform a complete database restore + # operation. + # + class CompleteDatabaseRestoreDefinition + + include MsRestAzure + + # @return [String] The last backup name to apply + attr_accessor :last_backup_name + + + # + # Mapper for CompleteDatabaseRestoreDefinition class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CompleteDatabaseRestoreDefinition', + type: { + name: 'Composite', + class_name: 'CompleteDatabaseRestoreDefinition', + model_properties: { + last_backup_name: { + required: true, + serialized_name: 'lastBackupName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb index 2ca49081f7..bf08d7dda3 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb @@ -23,7 +23,6 @@ class CreateDatabaseRestorePointDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CreateDatabaseRestorePointDefinition', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'CreateDatabaseRestorePointDefinition', model_properties: { restore_point_label: { - client_side_validation: true, required: true, serialized_name: 'restorePointLabel', type: { diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb index c49e1a8f0b..5e89a67726 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb @@ -12,6 +12,7 @@ module CreateMode Default = "Default" Copy = "Copy" Secondary = "Secondary" + OnlineSecondary = "OnlineSecondary" PointInTimeRestore = "PointInTimeRestore" Restore = "Restore" Recovery = "Recovery" diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/data_warehouse_user_activities.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/data_warehouse_user_activities.rb new file mode 100644 index 0000000000..7f58f12a08 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/data_warehouse_user_activities.rb @@ -0,0 +1,69 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::SQL::Mgmt::V2017_03_01_preview + module Models + # + # User activities of a data warehouse + # + class DataWarehouseUserActivities < ProxyResource + + include MsRestAzure + + # @return [Integer] Count of running and suspended queries. + attr_accessor :active_queries_count + + + # + # Mapper for DataWarehouseUserActivities class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DataWarehouseUserActivities', + type: { + name: 'Composite', + class_name: 'DataWarehouseUserActivities', + 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' + } + }, + active_queries_count: { + required: false, + read_only: true, + serialized_name: 'properties.activeQueriesCount', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database.rb index c6988bdfca..42c82a8f65 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database.rb @@ -12,7 +12,7 @@ class Database < TrackedResource include MsRestAzure - # @return [ArmSku] The name and tier of the SKU. + # @return [Sku] The name and tier of the SKU. attr_accessor :sku # @return [String] Kind of database. This is metadata used for the Azure @@ -54,8 +54,8 @@ class Database < TrackedResource # # Copy, Secondary, and RestoreLongTermRetentionBackup are not supported # for DataWarehouse edition. Possible values include: 'Default', 'Copy', - # 'Secondary', 'PointInTimeRestore', 'Restore', 'Recovery', - # 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', + # 'Secondary', 'OnlineSecondary', 'PointInTimeRestore', 'Restore', + # 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', # 'RestoreLongTermRetentionBackup' attr_accessor :create_mode @@ -78,11 +78,11 @@ class Database < TrackedResource # associated with create operation of this database. attr_accessor :source_database_id - # @return [Status] The status of the database. Possible values include: - # 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect', - # 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', - # 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', - # 'Paused', 'Resuming', 'Scaling' + # @return [DatabaseStatus] The status of the database. Possible values + # include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering', + # 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', + # 'AutoClosed', 'Copying', 'Creating', 'Inaccessible', + # 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling' attr_accessor :status # @return The ID of the database. @@ -142,7 +142,6 @@ class Database < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Database', type: { @@ -150,7 +149,6 @@ def self.mapper() class_name: 'Database', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -159,7 +157,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -168,7 +165,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -177,7 +173,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -185,13 +180,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: { @@ -201,16 +194,14 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', - class_name: 'ArmSku' + class_name: 'Sku' } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -219,7 +210,6 @@ def self.mapper() } }, create_mode: { - client_side_validation: true, required: false, serialized_name: 'properties.createMode', type: { @@ -227,7 +217,6 @@ def self.mapper() } }, collation: { - client_side_validation: true, required: false, serialized_name: 'properties.collation', type: { @@ -235,7 +224,6 @@ def self.mapper() } }, max_size_bytes: { - client_side_validation: true, required: false, serialized_name: 'properties.maxSizeBytes', type: { @@ -243,7 +231,6 @@ def self.mapper() } }, sample_name: { - client_side_validation: true, required: false, serialized_name: 'properties.sampleName', type: { @@ -251,7 +238,6 @@ def self.mapper() } }, elastic_pool_id: { - client_side_validation: true, required: false, serialized_name: 'properties.elasticPoolId', type: { @@ -259,7 +245,6 @@ def self.mapper() } }, source_database_id: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceDatabaseId', type: { @@ -267,7 +252,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', @@ -276,7 +260,6 @@ def self.mapper() } }, database_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseId', @@ -285,7 +268,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -294,7 +276,6 @@ def self.mapper() } }, current_service_objective_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentServiceObjectiveName', @@ -303,7 +284,6 @@ def self.mapper() } }, default_secondary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.defaultSecondaryLocation', @@ -312,7 +292,6 @@ def self.mapper() } }, failover_group_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.failoverGroupId', @@ -321,7 +300,6 @@ def self.mapper() } }, restore_point_in_time: { - client_side_validation: true, required: false, serialized_name: 'properties.restorePointInTime', type: { @@ -329,7 +307,6 @@ def self.mapper() } }, source_database_deletion_date: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceDatabaseDeletionDate', type: { @@ -337,7 +314,6 @@ def self.mapper() } }, recovery_services_recovery_point_id: { - client_side_validation: true, required: false, serialized_name: 'properties.recoveryServicesRecoveryPointId', type: { @@ -345,7 +321,6 @@ def self.mapper() } }, long_term_retention_backup_resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.longTermRetentionBackupResourceId', type: { @@ -353,7 +328,6 @@ def self.mapper() } }, recoverable_database_id: { - client_side_validation: true, required: false, serialized_name: 'properties.recoverableDatabaseId', type: { @@ -361,7 +335,6 @@ def self.mapper() } }, restorable_dropped_database_id: { - client_side_validation: true, required: false, serialized_name: 'properties.restorableDroppedDatabaseId', type: { @@ -369,7 +342,6 @@ def self.mapper() } }, catalog_collation: { - client_side_validation: true, required: false, serialized_name: 'properties.catalogCollation', type: { @@ -377,7 +349,6 @@ def self.mapper() } }, zone_redundant: { - client_side_validation: true, required: false, serialized_name: 'properties.zoneRedundant', type: { diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb new file mode 100644 index 0000000000..fc32891b89 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb @@ -0,0 +1,225 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A database blob auditing policy. + # + class DatabaseBlobAuditingPolicy < ProxyResource + + include MsRestAzure + + # @return [String] Resource kind. + attr_accessor :kind + + # @return [BlobAuditingPolicyState] Specifies the state of the policy. If + # state is Enabled, storageEndpoint and storageAccountAccessKey are + # required. Possible values include: 'Enabled', 'Disabled' + attr_accessor :state + + # @return [String] Specifies the blob storage endpoint (e.g. + # https://MyAccount.blob.core.windows.net). If state is Enabled, + # storageEndpoint is required. + attr_accessor :storage_endpoint + + # @return [String] Specifies the identifier key of the auditing storage + # account. If state is Enabled, storageAccountAccessKey is required. + attr_accessor :storage_account_access_key + + # @return [Integer] Specifies the number of days to keep in the audit + # logs. + attr_accessor :retention_days + + # @return [Array] Specifies the Actions-Groups and Actions to + # audit. + # + # The recommended set of action groups to use is the following + # combination - this will audit all the queries and stored procedures + # executed against the database, as well as successful and failed logins: + # + # BATCH_COMPLETED_GROUP, + # SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, + # FAILED_DATABASE_AUTHENTICATION_GROUP. + # + # This above combination is also the set that is configured by default + # when enabling auditing from the Azure portal. + # + # The supported action groups to audit are (note: choose only specific + # groups that cover your auditing needs. Using unnecessary groups could + # lead to very large quantities of audit records): + # + # APPLICATION_ROLE_CHANGE_PASSWORD_GROUP + # BACKUP_RESTORE_GROUP + # DATABASE_LOGOUT_GROUP + # DATABASE_OBJECT_CHANGE_GROUP + # DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP + # DATABASE_OBJECT_PERMISSION_CHANGE_GROUP + # DATABASE_OPERATION_GROUP + # DATABASE_PERMISSION_CHANGE_GROUP + # DATABASE_PRINCIPAL_CHANGE_GROUP + # DATABASE_PRINCIPAL_IMPERSONATION_GROUP + # DATABASE_ROLE_MEMBER_CHANGE_GROUP + # FAILED_DATABASE_AUTHENTICATION_GROUP + # SCHEMA_OBJECT_ACCESS_GROUP + # SCHEMA_OBJECT_CHANGE_GROUP + # SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP + # SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP + # SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP + # USER_CHANGE_PASSWORD_GROUP + # BATCH_STARTED_GROUP + # BATCH_COMPLETED_GROUP + # + # These are groups that cover all sql statements and stored procedures + # executed against the database, and should not be used in combination + # with other groups as this will result in duplicate audit logs. + # + # For more information, see [Database-Level Audit Action + # Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). + # + # For Database auditing policy, specific Actions can also be specified + # (note that Actions cannot be specified for Server auditing policy). The + # supported actions to audit are: + # SELECT + # UPDATE + # INSERT + # DELETE + # EXECUTE + # RECEIVE + # REFERENCES + # + # The general form for defining an action to be audited is: + # ON BY + # + # Note that in the above format can refer to an object like a + # table, view, or stored procedure, or an entire database or schema. For + # the latter cases, the forms DATABASE:: and + # SCHEMA:: are used, respectively. + # + # For example: + # SELECT on dbo.myTable by public + # SELECT on DATABASE::myDatabase by public + # SELECT on SCHEMA::mySchema by public + # + # For more information, see [Database-Level Audit + # Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) + attr_accessor :audit_actions_and_groups + + # @return Specifies the blob storage subscription Id. + attr_accessor :storage_account_subscription_id + + # @return [Boolean] Specifies whether storageAccountAccessKey value is + # the storage's secondary key. + attr_accessor :is_storage_secondary_key_in_use + + + # + # Mapper for DatabaseBlobAuditingPolicy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DatabaseBlobAuditingPolicy', + type: { + name: 'Composite', + class_name: 'DatabaseBlobAuditingPolicy', + 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' + } + }, + kind: { + required: false, + read_only: true, + serialized_name: 'kind', + type: { + name: 'String' + } + }, + state: { + required: true, + serialized_name: 'properties.state', + type: { + name: 'Enum', + module: 'BlobAuditingPolicyState' + } + }, + storage_endpoint: { + required: false, + serialized_name: 'properties.storageEndpoint', + type: { + name: 'String' + } + }, + storage_account_access_key: { + required: false, + serialized_name: 'properties.storageAccountAccessKey', + type: { + name: 'String' + } + }, + retention_days: { + required: false, + serialized_name: 'properties.retentionDays', + type: { + name: 'Number' + } + }, + audit_actions_and_groups: { + required: false, + serialized_name: 'properties.auditActionsAndGroups', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + storage_account_subscription_id: { + required: false, + serialized_name: 'properties.storageAccountSubscriptionId', + type: { + name: 'String' + } + }, + is_storage_secondary_key_in_use: { + required: false, + serialized_name: 'properties.isStorageSecondaryKeyInUse', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb index 15e5db8e46..e618dab4e5 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'DatabaseListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DatabaseElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation.rb index b12625a0cb..f95244c8f4 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation.rb @@ -48,6 +48,15 @@ class DatabaseOperation < ProxyResource # @return [Boolean] Whether or not the error is a user error. attr_accessor :is_user_error + # @return [DateTime] The estimated completion time of the operation. + attr_accessor :estimated_completion_time + + # @return [String] The operation description. + attr_accessor :description + + # @return [Boolean] Whether the operation can be cancelled. + attr_accessor :is_cancellable + # # Mapper for DatabaseOperation class as Ruby Hash. @@ -55,7 +64,6 @@ class DatabaseOperation < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseOperation', type: { @@ -63,7 +71,6 @@ def self.mapper() class_name: 'DatabaseOperation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -72,7 +79,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -81,7 +87,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -90,7 +95,6 @@ def self.mapper() } }, database_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseName', @@ -99,7 +103,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operation', @@ -108,7 +111,6 @@ def self.mapper() } }, operation_friendly_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationFriendlyName', @@ -117,7 +119,6 @@ def self.mapper() } }, percent_complete: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.percentComplete', @@ -126,7 +127,6 @@ def self.mapper() } }, server_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serverName', @@ -135,7 +135,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.startTime', @@ -144,7 +143,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -153,7 +151,6 @@ def self.mapper() } }, error_code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorCode', @@ -162,7 +159,6 @@ def self.mapper() } }, error_description: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorDescription', @@ -171,7 +167,6 @@ def self.mapper() } }, error_severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorSeverity', @@ -180,13 +175,36 @@ def self.mapper() } }, is_user_error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isUserError', type: { name: 'Boolean' } + }, + estimated_completion_time: { + required: false, + read_only: true, + serialized_name: 'properties.estimatedCompletionTime', + type: { + name: 'DateTime' + } + }, + description: { + required: false, + read_only: true, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + is_cancellable: { + required: false, + read_only: true, + serialized_name: 'properties.isCancellable', + type: { + name: 'Boolean' + } } } } diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation_list_result.rb index 39f5bf1728..816a9586bc 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation_list_result.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseOperationListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'DatabaseOperationListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DatabaseOperationElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_status.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_status.rb new file mode 100644 index 0000000000..27c2e854d2 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_status.rb @@ -0,0 +1,32 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for DatabaseStatus + # + module DatabaseStatus + Online = "Online" + Restoring = "Restoring" + RecoveryPending = "RecoveryPending" + Recovering = "Recovering" + Suspect = "Suspect" + Offline = "Offline" + Standby = "Standby" + Shutdown = "Shutdown" + EmergencyMode = "EmergencyMode" + AutoClosed = "AutoClosed" + Copying = "Copying" + Creating = "Creating" + Inaccessible = "Inaccessible" + OfflineSecondary = "OfflineSecondary" + Pausing = "Pausing" + Paused = "Paused" + Resuming = "Resuming" + Scaling = "Scaling" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb index 639c7cb45e..6b222ae0ab 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb @@ -12,7 +12,7 @@ class DatabaseUpdate include MsRestAzure - # @return [ArmSku] The name and tier of the SKU. + # @return [Sku] The name and tier of the SKU. attr_accessor :sku # @return [CreateMode] Specifies the mode of database creation. @@ -50,8 +50,8 @@ class DatabaseUpdate # # Copy, Secondary, and RestoreLongTermRetentionBackup are not supported # for DataWarehouse edition. Possible values include: 'Default', 'Copy', - # 'Secondary', 'PointInTimeRestore', 'Restore', 'Recovery', - # 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', + # 'Secondary', 'OnlineSecondary', 'PointInTimeRestore', 'Restore', + # 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', # 'RestoreLongTermRetentionBackup' attr_accessor :create_mode @@ -74,11 +74,11 @@ class DatabaseUpdate # associated with create operation of this database. attr_accessor :source_database_id - # @return [Status] The status of the database. Possible values include: - # 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect', - # 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', - # 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', - # 'Paused', 'Resuming', 'Scaling' + # @return [DatabaseStatus] The status of the database. Possible values + # include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering', + # 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', + # 'AutoClosed', 'Copying', 'Creating', 'Inaccessible', + # 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling' attr_accessor :status # @return The ID of the database. @@ -141,7 +141,6 @@ class DatabaseUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DatabaseUpdate', type: { @@ -149,16 +148,14 @@ def self.mapper() class_name: 'DatabaseUpdate', model_properties: { sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', - class_name: 'ArmSku' + class_name: 'Sku' } }, create_mode: { - client_side_validation: true, required: false, serialized_name: 'properties.createMode', type: { @@ -166,7 +163,6 @@ def self.mapper() } }, collation: { - client_side_validation: true, required: false, serialized_name: 'properties.collation', type: { @@ -174,7 +170,6 @@ def self.mapper() } }, max_size_bytes: { - client_side_validation: true, required: false, serialized_name: 'properties.maxSizeBytes', type: { @@ -182,7 +177,6 @@ def self.mapper() } }, sample_name: { - client_side_validation: true, required: false, serialized_name: 'properties.sampleName', type: { @@ -190,7 +184,6 @@ def self.mapper() } }, elastic_pool_id: { - client_side_validation: true, required: false, serialized_name: 'properties.elasticPoolId', type: { @@ -198,7 +191,6 @@ def self.mapper() } }, source_database_id: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceDatabaseId', type: { @@ -206,7 +198,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', @@ -215,7 +206,6 @@ def self.mapper() } }, database_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseId', @@ -224,7 +214,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -233,7 +222,6 @@ def self.mapper() } }, current_service_objective_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currentServiceObjectiveName', @@ -242,7 +230,6 @@ def self.mapper() } }, default_secondary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.defaultSecondaryLocation', @@ -251,7 +238,6 @@ def self.mapper() } }, failover_group_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.failoverGroupId', @@ -260,7 +246,6 @@ def self.mapper() } }, restore_point_in_time: { - client_side_validation: true, required: false, serialized_name: 'properties.restorePointInTime', type: { @@ -268,7 +253,6 @@ def self.mapper() } }, source_database_deletion_date: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceDatabaseDeletionDate', type: { @@ -276,7 +260,6 @@ def self.mapper() } }, recovery_services_recovery_point_id: { - client_side_validation: true, required: false, serialized_name: 'properties.recoveryServicesRecoveryPointId', type: { @@ -284,7 +267,6 @@ def self.mapper() } }, long_term_retention_backup_resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.longTermRetentionBackupResourceId', type: { @@ -292,7 +274,6 @@ def self.mapper() } }, recoverable_database_id: { - client_side_validation: true, required: false, serialized_name: 'properties.recoverableDatabaseId', type: { @@ -300,7 +281,6 @@ def self.mapper() } }, restorable_dropped_database_id: { - client_side_validation: true, required: false, serialized_name: 'properties.restorableDroppedDatabaseId', type: { @@ -308,7 +288,6 @@ def self.mapper() } }, catalog_collation: { - client_side_validation: true, required: false, serialized_name: 'properties.catalogCollation', type: { @@ -316,7 +295,6 @@ def self.mapper() } }, zone_redundant: { - client_side_validation: true, required: false, serialized_name: 'properties.zoneRedundant', type: { @@ -324,13 +302,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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment.rb new file mode 100644 index 0000000000..ab1417a84d --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment.rb @@ -0,0 +1,93 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A database vulnerability assessment. + # + class DatabaseVulnerabilityAssessment < ProxyResource + + include MsRestAzure + + # @return [String] A blob storage container path to hold the scan results + # (e.g. https://myStorage.blob.core.windows.net/VaScans/). + attr_accessor :storage_container_path + + # @return [String] A shared access signature (SAS Key) that has write + # access to the blob container specified in 'storageContainerPath' + # parameter. + attr_accessor :storage_container_sas_key + + # @return [VulnerabilityAssessmentRecurringScansProperties] The recurring + # scans settings + attr_accessor :recurring_scans + + + # + # Mapper for DatabaseVulnerabilityAssessment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DatabaseVulnerabilityAssessment', + type: { + name: 'Composite', + class_name: 'DatabaseVulnerabilityAssessment', + 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' + } + }, + storage_container_path: { + required: true, + serialized_name: 'properties.storageContainerPath', + type: { + name: 'String' + } + }, + storage_container_sas_key: { + required: true, + serialized_name: 'properties.storageContainerSasKey', + type: { + name: 'String' + } + }, + recurring_scans: { + required: false, + serialized_name: 'properties.recurringScans', + type: { + name: 'Composite', + class_name: 'VulnerabilityAssessmentRecurringScansProperties' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline.rb new file mode 100644 index 0000000000..1a19684bee --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline.rb @@ -0,0 +1,78 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A database vulnerability assessment rule baseline. + # + class DatabaseVulnerabilityAssessmentRuleBaseline < ProxyResource + + include MsRestAzure + + # @return [Array] The + # rule baseline result + attr_accessor :baseline_results + + + # + # Mapper for DatabaseVulnerabilityAssessmentRuleBaseline class as Ruby + # Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DatabaseVulnerabilityAssessmentRuleBaseline', + type: { + name: 'Composite', + class_name: 'DatabaseVulnerabilityAssessmentRuleBaseline', + 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' + } + }, + baseline_results: { + required: true, + serialized_name: 'properties.baselineResults', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DatabaseVulnerabilityAssessmentRuleBaselineItemElementType', + type: { + name: 'Composite', + class_name: 'DatabaseVulnerabilityAssessmentRuleBaselineItem' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline_item.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline_item.rb new file mode 100644 index 0000000000..1289ff7d9b --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline_item.rb @@ -0,0 +1,53 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Properties for an Azure SQL Database Vulnerability Assessment rule + # baseline's result. + # + class DatabaseVulnerabilityAssessmentRuleBaselineItem + + include MsRestAzure + + # @return [Array] The rule baseline result + attr_accessor :result + + + # + # Mapper for DatabaseVulnerabilityAssessmentRuleBaselineItem class as + # Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DatabaseVulnerabilityAssessmentRuleBaselineItem', + type: { + name: 'Composite', + class_name: 'DatabaseVulnerabilityAssessmentRuleBaselineItem', + model_properties: { + result: { + required: true, + serialized_name: 'result', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_database_blob_auditing_policy.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_database_blob_auditing_policy.rb new file mode 100644 index 0000000000..84c7bd9d01 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_database_blob_auditing_policy.rb @@ -0,0 +1,225 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # An extended database blob auditing policy. + # + class ExtendedDatabaseBlobAuditingPolicy < ProxyResource + + include MsRestAzure + + # @return [String] Specifies condition of where clause when creating an + # audit. + attr_accessor :predicate_expression + + # @return [BlobAuditingPolicyState] Specifies the state of the policy. If + # state is Enabled, storageEndpoint and storageAccountAccessKey are + # required. Possible values include: 'Enabled', 'Disabled' + attr_accessor :state + + # @return [String] Specifies the blob storage endpoint (e.g. + # https://MyAccount.blob.core.windows.net). If state is Enabled, + # storageEndpoint is required. + attr_accessor :storage_endpoint + + # @return [String] Specifies the identifier key of the auditing storage + # account. If state is Enabled, storageAccountAccessKey is required. + attr_accessor :storage_account_access_key + + # @return [Integer] Specifies the number of days to keep in the audit + # logs. + attr_accessor :retention_days + + # @return [Array] Specifies the Actions-Groups and Actions to + # audit. + # + # The recommended set of action groups to use is the following + # combination - this will audit all the queries and stored procedures + # executed against the database, as well as successful and failed logins: + # + # BATCH_COMPLETED_GROUP, + # SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, + # FAILED_DATABASE_AUTHENTICATION_GROUP. + # + # This above combination is also the set that is configured by default + # when enabling auditing from the Azure portal. + # + # The supported action groups to audit are (note: choose only specific + # groups that cover your auditing needs. Using unnecessary groups could + # lead to very large quantities of audit records): + # + # APPLICATION_ROLE_CHANGE_PASSWORD_GROUP + # BACKUP_RESTORE_GROUP + # DATABASE_LOGOUT_GROUP + # DATABASE_OBJECT_CHANGE_GROUP + # DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP + # DATABASE_OBJECT_PERMISSION_CHANGE_GROUP + # DATABASE_OPERATION_GROUP + # DATABASE_PERMISSION_CHANGE_GROUP + # DATABASE_PRINCIPAL_CHANGE_GROUP + # DATABASE_PRINCIPAL_IMPERSONATION_GROUP + # DATABASE_ROLE_MEMBER_CHANGE_GROUP + # FAILED_DATABASE_AUTHENTICATION_GROUP + # SCHEMA_OBJECT_ACCESS_GROUP + # SCHEMA_OBJECT_CHANGE_GROUP + # SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP + # SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP + # SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP + # USER_CHANGE_PASSWORD_GROUP + # BATCH_STARTED_GROUP + # BATCH_COMPLETED_GROUP + # + # These are groups that cover all sql statements and stored procedures + # executed against the database, and should not be used in combination + # with other groups as this will result in duplicate audit logs. + # + # For more information, see [Database-Level Audit Action + # Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). + # + # For Database auditing policy, specific Actions can also be specified + # (note that Actions cannot be specified for Server auditing policy). The + # supported actions to audit are: + # SELECT + # UPDATE + # INSERT + # DELETE + # EXECUTE + # RECEIVE + # REFERENCES + # + # The general form for defining an action to be audited is: + # ON BY + # + # Note that in the above format can refer to an object like a + # table, view, or stored procedure, or an entire database or schema. For + # the latter cases, the forms DATABASE:: and + # SCHEMA:: are used, respectively. + # + # For example: + # SELECT on dbo.myTable by public + # SELECT on DATABASE::myDatabase by public + # SELECT on SCHEMA::mySchema by public + # + # For more information, see [Database-Level Audit + # Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) + attr_accessor :audit_actions_and_groups + + # @return Specifies the blob storage subscription Id. + attr_accessor :storage_account_subscription_id + + # @return [Boolean] Specifies whether storageAccountAccessKey value is + # the storage's secondary key. + attr_accessor :is_storage_secondary_key_in_use + + + # + # Mapper for ExtendedDatabaseBlobAuditingPolicy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ExtendedDatabaseBlobAuditingPolicy', + type: { + name: 'Composite', + class_name: 'ExtendedDatabaseBlobAuditingPolicy', + 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' + } + }, + predicate_expression: { + required: false, + serialized_name: 'properties.predicateExpression', + type: { + name: 'String' + } + }, + state: { + required: true, + serialized_name: 'properties.state', + type: { + name: 'Enum', + module: 'BlobAuditingPolicyState' + } + }, + storage_endpoint: { + required: false, + serialized_name: 'properties.storageEndpoint', + type: { + name: 'String' + } + }, + storage_account_access_key: { + required: false, + serialized_name: 'properties.storageAccountAccessKey', + type: { + name: 'String' + } + }, + retention_days: { + required: false, + serialized_name: 'properties.retentionDays', + type: { + name: 'Number' + } + }, + audit_actions_and_groups: { + required: false, + serialized_name: 'properties.auditActionsAndGroups', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + storage_account_subscription_id: { + required: false, + serialized_name: 'properties.storageAccountSubscriptionId', + type: { + name: 'String' + } + }, + is_storage_secondary_key_in_use: { + required: false, + serialized_name: 'properties.isStorageSecondaryKeyInUse', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_server_blob_auditing_policy.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_server_blob_auditing_policy.rb new file mode 100644 index 0000000000..3430506fa1 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_server_blob_auditing_policy.rb @@ -0,0 +1,225 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # An extended server blob auditing policy. + # + class ExtendedServerBlobAuditingPolicy < ProxyResource + + include MsRestAzure + + # @return [String] Specifies condition of where clause when creating an + # audit. + attr_accessor :predicate_expression + + # @return [BlobAuditingPolicyState] Specifies the state of the policy. If + # state is Enabled, storageEndpoint and storageAccountAccessKey are + # required. Possible values include: 'Enabled', 'Disabled' + attr_accessor :state + + # @return [String] Specifies the blob storage endpoint (e.g. + # https://MyAccount.blob.core.windows.net). If state is Enabled, + # storageEndpoint is required. + attr_accessor :storage_endpoint + + # @return [String] Specifies the identifier key of the auditing storage + # account. If state is Enabled, storageAccountAccessKey is required. + attr_accessor :storage_account_access_key + + # @return [Integer] Specifies the number of days to keep in the audit + # logs. + attr_accessor :retention_days + + # @return [Array] Specifies the Actions-Groups and Actions to + # audit. + # + # The recommended set of action groups to use is the following + # combination - this will audit all the queries and stored procedures + # executed against the database, as well as successful and failed logins: + # + # BATCH_COMPLETED_GROUP, + # SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, + # FAILED_DATABASE_AUTHENTICATION_GROUP. + # + # This above combination is also the set that is configured by default + # when enabling auditing from the Azure portal. + # + # The supported action groups to audit are (note: choose only specific + # groups that cover your auditing needs. Using unnecessary groups could + # lead to very large quantities of audit records): + # + # APPLICATION_ROLE_CHANGE_PASSWORD_GROUP + # BACKUP_RESTORE_GROUP + # DATABASE_LOGOUT_GROUP + # DATABASE_OBJECT_CHANGE_GROUP + # DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP + # DATABASE_OBJECT_PERMISSION_CHANGE_GROUP + # DATABASE_OPERATION_GROUP + # DATABASE_PERMISSION_CHANGE_GROUP + # DATABASE_PRINCIPAL_CHANGE_GROUP + # DATABASE_PRINCIPAL_IMPERSONATION_GROUP + # DATABASE_ROLE_MEMBER_CHANGE_GROUP + # FAILED_DATABASE_AUTHENTICATION_GROUP + # SCHEMA_OBJECT_ACCESS_GROUP + # SCHEMA_OBJECT_CHANGE_GROUP + # SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP + # SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP + # SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP + # USER_CHANGE_PASSWORD_GROUP + # BATCH_STARTED_GROUP + # BATCH_COMPLETED_GROUP + # + # These are groups that cover all sql statements and stored procedures + # executed against the database, and should not be used in combination + # with other groups as this will result in duplicate audit logs. + # + # For more information, see [Database-Level Audit Action + # Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). + # + # For Database auditing policy, specific Actions can also be specified + # (note that Actions cannot be specified for Server auditing policy). The + # supported actions to audit are: + # SELECT + # UPDATE + # INSERT + # DELETE + # EXECUTE + # RECEIVE + # REFERENCES + # + # The general form for defining an action to be audited is: + # ON BY + # + # Note that in the above format can refer to an object like a + # table, view, or stored procedure, or an entire database or schema. For + # the latter cases, the forms DATABASE:: and + # SCHEMA:: are used, respectively. + # + # For example: + # SELECT on dbo.myTable by public + # SELECT on DATABASE::myDatabase by public + # SELECT on SCHEMA::mySchema by public + # + # For more information, see [Database-Level Audit + # Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) + attr_accessor :audit_actions_and_groups + + # @return Specifies the blob storage subscription Id. + attr_accessor :storage_account_subscription_id + + # @return [Boolean] Specifies whether storageAccountAccessKey value is + # the storage's secondary key. + attr_accessor :is_storage_secondary_key_in_use + + + # + # Mapper for ExtendedServerBlobAuditingPolicy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ExtendedServerBlobAuditingPolicy', + type: { + name: 'Composite', + class_name: 'ExtendedServerBlobAuditingPolicy', + 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' + } + }, + predicate_expression: { + required: false, + serialized_name: 'properties.predicateExpression', + type: { + name: 'String' + } + }, + state: { + required: true, + serialized_name: 'properties.state', + type: { + name: 'Enum', + module: 'BlobAuditingPolicyState' + } + }, + storage_endpoint: { + required: false, + serialized_name: 'properties.storageEndpoint', + type: { + name: 'String' + } + }, + storage_account_access_key: { + required: false, + serialized_name: 'properties.storageAccountAccessKey', + type: { + name: 'String' + } + }, + retention_days: { + required: false, + serialized_name: 'properties.retentionDays', + type: { + name: 'Number' + } + }, + audit_actions_and_groups: { + required: false, + serialized_name: 'properties.auditActionsAndGroups', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + storage_account_subscription_id: { + required: false, + serialized_name: 'properties.storageAccountSubscriptionId', + type: { + name: 'String' + } + }, + is_storage_secondary_key_in_use: { + required: false, + serialized_name: 'properties.isStorageSecondaryKeyInUse', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_database_definition.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_database_definition.rb index 6cefc54362..b772d7ba7f 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_database_definition.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_database_definition.rb @@ -49,7 +49,6 @@ class ImportExportDatabaseDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImportExportDatabaseDefinition', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ImportExportDatabaseDefinition', model_properties: { database_name: { - client_side_validation: true, required: false, serialized_name: 'databaseName', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, edition: { - client_side_validation: true, required: false, serialized_name: 'edition', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, service_objective_name: { - client_side_validation: true, required: false, serialized_name: 'serviceObjectiveName', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, max_size_bytes: { - client_side_validation: true, required: false, serialized_name: 'maxSizeBytes', type: { @@ -89,7 +84,6 @@ def self.mapper() } }, storage_key_type: { - client_side_validation: true, required: true, serialized_name: 'storageKeyType', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, storage_key: { - client_side_validation: true, required: true, serialized_name: 'storageKey', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: true, serialized_name: 'storageUri', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, administrator_login: { - client_side_validation: true, required: true, serialized_name: 'administratorLogin', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, administrator_login_password: { - client_side_validation: true, required: true, serialized_name: 'administratorLoginPassword', type: { @@ -129,7 +119,6 @@ def self.mapper() } }, authentication_type: { - client_side_validation: true, required: false, serialized_name: 'authenticationType', type: { diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_operation_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_operation_result.rb index 70843299bd..aff8b57bfb 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_operation_result.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_operation_result.rb @@ -46,7 +46,6 @@ class ImportExportOperationResult < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImportExportOperationResult', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ImportExportOperationResult', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +61,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -72,7 +69,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -81,7 +77,6 @@ def self.mapper() } }, request_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestId', @@ -90,7 +85,6 @@ def self.mapper() } }, request_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requestType', @@ -99,7 +93,6 @@ def self.mapper() } }, queued_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.queuedTime', @@ -108,7 +101,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', @@ -117,7 +109,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.blobUri', @@ -126,7 +117,6 @@ def self.mapper() } }, server_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serverName', @@ -135,7 +125,6 @@ def self.mapper() } }, database_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseName', @@ -144,7 +133,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', @@ -153,7 +141,6 @@ def self.mapper() } }, error_message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.errorMessage', diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job.rb new file mode 100644 index 0000000000..55f4ed3171 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job.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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A job. + # + class Job < ProxyResource + + include MsRestAzure + + # @return [String] User-defined description of the job. Default value: '' + # . + attr_accessor :description + + # @return [Integer] The job version number. + attr_accessor :version + + # @return [JobSchedule] Schedule properties of the job. + attr_accessor :schedule + + + # + # Mapper for Job class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Job', + type: { + name: 'Composite', + class_name: 'Job', + 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' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + default_value: '', + type: { + name: 'String' + } + }, + version: { + required: false, + read_only: true, + serialized_name: 'properties.version', + type: { + name: 'Number' + } + }, + schedule: { + required: false, + serialized_name: 'properties.schedule', + type: { + name: 'Composite', + class_name: 'JobSchedule' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent.rb new file mode 100644 index 0000000000..2cdf6b40c0 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent.rb @@ -0,0 +1,112 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # An Azure SQL job agent. + # + class JobAgent < TrackedResource + + include MsRestAzure + + # @return [Sku] The name and tier of the SKU. + attr_accessor :sku + + # @return [String] Resource ID of the database to store job metadata in. + attr_accessor :database_id + + # @return [JobAgentState] The state of the job agent. Possible values + # include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled' + attr_accessor :state + + + # + # Mapper for JobAgent class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobAgent', + type: { + name: 'Composite', + class_name: 'JobAgent', + 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' + } + } + } + }, + sku: { + required: false, + serialized_name: 'sku', + type: { + name: 'Composite', + class_name: 'Sku' + } + }, + database_id: { + required: true, + serialized_name: 'properties.databaseId', + type: { + name: 'String' + } + }, + state: { + required: false, + read_only: true, + serialized_name: 'properties.state', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_list_result.rb new file mode 100644 index 0000000000..8338e8adac --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_list_result.rb @@ -0,0 +1,96 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A list of Azure SQL job agents. + # + class JobAgentListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [JobAgentListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for JobAgentListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobAgentListResult', + type: { + name: 'Composite', + class_name: 'JobAgentListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobAgentElementType', + type: { + name: 'Composite', + class_name: 'JobAgent' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_state.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_state.rb new file mode 100644 index 0000000000..3e91d2922b --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_state.rb @@ -0,0 +1,19 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for JobAgentState + # + module JobAgentState + Creating = "Creating" + Ready = "Ready" + Updating = "Updating" + Deleting = "Deleting" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_update.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_update.rb new file mode 100644 index 0000000000..089a7df585 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_update.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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # An update to an Azure SQL job agent. + # + class JobAgentUpdate + + include MsRestAzure + + # @return [Hash{String => String}] Resource tags. + attr_accessor :tags + + + # + # Mapper for JobAgentUpdate class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobAgentUpdate', + type: { + name: 'Composite', + class_name: 'JobAgentUpdate', + 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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential.rb new file mode 100644 index 0000000000..5423bddadb --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential.rb @@ -0,0 +1,79 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A stored credential that can be used by a job to connect to target + # databases. + # + class JobCredential < ProxyResource + + include MsRestAzure + + # @return [String] The credential user name. + attr_accessor :username + + # @return [String] The credential password. + attr_accessor :password + + + # + # Mapper for JobCredential class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobCredential', + type: { + name: 'Composite', + class_name: 'JobCredential', + 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' + } + }, + username: { + required: true, + serialized_name: 'properties.username', + type: { + name: 'String' + } + }, + password: { + required: true, + serialized_name: 'properties.password', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential_list_result.rb new file mode 100644 index 0000000000..ac4a337506 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential_list_result.rb @@ -0,0 +1,96 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A list of job credentials. + # + class JobCredentialListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [JobCredentialListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for JobCredentialListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobCredentialListResult', + type: { + name: 'Composite', + class_name: 'JobCredentialListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobCredentialElementType', + type: { + name: 'Composite', + class_name: 'JobCredential' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb new file mode 100644 index 0000000000..a1746bed37 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb @@ -0,0 +1,207 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # An execution of a job + # + class JobExecution < ProxyResource + + include MsRestAzure + + # @return [Integer] The job version number. + attr_accessor :job_version + + # @return [String] The job step name. + attr_accessor :step_name + + # @return [Integer] The job step id. + attr_accessor :step_id + + # @return The unique identifier of the job execution. + attr_accessor :job_execution_id + + # @return [JobExecutionLifecycle] The detailed state of the job + # execution. Possible values include: 'Created', 'InProgress', + # 'WaitingForChildJobExecutions', 'WaitingForRetry', 'Succeeded', + # 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled', 'Skipped' + attr_accessor :lifecycle + + # @return [ProvisioningState] The ARM provisioning state of the job + # execution. Possible values include: 'Created', 'InProgress', + # 'Succeeded', 'Failed', 'Canceled' + attr_accessor :provisioning_state + + # @return [DateTime] The time that the job execution was created. + attr_accessor :create_time + + # @return [DateTime] The time that the job execution started. + attr_accessor :start_time + + # @return [DateTime] The time that the job execution completed. + attr_accessor :end_time + + # @return [Integer] Number of times the job execution has been attempted. + attr_accessor :current_attempts + + # @return [DateTime] Start time of the current attempt. + attr_accessor :current_attempt_start_time + + # @return [String] The last status or error message. + attr_accessor :last_message + + # @return [JobExecutionTarget] The target that this execution is executed + # on. + attr_accessor :target + + + # + # Mapper for JobExecution class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobExecution', + type: { + name: 'Composite', + class_name: 'JobExecution', + 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' + } + }, + job_version: { + required: false, + read_only: true, + serialized_name: 'properties.jobVersion', + type: { + name: 'Number' + } + }, + step_name: { + required: false, + read_only: true, + serialized_name: 'properties.stepName', + type: { + name: 'String' + } + }, + step_id: { + required: false, + read_only: true, + serialized_name: 'properties.stepId', + type: { + name: 'Number' + } + }, + job_execution_id: { + required: false, + read_only: true, + serialized_name: 'properties.jobExecutionId', + type: { + name: 'String' + } + }, + lifecycle: { + required: false, + read_only: true, + serialized_name: 'properties.lifecycle', + type: { + name: 'String' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + create_time: { + required: false, + read_only: true, + serialized_name: 'properties.createTime', + type: { + name: 'DateTime' + } + }, + start_time: { + required: false, + read_only: true, + serialized_name: 'properties.startTime', + type: { + name: 'DateTime' + } + }, + end_time: { + required: false, + read_only: true, + serialized_name: 'properties.endTime', + type: { + name: 'DateTime' + } + }, + current_attempts: { + required: false, + serialized_name: 'properties.currentAttempts', + type: { + name: 'Number' + } + }, + current_attempt_start_time: { + required: false, + read_only: true, + serialized_name: 'properties.currentAttemptStartTime', + type: { + name: 'DateTime' + } + }, + last_message: { + required: false, + read_only: true, + serialized_name: 'properties.lastMessage', + type: { + name: 'String' + } + }, + target: { + required: false, + read_only: true, + serialized_name: 'properties.target', + type: { + name: 'Composite', + class_name: 'JobExecutionTarget' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_lifecycle.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_lifecycle.rb new file mode 100644 index 0000000000..4c188fbd23 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_lifecycle.rb @@ -0,0 +1,24 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for JobExecutionLifecycle + # + module JobExecutionLifecycle + Created = "Created" + InProgress = "InProgress" + WaitingForChildJobExecutions = "WaitingForChildJobExecutions" + WaitingForRetry = "WaitingForRetry" + Succeeded = "Succeeded" + SucceededWithSkipped = "SucceededWithSkipped" + Failed = "Failed" + TimedOut = "TimedOut" + Canceled = "Canceled" + Skipped = "Skipped" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_list_result.rb new file mode 100644 index 0000000000..51a1bc3a3e --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_list_result.rb @@ -0,0 +1,96 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A list of job executions. + # + class JobExecutionListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [JobExecutionListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for JobExecutionListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobExecutionListResult', + type: { + name: 'Composite', + class_name: 'JobExecutionListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobExecutionElementType', + type: { + name: 'Composite', + class_name: 'JobExecution' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_target.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_target.rb new file mode 100644 index 0000000000..a38381e055 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_target.rb @@ -0,0 +1,69 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::SQL::Mgmt::V2017_03_01_preview + module Models + # + # The target that a job execution is executed on. + # + class JobExecutionTarget + + include MsRestAzure + + # @return [JobTargetType] The type of the target. Possible values + # include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', + # 'SqlServer' + attr_accessor :type + + # @return [String] The server name. + attr_accessor :server_name + + # @return [String] The database name. + attr_accessor :database_name + + + # + # Mapper for JobExecutionTarget class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobExecutionTarget', + type: { + name: 'Composite', + class_name: 'JobExecutionTarget', + model_properties: { + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + server_name: { + required: false, + read_only: true, + serialized_name: 'serverName', + type: { + name: 'String' + } + }, + database_name: { + required: false, + read_only: true, + serialized_name: 'databaseName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_list_result.rb new file mode 100644 index 0000000000..991573fa20 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_list_result.rb @@ -0,0 +1,96 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A list of jobs. + # + class JobListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [JobListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for JobListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobListResult', + type: { + name: 'Composite', + class_name: 'JobListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobElementType', + type: { + name: 'Composite', + class_name: 'Job' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule.rb new file mode 100644 index 0000000000..dfbcf19919 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule.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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Scheduling properties of a job. + # + class JobSchedule + + include MsRestAzure + + # @return [DateTime] Schedule start time. Default value: + # Date.parse('0001-01-01T00:00:00Z') . + attr_accessor :start_time + + # @return [DateTime] Schedule end time. Default value: + # Date.parse('9999-12-31T11:59:59Z') . + attr_accessor :end_time + + # @return [JobScheduleType] Schedule interval type. Possible values + # include: 'Once', 'Recurring'. Default value: 'Once' . + attr_accessor :type + + # @return [Boolean] Whether or not the schedule is enabled. + attr_accessor :enabled + + # @return [String] Value of the schedule's recurring interval, if the + # scheduletype is recurring. ISO8601 duration format. + attr_accessor :interval + + + # + # Mapper for JobSchedule class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobSchedule', + type: { + name: 'Composite', + class_name: 'JobSchedule', + model_properties: { + start_time: { + required: false, + serialized_name: 'startTime', + default_value: Date.parse('0001-01-01T00:00:00Z'), + type: { + name: 'DateTime' + } + }, + end_time: { + required: false, + serialized_name: 'endTime', + default_value: Date.parse('9999-12-31T11:59:59Z'), + type: { + name: 'DateTime' + } + }, + type: { + required: false, + serialized_name: 'type', + default_value: 'Once', + type: { + name: 'Enum', + module: 'JobScheduleType' + } + }, + enabled: { + required: false, + serialized_name: 'enabled', + type: { + name: 'Boolean' + } + }, + interval: { + required: false, + serialized_name: 'interval', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule_type.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule_type.rb new file mode 100644 index 0000000000..fde6b64ba8 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule_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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for JobScheduleType + # + module JobScheduleType + Once = "Once" + Recurring = "Recurring" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb new file mode 100644 index 0000000000..2e5632d04b --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb @@ -0,0 +1,125 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A job step. + # + class JobStep < ProxyResource + + include MsRestAzure + + # @return [Integer] The job step's index within the job. If not specified + # when creating the job step, it will be created as the last step. If not + # specified when updating the job step, the step id is not modified. + attr_accessor :step_id + + # @return [String] The resource ID of the target group that the job step + # will be executed on. + attr_accessor :target_group + + # @return [String] The resource ID of the job credential that will be + # used to connect to the targets. + attr_accessor :credential + + # @return [JobStepAction] The action payload of the job step. + attr_accessor :action + + # @return [JobStepOutput] Output destination properties of the job step. + attr_accessor :output + + # @return [JobStepExecutionOptions] Execution options for the job step. + attr_accessor :execution_options + + + # + # Mapper for JobStep class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobStep', + type: { + name: 'Composite', + class_name: 'JobStep', + 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' + } + }, + step_id: { + required: false, + serialized_name: 'properties.stepId', + type: { + name: 'Number' + } + }, + target_group: { + required: true, + serialized_name: 'properties.targetGroup', + type: { + name: 'String' + } + }, + credential: { + required: true, + serialized_name: 'properties.credential', + type: { + name: 'String' + } + }, + action: { + required: true, + serialized_name: 'properties.action', + type: { + name: 'Composite', + class_name: 'JobStepAction' + } + }, + output: { + required: false, + serialized_name: 'properties.output', + type: { + name: 'Composite', + class_name: 'JobStepOutput' + } + }, + execution_options: { + required: false, + serialized_name: 'properties.executionOptions', + type: { + name: 'Composite', + class_name: 'JobStepExecutionOptions' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action.rb new file mode 100644 index 0000000000..7f74b52604 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action.rb @@ -0,0 +1,69 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::SQL::Mgmt::V2017_03_01_preview + module Models + # + # The action to be executed by a job step. + # + class JobStepAction + + include MsRestAzure + + # @return [JobStepActionType] Type of action being executed by the job + # step. Possible values include: 'TSql'. Default value: 'TSql' . + attr_accessor :type + + # @return [JobStepActionSource] The source of the action to execute. + # Possible values include: 'Inline'. Default value: 'Inline' . + attr_accessor :source + + # @return [String] The action value, for example the text of the T-SQL + # script to execute. + attr_accessor :value + + + # + # Mapper for JobStepAction class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobStepAction', + type: { + name: 'Composite', + class_name: 'JobStepAction', + model_properties: { + type: { + required: false, + serialized_name: 'type', + default_value: 'TSql', + type: { + name: 'String' + } + }, + source: { + required: false, + serialized_name: 'source', + default_value: 'Inline', + type: { + name: 'String' + } + }, + value: { + required: true, + serialized_name: 'value', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_source.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_source.rb new file mode 100644 index 0000000000..f6716f8e06 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_source.rb @@ -0,0 +1,15 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for JobStepActionSource + # + module JobStepActionSource + Inline = "Inline" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_type.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_type.rb new file mode 100644 index 0000000000..9c15172e15 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_type.rb @@ -0,0 +1,15 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for JobStepActionType + # + module JobStepActionType + TSql = "TSql" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_execution_options.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_execution_options.rb new file mode 100644 index 0000000000..557d0a71ce --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_execution_options.rb @@ -0,0 +1,94 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # The execution options of a job step. + # + class JobStepExecutionOptions + + include MsRestAzure + + # @return [Integer] Execution timeout for the job step. Default value: + # 43200 . + attr_accessor :timeout_seconds + + # @return [Integer] Maximum number of times the job step will be + # reattempted if the first attempt fails. Default value: 10 . + attr_accessor :retry_attempts + + # @return [Integer] Initial delay between retries for job step execution. + # Default value: 1 . + attr_accessor :initial_retry_interval_seconds + + # @return [Integer] The maximum amount of time to wait between retries + # for job step execution. Default value: 120 . + attr_accessor :maximum_retry_interval_seconds + + # @return [Float] The backoff multiplier for the time between retries. + # Default value: 2 . + attr_accessor :retry_interval_backoff_multiplier + + + # + # Mapper for JobStepExecutionOptions class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobStepExecutionOptions', + type: { + name: 'Composite', + class_name: 'JobStepExecutionOptions', + model_properties: { + timeout_seconds: { + required: false, + serialized_name: 'timeoutSeconds', + default_value: 43200, + type: { + name: 'Number' + } + }, + retry_attempts: { + required: false, + serialized_name: 'retryAttempts', + default_value: 10, + type: { + name: 'Number' + } + }, + initial_retry_interval_seconds: { + required: false, + serialized_name: 'initialRetryIntervalSeconds', + default_value: 1, + type: { + name: 'Number' + } + }, + maximum_retry_interval_seconds: { + required: false, + serialized_name: 'maximumRetryIntervalSeconds', + default_value: 120, + type: { + name: 'Number' + } + }, + retry_interval_backoff_multiplier: { + required: false, + serialized_name: 'retryIntervalBackoffMultiplier', + default_value: 2, + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_list_result.rb new file mode 100644 index 0000000000..2f080da799 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_list_result.rb @@ -0,0 +1,96 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A list of job steps. + # + class JobStepListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [JobStepListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for JobStepListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobStepListResult', + type: { + name: 'Composite', + class_name: 'JobStepListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobStepElementType', + type: { + name: 'Composite', + class_name: 'JobStep' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output.rb new file mode 100644 index 0000000000..56446da074 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output.rb @@ -0,0 +1,118 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # The output configuration of a job step. + # + class JobStepOutput + + include MsRestAzure + + # @return [JobStepOutputType] The output destination type. Possible + # values include: 'SqlDatabase'. Default value: 'SqlDatabase' . + attr_accessor :type + + # @return The output destination subscription id. + attr_accessor :subscription_id + + # @return [String] The output destination resource group. + attr_accessor :resource_group_name + + # @return [String] The output destination server name. + attr_accessor :server_name + + # @return [String] The output destination database. + attr_accessor :database_name + + # @return [String] The output destination schema. Default value: 'dbo' . + attr_accessor :schema_name + + # @return [String] The output destination table. + attr_accessor :table_name + + # @return [String] The resource ID of the credential to use to connect to + # the output destination. + attr_accessor :credential + + + # + # Mapper for JobStepOutput class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobStepOutput', + type: { + name: 'Composite', + class_name: 'JobStepOutput', + model_properties: { + type: { + required: false, + serialized_name: 'type', + default_value: 'SqlDatabase', + type: { + name: 'String' + } + }, + subscription_id: { + required: false, + serialized_name: 'subscriptionId', + type: { + name: 'String' + } + }, + resource_group_name: { + required: false, + serialized_name: 'resourceGroupName', + type: { + name: 'String' + } + }, + server_name: { + required: true, + serialized_name: 'serverName', + type: { + name: 'String' + } + }, + database_name: { + required: true, + serialized_name: 'databaseName', + type: { + name: 'String' + } + }, + schema_name: { + required: false, + serialized_name: 'schemaName', + default_value: 'dbo', + type: { + name: 'String' + } + }, + table_name: { + required: true, + serialized_name: 'tableName', + type: { + name: 'String' + } + }, + credential: { + required: true, + serialized_name: 'credential', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output_type.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output_type.rb new file mode 100644 index 0000000000..9f1f013dcf --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output_type.rb @@ -0,0 +1,15 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for JobStepOutputType + # + module JobStepOutputType + SqlDatabase = "SqlDatabase" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target.rb new file mode 100644 index 0000000000..c98dfdfe90 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target.rb @@ -0,0 +1,113 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A job target, for example a specific database or a container of databases + # that is evaluated during job execution. + # + class JobTarget + + include MsRestAzure + + # @return [JobTargetGroupMembershipType] Whether the target is included + # or excluded from the group. Possible values include: 'Include', + # 'Exclude'. Default value: 'Include' . + attr_accessor :membership_type + + # @return [JobTargetType] The target type. Possible values include: + # 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', + # 'SqlServer' + attr_accessor :type + + # @return [String] The target server name. + attr_accessor :server_name + + # @return [String] The target database name. + attr_accessor :database_name + + # @return [String] The target elastic pool name. + attr_accessor :elastic_pool_name + + # @return [String] The target shard map. + attr_accessor :shard_map_name + + # @return [String] The resource ID of the credential that is used during + # job execution to connect to the target and determine the list of + # databases inside the target. + attr_accessor :refresh_credential + + + # + # Mapper for JobTarget class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobTarget', + type: { + name: 'Composite', + class_name: 'JobTarget', + model_properties: { + membership_type: { + required: false, + serialized_name: 'membershipType', + default_value: 'Include', + type: { + name: 'Enum', + module: 'JobTargetGroupMembershipType' + } + }, + type: { + required: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + server_name: { + required: false, + serialized_name: 'serverName', + type: { + name: 'String' + } + }, + database_name: { + required: false, + serialized_name: 'databaseName', + type: { + name: 'String' + } + }, + elastic_pool_name: { + required: false, + serialized_name: 'elasticPoolName', + type: { + name: 'String' + } + }, + shard_map_name: { + required: false, + serialized_name: 'shardMapName', + type: { + name: 'String' + } + }, + refresh_credential: { + required: false, + serialized_name: 'refreshCredential', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group.rb new file mode 100644 index 0000000000..0331bd5b55 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group.rb @@ -0,0 +1,76 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A group of job targets. + # + class JobTargetGroup < ProxyResource + + include MsRestAzure + + # @return [Array] Members of the target group. + attr_accessor :members + + + # + # Mapper for JobTargetGroup class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobTargetGroup', + type: { + name: 'Composite', + class_name: 'JobTargetGroup', + 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' + } + }, + members: { + required: true, + serialized_name: 'properties.members', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobTargetElementType', + type: { + name: 'Composite', + class_name: 'JobTarget' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_list_result.rb new file mode 100644 index 0000000000..20a4eabeeb --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_list_result.rb @@ -0,0 +1,96 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A list of target groups. + # + class JobTargetGroupListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [JobTargetGroupListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for JobTargetGroupListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobTargetGroupListResult', + type: { + name: 'Composite', + class_name: 'JobTargetGroupListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobTargetGroupElementType', + type: { + name: 'Composite', + class_name: 'JobTargetGroup' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_membership_type.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_membership_type.rb new file mode 100644 index 0000000000..5a67f663e2 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_membership_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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for JobTargetGroupMembershipType + # + module JobTargetGroupMembershipType + Include = "Include" + Exclude = "Exclude" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_type.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_type.rb new file mode 100644 index 0000000000..0c2d3e62ff --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_type.rb @@ -0,0 +1,19 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for JobTargetType + # + module JobTargetType + TargetGroup = "TargetGroup" + SqlDatabase = "SqlDatabase" + SqlElasticPool = "SqlElasticPool" + SqlShardMap = "SqlShardMap" + SqlServer = "SqlServer" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version.rb new file mode 100644 index 0000000000..c5a54f5e5c --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version.rb @@ -0,0 +1,58 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A job version. + # + class JobVersion < ProxyResource + + include MsRestAzure + + + # + # Mapper for JobVersion class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobVersion', + type: { + name: 'Composite', + class_name: 'JobVersion', + 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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version_list_result.rb new file mode 100644 index 0000000000..c5b1a3602e --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version_list_result.rb @@ -0,0 +1,96 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A list of job versions. + # + class JobVersionListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [JobVersionListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for JobVersionListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobVersionListResult', + type: { + name: 'Composite', + class_name: 'JobVersionListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobVersionElementType', + type: { + name: 'Composite', + class_name: 'JobVersion' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup.rb new file mode 100644 index 0000000000..764423d207 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup.rb @@ -0,0 +1,124 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A long term retention backup. + # + class LongTermRetentionBackup < ProxyResource + + include MsRestAzure + + # @return [String] The server name that the backup database belong to. + attr_accessor :server_name + + # @return [DateTime] The create time of the server. + attr_accessor :server_create_time + + # @return [String] The name of the database the backup belong to + attr_accessor :database_name + + # @return [DateTime] The delete time of the database + attr_accessor :database_deletion_time + + # @return [DateTime] The time the backup was taken + attr_accessor :backup_time + + # @return [DateTime] The time the long term retention backup will expire. + attr_accessor :backup_expiration_time + + + # + # Mapper for LongTermRetentionBackup class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LongTermRetentionBackup', + type: { + name: 'Composite', + class_name: 'LongTermRetentionBackup', + 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' + } + }, + server_name: { + required: false, + read_only: true, + serialized_name: 'properties.serverName', + type: { + name: 'String' + } + }, + server_create_time: { + required: false, + read_only: true, + serialized_name: 'properties.serverCreateTime', + type: { + name: 'DateTime' + } + }, + database_name: { + required: false, + read_only: true, + serialized_name: 'properties.databaseName', + type: { + name: 'String' + } + }, + database_deletion_time: { + required: false, + read_only: true, + serialized_name: 'properties.databaseDeletionTime', + type: { + name: 'DateTime' + } + }, + backup_time: { + required: false, + read_only: true, + serialized_name: 'properties.backupTime', + type: { + name: 'DateTime' + } + }, + backup_expiration_time: { + required: false, + read_only: true, + serialized_name: 'properties.backupExpirationTime', + type: { + name: 'DateTime' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup_list_result.rb new file mode 100644 index 0000000000..4b796157ba --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup_list_result.rb @@ -0,0 +1,96 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A list of long term retention bacukps. + # + class LongTermRetentionBackupListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [LongTermRetentionBackupListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for LongTermRetentionBackupListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LongTermRetentionBackupListResult', + type: { + name: 'Composite', + class_name: 'LongTermRetentionBackupListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LongTermRetentionBackupElementType', + type: { + name: 'Composite', + class_name: 'LongTermRetentionBackup' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_database_state.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_database_state.rb new file mode 100644 index 0000000000..152c80a09d --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_database_state.rb @@ -0,0 +1,17 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for LongTermRetentionDatabaseState + # + module LongTermRetentionDatabaseState + All = "All" + Live = "Live" + Deleted = "Deleted" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database.rb new file mode 100644 index 0000000000..7a99e0b345 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database.rb @@ -0,0 +1,223 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A managed database resource. + # + class ManagedDatabase < TrackedResource + + include MsRestAzure + + # @return [String] Collation of the managed database. + attr_accessor :collation + + # @return [ManagedDatabaseStatus] Status for the database. Possible + # values include: 'Online', 'Offline', 'Shutdown', 'Creating', + # 'Inaccessible' + attr_accessor :status + + # @return [DateTime] Creation date of the database. + attr_accessor :creation_date + + # @return [DateTime] Earliest restore point in time for point in time + # restore. + attr_accessor :earliest_restore_point + + # @return [DateTime] Conditional. If createMode is PointInTimeRestore, + # this value is required. Specifies the point in time (ISO8601 format) of + # the source database that will be restored to create the new database. + attr_accessor :restore_point_in_time + + # @return [String] Geo paired region. + attr_accessor :default_secondary_location + + # @return [CatalogCollationType] Collation of the metadata catalog. + # Possible values include: 'DATABASE_DEFAULT', + # 'SQL_Latin1_General_CP1_CI_AS' + attr_accessor :catalog_collation + + # @return [ManagedDatabaseCreateMode] Managed database create mode. + # PointInTimeRestore: Create a database by restoring a point in time + # backup of an existing database. SourceDatabaseName, + # SourceManagedInstanceName and PointInTime must be specified. + # RestoreExternalBackup: Create a database by restoring from external + # backup files. Collation, StorageContainerUri and + # StorageContainerSasToken must be specified. Possible values include: + # 'Default', 'RestoreExternalBackup', 'PointInTimeRestore' + attr_accessor :create_mode + + # @return [String] Conditional. If createMode is RestoreExternalBackup, + # this value is required. Specifies the uri of the storage container + # where backups for this restore are stored. + attr_accessor :storage_container_uri + + # @return [String] The resource identifier of the source database + # associated with create operation of this database. + attr_accessor :source_database_id + + # @return [String] Conditional. If createMode is RestoreExternalBackup, + # this value is required. Specifies the storage container sas token. + attr_accessor :storage_container_sas_token + + # @return [String] Instance Failover Group resource identifier that this + # managed database belongs to. + attr_accessor :failover_group_id + + + # + # Mapper for ManagedDatabase class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ManagedDatabase', + type: { + name: 'Composite', + class_name: 'ManagedDatabase', + 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' + } + } + } + }, + collation: { + required: false, + serialized_name: 'properties.collation', + type: { + name: 'String' + } + }, + status: { + required: false, + read_only: true, + serialized_name: 'properties.status', + type: { + name: 'String' + } + }, + creation_date: { + required: false, + read_only: true, + serialized_name: 'properties.creationDate', + type: { + name: 'DateTime' + } + }, + earliest_restore_point: { + required: false, + read_only: true, + serialized_name: 'properties.earliestRestorePoint', + type: { + name: 'DateTime' + } + }, + restore_point_in_time: { + required: false, + serialized_name: 'properties.restorePointInTime', + type: { + name: 'DateTime' + } + }, + default_secondary_location: { + required: false, + read_only: true, + serialized_name: 'properties.defaultSecondaryLocation', + type: { + name: 'String' + } + }, + catalog_collation: { + required: false, + serialized_name: 'properties.catalogCollation', + type: { + name: 'String' + } + }, + create_mode: { + required: false, + serialized_name: 'properties.createMode', + type: { + name: 'String' + } + }, + storage_container_uri: { + required: false, + serialized_name: 'properties.storageContainerUri', + type: { + name: 'String' + } + }, + source_database_id: { + required: false, + serialized_name: 'properties.sourceDatabaseId', + type: { + name: 'String' + } + }, + storage_container_sas_token: { + required: false, + serialized_name: 'properties.storageContainerSasToken', + type: { + name: 'String' + } + }, + failover_group_id: { + required: false, + read_only: true, + serialized_name: 'properties.failoverGroupId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_create_mode.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_create_mode.rb new file mode 100644 index 0000000000..e2d1a0d378 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_create_mode.rb @@ -0,0 +1,17 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for ManagedDatabaseCreateMode + # + module ManagedDatabaseCreateMode + Default = "Default" + RestoreExternalBackup = "RestoreExternalBackup" + PointInTimeRestore = "PointInTimeRestore" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_list_result.rb new file mode 100644 index 0000000000..6d2cc78dab --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_list_result.rb @@ -0,0 +1,96 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A list of managed databases. + # + class ManagedDatabaseListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [ManagedDatabaseListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for ManagedDatabaseListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ManagedDatabaseListResult', + type: { + name: 'Composite', + class_name: 'ManagedDatabaseListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ManagedDatabaseElementType', + type: { + name: 'Composite', + class_name: 'ManagedDatabase' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_status.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_status.rb new file mode 100644 index 0000000000..08b84fd7ff --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_status.rb @@ -0,0 +1,19 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for ManagedDatabaseStatus + # + module ManagedDatabaseStatus + Online = "Online" + Offline = "Offline" + Shutdown = "Shutdown" + Creating = "Creating" + Inaccessible = "Inaccessible" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_update.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_update.rb new file mode 100644 index 0000000000..e6aff87833 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_update.rb @@ -0,0 +1,195 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # An managed database update. + # + class ManagedDatabaseUpdate + + include MsRestAzure + + # @return [String] Collation of the managed database. + attr_accessor :collation + + # @return [ManagedDatabaseStatus] Status for the database. Possible + # values include: 'Online', 'Offline', 'Shutdown', 'Creating', + # 'Inaccessible' + attr_accessor :status + + # @return [DateTime] Creation date of the database. + attr_accessor :creation_date + + # @return [DateTime] Earliest restore point in time for point in time + # restore. + attr_accessor :earliest_restore_point + + # @return [DateTime] Conditional. If createMode is PointInTimeRestore, + # this value is required. Specifies the point in time (ISO8601 format) of + # the source database that will be restored to create the new database. + attr_accessor :restore_point_in_time + + # @return [String] Geo paired region. + attr_accessor :default_secondary_location + + # @return [CatalogCollationType] Collation of the metadata catalog. + # Possible values include: 'DATABASE_DEFAULT', + # 'SQL_Latin1_General_CP1_CI_AS' + attr_accessor :catalog_collation + + # @return [ManagedDatabaseCreateMode] Managed database create mode. + # PointInTimeRestore: Create a database by restoring a point in time + # backup of an existing database. SourceDatabaseName, + # SourceManagedInstanceName and PointInTime must be specified. + # RestoreExternalBackup: Create a database by restoring from external + # backup files. Collation, StorageContainerUri and + # StorageContainerSasToken must be specified. Possible values include: + # 'Default', 'RestoreExternalBackup', 'PointInTimeRestore' + attr_accessor :create_mode + + # @return [String] Conditional. If createMode is RestoreExternalBackup, + # this value is required. Specifies the uri of the storage container + # where backups for this restore are stored. + attr_accessor :storage_container_uri + + # @return [String] The resource identifier of the source database + # associated with create operation of this database. + attr_accessor :source_database_id + + # @return [String] Conditional. If createMode is RestoreExternalBackup, + # this value is required. Specifies the storage container sas token. + attr_accessor :storage_container_sas_token + + # @return [String] Instance Failover Group resource identifier that this + # managed database belongs to. + attr_accessor :failover_group_id + + # @return [Hash{String => String}] Resource tags. + attr_accessor :tags + + + # + # Mapper for ManagedDatabaseUpdate class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ManagedDatabaseUpdate', + type: { + name: 'Composite', + class_name: 'ManagedDatabaseUpdate', + model_properties: { + collation: { + required: false, + serialized_name: 'properties.collation', + type: { + name: 'String' + } + }, + status: { + required: false, + read_only: true, + serialized_name: 'properties.status', + type: { + name: 'String' + } + }, + creation_date: { + required: false, + read_only: true, + serialized_name: 'properties.creationDate', + type: { + name: 'DateTime' + } + }, + earliest_restore_point: { + required: false, + read_only: true, + serialized_name: 'properties.earliestRestorePoint', + type: { + name: 'DateTime' + } + }, + restore_point_in_time: { + required: false, + serialized_name: 'properties.restorePointInTime', + type: { + name: 'DateTime' + } + }, + default_secondary_location: { + required: false, + read_only: true, + serialized_name: 'properties.defaultSecondaryLocation', + type: { + name: 'String' + } + }, + catalog_collation: { + required: false, + serialized_name: 'properties.catalogCollation', + type: { + name: 'String' + } + }, + create_mode: { + required: false, + serialized_name: 'properties.createMode', + type: { + name: 'String' + } + }, + storage_container_uri: { + required: false, + serialized_name: 'properties.storageContainerUri', + type: { + name: 'String' + } + }, + source_database_id: { + required: false, + serialized_name: 'properties.sourceDatabaseId', + type: { + name: 'String' + } + }, + storage_container_sas_token: { + required: false, + serialized_name: 'properties.storageContainerSasToken', + type: { + name: 'String' + } + }, + failover_group_id: { + required: false, + read_only: true, + serialized_name: 'properties.failoverGroupId', + 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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/provisioning_state.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/provisioning_state.rb new file mode 100644 index 0000000000..1eaa46a252 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/provisioning_state.rb @@ -0,0 +1,19 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for ProvisioningState + # + module ProvisioningState + Created = "Created" + InProgress = "InProgress" + Succeeded = "Succeeded" + Failed = "Failed" + Canceled = "Canceled" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb index c139f75703..466ee9012d 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb @@ -19,7 +19,6 @@ class ProxyResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ProxyResource', type: { @@ -27,7 +26,6 @@ def self.mapper() class_name: 'ProxyResource', 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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/resource.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/resource.rb index d215e4f66d..a84bf29d51 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/resource.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/resource.rb @@ -28,7 +28,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Resource', 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', diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb index 9c77b68fc1..c5c300b089 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb @@ -22,7 +22,6 @@ class ResourceMoveDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceMoveDefinition', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ResourceMoveDefinition', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb new file mode 100644 index 0000000000..91d20926c2 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb @@ -0,0 +1,116 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Database restore points. + # + class RestorePoint < ProxyResource + + include MsRestAzure + + # @return [String] Resource location. + attr_accessor :location + + # @return [RestorePointType] The type of restore point. Possible values + # include: 'CONTINUOUS', 'DISCRETE' + attr_accessor :restore_point_type + + # @return [DateTime] The earliest time to which this database can be + # restored + attr_accessor :earliest_restore_date + + # @return [DateTime] The time the backup was taken + attr_accessor :restore_point_creation_date + + # @return [String] The label of restore point for backup request by user + attr_accessor :restore_point_label + + + # + # Mapper for RestorePoint class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'RestorePoint', + type: { + name: 'Composite', + class_name: 'RestorePoint', + 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: false, + read_only: true, + serialized_name: 'location', + type: { + name: 'String' + } + }, + restore_point_type: { + required: false, + read_only: true, + serialized_name: 'properties.restorePointType', + type: { + name: 'Enum', + module: 'RestorePointType' + } + }, + earliest_restore_date: { + required: false, + read_only: true, + serialized_name: 'properties.earliestRestoreDate', + type: { + name: 'DateTime' + } + }, + restore_point_creation_date: { + required: false, + read_only: true, + serialized_name: 'properties.restorePointCreationDate', + type: { + name: 'DateTime' + } + }, + restore_point_label: { + required: false, + read_only: true, + serialized_name: 'properties.restorePointLabel', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_list_result.rb new file mode 100644 index 0000000000..7051bda4cc --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_list_result.rb @@ -0,0 +1,64 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A list of long term retention bacukps. + # + class RestorePointListResult + + include MsRestAzure + + # @return [Array] Array of results. + attr_accessor :value + + # @return [String] Link to retrieve next page of results. + attr_accessor :next_link + + + # + # Mapper for RestorePointListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'RestorePointListResult', + type: { + name: 'Composite', + class_name: 'RestorePointListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'RestorePointElementType', + type: { + name: 'Composite', + class_name: 'RestorePoint' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_state.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_state.rb new file mode 100644 index 0000000000..c2f32d2b2d --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_state.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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for SecurityAlertState + # + module SecurityAlertState + Enabled = "Enabled" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_automatic_tuning.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_automatic_tuning.rb index af82fa3e54..0a78f6ffa2 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_automatic_tuning.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_automatic_tuning.rb @@ -31,7 +31,6 @@ class ServerAutomaticTuning < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerAutomaticTuning', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ServerAutomaticTuning', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -66,7 +62,6 @@ def self.mapper() } }, desired_state: { - client_side_validation: true, required: false, serialized_name: 'properties.desiredState', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, actual_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.actualState', @@ -85,13 +79,11 @@ def self.mapper() } }, options: { - client_side_validation: true, required: false, serialized_name: 'properties.options', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'AutomaticTuningServerOptionsElementType', type: { diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_blob_auditing_policy.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_blob_auditing_policy.rb new file mode 100644 index 0000000000..07d091064b --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_blob_auditing_policy.rb @@ -0,0 +1,214 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A server blob auditing policy. + # + class ServerBlobAuditingPolicy < ProxyResource + + include MsRestAzure + + # @return [BlobAuditingPolicyState] Specifies the state of the policy. If + # state is Enabled, storageEndpoint and storageAccountAccessKey are + # required. Possible values include: 'Enabled', 'Disabled' + attr_accessor :state + + # @return [String] Specifies the blob storage endpoint (e.g. + # https://MyAccount.blob.core.windows.net). If state is Enabled, + # storageEndpoint is required. + attr_accessor :storage_endpoint + + # @return [String] Specifies the identifier key of the auditing storage + # account. If state is Enabled, storageAccountAccessKey is required. + attr_accessor :storage_account_access_key + + # @return [Integer] Specifies the number of days to keep in the audit + # logs. + attr_accessor :retention_days + + # @return [Array] Specifies the Actions-Groups and Actions to + # audit. + # + # The recommended set of action groups to use is the following + # combination - this will audit all the queries and stored procedures + # executed against the database, as well as successful and failed logins: + # + # BATCH_COMPLETED_GROUP, + # SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, + # FAILED_DATABASE_AUTHENTICATION_GROUP. + # + # This above combination is also the set that is configured by default + # when enabling auditing from the Azure portal. + # + # The supported action groups to audit are (note: choose only specific + # groups that cover your auditing needs. Using unnecessary groups could + # lead to very large quantities of audit records): + # + # APPLICATION_ROLE_CHANGE_PASSWORD_GROUP + # BACKUP_RESTORE_GROUP + # DATABASE_LOGOUT_GROUP + # DATABASE_OBJECT_CHANGE_GROUP + # DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP + # DATABASE_OBJECT_PERMISSION_CHANGE_GROUP + # DATABASE_OPERATION_GROUP + # DATABASE_PERMISSION_CHANGE_GROUP + # DATABASE_PRINCIPAL_CHANGE_GROUP + # DATABASE_PRINCIPAL_IMPERSONATION_GROUP + # DATABASE_ROLE_MEMBER_CHANGE_GROUP + # FAILED_DATABASE_AUTHENTICATION_GROUP + # SCHEMA_OBJECT_ACCESS_GROUP + # SCHEMA_OBJECT_CHANGE_GROUP + # SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP + # SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP + # SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP + # USER_CHANGE_PASSWORD_GROUP + # BATCH_STARTED_GROUP + # BATCH_COMPLETED_GROUP + # + # These are groups that cover all sql statements and stored procedures + # executed against the database, and should not be used in combination + # with other groups as this will result in duplicate audit logs. + # + # For more information, see [Database-Level Audit Action + # Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). + # + # For Database auditing policy, specific Actions can also be specified + # (note that Actions cannot be specified for Server auditing policy). The + # supported actions to audit are: + # SELECT + # UPDATE + # INSERT + # DELETE + # EXECUTE + # RECEIVE + # REFERENCES + # + # The general form for defining an action to be audited is: + # ON BY + # + # Note that in the above format can refer to an object like a + # table, view, or stored procedure, or an entire database or schema. For + # the latter cases, the forms DATABASE:: and + # SCHEMA:: are used, respectively. + # + # For example: + # SELECT on dbo.myTable by public + # SELECT on DATABASE::myDatabase by public + # SELECT on SCHEMA::mySchema by public + # + # For more information, see [Database-Level Audit + # Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) + attr_accessor :audit_actions_and_groups + + # @return Specifies the blob storage subscription Id. + attr_accessor :storage_account_subscription_id + + # @return [Boolean] Specifies whether storageAccountAccessKey value is + # the storage's secondary key. + attr_accessor :is_storage_secondary_key_in_use + + + # + # Mapper for ServerBlobAuditingPolicy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ServerBlobAuditingPolicy', + type: { + name: 'Composite', + class_name: 'ServerBlobAuditingPolicy', + 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' + } + }, + state: { + required: true, + serialized_name: 'properties.state', + type: { + name: 'Enum', + module: 'BlobAuditingPolicyState' + } + }, + storage_endpoint: { + required: false, + serialized_name: 'properties.storageEndpoint', + type: { + name: 'String' + } + }, + storage_account_access_key: { + required: false, + serialized_name: 'properties.storageAccountAccessKey', + type: { + name: 'String' + } + }, + retention_days: { + required: false, + serialized_name: 'properties.retentionDays', + type: { + name: 'Number' + } + }, + audit_actions_and_groups: { + required: false, + serialized_name: 'properties.auditActionsAndGroups', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + storage_account_subscription_id: { + required: false, + serialized_name: 'properties.storageAccountSubscriptionId', + type: { + name: 'String' + } + }, + is_storage_secondary_key_in_use: { + required: false, + serialized_name: 'properties.isStorageSecondaryKeyInUse', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias.rb index 4ccfa61f11..8b7cef3bb1 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias.rb @@ -22,7 +22,6 @@ class ServerDnsAlias < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerDnsAlias', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ServerDnsAlias', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -39,7 +37,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -48,7 +45,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -57,7 +53,6 @@ def self.mapper() } }, azure_dns_record: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.azureDnsRecord', diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_acquisition.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_acquisition.rb index 04c676eddb..80f062aa94 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_acquisition.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_acquisition.rb @@ -23,7 +23,6 @@ class ServerDnsAliasAcquisition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerDnsAliasAcquisition', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ServerDnsAliasAcquisition', model_properties: { old_server_dns_alias_id: { - client_side_validation: true, required: false, serialized_name: 'oldServerDnsAliasId', type: { diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb index 6ddd586711..6f1a90e148 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServerDnsAliasListResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'ServerDnsAliasListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServerDnsAliasElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb new file mode 100644 index 0000000000..ac1bb11483 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # A server security alert policy. + # + class ServerSecurityAlertPolicy < ProxyResource + + include MsRestAzure + + # @return [SecurityAlertState] Specifies the state of the policy, whether + # it is enabled or disabled. Possible values include: 'Enabled', + # 'Disabled' + attr_accessor :state + + # @return [Array] Specifies an array of alerts that are disabled. + # Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, + # Access_Anomaly + attr_accessor :disabled_alerts + + # @return [Array] Specifies an array of e-mail addresses to which + # the alert is sent. + attr_accessor :email_addresses + + # @return [Boolean] Specifies that the alert is sent to the account + # administrators. + attr_accessor :email_account_admins + + # @return [String] Specifies the blob storage endpoint (e.g. + # https://MyAccount.blob.core.windows.net). This blob storage will hold + # all Threat Detection audit logs. + attr_accessor :storage_endpoint + + # @return [String] Specifies the identifier key of the Threat Detection + # audit storage account. + attr_accessor :storage_account_access_key + + # @return [Integer] Specifies the number of days to keep in the Threat + # Detection audit logs. + attr_accessor :retention_days + + + # + # Mapper for ServerSecurityAlertPolicy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ServerSecurityAlertPolicy', + type: { + name: 'Composite', + class_name: 'ServerSecurityAlertPolicy', + 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' + } + }, + state: { + required: true, + serialized_name: 'properties.state', + type: { + name: 'Enum', + module: 'SecurityAlertState' + } + }, + disabled_alerts: { + required: false, + serialized_name: 'properties.disabledAlerts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + email_addresses: { + required: false, + serialized_name: 'properties.emailAddresses', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + email_account_admins: { + required: false, + serialized_name: 'properties.emailAccountAdmins', + type: { + name: 'Boolean' + } + }, + storage_endpoint: { + required: false, + serialized_name: 'properties.storageEndpoint', + type: { + name: 'String' + } + }, + storage_account_access_key: { + required: false, + serialized_name: 'properties.storageAccountAccessKey', + type: { + name: 'String' + } + }, + retention_days: { + required: false, + serialized_name: 'properties.retentionDays', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sku.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sku.rb new file mode 100644 index 0000000000..7fa5d01d99 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sku.rb @@ -0,0 +1,91 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # The resource model definition representing SKU + # + class Sku + + include MsRestAzure + + # @return [String] The name of the SKU. Ex - P3. It is typically a + # letter+number code + attr_accessor :name + + # @return [String] This field is required to be implemented by the + # Resource Provider if the service has more than one tier, but is not + # required on a PUT. + attr_accessor :tier + + # @return [String] The SKU size. When the name field is the combination + # of tier and some other value, this would be the standalone code. + attr_accessor :size + + # @return [String] If the service has different generations of hardware, + # for the same SKU, then that can be captured here. + attr_accessor :family + + # @return [Integer] If the SKU supports scale out/in then the capacity + # integer should be included. If scale out/in is not possible for the + # resource this may be omitted. + attr_accessor :capacity + + + # + # Mapper for Sku class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Sku', + type: { + name: 'Composite', + class_name: 'Sku', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + tier: { + required: false, + serialized_name: 'tier', + type: { + name: 'String' + } + }, + size: { + required: false, + serialized_name: 'size', + type: { + name: 'String' + } + }, + family: { + required: false, + serialized_name: 'family', + type: { + name: 'String' + } + }, + capacity: { + required: false, + serialized_name: 'capacity', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb index d14f20d3f3..87cd47d7ca 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_policy_baseline_name.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_policy_baseline_name.rb new file mode 100644 index 0000000000..f90b67cd5e --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_policy_baseline_name.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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for VulnerabilityAssessmentPolicyBaselineName + # + module VulnerabilityAssessmentPolicyBaselineName + Master = "master" + Default = "default" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb new file mode 100644 index 0000000000..4ffdcf9a01 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Properties of a Vulnerability Assessment recurring scans. + # + class VulnerabilityAssessmentRecurringScansProperties + + include MsRestAzure + + # @return [Boolean] Recurring scans state. + attr_accessor :is_enabled + + # @return [Boolean] Specifies that the schedule scan notification will be + # is sent to the subscription administrators. Default value: true . + attr_accessor :email_subscription_admins + + # @return [Array] Specifies an array of e-mail addresses to which + # the scan notification is sent. + attr_accessor :emails + + + # + # Mapper for VulnerabilityAssessmentRecurringScansProperties class as + # Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'VulnerabilityAssessmentRecurringScansProperties', + type: { + name: 'Composite', + class_name: 'VulnerabilityAssessmentRecurringScansProperties', + model_properties: { + is_enabled: { + required: false, + serialized_name: 'isEnabled', + type: { + name: 'Boolean' + } + }, + email_subscription_admins: { + required: false, + serialized_name: 'emailSubscriptionAdmins', + default_value: true, + type: { + name: 'Boolean' + } + }, + emails: { + required: false, + serialized_name: 'emails', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/restore_points.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/restore_points.rb new file mode 100644 index 0000000000..8abdce80fa --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/restore_points.rb @@ -0,0 +1,507 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class RestorePoints + include MsRestAzure + + # + # Creates and initializes a new instance of the RestorePoints class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a list of database restore points. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [RestorePointListResult] operation results. + # + def list_by_database(resource_group_name, server_name, database_name, custom_headers = nil) + response = list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a list of database restore points. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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_database_with_http_info(resource_group_name, server_name, database_name, custom_headers = nil) + list_by_database_async(resource_group_name, server_name, database_name, custom_headers).value! + end + + # + # Gets a list of database restore points. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @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_database_async(resource_group_name, server_name, database_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult.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 + + # + # Creates a restore point for a data warehouse. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [CreateDatabaseRestorePointDefinition] The definition for + # creating the restore point of this database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [RestorePoint] operation results. + # + def create(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [CreateDatabaseRestorePointDefinition] The definition for + # creating the restore point of this database. + # @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_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + # Send request + promise = begin_create_async(resource_group_name, server_name, database_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint.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 + + # + # Gets a restore point. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param restore_point_name [String] The name of the restore point. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [RestorePoint] operation results. + # + def get(resource_group_name, server_name, database_name, restore_point_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, database_name, restore_point_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a restore point. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param restore_point_name [String] The name of the restore point. + # @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, server_name, database_name, restore_point_name, custom_headers = nil) + get_async(resource_group_name, server_name, database_name, restore_point_name, custom_headers).value! + end + + # + # Gets a restore point. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param restore_point_name [String] The name of the restore point. + # @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, server_name, database_name, restore_point_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + fail ArgumentError, 'restore_point_name is nil' if restore_point_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints/{restorePointName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'restorePointName' => restore_point_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint.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 + + # + # Deletes a restore point. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param restore_point_name [String] The name of the restore point. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, server_name, database_name, restore_point_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, database_name, restore_point_name, custom_headers).value! + nil + end + + # + # Deletes a restore point. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param restore_point_name [String] The name of the restore point. + # @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 delete_with_http_info(resource_group_name, server_name, database_name, restore_point_name, custom_headers = nil) + delete_async(resource_group_name, server_name, database_name, restore_point_name, custom_headers).value! + end + + # + # Deletes a restore point. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param restore_point_name [String] The name of the restore point. + # @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 delete_async(resource_group_name, server_name, database_name, restore_point_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + fail ArgumentError, 'restore_point_name is nil' if restore_point_name.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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints/{restorePointName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'restorePointName' => restore_point_name,'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(: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 + 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 + + # + # Creates a restore point for a data warehouse. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [CreateDatabaseRestorePointDefinition] The definition for + # creating the restore point of this database. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [RestorePoint] operation results. + # + def begin_create(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates a restore point for a data warehouse. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [CreateDatabaseRestorePointDefinition] The definition for + # creating the restore point of this database. + # @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_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, server_name, database_name, parameters, custom_headers).value! + end + + # + # Creates a restore point for a data warehouse. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param database_name [String] The name of the database. + # @param parameters [CreateDatabaseRestorePointDefinition] The definition for + # creating the restore point of this database. + # @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_async(resource_group_name, server_name, database_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + fail ArgumentError, 'database_name is nil' if database_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'databaseName' => database_name,'subscriptionId' => @client.subscription_id}, + 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 || status_code == 202 || 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 == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint.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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint.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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb index b6fc05eaba..609c5da898 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb @@ -5,10 +5,10 @@ module Azure::SQL::Mgmt::V2017_03_01_preview # - # The Azure SQL Database management API provides a RESTful set of web APIs - # that interact with Azure SQL Database services to manage your databases. - # The API enables users to create, retrieve, update, and delete databases, - # servers, and other entities. + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. # class ServerAutomaticTuningOperations include MsRestAzure @@ -36,8 +36,8 @@ def initialize(client) # # @return [ServerAutomaticTuning] operation results. # - def get(resource_group_name, server_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, custom_headers).value! response.body unless response.nil? end @@ -53,8 +53,8 @@ def get(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, custom_headers:nil) - get_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, custom_headers = nil) + get_async(resource_group_name, server_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(resource_group_name, server_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, custom_headers:nil) + def get_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -77,7 +77,6 @@ def get_async(resource_group_name, server_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, server_name, custom_headers:nil) # # @return [ServerAutomaticTuning] operation results. # - def update(resource_group_name, server_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, server_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, server_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -155,8 +154,8 @@ def update(resource_group_name, server_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil) - update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, server_name, parameters, custom_headers = nil) + update_async(resource_group_name, server_name, parameters, custom_headers).value! end # @@ -173,7 +172,7 @@ def update_with_http_info(resource_group_name, server_name, parameters, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, server_name, parameters, custom_headers:nil) + def update_async(resource_group_name, server_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -182,12 +181,13 @@ def update_async(resource_group_name, server_name, parameters, custom_headers:ni 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::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_blob_auditing_policies.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_blob_auditing_policies.rb new file mode 100644 index 0000000000..7f221b6b4a --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_blob_auditing_policies.rb @@ -0,0 +1,290 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class ServerBlobAuditingPolicies + include MsRestAzure + + # + # Creates and initializes a new instance of the ServerBlobAuditingPolicies class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Gets a server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServerBlobAuditingPolicy] operation results. + # + def get(resource_group_name, server_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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, server_name, custom_headers = nil) + get_async(resource_group_name, server_name, custom_headers).value! + end + + # + # Gets a server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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, server_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + blob_auditing_policy_name = 'default' + 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingSettings/{blobAuditingPolicyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'blobAuditingPolicyName' => blob_auditing_policy_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy.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 + + # + # Creates or updates a server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ServerBlobAuditingPolicy] Properties of blob auditing + # policy + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServerBlobAuditingPolicy] operation results. + # + def create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ServerBlobAuditingPolicy] Properties of blob auditing + # policy + # @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, server_name, parameters, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy.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 + + # + # Creates or updates a server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ServerBlobAuditingPolicy] Properties of blob auditing + # policy + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServerBlobAuditingPolicy] operation results. + # + def begin_create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ServerBlobAuditingPolicy] Properties of blob auditing + # policy + # @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, server_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! + end + + # + # Creates or updates a server's blob auditing policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ServerBlobAuditingPolicy] Properties of blob auditing + # policy + # @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, server_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + blob_auditing_policy_name = 'default' + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingSettings/{blobAuditingPolicyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'blobAuditingPolicyName' => blob_auditing_policy_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || status_code == 202 + 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::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy.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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb index c1f538b788..18ec513d76 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb @@ -5,10 +5,10 @@ module Azure::SQL::Mgmt::V2017_03_01_preview # - # The Azure SQL Database management API provides a RESTful set of web APIs - # that interact with Azure SQL Database services to manage your databases. - # The API enables users to create, retrieve, update, and delete databases, - # servers, and other entities. + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. # class ServerDnsAliases include MsRestAzure @@ -38,8 +38,8 @@ def initialize(client) # # @return [ServerDnsAlias] operation results. # - def get(resource_group_name, server_name, dns_alias_name, custom_headers:nil) - response = get_async(resource_group_name, server_name, dns_alias_name, custom_headers:custom_headers).value! + def get(resource_group_name, server_name, dns_alias_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, dns_alias_name, custom_headers).value! response.body unless response.nil? end @@ -57,8 +57,8 @@ def get(resource_group_name, server_name, dns_alias_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, server_name, dns_alias_name, custom_headers:nil) - get_async(resource_group_name, server_name, dns_alias_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, server_name, dns_alias_name, custom_headers = nil) + get_async(resource_group_name, server_name, dns_alias_name, custom_headers).value! end # @@ -75,7 +75,7 @@ def get_with_http_info(resource_group_name, server_name, dns_alias_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, server_name, dns_alias_name, custom_headers:nil) + def get_async(resource_group_name, server_name, dns_alias_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'dns_alias_name is nil' if dns_alias_name.nil? @@ -84,7 +84,6 @@ def get_async(resource_group_name, server_name, dns_alias_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -143,8 +142,8 @@ def get_async(resource_group_name, server_name, dns_alias_name, custom_headers:n # # @return [ServerDnsAlias] operation results. # - def create_or_update(resource_group_name, server_name, dns_alias_name, custom_headers:nil) - response = create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, server_name, dns_alias_name, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers).value! response.body unless response.nil? end @@ -161,9 +160,9 @@ def create_or_update(resource_group_name, server_name, dns_alias_name, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers:nil) + def create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -191,8 +190,8 @@ def create_or_update_async(resource_group_name, server_name, dns_alias_name, cus # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, server_name, dns_alias_name, custom_headers:nil) - response = delete_async(resource_group_name, server_name, dns_alias_name, custom_headers:custom_headers).value! + def delete(resource_group_name, server_name, dns_alias_name, custom_headers = nil) + response = delete_async(resource_group_name, server_name, dns_alias_name, custom_headers).value! nil end @@ -209,9 +208,9 @@ def delete(resource_group_name, server_name, dns_alias_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, server_name, dns_alias_name, custom_headers:nil) + def delete_async(resource_group_name, server_name, dns_alias_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, server_name, dns_alias_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, server_name, dns_alias_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -238,8 +237,8 @@ def delete_async(resource_group_name, server_name, dns_alias_name, custom_header # # @return [Array] operation results. # - def list_by_server(resource_group_name, server_name, custom_headers:nil) - first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers:custom_headers) + def list_by_server(resource_group_name, server_name, custom_headers = nil) + first_page = list_by_server_as_lazy(resource_group_name, server_name, custom_headers) first_page.get_all_items end @@ -256,8 +255,8 @@ def list_by_server(resource_group_name, server_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_with_http_info(resource_group_name, server_name, custom_headers:nil) - list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_with_http_info(resource_group_name, server_name, custom_headers = nil) + list_by_server_async(resource_group_name, server_name, custom_headers).value! end # @@ -273,7 +272,7 @@ def list_by_server_with_http_info(resource_group_name, server_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_async(resource_group_name, server_name, custom_headers:nil) + def list_by_server_async(resource_group_name, server_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? @@ -281,7 +280,6 @@ def list_by_server_async(resource_group_name, server_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 @@ -339,8 +337,8 @@ def list_by_server_async(resource_group_name, server_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def acquire(resource_group_name, server_name, dns_alias_name, parameters, custom_headers:nil) - response = acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers:custom_headers).value! + def acquire(resource_group_name, server_name, dns_alias_name, parameters, custom_headers = nil) + response = acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers).value! nil end @@ -358,9 +356,9 @@ def acquire(resource_group_name, server_name, dns_alias_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers:nil) + def acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers = nil) # Send request - promise = begin_acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers:custom_headers) + promise = begin_acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -388,8 +386,8 @@ def acquire_async(resource_group_name, server_name, dns_alias_name, parameters, # # @return [ServerDnsAlias] operation results. # - def begin_create_or_update(resource_group_name, server_name, dns_alias_name, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, server_name, dns_alias_name, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers).value! response.body unless response.nil? end @@ -407,8 +405,8 @@ def begin_create_or_update(resource_group_name, server_name, dns_alias_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, server_name, dns_alias_name, custom_headers:nil) - begin_create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, server_name, dns_alias_name, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers).value! end # @@ -425,7 +423,7 @@ def begin_create_or_update_with_http_info(resource_group_name, server_name, dns_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, server_name, dns_alias_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'dns_alias_name is nil' if dns_alias_name.nil? @@ -434,7 +432,6 @@ def begin_create_or_update_async(resource_group_name, server_name, dns_alias_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -502,8 +499,8 @@ def begin_create_or_update_async(resource_group_name, server_name, dns_alias_nam # will be added to the HTTP request. # # - def begin_delete(resource_group_name, server_name, dns_alias_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, server_name, dns_alias_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, server_name, dns_alias_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, server_name, dns_alias_name, custom_headers).value! nil end @@ -521,8 +518,8 @@ def begin_delete(resource_group_name, server_name, dns_alias_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, server_name, dns_alias_name, custom_headers:nil) - begin_delete_async(resource_group_name, server_name, dns_alias_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, server_name, dns_alias_name, custom_headers = nil) + begin_delete_async(resource_group_name, server_name, dns_alias_name, custom_headers).value! end # @@ -539,7 +536,7 @@ def begin_delete_with_http_info(resource_group_name, server_name, dns_alias_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, server_name, dns_alias_name, custom_headers:nil) + def begin_delete_async(resource_group_name, server_name, dns_alias_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'dns_alias_name is nil' if dns_alias_name.nil? @@ -548,7 +545,6 @@ def begin_delete_async(resource_group_name, server_name, dns_alias_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -597,8 +593,8 @@ def begin_delete_async(resource_group_name, server_name, dns_alias_name, custom_ # will be added to the HTTP request. # # - def begin_acquire(resource_group_name, server_name, dns_alias_name, parameters, custom_headers:nil) - response = begin_acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers:custom_headers).value! + def begin_acquire(resource_group_name, server_name, dns_alias_name, parameters, custom_headers = nil) + response = begin_acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers).value! nil end @@ -617,8 +613,8 @@ def begin_acquire(resource_group_name, server_name, dns_alias_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_acquire_with_http_info(resource_group_name, server_name, dns_alias_name, parameters, custom_headers:nil) - begin_acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers:custom_headers).value! + def begin_acquire_with_http_info(resource_group_name, server_name, dns_alias_name, parameters, custom_headers = nil) + begin_acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers).value! end # @@ -636,7 +632,7 @@ def begin_acquire_with_http_info(resource_group_name, server_name, dns_alias_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers:nil) + def begin_acquire_async(resource_group_name, server_name, dns_alias_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'server_name is nil' if server_name.nil? fail ArgumentError, 'dns_alias_name is nil' if dns_alias_name.nil? @@ -646,12 +642,13 @@ def begin_acquire_async(resource_group_name, server_name, dns_alias_name, parame 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::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -698,8 +695,8 @@ def begin_acquire_async(resource_group_name, server_name, dns_alias_name, parame # # @return [ServerDnsAliasListResult] operation results. # - def list_by_server_next(next_page_link, custom_headers:nil) - response = list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next(next_page_link, custom_headers = nil) + response = list_by_server_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -713,8 +710,8 @@ def list_by_server_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) - list_by_server_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_server_next_with_http_info(next_page_link, custom_headers = nil) + list_by_server_next_async(next_page_link, custom_headers).value! end # @@ -727,12 +724,11 @@ def list_by_server_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_server_next_async(next_page_link, custom_headers:nil) + def list_by_server_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -790,12 +786,12 @@ def list_by_server_next_async(next_page_link, custom_headers:nil) # @return [ServerDnsAliasListResult] which provide lazy access to pages of the # response. # - def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil) - response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value! + def list_by_server_as_lazy(resource_group_name, server_name, custom_headers = nil) + response = list_by_server_async(resource_group_name, server_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_server_next_async(next_page_link, custom_headers:custom_headers) + list_by_server_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_security_alert_policies.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_security_alert_policies.rb new file mode 100644 index 0000000000..4e12ecf8a7 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_security_alert_policies.rb @@ -0,0 +1,290 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + # + # The Azure SQL Database management API provides a RESTful set of web + # services that interact with Azure SQL Database services to manage your + # databases. The API enables you to create, retrieve, update, and delete + # databases. + # + class ServerSecurityAlertPolicies + include MsRestAzure + + # + # Creates and initializes a new instance of the ServerSecurityAlertPolicies class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [SqlManagementClient] reference to the SqlManagementClient + attr_reader :client + + # + # Get a server's security alert policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServerSecurityAlertPolicy] operation results. + # + def get(resource_group_name, server_name, custom_headers = nil) + response = get_async(resource_group_name, server_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a server's security alert policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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, server_name, custom_headers = nil) + get_async(resource_group_name, server_name, custom_headers).value! + end + + # + # Get a server's security alert policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @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, server_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + security_alert_policy_name = 'Default' + 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'securityAlertPolicyName' => security_alert_policy_name,'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::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy.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 + + # + # Creates or updates a threat detection policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ServerSecurityAlertPolicy] The server security alert + # policy. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServerSecurityAlertPolicy] operation results. + # + def create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ServerSecurityAlertPolicy] The server security alert + # policy. + # @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, server_name, parameters, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy.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 + + # + # Creates or updates a threat detection policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ServerSecurityAlertPolicy] The server security alert + # policy. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServerSecurityAlertPolicy] operation results. + # + def begin_create_or_update(resource_group_name, server_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a threat detection policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ServerSecurityAlertPolicy] The server security alert + # policy. + # @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, server_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers).value! + end + + # + # Creates or updates a threat detection policy. + # + # @param resource_group_name [String] The name of the resource group that + # contains the resource. You can obtain this value from the Azure Resource + # Manager API or the portal. + # @param server_name [String] The name of the server. + # @param parameters [ServerSecurityAlertPolicy] The server security alert + # policy. + # @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, server_name, parameters, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'server_name is nil' if server_name.nil? + security_alert_policy_name = 'Default' + fail ArgumentError, 'parameters is nil' if parameters.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? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serverName' => server_name,'securityAlertPolicyName' => security_alert_policy_name,'subscriptionId' => @client.subscription_id}, + 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 == 200 || status_code == 202 + 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::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy.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_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb index 5e4539f389..1511fa7ef6 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb @@ -35,14 +35,77 @@ class SqlManagementClient < MsRestAzure::AzureServiceClient # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id + # @return [ExtendedDatabaseBlobAuditingPolicies] + # extended_database_blob_auditing_policies + attr_reader :extended_database_blob_auditing_policies + + # @return [ExtendedServerBlobAuditingPolicies] + # extended_server_blob_auditing_policies + attr_reader :extended_server_blob_auditing_policies + + # @return [ServerBlobAuditingPolicies] server_blob_auditing_policies + attr_reader :server_blob_auditing_policies + + # @return [DatabaseBlobAuditingPolicies] database_blob_auditing_policies + attr_reader :database_blob_auditing_policies + # @return [DatabaseOperations] database_operations attr_reader :database_operations # @return [Databases] databases attr_reader :databases - # @return [DatabaseRestorePoints] database_restore_points - attr_reader :database_restore_points + # @return [DatabaseVulnerabilityAssessmentRuleBaselines] + # database_vulnerability_assessment_rule_baselines + attr_reader :database_vulnerability_assessment_rule_baselines + + # @return [DatabaseVulnerabilityAssessments] + # database_vulnerability_assessments + attr_reader :database_vulnerability_assessments + + # @return [DataWarehouseUserActivitiesOperations] + # data_warehouse_user_activities_operations + attr_reader :data_warehouse_user_activities_operations + + # @return [JobAgents] job_agents + attr_reader :job_agents + + # @return [JobCredentials] job_credentials + attr_reader :job_credentials + + # @return [JobExecutions] job_executions + attr_reader :job_executions + + # @return [Jobs] jobs + attr_reader :jobs + + # @return [JobStepExecutions] job_step_executions + attr_reader :job_step_executions + + # @return [JobSteps] job_steps + attr_reader :job_steps + + # @return [JobTargetExecutions] job_target_executions + attr_reader :job_target_executions + + # @return [JobTargetGroups] job_target_groups + attr_reader :job_target_groups + + # @return [JobVersions] job_versions + attr_reader :job_versions + + # @return [LongTermRetentionBackups] long_term_retention_backups + attr_reader :long_term_retention_backups + + # @return [BackupLongTermRetentionPolicies] + # backup_long_term_retention_policies + attr_reader :backup_long_term_retention_policies + + # @return [ManagedDatabases] managed_databases + attr_reader :managed_databases + + # @return [RestorePoints] restore_points + attr_reader :restore_points # @return [ServerAutomaticTuningOperations] # server_automatic_tuning_operations @@ -64,9 +127,28 @@ def initialize(credentials = nil, base_url = nil, options = nil) fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil? @credentials = credentials + @extended_database_blob_auditing_policies = ExtendedDatabaseBlobAuditingPolicies.new(self) + @extended_server_blob_auditing_policies = ExtendedServerBlobAuditingPolicies.new(self) + @server_blob_auditing_policies = ServerBlobAuditingPolicies.new(self) + @database_blob_auditing_policies = DatabaseBlobAuditingPolicies.new(self) @database_operations = DatabaseOperations.new(self) @databases = Databases.new(self) - @database_restore_points = DatabaseRestorePoints.new(self) + @database_vulnerability_assessment_rule_baselines = DatabaseVulnerabilityAssessmentRuleBaselines.new(self) + @database_vulnerability_assessments = DatabaseVulnerabilityAssessments.new(self) + @data_warehouse_user_activities_operations = DataWarehouseUserActivitiesOperations.new(self) + @job_agents = JobAgents.new(self) + @job_credentials = JobCredentials.new(self) + @job_executions = JobExecutions.new(self) + @jobs = Jobs.new(self) + @job_step_executions = JobStepExecutions.new(self) + @job_steps = JobSteps.new(self) + @job_target_executions = JobTargetExecutions.new(self) + @job_target_groups = JobTargetGroups.new(self) + @job_versions = JobVersions.new(self) + @long_term_retention_backups = LongTermRetentionBackups.new(self) + @backup_long_term_retention_policies = BackupLongTermRetentionPolicies.new(self) + @managed_databases = ManagedDatabases.new(self) + @restore_points = RestorePoints.new(self) @server_automatic_tuning_operations = ServerAutomaticTuningOperations.new(self) @server_dns_aliases = ServerDnsAliases.new(self) @api_version = '2017-03-01-preview' @@ -122,9 +204,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? @@ -141,7 +220,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_sql' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::SQL::Mgmt::V2017_03_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::SQL::Mgmt::V2017_03_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/version.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/version.rb new file mode 100644 index 0000000000..1ef51a0ff0 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/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::SQL::Mgmt::V2017_03_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_sql/lib/azure_mgmt_sql.rb b/management/azure_mgmt_sql/lib/azure_mgmt_sql.rb index 09ab305b8d..b7e3e7f3ca 100644 --- a/management/azure_mgmt_sql/lib/azure_mgmt_sql.rb +++ b/management/azure_mgmt_sql/lib/azure_mgmt_sql.rb @@ -3,6 +3,6 @@ # Licensed under the MIT License. See License.txt in the project root for license information. require '2014-04-01/generated/azure_mgmt_sql' -require '2015-05-01-preview/generated/azure_mgmt_sql' require '2017-03-01-preview/generated/azure_mgmt_sql' +require '2015-05-01-preview/generated/azure_mgmt_sql' require 'profiles/latest/sql_latest_profile_client' diff --git a/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb b/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb index a066fb4f60..d3c876e218 100644 --- a/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb +++ b/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb @@ -6,11 +6,9 @@ module Azure::SQL::Profiles::Latest module Mgmt - BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2014_04_01::BackupLongTermRetentionPolicies BackupLongTermRetentionVaults = Azure::SQL::Mgmt::V2014_04_01::BackupLongTermRetentionVaults RecoverableDatabases = Azure::SQL::Mgmt::V2014_04_01::RecoverableDatabases RestorableDroppedDatabases = Azure::SQL::Mgmt::V2014_04_01::RestorableDroppedDatabases - RestorePoints = Azure::SQL::Mgmt::V2014_04_01::RestorePoints Capabilities = Azure::SQL::Mgmt::V2014_04_01::Capabilities ServerConnectionPolicies = Azure::SQL::Mgmt::V2014_04_01::ServerConnectionPolicies DatabaseThreatDetectionPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseThreatDetectionPolicies @@ -20,18 +18,17 @@ module Mgmt Extensions = Azure::SQL::Mgmt::V2014_04_01::Extensions DisasterRecoveryConfigurations = Azure::SQL::Mgmt::V2014_04_01::DisasterRecoveryConfigurations ElasticPools = Azure::SQL::Mgmt::V2014_04_01::ElasticPools - FirewallRules = Azure::SQL::Mgmt::V2014_04_01::FirewallRules GeoBackupPolicies = Azure::SQL::Mgmt::V2014_04_01::GeoBackupPolicies Queries = Azure::SQL::Mgmt::V2014_04_01::Queries QueryStatistics = Azure::SQL::Mgmt::V2014_04_01::QueryStatistics QueryTexts = Azure::SQL::Mgmt::V2014_04_01::QueryTexts + RecommendedElasticPools = Azure::SQL::Mgmt::V2014_04_01::RecommendedElasticPools ReplicationLinks = Azure::SQL::Mgmt::V2014_04_01::ReplicationLinks ServerAzureADAdministrators = Azure::SQL::Mgmt::V2014_04_01::ServerAzureADAdministrators ServerCommunicationLinks = Azure::SQL::Mgmt::V2014_04_01::ServerCommunicationLinks ServiceObjectives = Azure::SQL::Mgmt::V2014_04_01::ServiceObjectives ElasticPoolActivities = Azure::SQL::Mgmt::V2014_04_01::ElasticPoolActivities ElasticPoolDatabaseActivities = Azure::SQL::Mgmt::V2014_04_01::ElasticPoolDatabaseActivities - RecommendedElasticPools = Azure::SQL::Mgmt::V2014_04_01::RecommendedElasticPools ServiceTierAdvisors = Azure::SQL::Mgmt::V2014_04_01::ServiceTierAdvisors TransparentDataEncryptions = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptions TransparentDataEncryptionActivities = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptionActivities @@ -43,9 +40,11 @@ module Mgmt DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors DatabaseRecommendedActions = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseRecommendedActions ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors - DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseBlobAuditingPolicies + DatabaseAutomaticTuningOperations = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAutomaticTuningOperations EncryptionProtectors = Azure::SQL::Mgmt::V2015_05_01_preview::EncryptionProtectors FailoverGroups = Azure::SQL::Mgmt::V2015_05_01_preview::FailoverGroups + FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules + ManagedInstances = Azure::SQL::Mgmt::V2015_05_01_preview::ManagedInstances Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations ServerKeys = Azure::SQL::Mgmt::V2015_05_01_preview::ServerKeys Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers @@ -54,101 +53,115 @@ module Mgmt SyncMembers = Azure::SQL::Mgmt::V2015_05_01_preview::SyncMembers SubscriptionUsages = Azure::SQL::Mgmt::V2015_05_01_preview::SubscriptionUsages VirtualNetworkRules = Azure::SQL::Mgmt::V2015_05_01_preview::VirtualNetworkRules + ExtendedDatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedDatabaseBlobAuditingPolicies + ExtendedServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedServerBlobAuditingPolicies + ServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerBlobAuditingPolicies + DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies DatabaseOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseOperations Databases = Azure::SQL::Mgmt::V2017_03_01_preview::Databases - DatabaseRestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseRestorePoints + DatabaseVulnerabilityAssessmentRuleBaselines = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessmentRuleBaselines + DatabaseVulnerabilityAssessments = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessments + DataWarehouseUserActivitiesOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DataWarehouseUserActivitiesOperations + JobAgents = Azure::SQL::Mgmt::V2017_03_01_preview::JobAgents + JobCredentials = Azure::SQL::Mgmt::V2017_03_01_preview::JobCredentials + JobExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobExecutions + Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs + JobStepExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobStepExecutions + JobSteps = Azure::SQL::Mgmt::V2017_03_01_preview::JobSteps + JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions + 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 + BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies + ManagedDatabases = Azure::SQL::Mgmt::V2017_03_01_preview::ManagedDatabases + RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases module Models - FirewallRuleListResult = Azure::SQL::Mgmt::V2014_04_01::Models::FirewallRuleListResult - DisasterRecoveryConfigurationListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult - ServerAdministratorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult - ServerUsage = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage - ServiceTierAdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult - ReplicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult - ElasticPoolDatabaseActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivityListResult - RecommendedElasticPoolMetric = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolMetric - ElasticPoolActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivityListResult - ServerUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult - RecoverableDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult - QueryTextListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult - RestorableDroppedDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult - QueryText = Azure::SQL::Mgmt::V2014_04_01::Models::QueryText - RestorePointListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RestorePointListResult - QueryStatisticListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult - ServiceObjectiveCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveCapability + MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue + ServiceObjectiveListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult DataMaskingRuleListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult - ElasticPoolPerDatabaseMinDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability + QueryText = Azure::SQL::Mgmt::V2014_04_01::Models::QueryText + DatabaseUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult TransparentDataEncryptionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult - ElasticPoolDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability + DatabaseUsage = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage ExtensionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult - ServerVersionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersionCapability - TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult - CheckNameAvailabilityRequest = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest - TopQueries = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries - TransparentDataEncryptionActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityListResult - QueryStatistic = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic - QueryInterval = Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval - OperationImpact = Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact - ElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult + ServerUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult ServerCommunicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult - QueryMetric = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric - AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult - BackupLongTermRetentionVaultListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult - RecommendedElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListResult - GeoBackupPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyListResult + ServerUsage = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage + DisasterRecoveryConfigurationListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult MaxSizeCapability = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability - ImportExtensionRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ImportExtensionRequest + ServerAdministratorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult + EditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability ElasticPoolPerDatabaseMaxDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability - DatabaseUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult + ElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult + ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + ReplicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult LocationCapabilities = Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities - DatabaseUsage = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage + CheckNameAvailabilityResponse = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityResponse + RecommendedElasticPoolListMetricsResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListMetricsResult SloUsageMetric = Azure::SQL::Mgmt::V2014_04_01::Models::SloUsageMetric + GeoBackupPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyListResult + TableAuditingPolicyProperties = Azure::SQL::Mgmt::V2014_04_01::Models::TableAuditingPolicyProperties + ImportExtensionRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ImportExtensionRequest + TransparentDataEncryptionActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityListResult + RecommendedElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListResult + ElasticPoolDatabaseActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivityListResult + RecommendedElasticPoolMetric = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolMetric + ElasticPoolActivityListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivityListResult ExportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ExportRequest - DatabaseTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult - MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue - BackupLongTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult + QueryTextListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult + BackupLongTermRetentionVaultListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult MetricName = Azure::SQL::Mgmt::V2014_04_01::Models::MetricName - ServiceObjectiveListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult + RestorableDroppedDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult Metric = Azure::SQL::Mgmt::V2014_04_01::Models::Metric - ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + ElasticPoolPerDatabaseMinDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability MetricListResult = Azure::SQL::Mgmt::V2014_04_01::Models::MetricListResult - TableAuditingPolicyProperties = Azure::SQL::Mgmt::V2014_04_01::Models::TableAuditingPolicyProperties + ServerVersionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersionCapability MetricAvailability = Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability - RecommendedElasticPoolListMetricsResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListMetricsResult + ServerTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult MetricDefinition = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition - CheckNameAvailabilityResponse = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityResponse + OperationImpact = Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact MetricDefinitionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinitionListResult - EditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability - ServerTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult - BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicy + BackupLongTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult + ServiceObjectiveCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveCapability + CheckNameAvailabilityRequest = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest + QueryMetric = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric + 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 + 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 + TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult + AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + QueryStatisticListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult BackupLongTermRetentionVault = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault RecoverableDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase RestorableDroppedDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase - RestorePoint = Azure::SQL::Mgmt::V2014_04_01::Models::RestorePoint ServerConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy ServiceTierAdvisor = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor TransparentDataEncryption = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption RecommendedIndex = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex - TransparentDataEncryptionActivity = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity - ElasticPoolDatabaseActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity - ElasticPoolActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity - RecommendedElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool DatabaseSecurityAlertPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy DataMaskingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy DataMaskingRule = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule DisasterRecoveryConfiguration = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration ElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPool ElasticPoolUpdate = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolUpdate - FirewallRule = Azure::SQL::Mgmt::V2014_04_01::Models::FirewallRule GeoBackupPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy ImportExportResponse = Azure::SQL::Mgmt::V2014_04_01::Models::ImportExportResponse ImportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest + RecommendedElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool ReplicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink ServerAzureADAdministrator = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator ServerCommunicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink ServiceObjective = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective + ElasticPoolActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + ElasticPoolDatabaseActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity + TransparentDataEncryptionActivity = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity DatabaseConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy DatabaseTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy ServerTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy @@ -165,8 +178,6 @@ module Models RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState RecommendedIndexType = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType ReadScale = Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale - TransparentDataEncryptionActivityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus - ElasticPoolEdition = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition SecurityAlertPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault @@ -178,6 +189,7 @@ module Models DisasterRecoveryConfigurationFailoverPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy DisasterRecoveryConfigurationRole = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole ElasticPoolState = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolState + ElasticPoolEdition = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition GeoBackupPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState StorageKeyType = Azure::SQL::Mgmt::V2014_04_01::Models::StorageKeyType AuthenticationType = Azure::SQL::Mgmt::V2014_04_01::Models::AuthenticationType @@ -192,47 +204,57 @@ module Models ReplicationState = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState ServerVersion = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion ServerState = Azure::SQL::Mgmt::V2014_04_01::Models::ServerState - ServerKeyListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult + TransparentDataEncryptionActivityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus + OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + RecommendedActionImplementationInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo + OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult + RecommendedActionImpactRecord = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord + ManagedInstanceUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceUpdate + FirewallRuleList = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleList ResourceIdentity = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceIdentity + SyncGroupSchema = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchema + SyncDatabaseIdListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdListResult + SyncGroupSchemaTable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTable + SyncFullSchemaTable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTable + SyncGroupSchemaTableColumn = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTableColumn + ManagedInstanceListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceListResult + EncryptionProtectorListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtectorListResult + SyncFullSchemaTableColumn = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTableColumn + FailoverGroupReadOnlyEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadOnlyEndpoint RecommendedActionStateInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionStateInfo + SyncGroupLogProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogProperties RecommendedActionErrorInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionErrorInfo - ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + FailoverGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult RecommendedActionMetricInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo + SyncFullSchemaPropertiesListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult + FirewallRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult + ServerKeyListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult VirtualNetworkRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult - RecommendedActionImpactRecord = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord - SyncGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult - SyncGroupSchema = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchema - SyncGroupLogProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogProperties - FailoverGroupReadWriteEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint SyncGroupLogListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult + ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult PartnerInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo ServerUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate - FailoverGroupUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate + ResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName SubscriptionUsageListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsageListResult - OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + SyncGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult SyncAgentListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult - OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult + FailoverGroupReadWriteEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint SyncAgentKeyProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties - SyncFullSchemaPropertiesListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult - RecommendedActionImplementationInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo + SyncFullSchemaProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties SyncMemberListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult - FailoverGroupReadOnlyEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadOnlyEndpoint + FailoverGroupUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate SyncAgentLinkedDatabaseListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult - FailoverGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult + AutomaticTuningOptions = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningOptions SyncDatabaseIdProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdProperties - SyncGroupSchemaTableColumn = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTableColumn - SyncDatabaseIdListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdListResult - SyncGroupSchemaTable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTable - SyncFullSchemaTableColumn = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTableColumn - EncryptionProtectorListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtectorListResult - SyncFullSchemaTable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTable - Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation - SyncFullSchemaProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties RecommendedAction = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction Advisor = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor - DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseBlobAuditingPolicy + DatabaseAutomaticTuning = Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning EncryptionProtector = Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector FailoverGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup + ProxyResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName + FirewallRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + ManagedInstance = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance ServerKey = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server SyncAgent = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent @@ -248,13 +270,14 @@ module Models RecommendedActionInitiatedBy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy ImplementationMethod = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod IsRetryable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable - BlobAuditingPolicyState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::BlobAuditingPolicyState + 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 ReadWriteEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy ReadOnlyEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadOnlyEndpointFailoverPolicy FailoverGroupReplicationRole = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole - OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin IdentityType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType + OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin 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 @@ -263,43 +286,94 @@ module Models SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState + JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult + CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate + JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult - CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - DatabaseRestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseRestorePointListResult - ArmSku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ArmSku + JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + Sku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku + JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult - ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource - ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult + JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult + JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction + DatabaseVulnerabilityAssessmentRuleBaselineItem = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + JobStepOutput = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput ProxyResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource + ExtendedDatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy + ExtendedServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy + ServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy + DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy DatabaseOperation = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperation TrackedResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::TrackedResource Database = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Database ImportExportOperationResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult - DatabaseRestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseRestorePoint + DatabaseVulnerabilityAssessmentRuleBaseline = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline + DatabaseVulnerabilityAssessment = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment + DataWarehouseUserActivities = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities + JobAgent = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent + JobCredential = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential + JobExecution = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution + Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + JobStep = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep + JobTargetGroup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup + JobVersion = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion + LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup + BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + ManagedDatabase = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase + RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias + BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState ManagementOperationState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState CreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode SampleName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName - Status = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Status + DatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus CatalogCollationType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CatalogCollationType + JobAgentState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState + JobExecutionLifecycle = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle + ProvisioningState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState + JobTargetType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType + JobScheduleType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType + JobStepActionType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType + JobStepActionSource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource + JobStepOutputType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType + JobTargetGroupMembershipType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType + ManagedDatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + ManagedDatabaseCreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode RestorePointType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType AutomaticTuningServerMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName end # # SQLManagementClass # class SQLManagementClass - attr_reader :backup_long_term_retention_policies, :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :restore_points, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :firewall_rules, :geo_backup_policies, :queries, :query_statistics, :query_texts, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :recommended_elastic_pools, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_blob_auditing_policies, :encryption_protectors, :failover_groups, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :database_operations, :databases, :database_restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :configurable, :base_url, :options, :model_classes + attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :configurable, :base_url, :options, :model_classes def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @@ -319,11 +393,9 @@ def initialize(options = {}) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @backup_long_term_retention_policies = @client_0.backup_long_term_retention_policies @backup_long_term_retention_vaults = @client_0.backup_long_term_retention_vaults @recoverable_databases = @client_0.recoverable_databases @restorable_dropped_databases = @client_0.restorable_dropped_databases - @restore_points = @client_0.restore_points @capabilities = @client_0.capabilities @server_connection_policies = @client_0.server_connection_policies @database_threat_detection_policies = @client_0.database_threat_detection_policies @@ -333,18 +405,17 @@ def initialize(options = {}) @extensions = @client_0.extensions @disaster_recovery_configurations = @client_0.disaster_recovery_configurations @elastic_pools = @client_0.elastic_pools - @firewall_rules = @client_0.firewall_rules @geo_backup_policies = @client_0.geo_backup_policies @queries = @client_0.queries @query_statistics = @client_0.query_statistics @query_texts = @client_0.query_texts + @recommended_elastic_pools = @client_0.recommended_elastic_pools @replication_links = @client_0.replication_links @server_azure_adadministrators = @client_0.server_azure_adadministrators @server_communication_links = @client_0.server_communication_links @service_objectives = @client_0.service_objectives @elastic_pool_activities = @client_0.elastic_pool_activities @elastic_pool_database_activities = @client_0.elastic_pool_database_activities - @recommended_elastic_pools = @client_0.recommended_elastic_pools @service_tier_advisors = @client_0.service_tier_advisors @transparent_data_encryptions = @client_0.transparent_data_encryptions @transparent_data_encryption_activities = @client_0.transparent_data_encryption_activities @@ -362,9 +433,11 @@ def initialize(options = {}) @database_advisors = @client_1.database_advisors @database_recommended_actions = @client_1.database_recommended_actions @server_advisors = @client_1.server_advisors - @database_blob_auditing_policies = @client_1.database_blob_auditing_policies + @database_automatic_tuning_operations = @client_1.database_automatic_tuning_operations @encryption_protectors = @client_1.encryption_protectors @failover_groups = @client_1.failover_groups + @firewall_rules = @client_1.firewall_rules + @managed_instances = @client_1.managed_instances @operations = @client_1.operations @server_keys = @client_1.server_keys @servers = @client_1.servers @@ -379,9 +452,28 @@ def initialize(options = {}) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) + @extended_database_blob_auditing_policies = @client_2.extended_database_blob_auditing_policies + @extended_server_blob_auditing_policies = @client_2.extended_server_blob_auditing_policies + @server_blob_auditing_policies = @client_2.server_blob_auditing_policies + @database_blob_auditing_policies = @client_2.database_blob_auditing_policies @database_operations = @client_2.database_operations @databases = @client_2.databases - @database_restore_points = @client_2.database_restore_points + @database_vulnerability_assessment_rule_baselines = @client_2.database_vulnerability_assessment_rule_baselines + @database_vulnerability_assessments = @client_2.database_vulnerability_assessments + @data_warehouse_user_activities_operations = @client_2.data_warehouse_user_activities_operations + @job_agents = @client_2.job_agents + @job_credentials = @client_2.job_credentials + @job_executions = @client_2.job_executions + @jobs = @client_2.jobs + @job_step_executions = @client_2.job_step_executions + @job_steps = @client_2.job_steps + @job_target_executions = @client_2.job_target_executions + @job_target_groups = @client_2.job_target_groups + @job_versions = @client_2.job_versions + @long_term_retention_backups = @client_2.long_term_retention_backups + @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies + @managed_databases = @client_2.managed_databases + @restore_points = @client_2.restore_points @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations @server_dns_aliases = @client_2.server_dns_aliases @@ -408,191 +500,182 @@ def method_missing(method, *args) end class ModelClasses - def firewall_rule_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::FirewallRuleListResult - end - def disaster_recovery_configuration_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult - end - def server_administrator_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult - end - def server_usage - Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage - end - def service_tier_advisor_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult - end - def replication_link_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult - end - def elastic_pool_database_activity_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivityListResult - end - def recommended_elastic_pool_metric - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolMetric - end - def elastic_pool_activity_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivityListResult - end - def server_usage_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult - end - def recoverable_database_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult + def metric_value + Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue end - def query_text_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult + def service_objective_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult end - def restorable_dropped_database_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult + def data_masking_rule_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult end def query_text Azure::SQL::Mgmt::V2014_04_01::Models::QueryText end - def restore_point_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::RestorePointListResult - end - def query_statistic_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult - end - def service_objective_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveCapability - end - def data_masking_rule_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult - end - def elastic_pool_per_database_min_dtu_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability + def database_usage_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult end def transparent_data_encryption_list_result Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult end - def elastic_pool_dtu_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability + def database_usage + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage end def extension_list_result Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult end - def server_version_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersionCapability + def server_usage_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult end - def top_queries_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult + def server_communication_link_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult end - def check_name_availability_request - Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest + def server_usage + Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage end - def top_queries - Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries + def disaster_recovery_configuration_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult end - def transparent_data_encryption_activity_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityListResult + def max_size_capability + Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability end - def query_statistic - Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic + def server_administrator_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult end - def query_interval - Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval + def edition_capability + Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability end - def operation_impact - Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact + def elastic_pool_per_database_max_dtu_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability end def elastic_pool_list_result Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult end - def server_communication_link_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult + def elastic_pool_edition_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability end - def query_metric - Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric + def replication_link_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult end - def advisor_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + def location_capabilities + Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities end - def backup_long_term_retention_vault_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult + def check_name_availability_response + Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityResponse end - def recommended_elastic_pool_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListResult + def recommended_elastic_pool_list_metrics_result + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListMetricsResult + end + def slo_usage_metric + Azure::SQL::Mgmt::V2014_04_01::Models::SloUsageMetric end def geo_backup_policy_list_result Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyListResult end - def max_size_capability - Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability + def table_auditing_policy_properties + Azure::SQL::Mgmt::V2014_04_01::Models::TableAuditingPolicyProperties end def import_extension_request Azure::SQL::Mgmt::V2014_04_01::Models::ImportExtensionRequest end - def elastic_pool_per_database_max_dtu_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability + def transparent_data_encryption_activity_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityListResult end - def database_usage_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult + def recommended_elastic_pool_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListResult end - def location_capabilities - Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities + def elastic_pool_database_activity_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivityListResult end - def database_usage - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage + def recommended_elastic_pool_metric + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolMetric end - def slo_usage_metric - Azure::SQL::Mgmt::V2014_04_01::Models::SloUsageMetric + def elastic_pool_activity_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivityListResult end def export_request Azure::SQL::Mgmt::V2014_04_01::Models::ExportRequest end - def database_table_auditing_policy_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult - end - def metric_value - Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue + def query_text_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult end - def backup_long_term_retention_policy_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult + def backup_long_term_retention_vault_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult end def metric_name Azure::SQL::Mgmt::V2014_04_01::Models::MetricName end - def service_objective_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult + def restorable_dropped_database_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult end def metric Azure::SQL::Mgmt::V2014_04_01::Models::Metric end - def elastic_pool_edition_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + def elastic_pool_per_database_min_dtu_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability end def metric_list_result Azure::SQL::Mgmt::V2014_04_01::Models::MetricListResult end - def table_auditing_policy_properties - Azure::SQL::Mgmt::V2014_04_01::Models::TableAuditingPolicyProperties + def server_version_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersionCapability end def metric_availability Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability end - def recommended_elastic_pool_list_metrics_result - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListMetricsResult + def server_table_auditing_policy_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult end def metric_definition Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition end - def check_name_availability_response - Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityResponse + def operation_impact + Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact end def metric_definition_list_result Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinitionListResult end - def edition_capability - Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability + def backup_long_term_retention_policy_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult end - def server_table_auditing_policy_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult + def service_objective_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveCapability end - def backup_long_term_retention_policy - Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicy + def check_name_availability_request + Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest + end + def query_metric + Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric + end + def service_tier_advisor_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult + end + def query_interval + Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval + end + 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 database_table_auditing_policy_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult + end + def top_queries + Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries + end + def elastic_pool_dtu_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability + end + def top_queries_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult + end + def advisor_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + end + def query_statistic_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult end def backup_long_term_retention_vault Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault @@ -603,9 +686,6 @@ def recoverable_database def restorable_dropped_database Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase end - def restore_point - Azure::SQL::Mgmt::V2014_04_01::Models::RestorePoint - end def server_connection_policy Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy end @@ -618,18 +698,6 @@ def transparent_data_encryption def recommended_index Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex end - def transparent_data_encryption_activity - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity - end - def elastic_pool_database_activity - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity - end - def elastic_pool_activity - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity - end - def recommended_elastic_pool - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool - end def database_security_alert_policy Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy end @@ -648,9 +716,6 @@ def elastic_pool def elastic_pool_update Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolUpdate end - def firewall_rule - Azure::SQL::Mgmt::V2014_04_01::Models::FirewallRule - end def geo_backup_policy Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy end @@ -660,6 +725,9 @@ def import_export_response def import_request Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest end + def recommended_elastic_pool + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool + end def replication_link Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink end @@ -672,6 +740,15 @@ def server_communication_link def service_objective Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective end + def elastic_pool_activity + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + end + 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 + end def database_connection_policy Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy end @@ -720,12 +797,6 @@ def recommended_index_type def read_scale Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale end - def transparent_data_encryption_activity_status - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus - end - def elastic_pool_edition - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition - end def security_alert_policy_state Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState end @@ -759,6 +830,9 @@ def disaster_recovery_configuration_role def elastic_pool_state Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolState end + def elastic_pool_edition + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition + end def geo_backup_policy_state Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState end @@ -801,122 +875,143 @@ def server_version def server_state Azure::SQL::Mgmt::V2014_04_01::Models::ServerState end - def server_key_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult + def transparent_data_encryption_activity_status + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus + end + def operation_display + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + end + def operation + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + end + def recommended_action_implementation_info + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo + end + def operation_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult + end + def recommended_action_impact_record + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord + end + def managed_instance_update + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceUpdate + end + def firewall_rule_list + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleList end def resource_identity Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceIdentity end + def sync_group_schema + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchema + end + def sync_database_id_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdListResult + end + def sync_group_schema_table + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTable + end + def sync_full_schema_table + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTable + end + def sync_group_schema_table_column + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTableColumn + end + def managed_instance_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceListResult + end + def encryption_protector_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtectorListResult + end + def sync_full_schema_table_column + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTableColumn + end + def failover_group_read_only_endpoint + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadOnlyEndpoint + end def recommended_action_state_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionStateInfo end + def sync_group_log_properties + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogProperties + end def recommended_action_error_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionErrorInfo end - def server_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + def failover_group_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult end def recommended_action_metric_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo end - def virtual_network_rule_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult - end - def recommended_action_impact_record - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord - end - def sync_group_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult + def sync_full_schema_properties_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult end - def sync_group_schema - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchema + def firewall_rule_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult end - def sync_group_log_properties - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogProperties + def server_key_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult end - def failover_group_read_write_endpoint - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint + def virtual_network_rule_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult end def sync_group_log_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult end + def server_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + end def partner_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo end def server_update Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate end - def failover_group_update - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate + def resource_with_writable_name + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName end def subscription_usage_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsageListResult end - def operation_display - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + def sync_group_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult end def sync_agent_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult end - def operation_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult + def failover_group_read_write_endpoint + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint end def sync_agent_key_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties end - def sync_full_schema_properties_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult - end - def recommended_action_implementation_info - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo + def sync_full_schema_properties + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties end def sync_member_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult end - def failover_group_read_only_endpoint - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadOnlyEndpoint + def failover_group_update + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate end def sync_agent_linked_database_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult end - def failover_group_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult + def automatic_tuning_options + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningOptions end def sync_database_id_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdProperties end - def sync_group_schema_table_column - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTableColumn - end - def sync_database_id_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdListResult - end - def sync_group_schema_table - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupSchemaTable - end - def sync_full_schema_table_column - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTableColumn - end - def encryption_protector_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtectorListResult - end - def sync_full_schema_table - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTable - end - def operation - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation - end - def sync_full_schema_properties - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties - end def recommended_action Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction end def advisor Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor end - def database_blob_auditing_policy - Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseBlobAuditingPolicy + def database_automatic_tuning + Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning end def encryption_protector Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector @@ -924,6 +1019,15 @@ def encryption_protector def failover_group Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup end + def proxy_resource_with_writable_name + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName + end + def firewall_rule + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + end + def managed_instance + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance + end def server_key Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey end @@ -969,8 +1073,11 @@ def implementation_method def is_retryable Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable end - def blob_auditing_policy_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::BlobAuditingPolicyState + def automatic_tuning_mode + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode + end + def automatic_tuning_disabled_reason + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason end def server_key_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType @@ -984,12 +1091,12 @@ def read_only_endpoint_failover_policy def failover_group_replication_role Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole end - def operation_origin - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin - end def identity_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType end + def operation_origin + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin + end def sync_agent_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState end @@ -1014,45 +1121,117 @@ def sync_member_state def virtual_network_rule_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState end + def job_schedule + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + end + def job_credential_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + end + def vulnerability_assessment_recurring_scans_properties + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + end + def managed_database_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + end + def job_target_group_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + end + def resource_move_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + end + def server_dns_alias_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + end + def restore_point_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + end + def job_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + end + def long_term_retention_backup_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + end + def job_agent_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult + end + def create_database_restore_point_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + end + def job_agent_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + end def database_update Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate end + def job_step_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + end + def job_version_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + end + def server_dns_alias_acquisition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + end def automatic_tuning_server_options Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions end - def database_operation_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult + def job_execution_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget end - def create_database_restore_point_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + def complete_database_restore_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + end + def job_step_execution_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions end - def database_restore_point_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseRestorePointListResult + def sku + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku end - def arm_sku - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ArmSku + def job_execution_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult end def import_export_database_definition Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition end + def resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + end + def managed_database_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + end def database_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult end - def server_dns_alias_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + def job_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult end - def resource_move_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + def database_operation_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult end - def resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + def job_step_action + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction end - def server_dns_alias_acquisition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + def database_vulnerability_assessment_rule_baseline_item + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + end + def job_step_output + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput end def proxy_resource Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource end + def extended_database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy + end + def extended_server_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy + end + def server_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy + end + def database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + end def database_operation Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperation end @@ -1065,8 +1244,47 @@ def database def import_export_operation_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult end - def database_restore_point - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseRestorePoint + def database_vulnerability_assessment_rule_baseline + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline + end + def database_vulnerability_assessment + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment + end + def data_warehouse_user_activities + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities + end + def job_agent + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent + end + def job_credential + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential + end + def job_execution + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution + end + def job + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + end + def job_step + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep + end + def job_target_group + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup + end + def job_version + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion + end + def long_term_retention_backup + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup + end + def backup_long_term_retention_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + end + def managed_database + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase + end + def restore_point + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint end def server_automatic_tuning Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning @@ -1074,6 +1292,9 @@ def server_automatic_tuning def server_dns_alias Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias end + def blob_auditing_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState + end def management_operation_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState end @@ -1083,12 +1304,45 @@ def create_mode def sample_name Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName end - def status - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Status + def database_status + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus end def catalog_collation_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::CatalogCollationType end + def job_agent_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState + end + def job_execution_lifecycle + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle + end + def provisioning_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState + end + def job_target_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType + end + def job_schedule_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType + end + def job_step_action_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType + end + def job_step_action_source + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource + end + def job_step_output_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType + end + def job_target_group_membership_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType + end + def managed_database_status + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + end + def managed_database_create_mode + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode + end def restore_point_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType end @@ -1104,6 +1358,12 @@ def automatic_tuning_option_mode_actual def automatic_tuning_server_reason Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason end + def long_term_retention_database_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + end + def vulnerability_assessment_policy_baseline_name + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + end end end end From 11503d8343b1eb3839393e1fdbbfaf6b608e7a93 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 12:31:13 -0700 Subject: [PATCH 08/22] [AutoPR notificationhubs/resource-manager] Add missing debugsend and patch operation for NotificationHub resource (#1359) (#1369) * Generated from 01edec5fd7a2a02c2d9855146656bfef4c7f423f Add debugsend and NH patch operation * Generated from 0238c4239dec40fef6679fd36f8498b82c6157c8 Fix build error due to missing parameterId * Generated from 2f2ca999f5033c50ea6ad7ce9a493b9d1bd5c993 Fix more errors * Generated from 3b57f480cb371a58ae1c0feb24e6a0270c671acd Fix build errors due to mismatch parameters * Generated from edb81a4b9052ef17263836b0b079b7204c6a33ce Fix error with missing parameters value for DebugSend * Generated from 3e947825fd1f50e39862de452aa599a4e4bc74b1 Change DebugSendResult from string to object * Generated from 65b541d42b26f877d8ec658d93e103417c2db181 Fix DebugSend build errors --- .../notificationhubs_profile_module.rb | 92 ++-- .../generated/azure_mgmt_notification_hubs.rb | 27 +- .../models/adm_credential.rb | 4 - .../models/apns_credential.rb | 9 - .../models/baidu_credential.rb | 4 - .../models/check_availability_parameters.rb | 11 +- .../models/check_availability_result.rb | 11 +- .../models/debug_send_response.rb | 117 +++++ .../models/error_response.rb | 55 +++ .../models/gcm_credential.rb | 3 - .../models/mpns_credential.rb | 4 - .../namespace_create_or_update_parameters.rb | 52 ++- .../models/namespace_list_result.rb | 4 - .../models/namespace_patch_parameters.rb | 4 - .../models/namespace_resource.rb | 52 ++- ...ication_hub_create_or_update_parameters.rb | 20 +- .../models/notification_hub_list_result.rb | 4 - .../notification_hub_patch_parameters.rb | 198 +++++++++ .../models/notification_hub_resource.rb | 20 +- .../models/operation.rb | 56 +++ .../models/operation_display.rb | 68 +++ .../models/operation_list_result.rb | 99 +++++ .../models/pns_credentials_resource.rb | 16 +- .../models/policykey_resource.rb | 2 - .../models/resource.rb | 10 +- .../models/resource_list_keys.rb | 6 - ...zation_rule_create_or_update_parameters.rb | 64 +-- ...d_access_authorization_rule_list_result.rb | 4 - ...ed_access_authorization_rule_properties.rb | 93 +++- ...ared_access_authorization_rule_resource.rb | 102 ++++- .../models/sku.rb | 6 - .../models/sub_resource.rb | 2 - .../models/wns_credential.rb | 4 - .../namespaces.rb | 226 +++++----- .../notification_hubs.rb | 399 ++++++++++++++---- .../notification_hubs_management_client.rb | 19 +- .../operations.rb | 213 ++++++++++ .../azure_mgmt_notification_hubs/version.rb | 8 + .../notificationhubs_profile_module.rb | 92 ++-- 39 files changed, 1612 insertions(+), 568 deletions(-) create mode 100644 management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/debug_send_response.rb create mode 100644 management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/error_response.rb create mode 100644 management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_patch_parameters.rb create mode 100644 management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation.rb create mode 100644 management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation_display.rb create mode 100644 management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation_list_result.rb create mode 100644 management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/operations.rb create mode 100644 management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/version.rb diff --git a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb index 47885b4dde..d481e842fd 100644 --- a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb @@ -7,38 +7,41 @@ module Azure::Profiles::Latest module NotificationHubs module Mgmt + Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces - Name = Azure::NotificationHubs::Mgmt::V2017_04_01::Name NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs - Hubs = Azure::NotificationHubs::Mgmt::V2017_04_01::Hubs module Models ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource - CheckNameAvailabilityResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse + Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential - CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential - CheckNameAvailabilityRequestParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters - NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters + CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential + OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay + OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku - SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties + SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource - BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential - NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult - GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult - MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource + SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties + MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential + NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters AdmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential + NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult + BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential CheckAvailabilityResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource - SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters + NotificationHubPatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource + DebugSendResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType @@ -46,7 +49,7 @@ module Models end class NotificationHubsManagementClass - attr_reader :namespaces, :name, :notification_hubs, :hubs, :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 @@ -56,10 +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 - @name = @client_0.name @notification_hubs = @client_0.notification_hubs - @hubs = @client_0.hubs @model_classes = ModelClasses.new end @@ -84,57 +86,66 @@ def resource_list_keys def policykey_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource end - def check_name_availability_response - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse + def operation + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation end def apns_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential end - def check_availability_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + def error_response + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse end def wns_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential end - def check_name_availability_request_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters + def check_availability_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters end - def namespace_patch_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters + def gcm_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential + end + def operation_display + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay + end + def operation_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult end def sku Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku end - def shared_access_authorization_rule_properties - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties + def shared_access_authorization_rule_create_or_update_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters end def sub_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource end - def baidu_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential - end - def namespace_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult - end def notification_hub_list_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult end - def gcm_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential - end def shared_access_authorization_rule_list_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult end + def resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource + end + def shared_access_authorization_rule_properties + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties + end def mpns_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential end - def resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource + def namespace_patch_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters end def adm_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential end + def namespace_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult + end + def baidu_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential + end def check_availability_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult end @@ -144,18 +155,21 @@ def namespace_create_or_update_parameters def namespace_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource end - def shared_access_authorization_rule_create_or_update_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters - end def shared_access_authorization_rule_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource end def notification_hub_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters end + def notification_hub_patch_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters + end def notification_hub_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource end + def debug_send_response + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse + end def pns_credentials_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource end diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs.rb index 9b37bd613f..9f71f55e98 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs.rb @@ -20,39 +20,42 @@ require 'ms_rest_azure' module Azure::NotificationHubs::Mgmt::V2017_04_01 + autoload :Operations, '2017-04-01/generated/azure_mgmt_notification_hubs/operations.rb' autoload :Namespaces, '2017-04-01/generated/azure_mgmt_notification_hubs/namespaces.rb' - autoload :Name, '2017-04-01/generated/azure_mgmt_notification_hubs/name.rb' autoload :NotificationHubs, '2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs.rb' - autoload :Hubs, '2017-04-01/generated/azure_mgmt_notification_hubs/hubs.rb' autoload :NotificationHubsManagementClient, '2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb' module Models autoload :ResourceListKeys, '2017-04-01/generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb' autoload :PolicykeyResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/policykey_resource.rb' - autoload :CheckNameAvailabilityResponse, '2017-04-01/generated/azure_mgmt_notification_hubs/models/check_name_availability_response.rb' + autoload :Operation, '2017-04-01/generated/azure_mgmt_notification_hubs/models/operation.rb' autoload :ApnsCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/apns_credential.rb' - autoload :CheckAvailabilityParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb' + autoload :ErrorResponse, '2017-04-01/generated/azure_mgmt_notification_hubs/models/error_response.rb' autoload :WnsCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/wns_credential.rb' - autoload :CheckNameAvailabilityRequestParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/check_name_availability_request_parameters.rb' - autoload :NamespacePatchParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb' + autoload :CheckAvailabilityParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb' + autoload :GcmCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb' + autoload :OperationDisplay, '2017-04-01/generated/azure_mgmt_notification_hubs/models/operation_display.rb' + autoload :OperationListResult, '2017-04-01/generated/azure_mgmt_notification_hubs/models/operation_list_result.rb' autoload :Sku, '2017-04-01/generated/azure_mgmt_notification_hubs/models/sku.rb' - autoload :SharedAccessAuthorizationRuleProperties, '2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb' + autoload :SharedAccessAuthorizationRuleCreateOrUpdateParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb' autoload :SubResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/sub_resource.rb' - autoload :BaiduCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/baidu_credential.rb' - autoload :NamespaceListResult, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb' autoload :NotificationHubListResult, '2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb' - autoload :GcmCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb' autoload :SharedAccessAuthorizationRuleListResult, '2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb' - autoload :MpnsCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb' autoload :Resource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/resource.rb' + autoload :SharedAccessAuthorizationRuleProperties, '2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb' + autoload :MpnsCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb' + autoload :NamespacePatchParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb' autoload :AdmCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/adm_credential.rb' + autoload :NamespaceListResult, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb' + autoload :BaiduCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/baidu_credential.rb' autoload :CheckAvailabilityResult, '2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_result.rb' autoload :NamespaceCreateOrUpdateParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb' autoload :NamespaceResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_resource.rb' - autoload :SharedAccessAuthorizationRuleCreateOrUpdateParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb' autoload :SharedAccessAuthorizationRuleResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb' autoload :NotificationHubCreateOrUpdateParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb' + autoload :NotificationHubPatchParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_patch_parameters.rb' autoload :NotificationHubResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb' + autoload :DebugSendResponse, '2017-04-01/generated/azure_mgmt_notification_hubs/models/debug_send_response.rb' autoload :PnsCredentialsResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb' autoload :SkuName, '2017-04-01/generated/azure_mgmt_notification_hubs/models/sku_name.rb' autoload :NamespaceType, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_type.rb' diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/adm_credential.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/adm_credential.rb index 207c2a6fd8..54a27ca14d 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/adm_credential.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/adm_credential.rb @@ -28,7 +28,6 @@ class AdmCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdmCredential', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'AdmCredential', model_properties: { client_id: { - client_side_validation: true, required: false, serialized_name: 'properties.clientId', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, client_secret: { - client_side_validation: true, required: false, serialized_name: 'properties.clientSecret', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, auth_token_url: { - client_side_validation: true, required: false, serialized_name: 'properties.authTokenUrl', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/apns_credential.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/apns_credential.rb index ab6d717de0..94c5671058 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/apns_credential.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/apns_credential.rb @@ -46,7 +46,6 @@ class ApnsCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApnsCredential', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApnsCredential', model_properties: { apns_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.apnsCertificate', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, certificate_key: { - client_side_validation: true, required: false, serialized_name: 'properties.certificateKey', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.endpoint', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, key_id: { - client_side_validation: true, required: false, serialized_name: 'properties.keyId', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, app_name: { - client_side_validation: true, required: false, serialized_name: 'properties.appName', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, app_id: { - client_side_validation: true, required: false, serialized_name: 'properties.appId', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, token: { - client_side_validation: true, required: false, serialized_name: 'properties.token', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/baidu_credential.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/baidu_credential.rb index e18c08f308..9bf063d804 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/baidu_credential.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/baidu_credential.rb @@ -28,7 +28,6 @@ class BaiduCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BaiduCredential', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'BaiduCredential', model_properties: { baidu_api_key: { - client_side_validation: true, required: false, serialized_name: 'properties.baiduApiKey', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, baidu_end_point: { - client_side_validation: true, required: false, serialized_name: 'properties.baiduEndPoint', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, baidu_secret_key: { - client_side_validation: true, required: false, serialized_name: 'properties.baiduSecretKey', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb index bab2450f96..3638cb685e 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb @@ -42,7 +42,6 @@ class CheckAvailabilityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckAvailabilityParameters', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'CheckAvailabilityParameters', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -59,7 +57,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -76,21 +72,18 @@ def self.mapper() } }, location: { - client_side_validation: true, - required: true, + required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, is_availiable: { - client_side_validation: true, required: false, serialized_name: 'isAvailiable', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_result.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_result.rb index 0f649775db..82132c2053 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_result.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_result.rb @@ -23,7 +23,6 @@ class CheckAvailabilityResult < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckAvailabilityResult', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'CheckAvailabilityResult', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -40,7 +38,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -49,7 +46,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -58,21 +54,18 @@ def self.mapper() } }, location: { - client_side_validation: true, - required: true, + required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -82,7 +75,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -91,7 +83,6 @@ def self.mapper() } }, is_availiable: { - client_side_validation: true, required: false, serialized_name: 'isAvailiable', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/debug_send_response.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/debug_send_response.rb new file mode 100644 index 0000000000..3d543b6cfb --- /dev/null +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/debug_send_response.rb @@ -0,0 +1,117 @@ +# 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::NotificationHubs::Mgmt::V2017_04_01 + module Models + # + # Description of a NotificationHub Resource. + # + class DebugSendResponse < Resource + + include MsRestAzure + + # @return [Float] successful send + attr_accessor :success + + # @return [Float] send failure + attr_accessor :failure + + # @return actual failure description + attr_accessor :results + + + # + # Mapper for DebugSendResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DebugSendResponse', + type: { + name: 'Composite', + class_name: 'DebugSendResponse', + 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: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + sku: { + required: false, + serialized_name: 'sku', + type: { + name: 'Composite', + class_name: 'Sku' + } + }, + success: { + required: false, + serialized_name: 'properties.success', + type: { + name: 'Double' + } + }, + failure: { + required: false, + serialized_name: 'properties.failure', + type: { + name: 'Double' + } + }, + results: { + required: false, + serialized_name: 'properties.results', + type: { + name: 'Object' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/error_response.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/error_response.rb new file mode 100644 index 0000000000..fdb3992acf --- /dev/null +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/error_response.rb @@ -0,0 +1,55 @@ +# 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::NotificationHubs::Mgmt::V2017_04_01 + module Models + # + # Error reponse indicates NotificationHubs service is not able to process + # the incoming request. The reason is provided in the error message. + # + class ErrorResponse + + include MsRestAzure + + # @return [String] Error code. + attr_accessor :code + + # @return [String] Error message indicating why the operation failed. + attr_accessor :message + + + # + # Mapper for ErrorResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ErrorResponse', + type: { + name: 'Composite', + class_name: 'ErrorResponse', + model_properties: { + code: { + required: false, + serialized_name: 'code', + type: { + name: 'String' + } + }, + message: { + required: false, + serialized_name: 'message', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb index 8d7ec89900..5c3cde4959 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb @@ -25,7 +25,6 @@ class GcmCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GcmCredential', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'GcmCredential', model_properties: { gcm_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.gcmEndpoint', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, google_api_key: { - client_side_validation: true, required: false, serialized_name: 'properties.googleApiKey', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb index 0ec31756aa..593c2e972f 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb @@ -28,7 +28,6 @@ class MpnsCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MpnsCredential', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'MpnsCredential', model_properties: { mpns_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.mpnsCertificate', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, certificate_key: { - client_side_validation: true, required: false, serialized_name: 'properties.certificateKey', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb index ef6470f174..94026cc43d 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb @@ -25,6 +25,9 @@ class NamespaceCreateOrUpdateParameters < Resource # WestNorth EuropeWest Europe attr_accessor :region + # @return [String] Identifier for Azure Insights metrics + attr_accessor :metric_id + # @return [String] Status of the namespace. It can be any of these # values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting attr_accessor :status @@ -32,6 +35,9 @@ class NamespaceCreateOrUpdateParameters < Resource # @return [DateTime] The time the namespace was created. attr_accessor :created_at + # @return [DateTime] The time the namespace was updated. + attr_accessor :updated_at + # @return [String] Endpoint you can use to perform NotificationHub # operations. attr_accessor :service_bus_endpoint @@ -49,6 +55,9 @@ class NamespaceCreateOrUpdateParameters < Resource # @return [Boolean] Whether or not the namespace is set as Critical. attr_accessor :critical + # @return [String] Data center for the namespace + attr_accessor :data_center + # @return [NamespaceType] The namespace type. Possible values include: # 'Messaging', 'NotificationHub' attr_accessor :namespace_type @@ -60,7 +69,6 @@ class NamespaceCreateOrUpdateParameters < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NamespaceCreateOrUpdateParameters', type: { @@ -68,7 +76,6 @@ def self.mapper() class_name: 'NamespaceCreateOrUpdateParameters', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -77,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,21 +100,18 @@ def self.mapper() } }, location: { - client_side_validation: true, - required: true, + required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +121,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +129,6 @@ def self.mapper() } }, namespace_create_or_update_parameters_name: { - client_side_validation: true, required: false, serialized_name: 'properties.name', type: { @@ -136,7 +136,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -144,15 +143,21 @@ def self.mapper() } }, region: { - client_side_validation: true, required: false, serialized_name: 'properties.region', type: { name: 'String' } }, + metric_id: { + required: false, + read_only: true, + serialized_name: 'properties.metricId', + type: { + name: 'String' + } + }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -160,15 +165,20 @@ def self.mapper() } }, created_at: { - client_side_validation: true, required: false, serialized_name: 'properties.createdAt', type: { name: 'DateTime' } }, + updated_at: { + required: false, + serialized_name: 'properties.updatedAt', + type: { + name: 'DateTime' + } + }, service_bus_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceBusEndpoint', type: { @@ -176,7 +186,6 @@ def self.mapper() } }, subscription_id: { - client_side_validation: true, required: false, serialized_name: 'properties.subscriptionId', type: { @@ -184,7 +193,6 @@ def self.mapper() } }, scale_unit: { - client_side_validation: true, required: false, serialized_name: 'properties.scaleUnit', type: { @@ -192,7 +200,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.enabled', type: { @@ -200,15 +207,20 @@ def self.mapper() } }, critical: { - client_side_validation: true, required: false, serialized_name: 'properties.critical', type: { name: 'Boolean' } }, + data_center: { + required: false, + serialized_name: 'properties.dataCenter', + type: { + name: 'String' + } + }, namespace_type: { - client_side_validation: true, required: false, serialized_name: 'properties.namespaceType', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb index 47da24d209..886f83fc6c 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NamespaceListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'NamespaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NamespaceResourceElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb index 71bdc23881..5419a38704 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb @@ -25,7 +25,6 @@ class NamespacePatchParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NamespacePatchParameters', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'NamespacePatchParameters', 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: { @@ -49,7 +46,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_resource.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_resource.rb index 004c803684..19d77bfa9a 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_resource.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_resource.rb @@ -25,6 +25,9 @@ class NamespaceResource < Resource # WestNorth EuropeWest Europe attr_accessor :region + # @return [String] Identifier for Azure Insights metrics + attr_accessor :metric_id + # @return [String] Status of the namespace. It can be any of these # values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting attr_accessor :status @@ -32,6 +35,9 @@ class NamespaceResource < Resource # @return [DateTime] The time the namespace was created. attr_accessor :created_at + # @return [DateTime] The time the namespace was updated. + attr_accessor :updated_at + # @return [String] Endpoint you can use to perform NotificationHub # operations. attr_accessor :service_bus_endpoint @@ -49,6 +55,9 @@ class NamespaceResource < Resource # @return [Boolean] Whether or not the namespace is set as Critical. attr_accessor :critical + # @return [String] Data center for the namespace + attr_accessor :data_center + # @return [NamespaceType] The namespace type. Possible values include: # 'Messaging', 'NotificationHub' attr_accessor :namespace_type @@ -60,7 +69,6 @@ class NamespaceResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NamespaceResource', type: { @@ -68,7 +76,6 @@ def self.mapper() class_name: 'NamespaceResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -77,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,21 +100,18 @@ def self.mapper() } }, location: { - client_side_validation: true, - required: true, + required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +121,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +129,6 @@ def self.mapper() } }, namespace_resource_name: { - client_side_validation: true, required: false, serialized_name: 'properties.name', type: { @@ -136,7 +136,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -144,15 +143,21 @@ def self.mapper() } }, region: { - client_side_validation: true, required: false, serialized_name: 'properties.region', type: { name: 'String' } }, + metric_id: { + required: false, + read_only: true, + serialized_name: 'properties.metricId', + type: { + name: 'String' + } + }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -160,15 +165,20 @@ def self.mapper() } }, created_at: { - client_side_validation: true, required: false, serialized_name: 'properties.createdAt', type: { name: 'DateTime' } }, + updated_at: { + required: false, + serialized_name: 'properties.updatedAt', + type: { + name: 'DateTime' + } + }, service_bus_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceBusEndpoint', type: { @@ -176,7 +186,6 @@ def self.mapper() } }, subscription_id: { - client_side_validation: true, required: false, serialized_name: 'properties.subscriptionId', type: { @@ -184,7 +193,6 @@ def self.mapper() } }, scale_unit: { - client_side_validation: true, required: false, serialized_name: 'properties.scaleUnit', type: { @@ -192,7 +200,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.enabled', type: { @@ -200,15 +207,20 @@ def self.mapper() } }, critical: { - client_side_validation: true, required: false, serialized_name: 'properties.critical', type: { name: 'Boolean' } }, + data_center: { + required: false, + serialized_name: 'properties.dataCenter', + type: { + name: 'String' + } + }, namespace_type: { - client_side_validation: true, required: false, serialized_name: 'properties.namespaceType', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb index a828f7c9a2..572320761c 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb @@ -53,7 +53,6 @@ class NotificationHubCreateOrUpdateParameters < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NotificationHubCreateOrUpdateParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'NotificationHubCreateOrUpdateParameters', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,21 +84,18 @@ def self.mapper() } }, location: { - client_side_validation: true, - required: true, + required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, notification_hub_create_or_update_parameters_name: { - client_side_validation: true, required: false, serialized_name: 'properties.name', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, registration_ttl: { - client_side_validation: true, required: false, serialized_name: 'properties.registrationTtl', type: { @@ -137,13 +127,11 @@ def self.mapper() } }, authorization_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SharedAccessAuthorizationRulePropertiesElementType', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, apns_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.apnsCredential', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, wns_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.wnsCredential', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, gcm_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.gcmCredential', type: { @@ -181,7 +166,6 @@ def self.mapper() } }, mpns_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.mpnsCredential', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, adm_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.admCredential', type: { @@ -199,7 +182,6 @@ def self.mapper() } }, baidu_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.baiduCredential', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb index caddf22ffc..e626fd1cb4 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NotificationHubListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'NotificationHubListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NotificationHubResourceElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_patch_parameters.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_patch_parameters.rb new file mode 100644 index 0000000000..bde6fd1556 --- /dev/null +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_patch_parameters.rb @@ -0,0 +1,198 @@ +# 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::NotificationHubs::Mgmt::V2017_04_01 + module Models + # + # Parameters supplied to the patch NotificationHub operation. + # + class NotificationHubPatchParameters < Resource + + include MsRestAzure + + # @return [String] The NotificationHub name. + attr_accessor :notification_hub_patch_parameters_name + + # @return [String] The RegistrationTtl of the created NotificationHub + attr_accessor :registration_ttl + + # @return [Array] The + # AuthorizationRules of the created NotificationHub + attr_accessor :authorization_rules + + # @return [ApnsCredential] The ApnsCredential of the created + # NotificationHub + attr_accessor :apns_credential + + # @return [WnsCredential] The WnsCredential of the created + # NotificationHub + attr_accessor :wns_credential + + # @return [GcmCredential] The GcmCredential of the created + # NotificationHub + attr_accessor :gcm_credential + + # @return [MpnsCredential] The MpnsCredential of the created + # NotificationHub + attr_accessor :mpns_credential + + # @return [AdmCredential] The AdmCredential of the created + # NotificationHub + attr_accessor :adm_credential + + # @return [BaiduCredential] The BaiduCredential of the created + # NotificationHub + attr_accessor :baidu_credential + + + # + # Mapper for NotificationHubPatchParameters class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NotificationHubPatchParameters', + type: { + name: 'Composite', + class_name: 'NotificationHubPatchParameters', + 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: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + sku: { + required: false, + serialized_name: 'sku', + type: { + name: 'Composite', + class_name: 'Sku' + } + }, + notification_hub_patch_parameters_name: { + required: false, + serialized_name: 'properties.name', + type: { + name: 'String' + } + }, + registration_ttl: { + required: false, + serialized_name: 'properties.registrationTtl', + type: { + name: 'String' + } + }, + authorization_rules: { + required: false, + serialized_name: 'properties.authorizationRules', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'SharedAccessAuthorizationRulePropertiesElementType', + type: { + name: 'Composite', + class_name: 'SharedAccessAuthorizationRuleProperties' + } + } + } + }, + apns_credential: { + required: false, + serialized_name: 'properties.apnsCredential', + type: { + name: 'Composite', + class_name: 'ApnsCredential' + } + }, + wns_credential: { + required: false, + serialized_name: 'properties.wnsCredential', + type: { + name: 'Composite', + class_name: 'WnsCredential' + } + }, + gcm_credential: { + required: false, + serialized_name: 'properties.gcmCredential', + type: { + name: 'Composite', + class_name: 'GcmCredential' + } + }, + mpns_credential: { + required: false, + serialized_name: 'properties.mpnsCredential', + type: { + name: 'Composite', + class_name: 'MpnsCredential' + } + }, + adm_credential: { + required: false, + serialized_name: 'properties.admCredential', + type: { + name: 'Composite', + class_name: 'AdmCredential' + } + }, + baidu_credential: { + required: false, + serialized_name: 'properties.baiduCredential', + type: { + name: 'Composite', + class_name: 'BaiduCredential' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb index e63ac4be47..607ff32129 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb @@ -53,7 +53,6 @@ class NotificationHubResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NotificationHubResource', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'NotificationHubResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,21 +84,18 @@ def self.mapper() } }, location: { - client_side_validation: true, - required: true, + required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, notification_hub_resource_name: { - client_side_validation: true, required: false, serialized_name: 'properties.name', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, registration_ttl: { - client_side_validation: true, required: false, serialized_name: 'properties.registrationTtl', type: { @@ -137,13 +127,11 @@ def self.mapper() } }, authorization_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SharedAccessAuthorizationRulePropertiesElementType', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, apns_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.apnsCredential', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, wns_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.wnsCredential', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, gcm_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.gcmCredential', type: { @@ -181,7 +166,6 @@ def self.mapper() } }, mpns_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.mpnsCredential', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, adm_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.admCredential', type: { @@ -199,7 +182,6 @@ def self.mapper() } }, baidu_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.baiduCredential', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation.rb new file mode 100644 index 0000000000..6376d5085e --- /dev/null +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation.rb @@ -0,0 +1,56 @@ +# 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::NotificationHubs::Mgmt::V2017_04_01 + module Models + # + # A NotificationHubs REST API operation + # + class Operation + + include MsRestAzure + + # @return [String] Operation name: {provider}/{resource}/{operation} + attr_accessor :name + + # @return [OperationDisplay] The object that represents the operation. + attr_accessor :display + + + # + # 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, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + display: { + required: false, + serialized_name: 'display', + type: { + name: 'Composite', + class_name: 'OperationDisplay' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation_display.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation_display.rb new file mode 100644 index 0000000000..c5ac965926 --- /dev/null +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation_display.rb @@ -0,0 +1,68 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::NotificationHubs::Mgmt::V2017_04_01 + module Models + # + # The object that represents the operation. + # + class OperationDisplay + + include MsRestAzure + + # @return [String] Service provider: Microsoft.NotificationHubs + attr_accessor :provider + + # @return [String] Resource on which the operation is performed: Invoice, + # etc. + attr_accessor :resource + + # @return [String] Operation type: Read, write, delete, etc. + attr_accessor :operation + + + # + # Mapper for OperationDisplay class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Operation_display', + type: { + name: 'Composite', + class_name: 'OperationDisplay', + model_properties: { + provider: { + required: false, + read_only: true, + serialized_name: 'provider', + type: { + name: 'String' + } + }, + resource: { + required: false, + read_only: true, + serialized_name: 'resource', + type: { + name: 'String' + } + }, + operation: { + required: false, + read_only: true, + serialized_name: 'operation', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation_list_result.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation_list_result.rb new file mode 100644 index 0000000000..654ae226a3 --- /dev/null +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation_list_result.rb @@ -0,0 +1,99 @@ +# 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::NotificationHubs::Mgmt::V2017_04_01 + module Models + # + # Result of the request to list NotificationHubs operations. It contains a + # list of operations and a URL link to get the next set of results. + # + class OperationListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] List of NotificationHubs operations + # supported by the Microsoft.NotificationHubs resource provider. + attr_accessor :value + + # @return [String] URL to get the next set of operation list results if + # there are any. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [OperationListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for OperationListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationListResult', + type: { + name: 'Composite', + class_name: 'OperationListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OperationElementType', + type: { + name: 'Composite', + class_name: 'Operation' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb index bdd9d824e6..2b62c36632 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb @@ -43,7 +43,6 @@ class PnsCredentialsResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PnsCredentialsResource', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'PnsCredentialsResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +58,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +66,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,21 +74,18 @@ def self.mapper() } }, location: { - client_side_validation: true, - required: true, + required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, apns_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.apnsCredential', type: { @@ -120,7 +111,6 @@ def self.mapper() } }, wns_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.wnsCredential', type: { @@ -129,7 +119,6 @@ def self.mapper() } }, gcm_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.gcmCredential', type: { @@ -138,7 +127,6 @@ def self.mapper() } }, mpns_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.mpnsCredential', type: { @@ -147,7 +135,6 @@ def self.mapper() } }, adm_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.admCredential', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, baidu_credential: { - client_side_validation: true, required: false, serialized_name: 'properties.baiduCredential', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/policykey_resource.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/policykey_resource.rb index b5cdb126ef..722325e3aa 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/policykey_resource.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/policykey_resource.rb @@ -24,7 +24,6 @@ class PolicykeyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PolicykeyResource', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'PolicykeyResource', model_properties: { policy_key: { - client_side_validation: true, required: false, serialized_name: 'policyKey', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/resource.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/resource.rb index afe38982d4..a8c507a778 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/resource.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/resource.rb @@ -38,7 +38,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -55,7 +53,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,21 +69,18 @@ def self.mapper() } }, location: { - client_side_validation: true, - required: true, + required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb index 596d753e59..b870158a92 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb @@ -35,7 +35,6 @@ class ResourceListKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceListKeys', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ResourceListKeys', model_properties: { primary_connection_string: { - client_side_validation: true, required: false, serialized_name: 'primaryConnectionString', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, secondary_connection_string: { - client_side_validation: true, required: false, serialized_name: 'secondaryConnectionString', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, primary_key: { - client_side_validation: true, required: false, serialized_name: 'primaryKey', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, secondary_key: { - client_side_validation: true, required: false, serialized_name: 'secondaryKey', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, key_name: { - client_side_validation: true, required: false, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb index affd527f8e..987053cc25 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb @@ -8,7 +8,7 @@ module Models # # Parameters supplied to the CreateOrUpdate Namespace AuthorizationRules. # - class SharedAccessAuthorizationRuleCreateOrUpdateParameters < Resource + class SharedAccessAuthorizationRuleCreateOrUpdateParameters include MsRestAzure @@ -24,75 +24,13 @@ class SharedAccessAuthorizationRuleCreateOrUpdateParameters < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SharedAccessAuthorizationRuleCreateOrUpdateParameters', type: { name: 'Composite', class_name: 'SharedAccessAuthorizationRuleCreateOrUpdateParameters', model_properties: { - id: { - client_side_validation: true, - required: false, - read_only: true, - serialized_name: 'id', - type: { - name: 'String' - } - }, - name: { - client_side_validation: true, - required: false, - read_only: true, - serialized_name: 'name', - type: { - name: 'String' - } - }, - type: { - client_side_validation: true, - required: false, - read_only: true, - serialized_name: 'type', - type: { - name: 'String' - } - }, - location: { - client_side_validation: true, - required: true, - serialized_name: 'location', - type: { - name: 'String' - } - }, - tags: { - client_side_validation: true, - required: false, - serialized_name: 'tags', - type: { - name: 'Dictionary', - value: { - client_side_validation: true, - required: false, - serialized_name: 'StringElementType', - type: { - name: 'String' - } - } - } - }, - sku: { - client_side_validation: true, - required: false, - serialized_name: 'sku', - type: { - name: 'Composite', - class_name: 'Sku' - } - }, properties: { - client_side_validation: true, required: true, serialized_name: 'properties', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb index 460a9a215d..3a840aa746 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SharedAccessAuthorizationRuleListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'SharedAccessAuthorizationRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SharedAccessAuthorizationRuleResourceElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb index 41695a04dd..8b4f668d54 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb @@ -15,6 +15,32 @@ class SharedAccessAuthorizationRuleProperties # @return [Array] The rights associated with the rule. attr_accessor :rights + # @return [String] A base64-encoded 256-bit primary key for signing and + # validating the SAS token. + attr_accessor :primary_key + + # @return [String] A base64-encoded 256-bit primary key for signing and + # validating the SAS token. + attr_accessor :secondary_key + + # @return [String] A string that describes the authorization rule. + attr_accessor :key_name + + # @return [String] A string that describes the claim type + attr_accessor :claim_type + + # @return [String] A string that describes the claim value + attr_accessor :claim_value + + # @return [String] The last modified time for this rule + attr_accessor :modified_time + + # @return [String] The created time for this rule + attr_accessor :created_time + + # @return [Integer] The revision number for the rule + attr_accessor :revision + # # Mapper for SharedAccessAuthorizationRuleProperties class as Ruby Hash. @@ -22,7 +48,6 @@ class SharedAccessAuthorizationRuleProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SharedAccessAuthorizationRuleProperties', type: { @@ -30,13 +55,11 @@ def self.mapper() class_name: 'SharedAccessAuthorizationRuleProperties', model_properties: { rights: { - client_side_validation: true, required: false, serialized_name: 'rights', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AccessRightsElementType', type: { @@ -45,6 +68,70 @@ def self.mapper() } } } + }, + primary_key: { + required: false, + read_only: true, + serialized_name: 'primaryKey', + type: { + name: 'String' + } + }, + secondary_key: { + required: false, + read_only: true, + serialized_name: 'secondaryKey', + type: { + name: 'String' + } + }, + key_name: { + required: false, + read_only: true, + serialized_name: 'keyName', + type: { + name: 'String' + } + }, + claim_type: { + required: false, + read_only: true, + serialized_name: 'claimType', + type: { + name: 'String' + } + }, + claim_value: { + required: false, + read_only: true, + serialized_name: 'claimValue', + type: { + name: 'String' + } + }, + modified_time: { + required: false, + read_only: true, + serialized_name: 'modifiedTime', + type: { + name: 'String' + } + }, + created_time: { + required: false, + read_only: true, + serialized_name: 'createdTime', + type: { + name: 'String' + } + }, + revision: { + required: false, + read_only: true, + serialized_name: 'revision', + type: { + name: 'Number' + } } } } diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb index 27f41017e5..316de6dc30 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb @@ -15,6 +15,32 @@ class SharedAccessAuthorizationRuleResource < Resource # @return [Array] The rights associated with the rule. attr_accessor :rights + # @return [String] A base64-encoded 256-bit primary key for signing and + # validating the SAS token. + attr_accessor :primary_key + + # @return [String] A base64-encoded 256-bit primary key for signing and + # validating the SAS token. + attr_accessor :secondary_key + + # @return [String] A string that describes the authorization rule. + attr_accessor :key_name + + # @return [String] A string that describes the claim type + attr_accessor :claim_type + + # @return [String] A string that describes the claim value + attr_accessor :claim_value + + # @return [String] The last modified time for this rule + attr_accessor :modified_time + + # @return [String] The created time for this rule + attr_accessor :created_time + + # @return [Integer] The revision number for the rule + attr_accessor :revision + # # Mapper for SharedAccessAuthorizationRuleResource class as Ruby Hash. @@ -22,7 +48,6 @@ class SharedAccessAuthorizationRuleResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SharedAccessAuthorizationRuleResource', type: { @@ -30,7 +55,6 @@ def self.mapper() class_name: 'SharedAccessAuthorizationRuleResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -39,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -48,7 +71,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -57,21 +79,18 @@ def self.mapper() } }, location: { - client_side_validation: true, - required: true, + required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +100,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -90,13 +108,11 @@ def self.mapper() } }, rights: { - client_side_validation: true, required: false, serialized_name: 'properties.rights', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AccessRightsElementType', type: { @@ -105,6 +121,70 @@ def self.mapper() } } } + }, + primary_key: { + required: false, + read_only: true, + serialized_name: 'properties.primaryKey', + type: { + name: 'String' + } + }, + secondary_key: { + required: false, + read_only: true, + serialized_name: 'properties.secondaryKey', + type: { + name: 'String' + } + }, + key_name: { + required: false, + read_only: true, + serialized_name: 'properties.keyName', + type: { + name: 'String' + } + }, + claim_type: { + required: false, + read_only: true, + serialized_name: 'properties.claimType', + type: { + name: 'String' + } + }, + claim_value: { + required: false, + read_only: true, + serialized_name: 'properties.claimValue', + type: { + name: 'String' + } + }, + modified_time: { + required: false, + read_only: true, + serialized_name: 'properties.modifiedTime', + type: { + name: 'String' + } + }, + created_time: { + required: false, + read_only: true, + serialized_name: 'properties.createdTime', + type: { + name: 'String' + } + }, + revision: { + required: false, + read_only: true, + serialized_name: 'properties.revision', + type: { + name: 'Number' + } } } } diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/sku.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/sku.rb index 9d0ee65a27..26b66cb1ca 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/sku.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/sku.rb @@ -35,7 +35,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, size: { - client_side_validation: true, required: false, serialized_name: 'size', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/sub_resource.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/sub_resource.rb index 0e360d8e02..8c8141bc8c 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/sub_resource.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/wns_credential.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/wns_credential.rb index 730842d109..606266f064 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/wns_credential.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/wns_credential.rb @@ -28,7 +28,6 @@ class WnsCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WnsCredential', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'WnsCredential', model_properties: { package_sid: { - client_side_validation: true, required: false, serialized_name: 'properties.packageSid', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, secret_key: { - client_side_validation: true, required: false, serialized_name: 'properties.secretKey', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, windows_live_endpoint: { - client_side_validation: true, required: false, serialized_name: 'properties.windowsLiveEndpoint', type: { diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/namespaces.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/namespaces.rb index 703adf038b..3675995ecc 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/namespaces.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/namespaces.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [CheckAvailabilityResult] operation results. # - def check_availability(parameters, custom_headers:nil) - response = check_availability_async(parameters, custom_headers:custom_headers).value! + def check_availability(parameters, custom_headers = nil) + response = check_availability_async(parameters, custom_headers).value! response.body unless response.nil? end @@ -48,8 +48,8 @@ def check_availability(parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_availability_with_http_info(parameters, custom_headers:nil) - check_availability_async(parameters, custom_headers:custom_headers).value! + def check_availability_with_http_info(parameters, custom_headers = nil) + check_availability_async(parameters, custom_headers).value! end # @@ -63,19 +63,20 @@ def check_availability_with_http_info(parameters, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_availability_async(parameters, custom_headers:nil) + def check_availability_async(parameters, custom_headers = nil) fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -135,8 +136,8 @@ def check_availability_async(parameters, custom_headers:nil) # # @return [NamespaceResource] operation results. # - def create_or_update(resource_group_name, namespace_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, namespace_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -153,8 +154,8 @@ def create_or_update(resource_group_name, namespace_name, parameters, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, namespace_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers).value! end # @@ -170,7 +171,7 @@ def create_or_update_with_http_info(resource_group_name, namespace_name, paramet # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -179,12 +180,13 @@ def create_or_update_async(resource_group_name, namespace_name, parameters, cust 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::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -208,14 +210,14 @@ def create_or_update_async(resource_group_name, namespace_name, parameters, cust http_response = result.response status_code = http_response.status response_content = http_response.body - unless status_code == 201 || status_code == 200 + unless status_code == 200 || 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 + if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource.mapper() @@ -225,7 +227,7 @@ def create_or_update_async(resource_group_name, namespace_name, parameters, cust end end # Deserialize Response - if status_code == 200 + if status_code == 201 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource.mapper() @@ -253,8 +255,8 @@ def create_or_update_async(resource_group_name, namespace_name, parameters, cust # # @return [NamespaceResource] operation results. # - def patch(resource_group_name, namespace_name, parameters, custom_headers:nil) - response = patch_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value! + def patch(resource_group_name, namespace_name, parameters, custom_headers = nil) + response = patch_async(resource_group_name, namespace_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -270,8 +272,8 @@ def patch(resource_group_name, namespace_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def patch_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil) - patch_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value! + def patch_with_http_info(resource_group_name, namespace_name, parameters, custom_headers = nil) + patch_async(resource_group_name, namespace_name, parameters, custom_headers).value! end # @@ -286,7 +288,7 @@ def patch_with_http_info(resource_group_name, namespace_name, parameters, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def patch_async(resource_group_name, namespace_name, parameters, custom_headers:nil) + def patch_async(resource_group_name, namespace_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -295,12 +297,13 @@ def patch_async(resource_group_name, namespace_name, parameters, custom_headers: 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::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -356,8 +359,8 @@ def patch_async(resource_group_name, namespace_name, parameters, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, namespace_name, custom_headers:nil) - response = delete_async(resource_group_name, namespace_name, custom_headers:custom_headers).value! + def delete(resource_group_name, namespace_name, custom_headers = nil) + response = delete_async(resource_group_name, namespace_name, custom_headers).value! nil end @@ -370,9 +373,9 @@ def delete(resource_group_name, namespace_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, namespace_name, custom_headers:nil) + def delete_async(resource_group_name, namespace_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, namespace_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, namespace_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -396,8 +399,8 @@ def delete_async(resource_group_name, namespace_name, custom_headers:nil) # # @return [NamespaceResource] operation results. # - def get(resource_group_name, namespace_name, custom_headers:nil) - response = get_async(resource_group_name, namespace_name, custom_headers:custom_headers).value! + def get(resource_group_name, namespace_name, custom_headers = nil) + response = get_async(resource_group_name, namespace_name, custom_headers).value! response.body unless response.nil? end @@ -411,8 +414,8 @@ def get(resource_group_name, namespace_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, namespace_name, custom_headers:nil) - get_async(resource_group_name, namespace_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, namespace_name, custom_headers = nil) + get_async(resource_group_name, namespace_name, custom_headers).value! end # @@ -425,7 +428,7 @@ def get_with_http_info(resource_group_name, namespace_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, namespace_name, custom_headers:nil) + def get_async(resource_group_name, namespace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -433,7 +436,6 @@ def get_async(resource_group_name, namespace_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 @@ -491,8 +493,8 @@ def get_async(resource_group_name, namespace_name, custom_headers:nil) # # @return [SharedAccessAuthorizationRuleResource] operation results. # - def create_or_update_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil) - response = create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:custom_headers).value! + def create_or_update_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil) + response = create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -509,8 +511,8 @@ def create_or_update_authorization_rule(resource_group_name, namespace_name, aut # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil) - create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:custom_headers).value! + def create_or_update_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil) + create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers).value! end # @@ -526,7 +528,7 @@ def create_or_update_authorization_rule_with_http_info(resource_group_name, name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil) + def create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil? @@ -536,12 +538,13 @@ def create_or_update_authorization_rule_async(resource_group_name, namespace_nam 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::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -598,8 +601,8 @@ def create_or_update_authorization_rule_async(resource_group_name, namespace_nam # will be added to the HTTP request. # # - def delete_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil) - response = delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value! + def delete_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil) + response = delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value! nil end @@ -614,8 +617,8 @@ def delete_authorization_rule(resource_group_name, namespace_name, authorization # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil) - delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value! + def delete_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil) + delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value! end # @@ -629,7 +632,7 @@ def delete_authorization_rule_with_http_info(resource_group_name, namespace_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil) + def delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil? @@ -638,7 +641,6 @@ def delete_authorization_rule_async(resource_group_name, namespace_name, authori request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -660,7 +662,7 @@ def delete_authorization_rule_async(resource_group_name, namespace_name, authori http_response = result.response status_code = http_response.status response_content = http_response.body - unless status_code == 204 || status_code == 200 + unless status_code == 200 || status_code == 204 error_model = JSON.load(response_content) fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) end @@ -684,8 +686,8 @@ def delete_authorization_rule_async(resource_group_name, namespace_name, authori # # @return [SharedAccessAuthorizationRuleResource] operation results. # - def get_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil) - response = get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value! + def get_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil) + response = get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value! response.body unless response.nil? end @@ -700,8 +702,8 @@ def get_authorization_rule(resource_group_name, namespace_name, authorization_ru # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil) - get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value! + def get_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil) + get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value! end # @@ -715,7 +717,7 @@ def get_authorization_rule_with_http_info(resource_group_name, namespace_name, a # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil) + def get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil? @@ -724,7 +726,6 @@ def get_authorization_rule_async(resource_group_name, namespace_name, authorizat request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -780,8 +781,8 @@ def get_authorization_rule_async(resource_group_name, namespace_name, authorizat # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -796,8 +797,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -811,14 +812,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -872,8 +872,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -886,8 +886,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -899,13 +899,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -960,8 +959,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list_authorization_rules(resource_group_name, namespace_name, custom_headers:nil) - first_page = list_authorization_rules_as_lazy(resource_group_name, namespace_name, custom_headers:custom_headers) + def list_authorization_rules(resource_group_name, namespace_name, custom_headers = nil) + first_page = list_authorization_rules_as_lazy(resource_group_name, namespace_name, custom_headers) first_page.get_all_items end @@ -975,8 +974,8 @@ def list_authorization_rules(resource_group_name, namespace_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_authorization_rules_with_http_info(resource_group_name, namespace_name, custom_headers:nil) - list_authorization_rules_async(resource_group_name, namespace_name, custom_headers:custom_headers).value! + def list_authorization_rules_with_http_info(resource_group_name, namespace_name, custom_headers = nil) + list_authorization_rules_async(resource_group_name, namespace_name, custom_headers).value! end # @@ -989,7 +988,7 @@ def list_authorization_rules_with_http_info(resource_group_name, namespace_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_authorization_rules_async(resource_group_name, namespace_name, custom_headers:nil) + def list_authorization_rules_async(resource_group_name, namespace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -997,7 +996,6 @@ def list_authorization_rules_async(resource_group_name, namespace_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1052,10 +1050,10 @@ def list_authorization_rules_async(resource_group_name, namespace_name, custom_h # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [ResourceListKeys] operation results. + # @return [SharedAccessAuthorizationRuleListResult] operation results. # - def list_keys(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil) - response = list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value! + def list_keys(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil) + response = list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value! response.body unless response.nil? end @@ -1071,8 +1069,8 @@ def list_keys(resource_group_name, namespace_name, authorization_rule_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_keys_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil) - list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value! + def list_keys_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil) + list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value! end # @@ -1087,7 +1085,7 @@ def list_keys_with_http_info(resource_group_name, namespace_name, authorization_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil) + def list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil? @@ -1096,7 +1094,6 @@ def list_keys_async(resource_group_name, namespace_name, authorization_rule_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1128,7 +1125,7 @@ def list_keys_async(resource_group_name, namespace_name, authorization_rule_name if status_code == 200 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys.mapper() + result_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult.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) @@ -1155,8 +1152,8 @@ def list_keys_async(resource_group_name, namespace_name, authorization_rule_name # # @return [ResourceListKeys] operation results. # - def regenerate_keys(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil) - response = regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:custom_headers).value! + def regenerate_keys(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil) + response = regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1174,8 +1171,8 @@ def regenerate_keys(resource_group_name, namespace_name, authorization_rule_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_keys_with_http_info(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil) - regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:custom_headers).value! + def regenerate_keys_with_http_info(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil) + regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers).value! end # @@ -1192,7 +1189,7 @@ def regenerate_keys_with_http_info(resource_group_name, namespace_name, authoriz # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil) + def regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil? @@ -1202,12 +1199,13 @@ def regenerate_keys_async(resource_group_name, namespace_name, authorization_rul 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::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1264,8 +1262,8 @@ def regenerate_keys_async(resource_group_name, namespace_name, authorization_rul # will be added to the HTTP request. # # - def begin_delete(resource_group_name, namespace_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, namespace_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, namespace_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, namespace_name, custom_headers).value! nil end @@ -1280,8 +1278,8 @@ def begin_delete(resource_group_name, namespace_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, namespace_name, custom_headers:nil) - begin_delete_async(resource_group_name, namespace_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, namespace_name, custom_headers = nil) + begin_delete_async(resource_group_name, namespace_name, custom_headers).value! end # @@ -1295,7 +1293,7 @@ def begin_delete_with_http_info(resource_group_name, namespace_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, namespace_name, custom_headers:nil) + def begin_delete_async(resource_group_name, namespace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1303,7 +1301,6 @@ def begin_delete_async(resource_group_name, namespace_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 @@ -1325,7 +1322,7 @@ def begin_delete_async(resource_group_name, namespace_name, custom_headers:nil) http_response = result.response status_code = http_response.status response_content = http_response.body - unless status_code == 204 || status_code == 200 || status_code == 202 + 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 @@ -1348,8 +1345,8 @@ def begin_delete_async(resource_group_name, namespace_name, custom_headers:nil) # # @return [NamespaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1363,8 +1360,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1377,12 +1374,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1437,8 +1433,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [NamespaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1453,8 +1449,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1468,12 +1464,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1527,8 +1522,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [SharedAccessAuthorizationRuleListResult] operation results. # - def list_authorization_rules_next(next_page_link, custom_headers:nil) - response = list_authorization_rules_next_async(next_page_link, custom_headers:custom_headers).value! + def list_authorization_rules_next(next_page_link, custom_headers = nil) + response = list_authorization_rules_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1542,8 +1537,8 @@ def list_authorization_rules_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_authorization_rules_next_with_http_info(next_page_link, custom_headers:nil) - list_authorization_rules_next_async(next_page_link, custom_headers:custom_headers).value! + def list_authorization_rules_next_with_http_info(next_page_link, custom_headers = nil) + list_authorization_rules_next_async(next_page_link, custom_headers).value! end # @@ -1556,12 +1551,11 @@ def list_authorization_rules_next_with_http_info(next_page_link, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_authorization_rules_next_async(next_page_link, custom_headers:nil) + def list_authorization_rules_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1617,12 +1611,12 @@ def list_authorization_rules_next_async(next_page_link, custom_headers:nil) # @return [NamespaceListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1638,12 +1632,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [NamespaceListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1660,12 +1654,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [SharedAccessAuthorizationRuleListResult] which provide lazy access # to pages of the response. # - def list_authorization_rules_as_lazy(resource_group_name, namespace_name, custom_headers:nil) - response = list_authorization_rules_async(resource_group_name, namespace_name, custom_headers:custom_headers).value! + def list_authorization_rules_as_lazy(resource_group_name, namespace_name, custom_headers = nil) + response = list_authorization_rules_async(resource_group_name, namespace_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_authorization_rules_next_async(next_page_link, custom_headers:custom_headers) + list_authorization_rules_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs.rb index 7685ab3a53..f062b565c1 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [CheckAvailabilityResult] operation results. # - def check_availability(resource_group_name, namespace_name, parameters, custom_headers:nil) - response = check_availability_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value! + def check_notification_hub_availability(resource_group_name, namespace_name, parameters, custom_headers = nil) + response = check_notification_hub_availability_async(resource_group_name, namespace_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -48,8 +48,8 @@ def check_availability(resource_group_name, namespace_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_availability_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil) - check_availability_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value! + def check_notification_hub_availability_with_http_info(resource_group_name, namespace_name, parameters, custom_headers = nil) + check_notification_hub_availability_async(resource_group_name, namespace_name, parameters, custom_headers).value! end # @@ -63,7 +63,7 @@ def check_availability_with_http_info(resource_group_name, namespace_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_availability_async(resource_group_name, namespace_name, parameters, custom_headers:nil) + def check_notification_hub_availability_async(resource_group_name, namespace_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -72,12 +72,13 @@ def check_availability_async(resource_group_name, namespace_name, parameters, 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::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -137,8 +138,8 @@ def check_availability_async(resource_group_name, namespace_name, parameters, cu # # @return [NotificationHubResource] operation results. # - def create_or_update(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -155,8 +156,8 @@ def create_or_update(resource_group_name, namespace_name, notification_hub_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers).value! end # @@ -172,7 +173,7 @@ def create_or_update_with_http_info(resource_group_name, namespace_name, notific # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? @@ -182,12 +183,13 @@ def create_or_update_async(resource_group_name, namespace_name, notification_hub 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::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -244,6 +246,116 @@ def create_or_update_async(resource_group_name, namespace_name, notification_hub promise.execute end + # + # Patch a NotificationHub in a namespace. + # + # @param resource_group_name [String] The name of the resource group. + # @param namespace_name [String] The namespace name. + # @param notification_hub_name [String] The notification hub name. + # @param parameters [NotificationHubPatchParameters] Parameters supplied to + # patch a NotificationHub Resource. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [NotificationHubResource] operation results. + # + def patch(resource_group_name, namespace_name, notification_hub_name, parameters = nil, custom_headers = nil) + response = patch_async(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Patch a NotificationHub in a namespace. + # + # @param resource_group_name [String] The name of the resource group. + # @param namespace_name [String] The namespace name. + # @param notification_hub_name [String] The notification hub name. + # @param parameters [NotificationHubPatchParameters] Parameters supplied to + # patch a NotificationHub 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 patch_with_http_info(resource_group_name, namespace_name, notification_hub_name, parameters = nil, custom_headers = nil) + patch_async(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers).value! + end + + # + # Patch a NotificationHub in a namespace. + # + # @param resource_group_name [String] The name of the resource group. + # @param namespace_name [String] The namespace name. + # @param notification_hub_name [String] The notification hub name. + # @param parameters [NotificationHubPatchParameters] Parameters supplied to + # patch a NotificationHub 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 patch_async(resource_group_name, namespace_name, notification_hub_name, parameters = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? + fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'namespaceName' => namespace_name,'notificationHubName' => notification_hub_name,'subscriptionId' => @client.subscription_id}, + 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 == 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::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource.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 + # # Deletes a notification hub associated with a namespace. # @@ -254,8 +366,8 @@ def create_or_update_async(resource_group_name, namespace_name, notification_hub # will be added to the HTTP request. # # - def delete(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) - response = delete_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value! + def delete(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) + response = delete_async(resource_group_name, namespace_name, notification_hub_name, custom_headers).value! nil end @@ -270,8 +382,8 @@ def delete(resource_group_name, namespace_name, notification_hub_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) - delete_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) + delete_async(resource_group_name, namespace_name, notification_hub_name, custom_headers).value! end # @@ -285,7 +397,7 @@ def delete_with_http_info(resource_group_name, namespace_name, notification_hub_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) + def delete_async(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? @@ -294,7 +406,6 @@ def delete_async(resource_group_name, namespace_name, notification_hub_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -340,8 +451,8 @@ def delete_async(resource_group_name, namespace_name, notification_hub_name, cus # # @return [NotificationHubResource] operation results. # - def get(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) - response = get_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value! + def get(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) + response = get_async(resource_group_name, namespace_name, notification_hub_name, custom_headers).value! response.body unless response.nil? end @@ -356,8 +467,8 @@ def get(resource_group_name, namespace_name, notification_hub_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) - get_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) + get_async(resource_group_name, namespace_name, notification_hub_name, custom_headers).value! end # @@ -371,7 +482,7 @@ def get_with_http_info(resource_group_name, namespace_name, notification_hub_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) + def get_async(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? @@ -380,7 +491,6 @@ def get_async(resource_group_name, namespace_name, notification_hub_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -425,6 +535,119 @@ def get_async(resource_group_name, namespace_name, notification_hub_name, custom promise.execute end + # + # test send a push notification + # + # @param resource_group_name [String] The name of the resource group. + # @param namespace_name [String] The namespace name. + # @param notification_hub_name [String] The notification hub name. + # @param parameters Debug send parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DebugSendResponse] operation results. + # + def debug_send(resource_group_name, namespace_name, notification_hub_name, parameters = nil, custom_headers = nil) + response = debug_send_async(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # test send a push notification + # + # @param resource_group_name [String] The name of the resource group. + # @param namespace_name [String] The namespace name. + # @param notification_hub_name [String] The notification hub name. + # @param parameters Debug send parameters + # @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 debug_send_with_http_info(resource_group_name, namespace_name, notification_hub_name, parameters = nil, custom_headers = nil) + debug_send_async(resource_group_name, namespace_name, notification_hub_name, parameters, custom_headers).value! + end + + # + # test send a push notification + # + # @param resource_group_name [String] The name of the resource group. + # @param namespace_name [String] The namespace name. + # @param notification_hub_name [String] The notification hub name. + # @param parameters Debug send parameters + # @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 debug_send_async(resource_group_name, namespace_name, notification_hub_name, parameters = nil, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? + fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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 = { + required: false, + serialized_name: 'parameters', + type: { + name: 'Object' + } + } + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'namespaceName' => namespace_name,'notificationHubName' => notification_hub_name,'subscriptionId' => @client.subscription_id}, + 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 == 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::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse.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 + # # Creates/Updates an authorization rule for a NotificationHub # @@ -439,8 +662,8 @@ def get_async(resource_group_name, namespace_name, notification_hub_name, custom # # @return [SharedAccessAuthorizationRuleResource] operation results. # - def create_or_update_authorization_rule(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers:nil) - response = create_or_update_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers:custom_headers).value! + def create_or_update_authorization_rule(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers = nil) + response = create_or_update_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -458,8 +681,8 @@ def create_or_update_authorization_rule(resource_group_name, namespace_name, not # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_authorization_rule_with_http_info(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers:nil) - create_or_update_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers:custom_headers).value! + def create_or_update_authorization_rule_with_http_info(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers = nil) + create_or_update_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers).value! end # @@ -476,7 +699,7 @@ def create_or_update_authorization_rule_with_http_info(resource_group_name, name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers:nil) + def create_or_update_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? @@ -487,12 +710,13 @@ def create_or_update_authorization_rule_async(resource_group_name, namespace_nam 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::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -550,8 +774,8 @@ def create_or_update_authorization_rule_async(resource_group_name, namespace_nam # will be added to the HTTP request. # # - def delete_authorization_rule(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:nil) - response = delete_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:custom_headers).value! + def delete_authorization_rule(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers = nil) + response = delete_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers).value! nil end @@ -567,8 +791,8 @@ def delete_authorization_rule(resource_group_name, namespace_name, notification_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_authorization_rule_with_http_info(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:nil) - delete_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:custom_headers).value! + def delete_authorization_rule_with_http_info(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers = nil) + delete_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers).value! end # @@ -583,7 +807,7 @@ def delete_authorization_rule_with_http_info(resource_group_name, namespace_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:nil) + def delete_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? @@ -593,7 +817,6 @@ def delete_authorization_rule_async(resource_group_name, namespace_name, notific request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -615,7 +838,7 @@ def delete_authorization_rule_async(resource_group_name, namespace_name, notific http_response = result.response status_code = http_response.status response_content = http_response.body - unless status_code == 204 || status_code == 200 + unless status_code == 200 || status_code == 204 error_model = JSON.load(response_content) fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) end @@ -640,8 +863,8 @@ def delete_authorization_rule_async(resource_group_name, namespace_name, notific # # @return [SharedAccessAuthorizationRuleResource] operation results. # - def get_authorization_rule(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:nil) - response = get_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:custom_headers).value! + def get_authorization_rule(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers = nil) + response = get_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers).value! response.body unless response.nil? end @@ -657,8 +880,8 @@ def get_authorization_rule(resource_group_name, namespace_name, notification_hub # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_authorization_rule_with_http_info(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:nil) - get_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:custom_headers).value! + def get_authorization_rule_with_http_info(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers = nil) + get_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers).value! end # @@ -673,7 +896,7 @@ def get_authorization_rule_with_http_info(resource_group_name, namespace_name, n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:nil) + def get_authorization_rule_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? @@ -683,7 +906,6 @@ def get_authorization_rule_async(resource_group_name, namespace_name, notificati request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -738,8 +960,8 @@ def get_authorization_rule_async(resource_group_name, namespace_name, notificati # # @return [Array] operation results. # - def list(resource_group_name, namespace_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, namespace_name, custom_headers:custom_headers) + def list(resource_group_name, namespace_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, namespace_name, custom_headers) first_page.get_all_items end @@ -753,8 +975,8 @@ def list(resource_group_name, namespace_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, namespace_name, custom_headers:nil) - list_async(resource_group_name, namespace_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, namespace_name, custom_headers = nil) + list_async(resource_group_name, namespace_name, custom_headers).value! end # @@ -767,7 +989,7 @@ def list_with_http_info(resource_group_name, namespace_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, namespace_name, custom_headers:nil) + def list_async(resource_group_name, namespace_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -775,7 +997,6 @@ def list_async(resource_group_name, namespace_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 @@ -831,8 +1052,8 @@ def list_async(resource_group_name, namespace_name, custom_headers:nil) # # @return [Array] operation results. # - def list_authorization_rules(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) - first_page = list_authorization_rules_as_lazy(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers) + def list_authorization_rules(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) + first_page = list_authorization_rules_as_lazy(resource_group_name, namespace_name, notification_hub_name, custom_headers) first_page.get_all_items end @@ -847,8 +1068,8 @@ def list_authorization_rules(resource_group_name, namespace_name, notification_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_authorization_rules_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) - list_authorization_rules_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value! + def list_authorization_rules_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) + list_authorization_rules_async(resource_group_name, namespace_name, notification_hub_name, custom_headers).value! end # @@ -862,7 +1083,7 @@ def list_authorization_rules_with_http_info(resource_group_name, namespace_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_authorization_rules_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) + def list_authorization_rules_async(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? @@ -871,7 +1092,6 @@ def list_authorization_rules_async(resource_group_name, namespace_name, notifica request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -929,8 +1149,8 @@ def list_authorization_rules_async(resource_group_name, namespace_name, notifica # # @return [ResourceListKeys] operation results. # - def list_keys(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:nil) - response = list_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:custom_headers).value! + def list_keys(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers = nil) + response = list_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers).value! response.body unless response.nil? end @@ -947,8 +1167,8 @@ def list_keys(resource_group_name, namespace_name, notification_hub_name, author # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_keys_with_http_info(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:nil) - list_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:custom_headers).value! + def list_keys_with_http_info(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers = nil) + list_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers).value! end # @@ -964,7 +1184,7 @@ def list_keys_with_http_info(resource_group_name, namespace_name, notification_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers:nil) + def list_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? @@ -974,7 +1194,6 @@ def list_keys_async(resource_group_name, namespace_name, notification_hub_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1035,8 +1254,8 @@ def list_keys_async(resource_group_name, namespace_name, notification_hub_name, # # @return [ResourceListKeys] operation results. # - def regenerate_keys(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers:nil) - response = regenerate_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers:custom_headers).value! + def regenerate_keys(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers = nil) + response = regenerate_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1056,8 +1275,8 @@ def regenerate_keys(resource_group_name, namespace_name, notification_hub_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_keys_with_http_info(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers:nil) - regenerate_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers:custom_headers).value! + def regenerate_keys_with_http_info(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers = nil) + regenerate_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers).value! end # @@ -1076,7 +1295,7 @@ def regenerate_keys_with_http_info(resource_group_name, namespace_name, notifica # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers:nil) + def regenerate_keys_async(resource_group_name, namespace_name, notification_hub_name, authorization_rule_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? @@ -1087,12 +1306,13 @@ def regenerate_keys_async(resource_group_name, namespace_name, notification_hub_ 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::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1150,8 +1370,8 @@ def regenerate_keys_async(resource_group_name, namespace_name, notification_hub_ # # @return [PnsCredentialsResource] operation results. # - def get_pns_credentials(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) - response = get_pns_credentials_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value! + def get_pns_credentials(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) + response = get_pns_credentials_async(resource_group_name, namespace_name, notification_hub_name, custom_headers).value! response.body unless response.nil? end @@ -1166,8 +1386,8 @@ def get_pns_credentials(resource_group_name, namespace_name, notification_hub_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_pns_credentials_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) - get_pns_credentials_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value! + def get_pns_credentials_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) + get_pns_credentials_async(resource_group_name, namespace_name, notification_hub_name, custom_headers).value! end # @@ -1181,7 +1401,7 @@ def get_pns_credentials_with_http_info(resource_group_name, namespace_name, noti # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_pns_credentials_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) + def get_pns_credentials_async(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'namespace_name is nil' if namespace_name.nil? fail ArgumentError, 'notification_hub_name is nil' if notification_hub_name.nil? @@ -1190,7 +1410,6 @@ def get_pns_credentials_async(resource_group_name, namespace_name, notification_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1245,8 +1464,8 @@ def get_pns_credentials_async(resource_group_name, namespace_name, notification_ # # @return [NotificationHubListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1260,8 +1479,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1274,12 +1493,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1333,8 +1551,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [SharedAccessAuthorizationRuleListResult] operation results. # - def list_authorization_rules_next(next_page_link, custom_headers:nil) - response = list_authorization_rules_next_async(next_page_link, custom_headers:custom_headers).value! + def list_authorization_rules_next(next_page_link, custom_headers = nil) + response = list_authorization_rules_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1348,8 +1566,8 @@ def list_authorization_rules_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_authorization_rules_next_with_http_info(next_page_link, custom_headers:nil) - list_authorization_rules_next_async(next_page_link, custom_headers:custom_headers).value! + def list_authorization_rules_next_with_http_info(next_page_link, custom_headers = nil) + list_authorization_rules_next_async(next_page_link, custom_headers).value! end # @@ -1362,12 +1580,11 @@ def list_authorization_rules_next_with_http_info(next_page_link, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_authorization_rules_next_async(next_page_link, custom_headers:nil) + def list_authorization_rules_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1422,12 +1639,12 @@ def list_authorization_rules_next_async(next_page_link, custom_headers:nil) # @return [NotificationHubListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, namespace_name, custom_headers:nil) - response = list_async(resource_group_name, namespace_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, namespace_name, custom_headers = nil) + response = list_async(resource_group_name, namespace_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1445,12 +1662,12 @@ def list_as_lazy(resource_group_name, namespace_name, custom_headers:nil) # @return [SharedAccessAuthorizationRuleListResult] which provide lazy access # to pages of the response. # - def list_authorization_rules_as_lazy(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil) - response = list_authorization_rules_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value! + def list_authorization_rules_as_lazy(resource_group_name, namespace_name, notification_hub_name, custom_headers = nil) + response = list_authorization_rules_async(resource_group_name, namespace_name, notification_hub_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_authorization_rules_next_async(next_page_link, custom_headers:custom_headers) + list_authorization_rules_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb index db9322da42..fb73d33f1a 100644 --- a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb @@ -36,18 +36,15 @@ class NotificationHubsManagementClient < MsRestAzure::AzureServiceClient # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id + # @return [Operations] operations + attr_reader :operations + # @return [Namespaces] namespaces attr_reader :namespaces - # @return [Name] name - attr_reader :name - # @return [NotificationHubs] notification_hubs attr_reader :notification_hubs - # @return [Hubs] hubs - attr_reader :hubs - # # Creates initializes a new instance of the NotificationHubsManagementClient class. # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client. @@ -61,10 +58,9 @@ def initialize(credentials = nil, base_url = nil, options = nil) fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil? @credentials = credentials + @operations = Operations.new(self) @namespaces = Namespaces.new(self) - @name = Name.new(self) @notification_hubs = NotificationHubs.new(self) - @hubs = Hubs.new(self) @api_version = '2017-04-01' @accept_language = 'en-US' @long_running_operation_retry_timeout = 30 @@ -118,9 +114,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? @@ -137,7 +130,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_notification_hubs' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::NotificationHubs::Mgmt::V2017_04_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::NotificationHubs::Mgmt::V2017_04_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/operations.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/operations.rb new file mode 100644 index 0000000000..19d684c37b --- /dev/null +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/operations.rb @@ -0,0 +1,213 @@ +# 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::NotificationHubs::Mgmt::V2017_04_01 + # + # Azure NotificationHub 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 [NotificationHubsManagementClient] reference to the NotificationHubsManagementClient + attr_reader :client + + # + # Lists all of the available NotificationHubs REST API operations. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) + first_page.get_all_items + end + + # + # Lists all of the available NotificationHubs REST API operations. + # + # @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 + + # + # Lists all of the available NotificationHubs REST API operations. + # + # @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.NotificationHubs/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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult.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 + + # + # Lists all of the available NotificationHubs REST API operations. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OperationListResult] operation results. + # + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists all of the available NotificationHubs REST API operations. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! + end + + # + # Lists all of the available NotificationHubs REST API operations. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @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_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.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 = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + 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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult.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 + + # + # Lists all of the available NotificationHubs REST API operations. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OperationListResult] which provide lazy access to pages of the + # response. + # + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/version.rb b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/version.rb new file mode 100644 index 0000000000..d36ab8ddcf --- /dev/null +++ b/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/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::NotificationHubs::Mgmt::V2017_04_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_notification_hubs/lib/profiles/latest/modules/notificationhubs_profile_module.rb b/management/azure_mgmt_notification_hubs/lib/profiles/latest/modules/notificationhubs_profile_module.rb index f45b6c21d1..cc2a6478a3 100644 --- a/management/azure_mgmt_notification_hubs/lib/profiles/latest/modules/notificationhubs_profile_module.rb +++ b/management/azure_mgmt_notification_hubs/lib/profiles/latest/modules/notificationhubs_profile_module.rb @@ -6,38 +6,41 @@ module Azure::NotificationHubs::Profiles::Latest module Mgmt + Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces - Name = Azure::NotificationHubs::Mgmt::V2017_04_01::Name NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs - Hubs = Azure::NotificationHubs::Mgmt::V2017_04_01::Hubs module Models ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource - CheckNameAvailabilityResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse + Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential - CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential - CheckNameAvailabilityRequestParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters - NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters + CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential + OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay + OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku - SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties + SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource - BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential - NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult - GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult - MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource + SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties + MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential + NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters AdmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential + NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult + BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential CheckAvailabilityResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource - SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters + NotificationHubPatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource + DebugSendResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType @@ -48,7 +51,7 @@ module Models # NotificationHubsManagementClass # class NotificationHubsManagementClass - attr_reader :namespaces, :name, :notification_hubs, :hubs, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :namespaces, :notification_hubs, :configurable, :base_url, :options, :model_classes def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @@ -68,10 +71,9 @@ def initialize(options = {}) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @namespaces = @client_0.namespaces - @name = @client_0.name @notification_hubs = @client_0.notification_hubs - @hubs = @client_0.hubs @model_classes = ModelClasses.new end @@ -98,57 +100,66 @@ def resource_list_keys def policykey_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource end - def check_name_availability_response - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse + def operation + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation end def apns_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential end - def check_availability_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + def error_response + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse end def wns_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential end - def check_name_availability_request_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters + def check_availability_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters end - def namespace_patch_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters + def gcm_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential + end + def operation_display + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay + end + def operation_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult end def sku Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku end - def shared_access_authorization_rule_properties - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties + def shared_access_authorization_rule_create_or_update_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters end def sub_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource end - def baidu_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential - end - def namespace_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult - end def notification_hub_list_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult end - def gcm_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential - end def shared_access_authorization_rule_list_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult end + def resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource + end + def shared_access_authorization_rule_properties + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties + end def mpns_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential end - def resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource + def namespace_patch_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters end def adm_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential end + def namespace_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult + end + def baidu_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential + end def check_availability_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult end @@ -158,18 +169,21 @@ def namespace_create_or_update_parameters def namespace_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource end - def shared_access_authorization_rule_create_or_update_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters - end def shared_access_authorization_rule_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource end def notification_hub_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters end + def notification_hub_patch_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters + end def notification_hub_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource end + def debug_send_response + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse + end def pns_credentials_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource end From 1d2c85ceda3bd809b9ba5bbd939d1a72322bae0e Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 13:37:27 -0700 Subject: [PATCH 09/22] [AutoPR] containerinstance/resource-manager (#1353) * Generated from dd1d82ca6db8078870ccf13fe430a75a1ebe90d7 (#1341) updating api version * Minor Fix --- .../containerinstance_profile_module.rb | 110 +++---- .../container_groups.rb | 91 +++--- .../container_instance_management_client.rb | 7 +- .../container_logs.rb | 11 +- .../models/azure_file_volume.rb | 5 - .../models/container.rb | 13 - .../models/container_event.rb | 6 - .../models/container_group.rb | 18 -- .../models/container_group_list_result.rb | 4 - .../models/container_port.rb | 2 - .../container_properties_instance_view.rb | 6 - .../models/container_state.rb | 6 - .../models/environment_variable.rb | 3 - .../models/image_registry_credential.rb | 4 - .../models/ip_address.rb | 5 - .../models/logs.rb | 2 - .../models/port.rb | 3 - .../models/resource.rb | 7 - .../models/resource_limits.rb | 3 - .../models/resource_requests.rb | 3 - .../models/resource_requirements.rb | 3 - .../models/volume.rb | 3 - .../models/volume_mount.rb | 4 - .../azure_mgmt_container_instance/version.rb | 8 + .../container_groups.rb | 91 +++--- .../container_instance_management_client.rb | 7 +- .../container_logs.rb | 11 +- .../models/azure_file_volume.rb | 5 - .../models/container.rb | 13 - .../models/container_group.rb | 18 -- .../models/container_group_list_result.rb | 4 - ...ontainer_group_properties_instance_view.rb | 4 - .../models/container_port.rb | 3 - .../container_properties_instance_view.rb | 6 - .../models/container_state.rb | 6 - .../models/environment_variable.rb | 3 - .../models/event.rb | 7 - .../models/image_registry_credential.rb | 4 - .../models/ip_address.rb | 5 - .../models/logs.rb | 2 - .../models/operation.rb | 4 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 3 - .../models/port.rb | 3 - .../models/resource.rb | 7 - .../models/resource_limits.rb | 3 - .../models/resource_requests.rb | 3 - .../models/resource_requirements.rb | 3 - .../models/volume.rb | 4 - .../models/volume_mount.rb | 4 - .../operations.rb | 11 +- .../azure_mgmt_container_instance/version.rb | 8 + .../container_group_usage.rb | 11 +- .../container_groups.rb | 91 +++--- .../container_instance_management_client.rb | 7 +- .../container_logs.rb | 11 +- .../models/azure_file_volume.rb | 5 - .../models/container.rb | 13 - .../models/container_group.rb | 18 -- .../models/container_group_list_result.rb | 4 - ...ontainer_group_properties_instance_view.rb | 4 - .../models/container_port.rb | 3 - .../container_properties_instance_view.rb | 6 - .../models/container_state.rb | 6 - .../models/environment_variable.rb | 3 - .../models/event.rb | 7 - .../models/git_repo_volume.rb | 4 - .../models/image_registry_credential.rb | 4 - .../models/ip_address.rb | 5 - .../models/logs.rb | 2 - .../models/operation.rb | 4 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 4 - .../models/port.rb | 3 - .../models/resource.rb | 7 - .../models/resource_limits.rb | 3 - .../models/resource_requests.rb | 3 - .../models/resource_requirements.rb | 3 - .../models/usage.rb | 5 - .../models/usage_list_result.rb | 3 - .../models/usage_name.rb | 3 - .../models/volume.rb | 7 - .../models/volume_mount.rb | 4 - .../operations.rb | 11 +- .../azure_mgmt_container_instance/version.rb | 8 + .../azure_mgmt_container_instance.rb | 32 ++- .../container_group_usage.rb | 11 +- .../container_groups.rb | 269 ++++++++++-------- .../container_instance_management_client.rb | 11 +- .../container_logs.rb | 11 +- .../models/azure_file_volume.rb | 5 - .../models/container.rb | 13 - .../models/container_exec_request.rb | 55 ++++ .../container_exec_request_terminal_size.rb | 54 ++++ .../models/container_exec_response.rb | 54 ++++ .../models/container_group.rb | 18 -- .../models/container_group_list_result.rb | 4 - ...ontainer_group_properties_instance_view.rb | 4 - .../models/container_port.rb | 3 - .../container_properties_instance_view.rb | 6 - .../models/container_state.rb | 6 - .../models/environment_variable.rb | 3 - .../models/event.rb | 7 - .../models/git_repo_volume.rb | 4 - .../models/image_registry_credential.rb | 4 - .../models/ip_address.rb | 7 - .../models/logs.rb | 2 - .../models/operation.rb | 4 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 4 - .../models/port.rb | 3 - .../models/resource.rb | 7 - .../models/resource_limits.rb | 3 - .../models/resource_requests.rb | 3 - .../models/resource_requirements.rb | 3 - .../models/usage.rb | 5 - .../models/usage_list_result.rb | 3 - .../models/usage_name.rb | 3 - .../models/volume.rb | 7 - .../models/volume_mount.rb | 4 - .../operations.rb | 11 +- .../start_container.rb | 145 ++++++++++ .../azure_mgmt_container_instance/version.rb | 8 + .../containerinstance_profile_module.rb | 110 +++---- 124 files changed, 829 insertions(+), 933 deletions(-) create mode 100644 management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/version.rb create mode 100644 management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/version.rb create mode 100644 management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/version.rb create mode 100644 management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb create mode 100644 management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb create mode 100644 management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_response.rb create mode 100644 management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb create mode 100644 management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/version.rb diff --git a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb index 20968fced2..723d9c5178 100644 --- a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb @@ -11,33 +11,37 @@ module Mgmt Operations = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Operations ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroupUsage ContainerLogs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerLogs + StartContainer = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::StartContainer module Models - ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential - Port = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port - EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable IpAddress = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::IpAddress - Event = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event + ContainerPort = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort ContainerGroupPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupPropertiesInstanceView + ContainerState = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState + Event = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event ResourceRequests = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests - ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits - VolumeMount = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay - AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume + ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements Operation = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation - Volume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume + Container = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container OperationListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult - ContainerState = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState + GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume UsageName = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName - ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements + ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential Usage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage - GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume + EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable UsageListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult - ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult - ContainerPort = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort + AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume Logs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs - Container = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container + Port = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port + ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize + VolumeMount = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount + ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest + ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse + Volume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume Resource = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol @@ -48,7 +52,7 @@ module Models end class ContainerInstanceManagementClass - attr_reader :container_groups, :operations, :container_group_usage, :container_logs, :configurable, :base_url, :options, :model_classes + attr_reader :container_groups, :operations, :container_group_usage, :container_logs, :start_container, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -62,6 +66,7 @@ def initialize(configurable, base_url=nil, options=nil) @operations = @client_0.operations @container_group_usage = @client_0.container_group_usage @container_logs = @client_0.container_logs + @start_container = @client_0.start_container @model_classes = ModelClasses.new end @@ -80,80 +85,89 @@ def method_missing(method, *args) end class ModelClasses - def image_registry_credential - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential - end - def port - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port - end - def environment_variable - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable - end def ip_address Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::IpAddress end - def event - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event + def container_port + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort end def container_group_properties_instance_view Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupPropertiesInstanceView end - def resource_requests - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests + def container_state + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState end - def resource_limits - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits + def event + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event end - def volume_mount - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount + def resource_requests + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests end def operation_display Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay end - def azure_file_volume - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume + def resource_requirements + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements end def operation Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation end - def volume - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume + def container + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container end def operation_list_result Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult end - def container_state - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState + def git_repo_volume + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume end def usage_name Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName end - def resource_requirements - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements + def image_registry_credential + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential end def usage Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage end - def git_repo_volume - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume + def environment_variable + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable end def usage_list_result Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult end - def container_properties_instance_view - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + def resource_limits + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits end def container_group_list_result Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult end - def container_port - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort + def azure_file_volume + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume end def logs Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs end - def container - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container + def port + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port + end + def container_exec_request_terminal_size + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize + end + def volume_mount + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount + end + def container_exec_request + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest + end + def container_properties_instance_view + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + end + def container_exec_response + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse + end + def volume + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume end def resource Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb index 31b72b023e..c970aa209a 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -52,8 +52,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 # @@ -69,13 +69,12 @@ 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.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 @@ -136,8 +135,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -157,8 +156,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 # @@ -177,14 +176,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, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -245,8 +243,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def get(resource_group_name, container_group_name, custom_headers:nil) - response = get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -266,8 +264,8 @@ def get(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -286,7 +284,7 @@ def get_with_http_info(resource_group_name, container_group_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_group_name, custom_headers:nil) + def get_async(resource_group_name, container_group_name, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -294,7 +292,6 @@ def get_async(resource_group_name, container_group_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 @@ -355,8 +352,8 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -376,8 +373,8 @@ def create_or_update(resource_group_name, container_group_name, container_group, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers:nil) - create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! end # @@ -396,7 +393,7 @@ def create_or_update_with_http_info(resource_group_name, container_group_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def create_or_update_async(resource_group_name, container_group_name, container_group, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -405,12 +402,13 @@ def create_or_update_async(resource_group_name, container_group_name, container_ 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::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroup.mapper() request_content = @client.serialize(request_mapper, container_group) @@ -483,8 +481,8 @@ def create_or_update_async(resource_group_name, container_group_name, container_ # # @return [ContainerGroup] operation results. # - def delete(resource_group_name, container_group_name, custom_headers:nil) - response = delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -504,8 +502,8 @@ def delete(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -524,7 +522,7 @@ def delete_with_http_info(resource_group_name, container_group_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, container_group_name, custom_headers:nil) + def delete_async(resource_group_name, container_group_name, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -532,7 +530,6 @@ def delete_async(resource_group_name, container_group_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 @@ -592,8 +589,8 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -612,8 +609,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -631,12 +628,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -696,8 +692,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -717,8 +713,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -737,12 +733,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -800,12 +795,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -828,12 +823,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb index adbc516b1f..617066c346 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -110,9 +110,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? @@ -129,7 +126,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_instance' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::ContainerInstance::Mgmt::V2017_08_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2017_08_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb index d5f2f6377e..b08bda82a8 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb @@ -40,8 +40,8 @@ def initialize(client) # # @return [Logs] operation results. # - def list(resource_group_name, container_name, container_group_name, tail:nil, custom_headers:nil) - response = list_async(resource_group_name, container_name, container_group_name, tail:tail, custom_headers:custom_headers).value! + def list(resource_group_name, container_name, container_group_name, tail = nil, custom_headers = nil) + response = list_async(resource_group_name, container_name, container_group_name, tail, custom_headers).value! response.body unless response.nil? end @@ -64,8 +64,8 @@ def list(resource_group_name, container_name, container_group_name, tail:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, container_name, container_group_name, tail:nil, custom_headers:nil) - list_async(resource_group_name, container_name, container_group_name, tail:tail, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, container_name, container_group_name, tail = nil, custom_headers = nil) + list_async(resource_group_name, container_name, container_group_name, tail, custom_headers).value! end # @@ -87,7 +87,7 @@ def list_with_http_info(resource_group_name, container_name, container_group_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, container_name, container_group_name, tail:nil, custom_headers:nil) + def list_async(resource_group_name, container_name, container_group_name, tail = nil, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -96,7 +96,6 @@ def list_async(resource_group_name, container_name, container_group_name, tail:n 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_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb index c3f4a81d78..1f5bff2a89 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb @@ -36,7 +36,6 @@ class AzureFileVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureFileVolume', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'AzureFileVolume', model_properties: { share_name: { - client_side_validation: true, required: true, serialized_name: 'shareName', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: true, serialized_name: 'storageAccountName', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container.rb index 8954ed9c31..3f39462efd 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container.rb @@ -50,7 +50,6 @@ class Container # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Container', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'Container', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: true, serialized_name: 'properties.image', type: { @@ -74,13 +71,11 @@ def self.mapper() } }, command: { - client_side_validation: true, required: false, serialized_name: 'properties.command', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -90,13 +85,11 @@ def self.mapper() } }, ports: { - client_side_validation: true, required: false, serialized_name: 'properties.ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerPortElementType', type: { @@ -107,13 +100,11 @@ def self.mapper() } }, environment_variables: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentVariables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableElementType', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -134,7 +124,6 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: true, serialized_name: 'properties.resources', type: { @@ -143,13 +132,11 @@ def self.mapper() } }, volume_mounts: { - client_side_validation: true, required: false, serialized_name: 'properties.volumeMounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeMountElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_event.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_event.rb index 53679fa8ea..29bc612481 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_event.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_event.rb @@ -34,7 +34,6 @@ class ContainerEvent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerEvent', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ContainerEvent', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, first_timestamp: { - client_side_validation: true, required: false, serialized_name: 'firstTimestamp', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, last_timestamp: { - client_side_validation: true, required: false, serialized_name: 'lastTimestamp', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb index edd6b4da69..8e67bfb812 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb @@ -51,7 +51,6 @@ class ContainerGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerGroup', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -94,13 +89,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: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -119,13 +111,11 @@ def self.mapper() } }, containers: { - client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerElementType', type: { @@ -136,13 +126,11 @@ def self.mapper() } }, image_registry_credentials: { - client_side_validation: true, required: false, serialized_name: 'properties.imageRegistryCredentials', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredentialElementType', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, restart_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.restartPolicy', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -170,7 +156,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -178,7 +163,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -187,13 +171,11 @@ def self.mapper() } }, volumes: { - client_side_validation: true, required: false, serialized_name: 'properties.volumes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb index 8e878b195a..f9dca6b7a2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb index 12a8d7f168..14973a4066 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb @@ -22,7 +22,6 @@ class ContainerPort # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerPort', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ContainerPort', model_properties: { port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb index 55dbf403c4..99ac57945a 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb @@ -32,7 +32,6 @@ class ContainerPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerProperties_instanceView', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ContainerPropertiesInstanceView', model_properties: { restart_count: { - client_side_validation: true, required: false, serialized_name: 'restartCount', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, current_state: { - client_side_validation: true, required: false, serialized_name: 'currentState', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, previous_state: { - client_side_validation: true, required: false, serialized_name: 'previousState', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerEventElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb index 81bfb3dbdd..111d4b57fa 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb @@ -38,7 +38,6 @@ class ContainerState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerState', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ContainerState', model_properties: { state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, exit_code: { - client_side_validation: true, required: false, serialized_name: 'exitCode', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, finish_time: { - client_side_validation: true, required: false, serialized_name: 'finishTime', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, detail_status: { - client_side_validation: true, required: false, serialized_name: 'detailStatus', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb index d97ee11460..7951c4f027 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb @@ -25,7 +25,6 @@ class EnvironmentVariable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EnvironmentVariable', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb index 73ee660681..33f28e6c5c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb @@ -29,7 +29,6 @@ class ImageRegistryCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ImageRegistryCredential', model_properties: { server: { - client_side_validation: true, required: true, serialized_name: 'server', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, username: { - client_side_validation: true, required: true, serialized_name: 'username', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb index 7f67166640..25f9ae5842 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb @@ -29,7 +29,6 @@ class IpAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpAddress', type: { @@ -37,13 +36,11 @@ def self.mapper() class_name: 'IpAddress', model_properties: { ports: { - client_side_validation: true, required: true, serialized_name: 'ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', @@ -64,7 +60,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/logs.rb index fea77a7356..3bbdd75a7d 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/logs.rb @@ -22,7 +22,6 @@ class Logs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Logs', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'Logs', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/port.rb index 72eb0c7828..c3a2125805 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/port.rb @@ -26,7 +26,6 @@ class Port # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Port', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Port', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource.rb index 556eddfbb6..dacce45b72 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb index 0a61209d3d..c35160b8a1 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb @@ -25,7 +25,6 @@ class ResourceLimits # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceLimits', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceLimits', model_properties: { memory_in_gb: { - client_side_validation: true, required: false, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: false, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb index 04346db3d7..bef3909b5c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb @@ -25,7 +25,6 @@ class ResourceRequests # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequests', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceRequests', model_properties: { memory_in_gb: { - client_side_validation: true, required: true, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: true, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb index 7854e7914b..12fa450e70 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb @@ -27,7 +27,6 @@ class ResourceRequirements # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequirements', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceRequirements', model_properties: { requests: { - client_side_validation: true, required: true, serialized_name: 'requests', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, limits: { - client_side_validation: true, required: false, serialized_name: 'limits', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb index ccdd74fef9..b52c1ceb8b 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb @@ -25,7 +25,6 @@ class Volume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Volume', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Volume', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, azure_file: { - client_side_validation: true, required: true, serialized_name: 'azureFile', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb index b2a07bb1cd..9c82e7ccbc 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -30,7 +30,6 @@ class VolumeMount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VolumeMount', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VolumeMount', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, mount_path: { - client_side_validation: true, required: true, serialized_name: 'mountPath', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..78b409ba2c --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/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::ContainerInstance::Mgmt::V2017_08_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_groups.rb index 6ba2407d6a..04ad3d70c3 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_groups.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -52,8 +52,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 # @@ -69,13 +69,12 @@ 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.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 @@ -135,8 +134,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -155,8 +154,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 # @@ -174,14 +173,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, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -241,8 +239,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def get(resource_group_name, container_group_name, custom_headers:nil) - response = get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -261,8 +259,8 @@ def get(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -280,7 +278,7 @@ def get_with_http_info(resource_group_name, container_group_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_group_name, custom_headers:nil) + def get_async(resource_group_name, container_group_name, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -288,7 +286,6 @@ def get_async(resource_group_name, container_group_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 @@ -347,8 +344,8 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -366,8 +363,8 @@ def create_or_update(resource_group_name, container_group_name, container_group, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers:nil) - create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! end # @@ -384,7 +381,7 @@ def create_or_update_with_http_info(resource_group_name, container_group_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def create_or_update_async(resource_group_name, container_group_name, container_group, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -393,12 +390,13 @@ def create_or_update_async(resource_group_name, container_group_name, container_ 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::ContainerInstance::Mgmt::V2017_10_01_preview::Models::ContainerGroup.mapper() request_content = @client.serialize(request_mapper, container_group) @@ -469,8 +467,8 @@ def create_or_update_async(resource_group_name, container_group_name, container_ # # @return [ContainerGroup] operation results. # - def delete(resource_group_name, container_group_name, custom_headers:nil) - response = delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -488,8 +486,8 @@ def delete(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -506,7 +504,7 @@ def delete_with_http_info(resource_group_name, container_group_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, container_group_name, custom_headers:nil) + def delete_async(resource_group_name, container_group_name, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -514,7 +512,6 @@ def delete_async(resource_group_name, container_group_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 @@ -574,8 +571,8 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -613,12 +610,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.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_next_async(next_page_link, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -699,8 +695,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -719,12 +715,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -782,12 +777,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -809,12 +804,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb index fca234a175..44118d3043 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -114,9 +114,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? @@ -133,7 +130,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_instance' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::ContainerInstance::Mgmt::V2017_10_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2017_10_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_logs.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_logs.rb index 4d1dddec06..0a4630e7c1 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_logs.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Logs] operation results. # - def list(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - response = list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + response = list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! response.body unless response.nil? end @@ -60,8 +60,8 @@ def list(resource_group_name, container_group_name, container_name, tail:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, container_group_name, container_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) + def list_async(resource_group_name, container_group_name, container_name, tail = nil, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -90,7 +90,6 @@ def list_async(resource_group_name, container_group_name, container_name, tail:n 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_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb index 4783d2965b..335251e466 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb @@ -36,7 +36,6 @@ class AzureFileVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureFileVolume', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'AzureFileVolume', model_properties: { share_name: { - client_side_validation: true, required: true, serialized_name: 'shareName', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: true, serialized_name: 'storageAccountName', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container.rb index cebf99a62a..b953d8c548 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container.rb @@ -50,7 +50,6 @@ class Container # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Container', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'Container', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: true, serialized_name: 'properties.image', type: { @@ -74,13 +71,11 @@ def self.mapper() } }, command: { - client_side_validation: true, required: false, serialized_name: 'properties.command', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -90,13 +85,11 @@ def self.mapper() } }, ports: { - client_side_validation: true, required: false, serialized_name: 'properties.ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerPortElementType', type: { @@ -107,13 +100,11 @@ def self.mapper() } }, environment_variables: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentVariables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableElementType', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -134,7 +124,6 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: true, serialized_name: 'properties.resources', type: { @@ -143,13 +132,11 @@ def self.mapper() } }, volume_mounts: { - client_side_validation: true, required: false, serialized_name: 'properties.volumeMounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeMountElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb index f024308a8b..5c698d6ff9 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb @@ -54,7 +54,6 @@ class ContainerGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ContainerGroup', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,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: { @@ -113,7 +106,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -122,13 +114,11 @@ def self.mapper() } }, containers: { - client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerElementType', type: { @@ -139,13 +129,11 @@ def self.mapper() } }, image_registry_credentials: { - client_side_validation: true, required: false, serialized_name: 'properties.imageRegistryCredentials', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredentialElementType', type: { @@ -156,7 +144,6 @@ def self.mapper() } }, restart_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.restartPolicy', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -181,13 +166,11 @@ def self.mapper() } }, volumes: { - client_side_validation: true, required: false, serialized_name: 'properties.volumes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeElementType', type: { @@ -198,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb index 74c78a5dda..9cc485efe5 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb index 315598537e..09c094838e 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb @@ -26,7 +26,6 @@ class ContainerGroupPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup_properties_instanceView', type: { @@ -34,14 +33,12 @@ def self.mapper() class_name: 'ContainerGroupPropertiesInstanceView', model_properties: { events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb index 390e690eb8..7ae285f314 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb @@ -26,7 +26,6 @@ class ContainerPort # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerPort', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerPort', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb index 6d9ce7c3a1..98341f6f14 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb @@ -32,7 +32,6 @@ class ContainerPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerProperties_instanceView', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ContainerPropertiesInstanceView', model_properties: { restart_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restartCount', @@ -49,7 +47,6 @@ def self.mapper() } }, current_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentState', @@ -59,7 +56,6 @@ def self.mapper() } }, previous_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'previousState', @@ -69,14 +65,12 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb index 1c565e2924..8386d19c99 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb @@ -38,7 +38,6 @@ class ContainerState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerState', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ContainerState', model_properties: { state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, exit_code: { - client_side_validation: true, required: false, serialized_name: 'exitCode', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, finish_time: { - client_side_validation: true, required: false, serialized_name: 'finishTime', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, detail_status: { - client_side_validation: true, required: false, serialized_name: 'detailStatus', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb index 141050b03c..70913022a8 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb @@ -25,7 +25,6 @@ class EnvironmentVariable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EnvironmentVariable', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/event.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/event.rb index abcb791556..eeda7dbb16 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/event.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/event.rb @@ -37,7 +37,6 @@ class Event # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Event', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Event', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, first_timestamp: { - client_side_validation: true, required: false, serialized_name: 'firstTimestamp', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, last_timestamp: { - client_side_validation: true, required: false, serialized_name: 'lastTimestamp', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb index f2aaee5e0f..2f582728e2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb @@ -29,7 +29,6 @@ class ImageRegistryCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ImageRegistryCredential', model_properties: { server: { - client_side_validation: true, required: true, serialized_name: 'server', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, username: { - client_side_validation: true, required: true, serialized_name: 'username', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb index 4c9e681d22..b7661a8b52 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb @@ -29,7 +29,6 @@ class IpAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpAddress', type: { @@ -37,13 +36,11 @@ def self.mapper() class_name: 'IpAddress', model_properties: { ports: { - client_side_validation: true, required: true, serialized_name: 'ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', @@ -64,7 +60,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/logs.rb index f6195dd0cc..5fa034e32c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/logs.rb @@ -22,7 +22,6 @@ class Logs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Logs', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'Logs', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation.rb index 1639a94267..14a039c604 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation.rb @@ -29,7 +29,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb index 26202eb495..f547dc25d6 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', 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_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb index 5efb1fb95b..a167ab34cf 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb @@ -23,7 +23,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'OperationListResult', 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_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/port.rb index 7443626d0a..ff4be48bc8 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/port.rb @@ -26,7 +26,6 @@ class Port # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Port', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Port', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource.rb index e7e3ad99d8..135bb38a35 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb index 7b42b20530..80c82e2619 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb @@ -25,7 +25,6 @@ class ResourceLimits # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceLimits', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceLimits', model_properties: { memory_in_gb: { - client_side_validation: true, required: false, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: false, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb index d7daefe6ee..1c27aaec01 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb @@ -25,7 +25,6 @@ class ResourceRequests # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequests', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceRequests', model_properties: { memory_in_gb: { - client_side_validation: true, required: true, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: true, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb index a043e0e934..e95f4396bc 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb @@ -27,7 +27,6 @@ class ResourceRequirements # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequirements', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceRequirements', model_properties: { requests: { - client_side_validation: true, required: true, serialized_name: 'requests', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, limits: { - client_side_validation: true, required: false, serialized_name: 'limits', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume.rb index 41cf1d2efc..cff83b5582 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume.rb @@ -28,7 +28,6 @@ class Volume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Volume', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Volume', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, azure_file: { - client_side_validation: true, required: false, serialized_name: 'azureFile', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, empty_dir: { - client_side_validation: true, required: false, serialized_name: 'emptyDir', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb index c0d473ad7e..2bd1c9c9c2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -30,7 +30,6 @@ class VolumeMount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VolumeMount', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VolumeMount', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, mount_path: { - client_side_validation: true, required: true, serialized_name: 'mountPath', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/operations.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/operations.rb index f26dbdf8f4..682122476c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/operations.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] 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 @@ -42,8 +42,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 # @@ -54,12 +54,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_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..0f2580cb76 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/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::ContainerInstance::Mgmt::V2017_10_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb index a5896c18f8..20dd3dc99d 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_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 diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_groups.rb index f6b9ea9835..2d0656f955 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_groups.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -52,8 +52,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 # @@ -69,13 +69,12 @@ 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.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 @@ -135,8 +134,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -155,8 +154,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 # @@ -174,14 +173,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, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -241,8 +239,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def get(resource_group_name, container_group_name, custom_headers:nil) - response = get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -261,8 +259,8 @@ def get(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -280,7 +278,7 @@ def get_with_http_info(resource_group_name, container_group_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_group_name, custom_headers:nil) + def get_async(resource_group_name, container_group_name, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -288,7 +286,6 @@ def get_async(resource_group_name, container_group_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 @@ -347,8 +344,8 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -366,8 +363,8 @@ def create_or_update(resource_group_name, container_group_name, container_group, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers:nil) - create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! end # @@ -384,7 +381,7 @@ def create_or_update_with_http_info(resource_group_name, container_group_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def create_or_update_async(resource_group_name, container_group_name, container_group, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -393,12 +390,13 @@ def create_or_update_async(resource_group_name, container_group_name, container_ 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::ContainerInstance::Mgmt::V2017_12_01_preview::Models::ContainerGroup.mapper() request_content = @client.serialize(request_mapper, container_group) @@ -469,8 +467,8 @@ def create_or_update_async(resource_group_name, container_group_name, container_ # # @return [ContainerGroup] operation results. # - def delete(resource_group_name, container_group_name, custom_headers:nil) - response = delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -488,8 +486,8 @@ def delete(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -506,7 +504,7 @@ def delete_with_http_info(resource_group_name, container_group_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, container_group_name, custom_headers:nil) + def delete_async(resource_group_name, container_group_name, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -514,7 +512,6 @@ def delete_async(resource_group_name, container_group_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 @@ -574,8 +571,8 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -613,12 +610,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.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_next_async(next_page_link, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -699,8 +695,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -719,12 +715,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -782,12 +777,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -809,12 +804,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb index 2288538ba3..56ff0ff7cf 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -118,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? @@ -137,7 +134,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_instance' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::ContainerInstance::Mgmt::V2017_12_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2017_12_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_logs.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_logs.rb index dd75f45c43..94312e742b 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_logs.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Logs] operation results. # - def list(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - response = list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + response = list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! response.body unless response.nil? end @@ -60,8 +60,8 @@ def list(resource_group_name, container_group_name, container_name, tail:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, container_group_name, container_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) + def list_async(resource_group_name, container_group_name, container_name, tail = nil, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -90,7 +90,6 @@ def list_async(resource_group_name, container_group_name, container_name, tail:n 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_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb index 420dfb1c7e..eafabfd1c1 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb @@ -36,7 +36,6 @@ class AzureFileVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureFileVolume', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'AzureFileVolume', model_properties: { share_name: { - client_side_validation: true, required: true, serialized_name: 'shareName', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: true, serialized_name: 'storageAccountName', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container.rb index 9fb0afde90..ee5edf915c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container.rb @@ -50,7 +50,6 @@ class Container # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Container', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'Container', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: true, serialized_name: 'properties.image', type: { @@ -74,13 +71,11 @@ def self.mapper() } }, command: { - client_side_validation: true, required: false, serialized_name: 'properties.command', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -90,13 +85,11 @@ def self.mapper() } }, ports: { - client_side_validation: true, required: false, serialized_name: 'properties.ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerPortElementType', type: { @@ -107,13 +100,11 @@ def self.mapper() } }, environment_variables: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentVariables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableElementType', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -134,7 +124,6 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: true, serialized_name: 'properties.resources', type: { @@ -143,13 +132,11 @@ def self.mapper() } }, volume_mounts: { - client_side_validation: true, required: false, serialized_name: 'properties.volumeMounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeMountElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb index d5ffaf1750..5905cf8551 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb @@ -54,7 +54,6 @@ class ContainerGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ContainerGroup', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,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: { @@ -113,7 +106,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -122,13 +114,11 @@ def self.mapper() } }, containers: { - client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerElementType', type: { @@ -139,13 +129,11 @@ def self.mapper() } }, image_registry_credentials: { - client_side_validation: true, required: false, serialized_name: 'properties.imageRegistryCredentials', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredentialElementType', type: { @@ -156,7 +144,6 @@ def self.mapper() } }, restart_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.restartPolicy', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -181,13 +166,11 @@ def self.mapper() } }, volumes: { - client_side_validation: true, required: false, serialized_name: 'properties.volumes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeElementType', type: { @@ -198,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb index e86518d861..1f2523a8db 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb index 21cc509819..bcd95db1fb 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb @@ -26,7 +26,6 @@ class ContainerGroupPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup_properties_instanceView', type: { @@ -34,14 +33,12 @@ def self.mapper() class_name: 'ContainerGroupPropertiesInstanceView', model_properties: { events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb index d1fa8e675a..2a1c13a8e2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb @@ -26,7 +26,6 @@ class ContainerPort # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerPort', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerPort', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb index bbcd5da498..acd72a3aa4 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb @@ -32,7 +32,6 @@ class ContainerPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerProperties_instanceView', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ContainerPropertiesInstanceView', model_properties: { restart_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restartCount', @@ -49,7 +47,6 @@ def self.mapper() } }, current_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentState', @@ -59,7 +56,6 @@ def self.mapper() } }, previous_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'previousState', @@ -69,14 +65,12 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb index 3d1baacea2..0d9adaa19f 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb @@ -38,7 +38,6 @@ class ContainerState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerState', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ContainerState', model_properties: { state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, exit_code: { - client_side_validation: true, required: false, serialized_name: 'exitCode', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, finish_time: { - client_side_validation: true, required: false, serialized_name: 'finishTime', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, detail_status: { - client_side_validation: true, required: false, serialized_name: 'detailStatus', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb index ebe29bea1d..06c71922fc 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb @@ -25,7 +25,6 @@ class EnvironmentVariable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EnvironmentVariable', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/event.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/event.rb index 6d3fefe40f..58b8497628 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/event.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/event.rb @@ -37,7 +37,6 @@ class Event # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Event', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Event', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, first_timestamp: { - client_side_validation: true, required: false, serialized_name: 'firstTimestamp', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, last_timestamp: { - client_side_validation: true, required: false, serialized_name: 'lastTimestamp', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb index effdb13f4e..1060d0fa1f 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb @@ -32,7 +32,6 @@ class GitRepoVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GitRepoVolume', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'GitRepoVolume', model_properties: { directory: { - client_side_validation: true, required: false, serialized_name: 'directory', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, repository: { - client_side_validation: true, required: true, serialized_name: 'repository', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, revision: { - client_side_validation: true, required: false, serialized_name: 'revision', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb index dfcedb77d7..299bef4d27 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb @@ -29,7 +29,6 @@ class ImageRegistryCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ImageRegistryCredential', model_properties: { server: { - client_side_validation: true, required: true, serialized_name: 'server', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, username: { - client_side_validation: true, required: true, serialized_name: 'username', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb index ccc5022124..3775384611 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb @@ -29,7 +29,6 @@ class IpAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpAddress', type: { @@ -37,13 +36,11 @@ def self.mapper() class_name: 'IpAddress', model_properties: { ports: { - client_side_validation: true, required: true, serialized_name: 'ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', @@ -64,7 +60,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/logs.rb index 7601952eef..5aef9c8048 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/logs.rb @@ -22,7 +22,6 @@ class Logs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Logs', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'Logs', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation.rb index 7975e0e9d6..56bfd35c93 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation.rb @@ -29,7 +29,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: true, serialized_name: 'display', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb index 456e9741ef..147df6a9d2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', 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_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb index 5554b3813b..77aa1141c5 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb @@ -26,7 +26,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationListResult', 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: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/port.rb index 22a249dc09..771b2ac5e2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/port.rb @@ -26,7 +26,6 @@ class Port # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Port', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Port', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource.rb index 0202b9c24c..c38685d6f8 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb index f982a96217..1b40fa573c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb @@ -25,7 +25,6 @@ class ResourceLimits # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceLimits', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceLimits', model_properties: { memory_in_gb: { - client_side_validation: true, required: false, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: false, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb index d787ca5291..5d8c87ac34 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb @@ -25,7 +25,6 @@ class ResourceRequests # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequests', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceRequests', model_properties: { memory_in_gb: { - client_side_validation: true, required: true, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: true, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb index 77d54d678e..38a615ff21 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb @@ -27,7 +27,6 @@ class ResourceRequirements # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequirements', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceRequirements', model_properties: { requests: { - client_side_validation: true, required: true, serialized_name: 'requests', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, limits: { - client_side_validation: true, required: false, serialized_name: 'limits', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage.rb index c5ba1ba74c..fee20e7928 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage.rb @@ -31,7 +31,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -48,7 +46,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -57,7 +54,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb index ff16ec84e7..f49662c1b1 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb @@ -22,7 +22,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -30,14 +29,12 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb index 1affe801ca..3392e678af 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage_name', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume.rb index 15a45cdb3c..48bb058b0e 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume.rb @@ -34,7 +34,6 @@ class Volume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Volume', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Volume', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, azure_file: { - client_side_validation: true, required: false, serialized_name: 'azureFile', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, empty_dir: { - client_side_validation: true, required: false, serialized_name: 'emptyDir', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, secret: { - client_side_validation: true, required: false, serialized_name: 'secret', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, git_repo: { - client_side_validation: true, required: false, serialized_name: 'gitRepo', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb index 422d75fdbe..87f5628cde 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -30,7 +30,6 @@ class VolumeMount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VolumeMount', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VolumeMount', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, mount_path: { - client_side_validation: true, required: true, serialized_name: 'mountPath', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/operations.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/operations.rb index 47e31157f7..aca85f8d05 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/operations.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] 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 @@ -42,8 +42,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 # @@ -54,12 +54,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_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..0953ba74b0 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/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::ContainerInstance::Mgmt::V2017_12_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance.rb index 591af52c8e..9b9c5a8db9 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance.rb @@ -24,34 +24,38 @@ module Azure::ContainerInstance::Mgmt::V2018_02_01_preview autoload :Operations, '2018-02-01-preview/generated/azure_mgmt_container_instance/operations.rb' autoload :ContainerGroupUsage, '2018-02-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb' autoload :ContainerLogs, '2018-02-01-preview/generated/azure_mgmt_container_instance/container_logs.rb' + autoload :StartContainer, '2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb' autoload :ContainerInstanceManagementClient, '2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb' module Models - autoload :ImageRegistryCredential, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb' - autoload :Port, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/port.rb' - autoload :EnvironmentVariable, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb' autoload :IpAddress, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb' - autoload :Event, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/event.rb' + autoload :ContainerPort, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb' autoload :ContainerGroupPropertiesInstanceView, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb' + autoload :ContainerState, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb' + autoload :Event, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/event.rb' autoload :ResourceRequests, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb' - autoload :ResourceLimits, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb' - autoload :VolumeMount, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb' autoload :OperationDisplay, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb' - autoload :AzureFileVolume, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb' + autoload :ResourceRequirements, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb' autoload :Operation, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation.rb' - autoload :Volume, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume.rb' + autoload :Container, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container.rb' autoload :OperationListResult, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb' - autoload :ContainerState, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb' + autoload :GitRepoVolume, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb' autoload :UsageName, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb' - autoload :ResourceRequirements, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb' + autoload :ImageRegistryCredential, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb' autoload :Usage, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage.rb' - autoload :GitRepoVolume, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb' + autoload :EnvironmentVariable, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb' autoload :UsageListResult, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb' - autoload :ContainerPropertiesInstanceView, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb' + autoload :ResourceLimits, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb' autoload :ContainerGroupListResult, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb' - autoload :ContainerPort, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb' + autoload :AzureFileVolume, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb' autoload :Logs, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/logs.rb' - autoload :Container, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container.rb' + autoload :Port, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/port.rb' + autoload :ContainerExecRequestTerminalSize, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb' + autoload :VolumeMount, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb' + autoload :ContainerExecRequest, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb' + autoload :ContainerPropertiesInstanceView, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb' + autoload :ContainerExecResponse, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_response.rb' + autoload :Volume, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume.rb' autoload :Resource, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource.rb' autoload :ContainerGroup, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb' autoload :ContainerNetworkProtocol, '2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_network_protocol.rb' diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb index 4682175542..8fc45c23c4 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_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 diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb index db93191684..daf4b48b8a 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -52,8 +52,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 # @@ -69,13 +69,12 @@ 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.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 @@ -135,8 +134,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -155,8 +154,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 # @@ -174,14 +173,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, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -241,8 +239,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def get(resource_group_name, container_group_name, custom_headers:nil) - response = get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -261,8 +259,8 @@ def get(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -280,7 +278,7 @@ def get_with_http_info(resource_group_name, container_group_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_group_name, custom_headers:nil) + def get_async(resource_group_name, container_group_name, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -288,7 +286,6 @@ def get_async(resource_group_name, container_group_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 @@ -347,15 +344,11 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end - # - # Create or update container groups. - # - # Create or update container groups with specified configurations. # # @param resource_group_name [String] The name of the resource group. # @param container_group_name [String] The name of the container group. @@ -364,44 +357,97 @@ def create_or_update(resource_group_name, container_group_name, container_group, # @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, container_group_name, container_group, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup.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 + + # + # Update container groups. + # + # Updates container group tags with specified values. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param resource [Resource] The container group resource with just the tags to + # be updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroup] operation results. + # + def update(resource_group_name, container_group_name, resource, custom_headers = nil) + response = update_async(resource_group_name, container_group_name, resource, custom_headers).value! + response.body unless response.nil? + end + + # + # Update container groups. + # + # Updates container group tags with specified values. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param resource [Resource] The container group resource with just the tags to + # be updated. + # @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 create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers:nil) - create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, container_group_name, resource, custom_headers = nil) + update_async(resource_group_name, container_group_name, resource, custom_headers).value! end # - # Create or update container groups. + # Update container groups. # - # Create or update container groups with specified configurations. + # Updates container group tags with specified values. # # @param resource_group_name [String] The name of the resource group. # @param container_group_name [String] The name of the container group. - # @param container_group [ContainerGroup] The properties of the container group - # to be created or updated. + # @param resource [Resource] The container group resource with just the tags to + # be updated. # @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 create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def update_async(resource_group_name, container_group_name, resource, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? - fail ArgumentError, 'container_group is nil' if container_group.nil? + fail ArgumentError, 'resource is nil' if resource.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request - request_mapper = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup.mapper() - request_content = @client.serialize(request_mapper, container_group) + request_mapper = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource.mapper() + request_content = @client.serialize(request_mapper, resource) request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}' @@ -416,13 +462,13 @@ def create_or_update_async(resource_group_name, container_group_name, container_ headers: request_headers.merge(custom_headers || {}), base_url: request_url } - promise = @client.make_request_async(:put, path_template, options) + 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 == 200 || status_code == 201 + unless status_code == 200 error_model = JSON.load(response_content) fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) end @@ -438,16 +484,6 @@ def create_or_update_async(resource_group_name, container_group_name, container_ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) end end - # Deserialize Response - if status_code == 201 - begin - parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup.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 @@ -456,57 +492,57 @@ def create_or_update_async(resource_group_name, container_group_name, container_ end # - # Update container groups. + # Delete the specified container group. # - # Updates container group tags with specified values. + # Delete the specified container group in the specified subscription and + # resource group. The operation does not delete other resources provided by the + # user, such as volumes. # # @param resource_group_name [String] The name of the resource group. # @param container_group_name [String] The name of the container group. - # @param resource [Resource] The container group resource with just the tags to - # be updated. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [ContainerGroup] operation results. # - def update(resource_group_name, container_group_name, resource:nil, custom_headers:nil) - response = update_async(resource_group_name, container_group_name, resource:resource, custom_headers:custom_headers).value! + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end # - # Update container groups. + # Delete the specified container group. # - # Updates container group tags with specified values. + # Delete the specified container group in the specified subscription and + # resource group. The operation does not delete other resources provided by the + # user, such as volumes. # # @param resource_group_name [String] The name of the resource group. # @param container_group_name [String] The name of the container group. - # @param resource [Resource] The container group resource with just the tags to - # be updated. # @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 update_with_http_info(resource_group_name, container_group_name, resource:nil, custom_headers:nil) - update_async(resource_group_name, container_group_name, resource:resource, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! end # - # Update container groups. + # Delete the specified container group. # - # Updates container group tags with specified values. + # Delete the specified container group in the specified subscription and + # resource group. The operation does not delete other resources provided by the + # user, such as volumes. # # @param resource_group_name [String] The name of the resource group. # @param container_group_name [String] The name of the container group. - # @param resource [Resource] The container group resource with just the tags to - # be updated. # @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 update_async(resource_group_name, container_group_name, resource:nil, custom_headers:nil) + def delete_async(resource_group_name, container_group_name, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -514,17 +550,10 @@ def update_async(resource_group_name, container_group_name, resource:nil, custom 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? - - # Serialize Request - request_mapper = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource.mapper() - request_content = @client.serialize(request_mapper, resource) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil - path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}' request_url = @base_url || @client.base_url @@ -533,17 +562,16 @@ def update_async(resource_group_name, container_group_name, resource:nil, custom middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_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 = @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 + unless status_code == 200 || status_code == 204 error_model = JSON.load(response_content) fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) end @@ -567,69 +595,77 @@ def update_async(resource_group_name, container_group_name, resource:nil, custom end # - # Delete the specified container group. + # Create or update container groups. # - # Delete the specified container group in the specified subscription and - # resource group. The operation does not delete other resources provided by the - # user, such as volumes. + # Create or update container groups with specified configurations. # # @param resource_group_name [String] The name of the resource group. # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [ContainerGroup] operation results. # - def delete(resource_group_name, container_group_name, custom_headers:nil) - response = delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end # - # Delete the specified container group. + # Create or update container groups. # - # Delete the specified container group in the specified subscription and - # resource group. The operation does not delete other resources provided by the - # user, such as volumes. + # Create or update container groups with specified configurations. # # @param resource_group_name [String] The name of the resource group. # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. # @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 delete_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! end # - # Delete the specified container group. + # Create or update container groups. # - # Delete the specified container group in the specified subscription and - # resource group. The operation does not delete other resources provided by the - # user, such as volumes. + # Create or update container groups with specified configurations. # # @param resource_group_name [String] The name of the resource group. # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. # @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 delete_async(resource_group_name, container_group_name, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, container_group_name, container_group, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + fail ArgumentError, 'container_group is nil' if container_group.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup.mapper() + request_content = @client.serialize(request_mapper, container_group) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}' request_url = @base_url || @client.base_url @@ -638,16 +674,17 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_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(:delete, path_template, options) + 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 == 200 || status_code == 204 + unless status_code == 200 || status_code == 201 error_model = JSON.load(response_content) fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) end @@ -663,6 +700,16 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) end end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup.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 @@ -685,8 +732,8 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -705,8 +752,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -724,12 +771,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -789,8 +835,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -810,8 +856,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -830,12 +876,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -893,12 +938,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -920,12 +965,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb index 32a9635bcb..7158a93af1 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -48,6 +48,9 @@ class ContainerInstanceManagementClient < MsRestAzure::AzureServiceClient # @return [ContainerLogs] container_logs attr_reader :container_logs + # @return [StartContainer] start_container + attr_reader :start_container + # # Creates initializes a new instance of the ContainerInstanceManagementClient class. # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client. @@ -65,6 +68,7 @@ def initialize(credentials = nil, base_url = nil, options = nil) @operations = Operations.new(self) @container_group_usage = ContainerGroupUsage.new(self) @container_logs = ContainerLogs.new(self) + @start_container = StartContainer.new(self) @api_version = '2018-02-01-preview' @accept_language = 'en-US' @long_running_operation_retry_timeout = 30 @@ -118,9 +122,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? @@ -137,7 +138,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_instance' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::ContainerInstance::Mgmt::V2018_02_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2018_02_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_logs.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_logs.rb index fc4113003d..7e8a7723f9 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_logs.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Logs] operation results. # - def list(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - response = list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + response = list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! response.body unless response.nil? end @@ -60,8 +60,8 @@ def list(resource_group_name, container_group_name, container_name, tail:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, container_group_name, container_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) + def list_async(resource_group_name, container_group_name, container_name, tail = nil, 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? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -90,7 +90,6 @@ def list_async(resource_group_name, container_group_name, container_name, tail:n 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_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb index c13db7a29e..ca1fcc2318 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb @@ -36,7 +36,6 @@ class AzureFileVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureFileVolume', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'AzureFileVolume', model_properties: { share_name: { - client_side_validation: true, required: true, serialized_name: 'shareName', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: true, serialized_name: 'storageAccountName', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container.rb index 050b257bc3..5d78e7ceb2 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container.rb @@ -50,7 +50,6 @@ class Container # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Container', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'Container', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: true, serialized_name: 'properties.image', type: { @@ -74,13 +71,11 @@ def self.mapper() } }, command: { - client_side_validation: true, required: false, serialized_name: 'properties.command', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -90,13 +85,11 @@ def self.mapper() } }, ports: { - client_side_validation: true, required: false, serialized_name: 'properties.ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerPortElementType', type: { @@ -107,13 +100,11 @@ def self.mapper() } }, environment_variables: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentVariables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableElementType', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -134,7 +124,6 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: true, serialized_name: 'properties.resources', type: { @@ -143,13 +132,11 @@ def self.mapper() } }, volume_mounts: { - client_side_validation: true, required: false, serialized_name: 'properties.volumeMounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeMountElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb new file mode 100644 index 0000000000..e78c55b51e --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb @@ -0,0 +1,55 @@ +# 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::ContainerInstance::Mgmt::V2018_02_01_preview + module Models + # + # The start container exec request. + # + class ContainerExecRequest + + include MsRestAzure + + # @return [String] The command to be executed. + attr_accessor :command + + # @return [ContainerExecRequestTerminalSize] The size of the terminal. + attr_accessor :terminal_size + + + # + # Mapper for ContainerExecRequest class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerExecRequest', + type: { + name: 'Composite', + class_name: 'ContainerExecRequest', + model_properties: { + command: { + required: false, + serialized_name: 'command', + type: { + name: 'String' + } + }, + terminal_size: { + required: false, + serialized_name: 'terminalSize', + type: { + name: 'Composite', + class_name: 'ContainerExecRequestTerminalSize' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb new file mode 100644 index 0000000000..f7b939bfb2 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.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::ContainerInstance::Mgmt::V2018_02_01_preview + module Models + # + # The size of the terminal. + # + class ContainerExecRequestTerminalSize + + include MsRestAzure + + # @return [Integer] The row size of the terminal + attr_accessor :rows + + # @return [Integer] The column size of the terminal + attr_accessor :cols + + + # + # Mapper for ContainerExecRequestTerminalSize class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerExecRequest_terminalSize', + type: { + name: 'Composite', + class_name: 'ContainerExecRequestTerminalSize', + model_properties: { + rows: { + required: false, + serialized_name: 'rows', + type: { + name: 'Number' + } + }, + cols: { + required: false, + serialized_name: 'cols', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_response.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_response.rb new file mode 100644 index 0000000000..c5079dab0b --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_response.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::ContainerInstance::Mgmt::V2018_02_01_preview + module Models + # + # The information for the container exec command. + # + class ContainerExecResponse + + include MsRestAzure + + # @return [String] The uri for the exec websocket. + attr_accessor :web_socket_uri + + # @return [String] The password to start the exec command. + attr_accessor :password + + + # + # Mapper for ContainerExecResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerExecResponse', + type: { + name: 'Composite', + class_name: 'ContainerExecResponse', + model_properties: { + web_socket_uri: { + required: false, + serialized_name: 'webSocketUri', + type: { + name: 'String' + } + }, + password: { + required: false, + serialized_name: 'password', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb index 54d2d1d5f5..759a9c1a5b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb @@ -54,7 +54,6 @@ class ContainerGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ContainerGroup', 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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -97,13 +92,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: { @@ -113,7 +106,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -122,13 +114,11 @@ def self.mapper() } }, containers: { - client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerElementType', type: { @@ -139,13 +129,11 @@ def self.mapper() } }, image_registry_credentials: { - client_side_validation: true, required: false, serialized_name: 'properties.imageRegistryCredentials', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredentialElementType', type: { @@ -156,7 +144,6 @@ def self.mapper() } }, restart_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.restartPolicy', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -181,13 +166,11 @@ def self.mapper() } }, volumes: { - client_side_validation: true, required: false, serialized_name: 'properties.volumes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeElementType', type: { @@ -198,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb index 68a80ff460..8b6e25e433 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb index 35fb2ade63..744fce441b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb @@ -26,7 +26,6 @@ class ContainerGroupPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup_properties_instanceView', type: { @@ -34,14 +33,12 @@ def self.mapper() class_name: 'ContainerGroupPropertiesInstanceView', model_properties: { events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb index 59ab9cad43..77f5d53b1d 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb @@ -26,7 +26,6 @@ class ContainerPort # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerPort', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerPort', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb index 9cad7c31cf..a66d37f60b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb @@ -32,7 +32,6 @@ class ContainerPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerProperties_instanceView', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ContainerPropertiesInstanceView', model_properties: { restart_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restartCount', @@ -49,7 +47,6 @@ def self.mapper() } }, current_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentState', @@ -59,7 +56,6 @@ def self.mapper() } }, previous_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'previousState', @@ -69,14 +65,12 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb index 07d328dfb5..14a4943e70 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb @@ -38,7 +38,6 @@ class ContainerState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerState', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ContainerState', model_properties: { state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, exit_code: { - client_side_validation: true, required: false, serialized_name: 'exitCode', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, finish_time: { - client_side_validation: true, required: false, serialized_name: 'finishTime', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, detail_status: { - client_side_validation: true, required: false, serialized_name: 'detailStatus', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb index 104f2d8d1b..e3dc96b94e 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb @@ -25,7 +25,6 @@ class EnvironmentVariable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EnvironmentVariable', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/event.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/event.rb index 1a4a8fba89..7b6cd72690 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/event.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/event.rb @@ -37,7 +37,6 @@ class Event # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Event', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Event', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, first_timestamp: { - client_side_validation: true, required: false, serialized_name: 'firstTimestamp', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, last_timestamp: { - client_side_validation: true, required: false, serialized_name: 'lastTimestamp', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb index 1c35b85875..f4833422c1 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb @@ -32,7 +32,6 @@ class GitRepoVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GitRepoVolume', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'GitRepoVolume', model_properties: { directory: { - client_side_validation: true, required: false, serialized_name: 'directory', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, repository: { - client_side_validation: true, required: true, serialized_name: 'repository', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, revision: { - client_side_validation: true, required: false, serialized_name: 'revision', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb index 5502c83db6..e63da722d2 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb @@ -29,7 +29,6 @@ class ImageRegistryCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ImageRegistryCredential', model_properties: { server: { - client_side_validation: true, required: true, serialized_name: 'server', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, username: { - client_side_validation: true, required: true, serialized_name: 'username', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb index e188709896..38e1f51e49 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb @@ -35,7 +35,6 @@ class IpAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpAddress', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'IpAddress', model_properties: { ports: { - client_side_validation: true, required: true, serialized_name: 'ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'dnsNameLabel', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/logs.rb index 1c6361c291..051b0f7cdd 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/logs.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/logs.rb @@ -22,7 +22,6 @@ class Logs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Logs', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'Logs', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation.rb index e74f5e515b..1ed301a1a0 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation.rb @@ -29,7 +29,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: true, serialized_name: 'display', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb index b384c4b45f..71d1e9cd16 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', 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_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb index 1f406557f3..2892cfeb7d 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb @@ -26,7 +26,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationListResult', 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: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/port.rb index 93ae0b3423..b70a97aa82 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/port.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/port.rb @@ -26,7 +26,6 @@ class Port # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Port', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Port', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource.rb index 1345973d7a..93cbebcfd7 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb index 446de78c6f..c154e380d5 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb @@ -25,7 +25,6 @@ class ResourceLimits # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceLimits', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceLimits', model_properties: { memory_in_gb: { - client_side_validation: true, required: false, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: false, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb index 2780fb9250..a389e68a92 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb @@ -25,7 +25,6 @@ class ResourceRequests # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequests', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceRequests', model_properties: { memory_in_gb: { - client_side_validation: true, required: true, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: true, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb index 0a45df07a2..00e14e5f9b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb @@ -27,7 +27,6 @@ class ResourceRequirements # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequirements', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceRequirements', model_properties: { requests: { - client_side_validation: true, required: true, serialized_name: 'requests', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, limits: { - client_side_validation: true, required: false, serialized_name: 'limits', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage.rb index a1d1ba3bb7..6fa0dee48b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage.rb @@ -31,7 +31,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -48,7 +46,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -57,7 +54,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb index 2a099130a7..b6f90c49f4 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb @@ -22,7 +22,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -30,14 +29,12 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb index 808abda814..8dbd475b63 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage_name', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume.rb index 7713b758a3..5c7547594d 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume.rb @@ -34,7 +34,6 @@ class Volume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Volume', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Volume', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, azure_file: { - client_side_validation: true, required: false, serialized_name: 'azureFile', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, empty_dir: { - client_side_validation: true, required: false, serialized_name: 'emptyDir', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, secret: { - client_side_validation: true, required: false, serialized_name: 'secret', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, git_repo: { - client_side_validation: true, required: false, serialized_name: 'gitRepo', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb index 7f8c2e1a58..71d2041194 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -30,7 +30,6 @@ class VolumeMount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VolumeMount', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VolumeMount', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, mount_path: { - client_side_validation: true, required: true, serialized_name: 'mountPath', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/operations.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/operations.rb index 6337ac141d..2f86fa4ed7 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/operations.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] 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 @@ -42,8 +42,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 # @@ -54,12 +54,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_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb new file mode 100644 index 0000000000..f4ba42f6bf --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb @@ -0,0 +1,145 @@ +# 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::ContainerInstance::Mgmt::V2018_02_01_preview + # + # StartContainer + # + class StartContainer + include MsRestAzure + + # + # Creates and initializes a new instance of the StartContainer class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [ContainerInstanceManagementClient] reference to the ContainerInstanceManagementClient + attr_reader :client + + # + # Starts the exec command for a specific container instance. + # + # Starts the exec command for a specified container instance in a specified + # resource group and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param container_exec_request [ContainerExecRequest] The request for the exec + # command. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerExecResponse] operation results. + # + def launch_exec(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + response = launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! + response.body unless response.nil? + end + + # + # Starts the exec command for a specific container instance. + # + # Starts the exec command for a specified container instance in a specified + # resource group and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param container_exec_request [ContainerExecRequest] The request for the exec + # command. + # @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 launch_exec_with_http_info(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! + end + + # + # Starts the exec command for a specific container instance. + # + # Starts the exec command for a specified container instance in a specified + # resource group and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param container_exec_request [ContainerExecRequest] The request for the exec + # command. + # @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 launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, 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? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + fail ArgumentError, 'container_name is nil' if container_name.nil? + fail ArgumentError, 'container_exec_request is nil' if container_exec_request.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::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest.mapper() + request_content = @client.serialize(request_mapper, container_exec_request) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/exec' + + 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,'containerGroupName' => container_group_name,'containerName' => container_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::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse.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_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..d53bf03778 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/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::ContainerInstance::Mgmt::V2018_02_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/profiles/latest/modules/containerinstance_profile_module.rb b/management/azure_mgmt_container_instance/lib/profiles/latest/modules/containerinstance_profile_module.rb index 6bf8a8358e..339154c9e2 100644 --- a/management/azure_mgmt_container_instance/lib/profiles/latest/modules/containerinstance_profile_module.rb +++ b/management/azure_mgmt_container_instance/lib/profiles/latest/modules/containerinstance_profile_module.rb @@ -10,33 +10,37 @@ module Mgmt Operations = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Operations ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroupUsage ContainerLogs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerLogs + StartContainer = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::StartContainer module Models - ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential - Port = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port - EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable IpAddress = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::IpAddress - Event = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event + ContainerPort = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort ContainerGroupPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupPropertiesInstanceView + ContainerState = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState + Event = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event ResourceRequests = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests - ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits - VolumeMount = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay - AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume + ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements Operation = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation - Volume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume + Container = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container OperationListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult - ContainerState = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState + GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume UsageName = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName - ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements + ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential Usage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage - GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume + EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable UsageListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult - ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult - ContainerPort = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort + AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume Logs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs - Container = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container + Port = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port + ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize + VolumeMount = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount + ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest + ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse + Volume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume Resource = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol @@ -50,7 +54,7 @@ module Models # ContainerInstanceManagementClass # class ContainerInstanceManagementClass - attr_reader :container_groups, :operations, :container_group_usage, :container_logs, :configurable, :base_url, :options, :model_classes + attr_reader :container_groups, :operations, :container_group_usage, :container_logs, :start_container, :configurable, :base_url, :options, :model_classes def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @@ -74,6 +78,7 @@ def initialize(options = {}) @operations = @client_0.operations @container_group_usage = @client_0.container_group_usage @container_logs = @client_0.container_logs + @start_container = @client_0.start_container @model_classes = ModelClasses.new end @@ -94,80 +99,89 @@ def method_missing(method, *args) end class ModelClasses - def image_registry_credential - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential - end - def port - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port - end - def environment_variable - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable - end def ip_address Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::IpAddress end - def event - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event + def container_port + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort end def container_group_properties_instance_view Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupPropertiesInstanceView end - def resource_requests - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests + def container_state + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState end - def resource_limits - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits + def event + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event end - def volume_mount - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount + def resource_requests + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests end def operation_display Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay end - def azure_file_volume - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume + def resource_requirements + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements end def operation Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation end - def volume - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume + def container + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container end def operation_list_result Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult end - def container_state - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState + def git_repo_volume + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume end def usage_name Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName end - def resource_requirements - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements + def image_registry_credential + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential end def usage Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage end - def git_repo_volume - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume + def environment_variable + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable end def usage_list_result Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult end - def container_properties_instance_view - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + def resource_limits + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits end def container_group_list_result Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult end - def container_port - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort + def azure_file_volume + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume end def logs Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs end - def container - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container + def port + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port + end + def container_exec_request_terminal_size + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize + end + def volume_mount + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount + end + def container_exec_request + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest + end + def container_properties_instance_view + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + end + def container_exec_response + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse + end + def volume + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume end def resource Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource From 5ee329c6bc011dd42900bab1685bfb67855a93ae Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 14:09:19 -0700 Subject: [PATCH 10/22] [AutoPR] compute/resource-manager (#1338) * Generated from 4abedb1c096796557fdd029401f3d317f99c7f61 (#1334) removing resourceUpdate, adding contents to disk and snapshot * minor fix --- .../latest/modules/compute_profile_module.rb | 68 ++- .../azure_mgmt_compute/availability_sets.rb | 57 ++- .../compute_management_client.rb | 7 +- .../models/additional_unattend_content.rb | 5 - .../models/api_entity_reference.rb | 2 - .../azure_mgmt_compute/models/api_error.rb | 7 - .../models/api_error_base.rb | 4 - .../models/availability_set.rb | 13 - .../models/availability_set_list_result.rb | 3 - .../models/boot_diagnostics.rb | 3 - .../models/boot_diagnostics_instance_view.rb | 3 - ...mpute_long_running_operation_properties.rb | 2 - .../azure_mgmt_compute/models/data_disk.rb | 8 - .../models/data_disk_image.rb | 2 - .../models/diagnostics_profile.rb | 2 - .../models/disk_encryption_settings.rb | 4 - .../models/disk_instance_view.rb | 4 - .../models/hardware_profile.rb | 2 - .../models/image_reference.rb | 5 - .../azure_mgmt_compute/models/inner_error.rb | 3 - .../models/instance_view_status.rb | 6 - .../models/key_vault_key_reference.rb | 3 - .../models/key_vault_secret_reference.rb | 3 - .../models/linux_configuration.rb | 3 - .../models/list_usages_result.rb | 4 - .../models/network_interface_reference.rb | 3 - .../models/network_profile.rb | 3 - .../models/operation_status_response.rb | 6 - .../azure_mgmt_compute/models/osdisk.rb | 9 - .../azure_mgmt_compute/models/osdisk_image.rb | 2 - .../azure_mgmt_compute/models/osprofile.rb | 9 - .../azure_mgmt_compute/models/plan.rb | 5 - .../models/purchase_plan.rb | 4 - .../azure_mgmt_compute/models/resource.rb | 7 - .../azure_mgmt_compute/models/sku.rb | 4 - .../models/ssh_configuration.rb | 3 - .../models/ssh_public_key.rb | 3 - .../models/storage_profile.rb | 5 - .../azure_mgmt_compute/models/sub_resource.rb | 2 - .../models/update_resource.rb | 3 - .../models/upgrade_policy.rb | 2 - .../azure_mgmt_compute/models/usage.rb | 5 - .../azure_mgmt_compute/models/usage_name.rb | 3 - .../models/vault_certificate.rb | 3 - .../models/vault_secret_group.rb | 4 - .../models/virtual_hard_disk.rb | 2 - .../models/virtual_machine.rb | 19 - .../virtual_machine_agent_instance_view.rb | 6 - .../virtual_machine_capture_parameters.rb | 4 - .../models/virtual_machine_capture_result.rb | 3 - .../models/virtual_machine_extension.rb | 16 - ...machine_extension_handler_instance_view.rb | 4 - .../models/virtual_machine_extension_image.rb | 12 - ...virtual_machine_extension_instance_view.rb | 8 - .../virtual_machine_extension_update.rb | 10 - .../models/virtual_machine_image.rb | 10 - .../models/virtual_machine_image_resource.rb | 6 - .../models/virtual_machine_instance_view.rb | 12 - .../models/virtual_machine_list_result.rb | 4 - .../models/virtual_machine_scale_set.rb | 12 - .../virtual_machine_scale_set_extension.rb | 10 - ...ual_machine_scale_set_extension_profile.rb | 3 - ...virtual_machine_scale_set_instance_view.rb | 6 - ...cale_set_instance_view_statuses_summary.rb | 3 - ...rtual_machine_scale_set_ipconfiguration.rb | 8 - .../virtual_machine_scale_set_list_result.rb | 4 - ...tual_machine_scale_set_list_skus_result.rb | 4 - ...machine_scale_set_list_with_link_result.rb | 4 - ...machine_scale_set_network_configuration.rb | 6 - ...rtual_machine_scale_set_network_profile.rb | 3 - .../virtual_machine_scale_set_osdisk.rb | 8 - .../virtual_machine_scale_set_osprofile.rb | 9 - .../models/virtual_machine_scale_set_sku.rb | 4 - .../virtual_machine_scale_set_sku_capacity.rb | 5 - ...rtual_machine_scale_set_storage_profile.rb | 3 - .../models/virtual_machine_scale_set_vm.rb | 22 - ..._machine_scale_set_vmextensions_summary.rb | 4 - ...irtual_machine_scale_set_vminstance_ids.rb | 3 - ...chine_scale_set_vminstance_required_ids.rb | 3 - ...rtual_machine_scale_set_vminstance_view.rb | 12 - ...virtual_machine_scale_set_vmlist_result.rb | 4 - .../virtual_machine_scale_set_vmprofile.rb | 5 - .../models/virtual_machine_size.rb | 7 - .../virtual_machine_size_list_result.rb | 3 - .../virtual_machine_status_code_count.rb | 3 - .../models/win_rmconfiguration.rb | 3 - .../models/win_rmlistener.rb | 3 - .../models/windows_configuration.rb | 7 - .../azure_mgmt_compute/usage_operations.rb | 29 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../virtual_machine_extension_images.rb | 37 +- .../virtual_machine_extensions.rb | 72 +-- .../virtual_machine_images.rb | 63 ++- .../virtual_machine_scale_set_vms.rb | 164 ++++--- .../virtual_machine_scale_sets.rb | 291 ++++++------ .../virtual_machine_sizes.rb | 12 +- .../azure_mgmt_compute/virtual_machines.rb | 245 +++++------ .../azure_mgmt_compute/availability_sets.rb | 57 ++- .../compute_management_client.rb | 7 +- .../models/additional_unattend_content.rb | 5 - .../models/api_entity_reference.rb | 2 - .../azure_mgmt_compute/models/api_error.rb | 7 - .../models/api_error_base.rb | 4 - .../models/availability_set.rb | 13 - .../models/availability_set_list_result.rb | 3 - .../models/boot_diagnostics.rb | 3 - .../models/boot_diagnostics_instance_view.rb | 3 - ...mpute_long_running_operation_properties.rb | 2 - .../azure_mgmt_compute/models/data_disk.rb | 8 - .../models/data_disk_image.rb | 2 - .../models/diagnostics_profile.rb | 2 - .../models/disk_encryption_settings.rb | 4 - .../models/disk_instance_view.rb | 4 - .../models/hardware_profile.rb | 2 - .../models/image_reference.rb | 5 - .../azure_mgmt_compute/models/inner_error.rb | 3 - .../models/instance_view_status.rb | 6 - .../models/key_vault_key_reference.rb | 3 - .../models/key_vault_secret_reference.rb | 3 - .../models/linux_configuration.rb | 3 - .../models/list_usages_result.rb | 4 - .../models/network_interface_reference.rb | 3 - .../models/network_profile.rb | 3 - .../models/operation_status_response.rb | 6 - .../azure_mgmt_compute/models/osdisk.rb | 9 - .../azure_mgmt_compute/models/osdisk_image.rb | 2 - .../azure_mgmt_compute/models/osprofile.rb | 9 - .../azure_mgmt_compute/models/plan.rb | 5 - .../models/purchase_plan.rb | 4 - .../azure_mgmt_compute/models/resource.rb | 7 - .../azure_mgmt_compute/models/sku.rb | 4 - .../models/ssh_configuration.rb | 3 - .../models/ssh_public_key.rb | 3 - .../models/storage_profile.rb | 5 - .../azure_mgmt_compute/models/sub_resource.rb | 2 - .../models/update_resource.rb | 3 - .../models/upgrade_policy.rb | 2 - .../azure_mgmt_compute/models/usage.rb | 5 - .../azure_mgmt_compute/models/usage_name.rb | 3 - .../models/vault_certificate.rb | 3 - .../models/vault_secret_group.rb | 4 - .../models/virtual_hard_disk.rb | 2 - .../models/virtual_machine.rb | 21 - .../virtual_machine_agent_instance_view.rb | 6 - .../virtual_machine_capture_parameters.rb | 4 - .../models/virtual_machine_capture_result.rb | 3 - .../models/virtual_machine_extension.rb | 16 - ...machine_extension_handler_instance_view.rb | 4 - .../models/virtual_machine_extension_image.rb | 12 - ...virtual_machine_extension_instance_view.rb | 8 - .../virtual_machine_extension_update.rb | 10 - .../virtual_machine_extensions_list_result.rb | 3 - .../models/virtual_machine_identity.rb | 4 - .../models/virtual_machine_image.rb | 10 - .../models/virtual_machine_image_resource.rb | 6 - .../models/virtual_machine_instance_view.rb | 12 - .../models/virtual_machine_list_result.rb | 4 - .../models/virtual_machine_scale_set.rb | 13 - .../virtual_machine_scale_set_extension.rb | 10 - ...ual_machine_scale_set_extension_profile.rb | 3 - .../virtual_machine_scale_set_identity.rb | 4 - ...virtual_machine_scale_set_instance_view.rb | 6 - ...cale_set_instance_view_statuses_summary.rb | 3 - ...rtual_machine_scale_set_ipconfiguration.rb | 10 - .../virtual_machine_scale_set_list_result.rb | 4 - ...tual_machine_scale_set_list_skus_result.rb | 4 - ...machine_scale_set_list_with_link_result.rb | 4 - ...machine_scale_set_network_configuration.rb | 6 - ...rtual_machine_scale_set_network_profile.rb | 3 - .../virtual_machine_scale_set_osdisk.rb | 8 - .../virtual_machine_scale_set_osprofile.rb | 9 - .../models/virtual_machine_scale_set_sku.rb | 4 - .../virtual_machine_scale_set_sku_capacity.rb | 5 - ...rtual_machine_scale_set_storage_profile.rb | 3 - .../models/virtual_machine_scale_set_vm.rb | 23 - ..._machine_scale_set_vmextensions_summary.rb | 4 - ...irtual_machine_scale_set_vminstance_ids.rb | 3 - ...chine_scale_set_vminstance_required_ids.rb | 3 - ...rtual_machine_scale_set_vminstance_view.rb | 12 - ...virtual_machine_scale_set_vmlist_result.rb | 4 - .../virtual_machine_scale_set_vmprofile.rb | 5 - .../models/virtual_machine_size.rb | 7 - .../virtual_machine_size_list_result.rb | 3 - .../virtual_machine_status_code_count.rb | 3 - .../models/win_rmconfiguration.rb | 3 - .../models/win_rmlistener.rb | 3 - .../models/windows_configuration.rb | 7 - .../azure_mgmt_compute/usage_operations.rb | 29 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../virtual_machine_extension_images.rb | 37 +- .../virtual_machine_extensions.rb | 72 +-- .../virtual_machine_images.rb | 63 ++- .../virtual_machine_scale_set_vms.rb | 164 ++++--- .../virtual_machine_scale_sets.rb | 291 ++++++------ .../virtual_machine_sizes.rb | 12 +- .../azure_mgmt_compute/virtual_machines.rb | 256 +++++------ .../azure_mgmt_compute/availability_sets.rb | 57 ++- .../compute_management_client.rb | 7 +- .../generated/azure_mgmt_compute/disks.rb | 168 ++++--- .../generated/azure_mgmt_compute/images.rb | 107 +++-- .../azure_mgmt_compute/models/access_uri.rb | 2 - .../models/additional_unattend_content.rb | 5 - .../models/api_entity_reference.rb | 2 - .../azure_mgmt_compute/models/api_error.rb | 7 - .../models/api_error_base.rb | 4 - .../models/availability_set.rb | 15 - .../models/availability_set_list_result.rb | 3 - .../models/boot_diagnostics.rb | 3 - .../models/boot_diagnostics_instance_view.rb | 3 - ...mpute_long_running_operation_properties.rb | 2 - .../models/creation_data.rb | 6 - .../azure_mgmt_compute/models/data_disk.rb | 9 - .../models/data_disk_image.rb | 2 - .../models/diagnostics_profile.rb | 2 - .../azure_mgmt_compute/models/disk.rb | 15 - .../models/disk_encryption_settings.rb | 4 - .../models/disk_instance_view.rb | 4 - .../azure_mgmt_compute/models/disk_list.rb | 4 - .../azure_mgmt_compute/models/disk_update.rb | 8 - .../models/encryption_settings.rb | 4 - .../models/grant_access_data.rb | 3 - .../models/hardware_profile.rb | 2 - .../azure_mgmt_compute/models/image.rb | 10 - .../models/image_data_disk.rb | 7 - .../models/image_disk_reference.rb | 3 - .../models/image_list_result.rb | 4 - .../azure_mgmt_compute/models/image_osdisk.rb | 8 - .../models/image_reference.rb | 6 - .../models/image_storage_profile.rb | 4 - .../azure_mgmt_compute/models/inner_error.rb | 3 - .../models/instance_view_status.rb | 6 - .../models/key_vault_and_key_reference.rb | 3 - .../models/key_vault_and_secret_reference.rb | 3 - .../models/key_vault_key_reference.rb | 3 - .../models/key_vault_secret_reference.rb | 3 - .../models/linux_configuration.rb | 3 - .../models/list_usages_result.rb | 4 - .../models/managed_disk_parameters.rb | 3 - .../models/network_interface_reference.rb | 3 - .../models/network_profile.rb | 3 - .../models/operation_status_response.rb | 6 - .../azure_mgmt_compute/models/osdisk.rb | 10 - .../azure_mgmt_compute/models/osdisk_image.rb | 2 - .../azure_mgmt_compute/models/osprofile.rb | 9 - .../azure_mgmt_compute/models/plan.rb | 5 - .../models/purchase_plan.rb | 4 - .../azure_mgmt_compute/models/resource.rb | 7 - .../models/resource_update.rb | 3 - .../azure_mgmt_compute/models/sku.rb | 4 - .../azure_mgmt_compute/models/snapshot.rb | 15 - .../models/snapshot_list.rb | 4 - .../models/snapshot_update.rb | 8 - .../azure_mgmt_compute/models/source_vault.rb | 2 - .../models/ssh_configuration.rb | 3 - .../models/ssh_public_key.rb | 3 - .../models/storage_profile.rb | 5 - .../azure_mgmt_compute/models/sub_resource.rb | 2 - .../models/sub_resource_read_only.rb | 2 - .../models/update_resource.rb | 3 - .../models/upgrade_policy.rb | 2 - .../azure_mgmt_compute/models/usage.rb | 5 - .../azure_mgmt_compute/models/usage_name.rb | 3 - .../models/vault_certificate.rb | 3 - .../models/vault_secret_group.rb | 4 - .../models/virtual_hard_disk.rb | 2 - .../models/virtual_machine.rb | 21 - .../virtual_machine_agent_instance_view.rb | 6 - .../virtual_machine_capture_parameters.rb | 4 - .../models/virtual_machine_capture_result.rb | 3 - .../models/virtual_machine_extension.rb | 16 - ...machine_extension_handler_instance_view.rb | 4 - .../models/virtual_machine_extension_image.rb | 12 - ...virtual_machine_extension_instance_view.rb | 8 - .../virtual_machine_extension_update.rb | 10 - .../virtual_machine_extensions_list_result.rb | 3 - .../models/virtual_machine_identity.rb | 4 - .../models/virtual_machine_image.rb | 10 - .../models/virtual_machine_image_resource.rb | 6 - .../models/virtual_machine_instance_view.rb | 12 - .../models/virtual_machine_list_result.rb | 4 - .../models/virtual_machine_scale_set.rb | 15 - .../virtual_machine_scale_set_data_disk.rb | 7 - .../virtual_machine_scale_set_extension.rb | 10 - ...ual_machine_scale_set_extension_profile.rb | 3 - .../virtual_machine_scale_set_identity.rb | 4 - ...virtual_machine_scale_set_instance_view.rb | 6 - ...cale_set_instance_view_statuses_summary.rb | 3 - ...rtual_machine_scale_set_ipconfiguration.rb | 10 - .../virtual_machine_scale_set_list_result.rb | 4 - ...tual_machine_scale_set_list_skus_result.rb | 4 - ...machine_scale_set_list_with_link_result.rb | 4 - ...chine_scale_set_managed_disk_parameters.rb | 2 - ...machine_scale_set_network_configuration.rb | 6 - ...rtual_machine_scale_set_network_profile.rb | 3 - .../virtual_machine_scale_set_osdisk.rb | 9 - .../virtual_machine_scale_set_osprofile.rb | 9 - .../models/virtual_machine_scale_set_sku.rb | 4 - .../virtual_machine_scale_set_sku_capacity.rb | 5 - ...rtual_machine_scale_set_storage_profile.rb | 5 - .../models/virtual_machine_scale_set_vm.rb | 23 - ..._machine_scale_set_vmextensions_summary.rb | 4 - ...irtual_machine_scale_set_vminstance_ids.rb | 3 - ...chine_scale_set_vminstance_required_ids.rb | 3 - ...rtual_machine_scale_set_vminstance_view.rb | 13 - ...virtual_machine_scale_set_vmlist_result.rb | 4 - .../virtual_machine_scale_set_vmprofile.rb | 5 - .../models/virtual_machine_size.rb | 7 - .../virtual_machine_size_list_result.rb | 3 - .../virtual_machine_status_code_count.rb | 3 - .../models/win_rmconfiguration.rb | 3 - .../models/win_rmlistener.rb | 3 - .../models/windows_configuration.rb | 7 - .../generated/azure_mgmt_compute/snapshots.rb | 168 ++++--- .../azure_mgmt_compute/usage_operations.rb | 29 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../virtual_machine_extension_images.rb | 37 +- .../virtual_machine_extensions.rb | 72 +-- .../virtual_machine_images.rb | 63 ++- .../virtual_machine_scale_set_vms.rb | 183 ++++---- .../virtual_machine_scale_sets.rb | 310 +++++++------ .../virtual_machine_sizes.rb | 12 +- .../azure_mgmt_compute/virtual_machines.rb | 275 ++++++------ .../azure_mgmt_compute/availability_sets.rb | 57 ++- .../compute_management_client.rb | 7 +- .../generated/azure_mgmt_compute/disks.rb | 168 ++++--- .../generated/azure_mgmt_compute/images.rb | 107 +++-- .../azure_mgmt_compute/models/access_uri.rb | 2 - .../models/additional_unattend_content.rb | 5 - .../models/api_entity_reference.rb | 2 - .../azure_mgmt_compute/models/api_error.rb | 7 - .../models/api_error_base.rb | 4 - .../models/availability_set.rb | 14 - .../models/availability_set_list_result.rb | 3 - .../models/boot_diagnostics.rb | 3 - .../models/boot_diagnostics_instance_view.rb | 3 - ...mpute_long_running_operation_properties.rb | 2 - .../models/creation_data.rb | 6 - .../azure_mgmt_compute/models/data_disk.rb | 9 - .../models/data_disk_image.rb | 2 - .../models/diagnostics_profile.rb | 2 - .../azure_mgmt_compute/models/disk.rb | 17 - .../models/disk_encryption_settings.rb | 4 - .../models/disk_instance_view.rb | 6 - .../azure_mgmt_compute/models/disk_list.rb | 4 - .../azure_mgmt_compute/models/disk_sku.rb | 3 - .../azure_mgmt_compute/models/disk_update.rb | 7 - .../models/encryption_settings.rb | 4 - .../models/grant_access_data.rb | 3 - .../models/hardware_profile.rb | 2 - .../azure_mgmt_compute/models/image.rb | 10 - .../models/image_data_disk.rb | 8 - .../models/image_disk_reference.rb | 3 - .../models/image_list_result.rb | 4 - .../azure_mgmt_compute/models/image_osdisk.rb | 9 - .../models/image_reference.rb | 6 - .../models/image_storage_profile.rb | 4 - .../azure_mgmt_compute/models/inner_error.rb | 3 - .../models/instance_view_status.rb | 6 - .../models/key_vault_and_key_reference.rb | 3 - .../models/key_vault_and_secret_reference.rb | 3 - .../models/key_vault_key_reference.rb | 3 - .../models/key_vault_secret_reference.rb | 3 - .../models/linux_configuration.rb | 3 - .../models/list_usages_result.rb | 4 - .../models/maintenance_redeploy_status.rb | 8 - .../models/managed_disk_parameters.rb | 3 - .../models/network_interface_reference.rb | 3 - .../models/network_profile.rb | 3 - .../models/operation_status_response.rb | 6 - .../azure_mgmt_compute/models/osdisk.rb | 10 - .../azure_mgmt_compute/models/osdisk_image.rb | 2 - .../azure_mgmt_compute/models/osprofile.rb | 9 - .../azure_mgmt_compute/models/plan.rb | 5 - .../models/purchase_plan.rb | 4 - .../azure_mgmt_compute/models/resource.rb | 7 - .../azure_mgmt_compute/models/resource_sku.rb | 18 - .../models/resource_sku_capabilities.rb | 3 - .../models/resource_sku_capacity.rb | 5 - .../models/resource_sku_costs.rb | 4 - .../models/resource_sku_restrictions.rb | 5 - .../models/resource_skus_result.rb | 4 - .../models/resource_update.rb | 4 - .../models/rolling_upgrade_policy.rb | 5 - .../models/rolling_upgrade_progress_info.rb | 5 - .../models/rolling_upgrade_running_status.rb | 5 - .../models/rolling_upgrade_status_info.rb | 11 - .../models/run_command_document.rb | 10 - .../models/run_command_document_base.rb | 6 - .../models/run_command_input.rb | 6 - .../models/run_command_input_parameter.rb | 3 - .../models/run_command_list_result.rb | 4 - .../run_command_parameter_definition.rb | 5 - .../models/run_command_result.rb | 7 - .../azure_mgmt_compute/models/sku.rb | 4 - .../azure_mgmt_compute/models/snapshot.rb | 15 - .../models/snapshot_list.rb | 4 - .../models/snapshot_update.rb | 7 - .../azure_mgmt_compute/models/source_vault.rb | 2 - .../models/ssh_configuration.rb | 3 - .../models/ssh_public_key.rb | 3 - .../models/storage_profile.rb | 5 - .../azure_mgmt_compute/models/sub_resource.rb | 2 - .../models/sub_resource_read_only.rb | 2 - .../models/update_resource.rb | 3 - .../models/upgrade_policy.rb | 4 - .../azure_mgmt_compute/models/usage.rb | 5 - .../azure_mgmt_compute/models/usage_name.rb | 3 - .../models/vault_certificate.rb | 3 - .../models/vault_secret_group.rb | 4 - .../models/virtual_hard_disk.rb | 2 - .../models/virtual_machine.rb | 23 - .../virtual_machine_agent_instance_view.rb | 6 - .../virtual_machine_capture_parameters.rb | 4 - .../models/virtual_machine_capture_result.rb | 3 - .../models/virtual_machine_extension.rb | 16 - ...machine_extension_handler_instance_view.rb | 4 - .../models/virtual_machine_extension_image.rb | 12 - ...virtual_machine_extension_instance_view.rb | 8 - .../virtual_machine_extension_update.rb | 10 - .../virtual_machine_extensions_list_result.rb | 3 - .../models/virtual_machine_health_status.rb | 2 - .../models/virtual_machine_identity.rb | 4 - .../models/virtual_machine_image.rb | 10 - .../models/virtual_machine_image_resource.rb | 6 - .../models/virtual_machine_instance_view.rb | 13 - .../models/virtual_machine_list_result.rb | 4 - .../models/virtual_machine_scale_set.rb | 18 - .../virtual_machine_scale_set_data_disk.rb | 7 - .../virtual_machine_scale_set_extension.rb | 11 - ...machine_scale_set_extension_list_result.rb | 4 - ...ual_machine_scale_set_extension_profile.rb | 3 - .../virtual_machine_scale_set_identity.rb | 4 - ...virtual_machine_scale_set_instance_view.rb | 6 - ...cale_set_instance_view_statuses_summary.rb | 3 - ...rtual_machine_scale_set_ipconfiguration.rb | 13 - .../virtual_machine_scale_set_list_result.rb | 4 - ...tual_machine_scale_set_list_skus_result.rb | 4 - ...machine_scale_set_list_with_link_result.rb | 4 - ...chine_scale_set_managed_disk_parameters.rb | 2 - ...machine_scale_set_network_configuration.rb | 9 - ..._set_network_configuration_dns_settings.rb | 3 - ...rtual_machine_scale_set_network_profile.rb | 4 - .../virtual_machine_scale_set_osdisk.rb | 9 - .../virtual_machine_scale_set_osprofile.rb | 9 - ...cale_set_public_ipaddress_configuration.rb | 4 - ...ic_ipaddress_configuration_dns_settings.rb | 2 - .../models/virtual_machine_scale_set_sku.rb | 4 - .../virtual_machine_scale_set_sku_capacity.rb | 5 - ...rtual_machine_scale_set_storage_profile.rb | 5 - .../virtual_machine_scale_set_update.rb | 10 - ...achine_scale_set_update_ipconfiguration.rb | 13 - ..._scale_set_update_network_configuration.rb | 9 - ...achine_scale_set_update_network_profile.rb | 3 - ...virtual_machine_scale_set_update_osdisk.rb | 6 - ...tual_machine_scale_set_update_osprofile.rb | 6 - ...t_update_public_ipaddress_configuration.rb | 4 - ...achine_scale_set_update_storage_profile.rb | 5 - ...tual_machine_scale_set_update_vmprofile.rb | 7 - .../models/virtual_machine_scale_set_vm.rb | 23 - ..._machine_scale_set_vmextensions_summary.rb | 4 - ...irtual_machine_scale_set_vminstance_ids.rb | 3 - ...chine_scale_set_vminstance_required_ids.rb | 3 - ...rtual_machine_scale_set_vminstance_view.rb | 14 - ...virtual_machine_scale_set_vmlist_result.rb | 4 - .../virtual_machine_scale_set_vmprofile.rb | 7 - .../models/virtual_machine_size.rb | 7 - .../virtual_machine_size_list_result.rb | 3 - .../virtual_machine_status_code_count.rb | 3 - .../models/win_rmconfiguration.rb | 3 - .../models/win_rmlistener.rb | 3 - .../models/windows_configuration.rb | 7 - .../azure_mgmt_compute/resource_skus.rb | 28 +- .../generated/azure_mgmt_compute/snapshots.rb | 168 ++++--- .../azure_mgmt_compute/usage_operations.rb | 29 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../virtual_machine_extension_images.rb | 37 +- .../virtual_machine_extensions.rb | 72 +-- .../virtual_machine_images.rb | 63 ++- .../virtual_machine_run_commands.rb | 41 +- .../virtual_machine_scale_set_extensions.rb | 79 ++-- ...tual_machine_scale_set_rolling_upgrades.rb | 49 +-- .../virtual_machine_scale_set_vms.rb | 183 ++++---- .../virtual_machine_scale_sets.rb | 335 +++++++------- .../virtual_machine_sizes.rb | 12 +- .../azure_mgmt_compute/virtual_machines.rb | 326 +++++++------- .../compute_management_client.rb | 7 +- .../azure_mgmt_compute/models/resource_sku.rb | 20 - .../models/resource_sku_capabilities.rb | 3 - .../models/resource_sku_capacity.rb | 5 - .../models/resource_sku_costs.rb | 4 - .../models/resource_sku_location_info.rb | 4 - .../models/resource_sku_restriction_info.rb | 5 - .../models/resource_sku_restrictions.rb | 6 - .../models/resource_skus_result.rb | 4 - .../azure_mgmt_compute/resource_skus.rb | 28 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../azure_mgmt_compute/availability_sets.rb | 70 ++- .../compute_management_client.rb | 7 +- .../generated/azure_mgmt_compute/images.rb | 128 +++--- .../azure_mgmt_compute/log_analytics.rb | 44 +- .../models/additional_unattend_content.rb | 5 - .../models/api_entity_reference.rb | 2 - .../azure_mgmt_compute/models/api_error.rb | 7 - .../models/api_error_base.rb | 4 - .../models/auto_osupgrade_policy.rb | 2 - .../models/availability_set.rb | 14 - .../models/availability_set_list_result.rb | 3 - .../models/availability_set_update.rb | 10 - .../models/boot_diagnostics.rb | 3 - .../models/boot_diagnostics_instance_view.rb | 3 - ...mpute_long_running_operation_properties.rb | 2 - .../models/compute_operation_list_result.rb | 3 - .../models/compute_operation_value.rb | 7 - .../azure_mgmt_compute/models/data_disk.rb | 10 - .../models/data_disk_image.rb | 2 - .../models/diagnostics_profile.rb | 2 - .../models/disk_encryption_settings.rb | 4 - .../models/disk_instance_view.rb | 6 - .../models/hardware_profile.rb | 2 - .../azure_mgmt_compute/models/image.rb | 10 - .../models/image_data_disk.rb | 8 - .../models/image_list_result.rb | 4 - .../azure_mgmt_compute/models/image_osdisk.rb | 9 - .../models/image_reference.rb | 6 - .../models/image_storage_profile.rb | 5 - .../azure_mgmt_compute/models/image_update.rb | 6 - .../azure_mgmt_compute/models/inner_error.rb | 3 - .../models/instance_view_status.rb | 6 - .../models/key_vault_key_reference.rb | 3 - .../models/key_vault_secret_reference.rb | 3 - .../models/linux_configuration.rb | 3 - .../models/list_usages_result.rb | 4 - .../models/log_analytics_input_base.rb | 7 - .../models/log_analytics_operation_result.rb | 7 - .../models/log_analytics_output.rb | 2 - .../models/maintenance_redeploy_status.rb | 8 - .../models/managed_disk_parameters.rb | 3 - .../models/network_interface_reference.rb | 3 - .../models/network_profile.rb | 3 - .../models/operation_status_response.rb | 6 - .../azure_mgmt_compute/models/osdisk.rb | 11 - .../azure_mgmt_compute/models/osdisk_image.rb | 2 - .../azure_mgmt_compute/models/osprofile.rb | 9 - .../azure_mgmt_compute/models/plan.rb | 5 - .../models/purchase_plan.rb | 4 - .../models/recovery_walk_response.rb | 3 - .../models/request_rate_by_interval_input.rb | 8 - .../azure_mgmt_compute/models/resource.rb | 7 - .../models/rollback_status_info.rb | 4 - .../models/rolling_upgrade_policy.rb | 5 - .../models/rolling_upgrade_progress_info.rb | 5 - .../models/rolling_upgrade_running_status.rb | 5 - .../models/rolling_upgrade_status_info.rb | 11 - .../models/run_command_document.rb | 10 - .../models/run_command_document_base.rb | 6 - .../models/run_command_input.rb | 6 - .../models/run_command_input_parameter.rb | 3 - .../models/run_command_list_result.rb | 4 - .../run_command_parameter_definition.rb | 5 - .../models/run_command_result.rb | 7 - .../azure_mgmt_compute/models/sku.rb | 4 - .../models/ssh_configuration.rb | 3 - .../models/ssh_public_key.rb | 3 - .../models/storage_profile.rb | 5 - .../azure_mgmt_compute/models/sub_resource.rb | 2 - .../models/sub_resource_read_only.rb | 2 - .../models/throttled_requests_input.rb | 7 - .../models/update_resource.rb | 3 - ...pgrade_operation_historical_status_info.rb | 4 - ...ation_historical_status_info_properties.rb | 7 - .../upgrade_operation_history_status.rb | 4 - .../models/upgrade_policy.rb | 5 - .../azure_mgmt_compute/models/usage.rb | 5 - .../azure_mgmt_compute/models/usage_name.rb | 3 - .../models/vault_certificate.rb | 3 - .../models/vault_secret_group.rb | 4 - .../models/virtual_hard_disk.rb | 2 - .../models/virtual_machine.rb | 23 - .../virtual_machine_agent_instance_view.rb | 6 - .../virtual_machine_capture_parameters.rb | 4 - .../models/virtual_machine_capture_result.rb | 3 - .../models/virtual_machine_extension.rb | 16 - ...machine_extension_handler_instance_view.rb | 4 - .../models/virtual_machine_extension_image.rb | 12 - ...virtual_machine_extension_instance_view.rb | 8 - .../virtual_machine_extension_update.rb | 10 - .../virtual_machine_extensions_list_result.rb | 3 - .../models/virtual_machine_health_status.rb | 2 - .../models/virtual_machine_identity.rb | 6 - .../models/virtual_machine_image.rb | 10 - .../models/virtual_machine_image_resource.rb | 6 - .../models/virtual_machine_instance_view.rb | 16 - .../models/virtual_machine_list_result.rb | 4 - .../models/virtual_machine_scale_set.rb | 20 - .../virtual_machine_scale_set_data_disk.rb | 8 - .../virtual_machine_scale_set_extension.rb | 11 - ...machine_scale_set_extension_list_result.rb | 4 - ...ual_machine_scale_set_extension_profile.rb | 3 - .../virtual_machine_scale_set_identity.rb | 6 - ...virtual_machine_scale_set_instance_view.rb | 6 - ...cale_set_instance_view_statuses_summary.rb | 3 - ...rtual_machine_scale_set_ipconfiguration.rb | 13 - ...achine_scale_set_list_osupgrade_history.rb | 4 - .../virtual_machine_scale_set_list_result.rb | 4 - ...tual_machine_scale_set_list_skus_result.rb | 4 - ...machine_scale_set_list_with_link_result.rb | 4 - ...chine_scale_set_managed_disk_parameters.rb | 2 - ...machine_scale_set_network_configuration.rb | 10 - ..._set_network_configuration_dns_settings.rb | 3 - ...rtual_machine_scale_set_network_profile.rb | 4 - .../virtual_machine_scale_set_osdisk.rb | 10 - .../virtual_machine_scale_set_osprofile.rb | 9 - ...cale_set_public_ipaddress_configuration.rb | 4 - ...ic_ipaddress_configuration_dns_settings.rb | 2 - .../models/virtual_machine_scale_set_sku.rb | 4 - .../virtual_machine_scale_set_sku_capacity.rb | 5 - ...rtual_machine_scale_set_storage_profile.rb | 5 - .../virtual_machine_scale_set_update.rb | 10 - ...achine_scale_set_update_ipconfiguration.rb | 13 - ..._scale_set_update_network_configuration.rb | 10 - ...achine_scale_set_update_network_profile.rb | 3 - ...virtual_machine_scale_set_update_osdisk.rb | 7 - ...tual_machine_scale_set_update_osprofile.rb | 6 - ...t_update_public_ipaddress_configuration.rb | 4 - ...achine_scale_set_update_storage_profile.rb | 5 - ...tual_machine_scale_set_update_vmprofile.rb | 7 - .../models/virtual_machine_scale_set_vm.rb | 23 - ..._machine_scale_set_vmextensions_summary.rb | 4 - ...irtual_machine_scale_set_vminstance_ids.rb | 3 - ...chine_scale_set_vminstance_required_ids.rb | 3 - ...rtual_machine_scale_set_vminstance_view.rb | 15 - ...virtual_machine_scale_set_vmlist_result.rb | 4 - .../virtual_machine_scale_set_vmprofile.rb | 9 - .../models/virtual_machine_size.rb | 7 - .../virtual_machine_size_list_result.rb | 3 - .../virtual_machine_status_code_count.rb | 3 - .../models/virtual_machine_update.rb | 17 - .../models/win_rmconfiguration.rb | 3 - .../models/win_rmlistener.rb | 3 - .../models/windows_configuration.rb | 7 - .../azure_mgmt_compute/operations.rb | 11 +- .../azure_mgmt_compute/usage_operations.rb | 29 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../virtual_machine_extension_images.rb | 37 +- .../virtual_machine_extensions.rb | 72 +-- .../virtual_machine_images.rb | 63 ++- .../virtual_machine_run_commands.rb | 41 +- .../virtual_machine_scale_set_extensions.rb | 79 ++-- ...tual_machine_scale_set_rolling_upgrades.rb | 49 +-- .../virtual_machine_scale_set_vms.rb | 242 +++++----- .../virtual_machine_scale_sets.rb | 416 +++++++++--------- .../virtual_machine_sizes.rb | 12 +- .../azure_mgmt_compute/virtual_machines.rb | 347 +++++++-------- .../generated/azure_mgmt_compute.rb | 25 +- .../compute_management_client.rb | 7 +- .../generated/azure_mgmt_compute/disks.rb | 206 ++++----- .../azure_mgmt_compute/models/access_uri.rb | 4 +- .../models/creation_data.rb | 6 - .../azure_mgmt_compute/models/disk.rb | 17 - .../azure_mgmt_compute/models/disk_list.rb | 4 - .../azure_mgmt_compute/models/disk_sku.rb | 3 - .../azure_mgmt_compute/models/disk_update.rb | 59 ++- .../models/encryption_settings.rb | 4 - .../models/grant_access_data.rb | 3 - .../models/image_disk_reference.rb | 3 - .../models/key_vault_and_key_reference.rb | 3 - .../models/key_vault_and_secret_reference.rb | 3 - .../azure_mgmt_compute/models/resource.rb | 7 - .../azure_mgmt_compute/models/snapshot.rb | 15 - .../models/snapshot_list.rb | 4 - .../azure_mgmt_compute/models/snapshot_sku.rb | 3 - .../models/snapshot_update.rb | 59 ++- .../azure_mgmt_compute/models/source_vault.rb | 2 - .../generated/azure_mgmt_compute/snapshots.rb | 206 ++++----- .../generated/azure_mgmt_compute/version.rb | 8 + .../lib/azure_mgmt_compute.rb | 5 +- .../latest/modules/compute_profile_module.rb | 68 ++- 677 files changed, 3651 insertions(+), 7375 deletions(-) create mode 100644 management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/version.rb diff --git a/azure_sdk/lib/latest/modules/compute_profile_module.rb b/azure_sdk/lib/latest/modules/compute_profile_module.rb index 7b38fcdc57..be64c5e0c4 100644 --- a/azure_sdk/lib/latest/modules/compute_profile_module.rb +++ b/azure_sdk/lib/latest/modules/compute_profile_module.rb @@ -27,23 +27,22 @@ module Mgmt VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineRunCommands module Models + EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate + CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData DiskList = Azure::Compute::Mgmt::V2018_04_01::Models::DiskList + KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference SnapshotSku = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku - ResourceUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::ResourceUpdate GrantAccessData = Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData - CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData - AccessUri = Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri - KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference - KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference - EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings - DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku SourceVault = Azure::Compute::Mgmt::V2018_04_01::Models::SourceVault - SnapshotList = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + AccessUri = Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri ImageDiskReference = Azure::Compute::Mgmt::V2018_04_01::Models::ImageDiskReference + SnapshotList = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference + SnapshotUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate Disk = Azure::Compute::Mgmt::V2018_04_01::Models::Disk - DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate Snapshot = Azure::Compute::Mgmt::V2018_04_01::Models::Snapshot - SnapshotUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate DiskCreateOption = Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption SnapshotStorageAccountTypes = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotStorageAccountTypes AccessLevel = Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel @@ -287,57 +286,54 @@ def method_missing(method, *args) end class ModelClasses - def disk_list - Azure::Compute::Mgmt::V2018_04_01::Models::DiskList - end - def snapshot_sku - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku + def encryption_settings + Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings end - def resource_update - Azure::Compute::Mgmt::V2018_04_01::Models::ResourceUpdate + def disk_sku + Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku end - def grant_access_data - Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData + def disk_update + Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate end def creation_data Azure::Compute::Mgmt::V2018_04_01::Models::CreationData end - def access_uri - Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri + def disk_list + Azure::Compute::Mgmt::V2018_04_01::Models::DiskList end def key_vault_and_secret_reference Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference end - def key_vault_and_key_reference - Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference - end - def encryption_settings - Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + def snapshot_sku + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku end - def disk_sku - Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + def grant_access_data + Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData end def source_vault Azure::Compute::Mgmt::V2018_04_01::Models::SourceVault end - def snapshot_list - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + def access_uri + Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri end def image_disk_reference Azure::Compute::Mgmt::V2018_04_01::Models::ImageDiskReference end + def snapshot_list + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + end + def key_vault_and_key_reference + Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference + end + def snapshot_update + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate + end def disk Azure::Compute::Mgmt::V2018_04_01::Models::Disk end - def disk_update - Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate - end def snapshot Azure::Compute::Mgmt::V2018_04_01::Models::Snapshot end - def snapshot_update - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate - end def disk_create_option Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb index 76ef20946a..36e7985a74 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [AvailabilitySet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers 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::Compute::Mgmt::V2015_06_15::Models::AvailabilitySet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -137,8 +138,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, availability_set_name, custom_headers:nil) - response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, availability_set_name, custom_headers = nil) + response = delete_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +153,8 @@ def delete(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + delete_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -166,7 +167,7 @@ def delete_with_http_info(resource_group_name, availability_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, availability_set_name, custom_headers:nil) + def delete_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -174,7 +175,6 @@ def delete_async(resource_group_name, availability_set_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 @@ -229,8 +229,8 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySet] operation results. # - def get(resource_group_name, availability_set_name, custom_headers:nil) - response = get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, availability_set_name, custom_headers = nil) + response = get_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -244,8 +244,8 @@ def get(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + get_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -258,7 +258,7 @@ def get_with_http_info(resource_group_name, availability_set_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, availability_set_name, custom_headers:nil) + def get_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -266,7 +266,6 @@ def get_async(resource_group_name, availability_set_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 @@ -320,8 +319,8 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySetListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -334,8 +333,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -347,14 +346,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -410,8 +408,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, availability_set_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, availability_set_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -426,8 +424,8 @@ def list_available_sizes(resource_group_name, availability_set_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -441,7 +439,7 @@ def list_available_sizes_with_http_info(resource_group_name, availability_set_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -449,7 +447,6 @@ def list_available_sizes_async(resource_group_name, availability_set_name, custo 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_compute/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb index 3a0e3dadd9..7a65d7da58 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb @@ -138,9 +138,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? @@ -157,7 +154,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2015_06_15::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2015_06_15::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/additional_unattend_content.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/additional_unattend_content.rb index 54ef57d8d9..ced94450b4 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/additional_unattend_content.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/additional_unattend_content.rb @@ -42,7 +42,6 @@ class AdditionalUnattendContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContent', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AdditionalUnattendContent', model_properties: { pass_name: { - client_side_validation: true, required: false, serialized_name: 'passName', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, component_name: { - client_side_validation: true, required: false, serialized_name: 'componentName', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, setting_name: { - client_side_validation: true, required: false, serialized_name: 'settingName', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_entity_reference.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_entity_reference.rb index f6e6f4d261..2012be88f5 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_entity_reference.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_entity_reference.rb @@ -23,7 +23,6 @@ class ApiEntityReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiEntityReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ApiEntityReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error.rb index 786ea0f239..9644ad5d87 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error.rb @@ -34,7 +34,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'ApiError', model_properties: { details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBaseElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, innererror: { - client_side_validation: true, required: false, serialized_name: 'innererror', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error_base.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error_base.rb index 01a8697e1a..a69d281a52 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error_base.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error_base.rb @@ -28,7 +28,6 @@ class ApiErrorBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBase', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApiErrorBase', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb index 15593b084f..8885002e80 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb @@ -42,7 +42,6 @@ class AvailabilitySet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySet', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AvailabilitySet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -59,7 +57,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -68,7 +65,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -77,7 +73,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -85,13 +80,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: { @@ -101,7 +94,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -117,13 +108,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,14 +123,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set_list_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set_list_result.rb index c40fa7c32e..a31a6b8e75 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set_list_result.rb @@ -22,7 +22,6 @@ class AvailabilitySetListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AvailabilitySetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb index c1d169978f..97d8aa0822 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb @@ -31,7 +31,6 @@ class BootDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnostics', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BootDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, serialized_name: 'storageUri', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb index 40a23cb5d1..34103182f2 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb @@ -25,7 +25,6 @@ class BootDiagnosticsInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnosticsInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BootDiagnosticsInstanceView', model_properties: { console_screenshot_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'consoleScreenshotBlobUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, serial_console_log_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'serialConsoleLogBlobUri', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb index d6b7bff229..30fa8549ef 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb @@ -22,7 +22,6 @@ class ComputeLongRunningOperationProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeLongRunningOperationProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ComputeLongRunningOperationProperties', model_properties: { output: { - client_side_validation: true, required: false, serialized_name: 'output', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb index 10659bd3fc..3a346792d1 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb @@ -60,7 +60,6 @@ class DataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDisk', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'DataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: true, serialized_name: 'vhd', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -111,7 +105,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -120,7 +113,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk_image.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk_image.rb index 85819c7256..15fdf33383 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk_image.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk_image.rb @@ -24,7 +24,6 @@ class DataDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDiskImage', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'DataDiskImage', model_properties: { lun: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb index 949308d837..83bafbce0e 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb @@ -28,7 +28,6 @@ class DiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiagnosticsProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'DiagnosticsProfile', model_properties: { boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_encryption_settings.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_encryption_settings.rb index c693b6e7c2..07826581cc 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_encryption_settings.rb @@ -31,7 +31,6 @@ class DiskEncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'DiskEncryptionSettings', model_properties: { disk_encryption_key: { - client_side_validation: true, required: true, serialized_name: 'diskEncryptionKey', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb index 94accd0eb5..6daa2440b8 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb @@ -25,7 +25,6 @@ class DiskInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'DiskInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb index e5b178e1b0..ba9afbc2bf 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb @@ -46,7 +46,6 @@ class HardwareProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HardwareProfile', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'HardwareProfile', model_properties: { vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/image_reference.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/image_reference.rb index 5443a7ffbf..708dfdaba2 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/image_reference.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/image_reference.rb @@ -42,7 +42,6 @@ class ImageReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageReference', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ImageReference', model_properties: { publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/inner_error.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/inner_error.rb index f3659f2345..3cf9fc379e 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/inner_error.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/inner_error.rb @@ -25,7 +25,6 @@ class InnerError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InnerError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'InnerError', model_properties: { exceptiontype: { - client_side_validation: true, required: false, serialized_name: 'exceptiontype', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, errordetail: { - client_side_validation: true, required: false, serialized_name: 'errordetail', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/instance_view_status.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/instance_view_status.rb index b5a2eb4587..36ffab7004 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/instance_view_status.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/instance_view_status.rb @@ -36,7 +36,6 @@ class InstanceViewStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatus', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'InstanceViewStatus', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, level: { - client_side_validation: true, required: false, serialized_name: 'level', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_key_reference.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_key_reference.rb index 1d8dd95b9d..e8a8b26e80 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_key_reference.rb @@ -26,7 +26,6 @@ class KeyVaultKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultKeyReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultKeyReference', model_properties: { key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb index 2e5ebd97f7..4d44d27aa9 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultSecretReference', model_properties: { secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/linux_configuration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/linux_configuration.rb index d786811c4c..239a746b06 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/linux_configuration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/linux_configuration.rb @@ -33,7 +33,6 @@ class LinuxConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinuxConfiguration', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'LinuxConfiguration', model_properties: { disable_password_authentication: { - client_side_validation: true, required: false, serialized_name: 'disablePasswordAuthentication', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: false, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/list_usages_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/list_usages_result.rb index 21ae97ec21..9f98be54d9 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/list_usages_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/list_usages_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListUsagesResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ListUsagesResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_interface_reference.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_interface_reference.rb index 38fe916133..66d490c067 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_interface_reference.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_interface_reference.rb @@ -23,7 +23,6 @@ class NetworkInterfaceReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'NetworkInterfaceReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -39,7 +37,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_profile.rb index 568128b882..7e71e08270 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_profile.rb @@ -24,7 +24,6 @@ class NetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'NetworkProfile', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReferenceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/operation_status_response.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/operation_status_response.rb index 9c6031f3de..f2c82e10e4 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/operation_status_response.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/operation_status_response.rb @@ -34,7 +34,6 @@ class OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationStatusResponse', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'OperationStatusResponse', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -60,7 +57,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -69,7 +65,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -78,7 +73,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb index c3601a0fab..9eb4450822 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb @@ -69,7 +69,6 @@ class OSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDisk', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'OSDisk', model_properties: { os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { @@ -95,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -103,7 +99,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: true, serialized_name: 'vhd', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -121,7 +115,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -130,7 +123,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -139,7 +131,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk_image.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk_image.rb index 695522d6fa..5701ad55b8 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk_image.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk_image.rb @@ -23,7 +23,6 @@ class OSDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDiskImage', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'OSDiskImage', model_properties: { operating_system: { - client_side_validation: true, required: true, serialized_name: 'operatingSystem', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb index 88ad6fa88e..3f8a1becab 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb @@ -86,7 +86,6 @@ class OSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSProfile', type: { @@ -94,7 +93,6 @@ def self.mapper() class_name: 'OSProfile', model_properties: { computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -144,13 +137,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/plan.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/plan.rb index fa63eb9d45..a4bd9c130c 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/plan.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/plan.rb @@ -38,7 +38,6 @@ class Plan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Plan', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Plan', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, serialized_name: 'product', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, promotion_code: { - client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/purchase_plan.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/purchase_plan.rb index 4c322a768b..a3eafc445a 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/purchase_plan.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/purchase_plan.rb @@ -31,7 +31,6 @@ class PurchasePlan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PurchasePlan', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'PurchasePlan', model_properties: { publisher: { - client_side_validation: true, required: true, serialized_name: 'publisher', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: true, serialized_name: 'product', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/resource.rb index 94fff363fa..dc9f9b4ce2 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sku.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sku.rb index 86d4c7cfb1..3269449ccf 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sku.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sku.rb @@ -31,7 +31,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_configuration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_configuration.rb index 440a120759..1bab3c1885 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_configuration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_configuration.rb @@ -23,7 +23,6 @@ class SshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: false, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_public_key.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_public_key.rb index 8709df1b24..cb6a6c675e 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_public_key.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_public_key.rb @@ -32,7 +32,6 @@ class SshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshPublicKey', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'SshPublicKey', model_properties: { path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_data: { - client_side_validation: true, required: false, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/storage_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/storage_profile.rb index 83e93c687b..ec2e4dd8f6 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/storage_profile.rb @@ -38,7 +38,6 @@ class StorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageProfile', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'StorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -64,13 +61,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sub_resource.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sub_resource.rb index 7a03021a06..c912d03555 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sub_resource.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/update_resource.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/update_resource.rb index dadab0f9f2..18c5e55b96 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/update_resource.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/update_resource.rb @@ -22,7 +22,6 @@ class UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpdateResource', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UpdateResource', 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_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_policy.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_policy.rb index 9a474152f9..164adc83c9 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_policy.rb @@ -28,7 +28,6 @@ class UpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradePolicy', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'UpgradePolicy', model_properties: { mode: { - client_side_validation: true, required: false, serialized_name: 'mode', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage.rb index a0e7e29205..168e97e71a 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage_name.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage_name.rb index d99e1a762e..b5792b0e95 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage_name.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb index 1436ca0f7d..c9ce651cfd 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb @@ -40,7 +40,6 @@ class VaultCertificate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VaultCertificate', model_properties: { certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, certificate_store: { - client_side_validation: true, required: false, serialized_name: 'certificateStore', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_secret_group.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_secret_group.rb index e332ffc2aa..bfaca71c41 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_secret_group.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_secret_group.rb @@ -27,7 +27,6 @@ class VaultSecretGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VaultSecretGroup', model_properties: { source_vault: { - client_side_validation: true, required: false, serialized_name: 'sourceVault', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, vault_certificates: { - client_side_validation: true, required: false, serialized_name: 'vaultCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultCertificateElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_hard_disk.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_hard_disk.rb index 7701bcfc8a..7569a5c875 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_hard_disk.rb @@ -22,7 +22,6 @@ class VirtualHardDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualHardDisk', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualHardDisk', model_properties: { uri: { - client_side_validation: true, required: false, serialized_name: 'uri', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb index 34dd42ae11..3adf34123b 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb @@ -83,7 +83,6 @@ class VirtualMachine < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachine', type: { @@ -91,7 +90,6 @@ def self.mapper() class_name: 'VirtualMachine', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -100,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -109,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -118,7 +114,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -126,13 +121,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: { @@ -142,7 +135,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -151,7 +143,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -160,7 +151,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -169,7 +159,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -178,7 +167,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -187,7 +175,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -196,7 +183,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -214,7 +199,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -224,7 +208,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -232,14 +215,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb index 18d5453eed..92cc68bacb 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb @@ -29,7 +29,6 @@ class VirtualMachineAgentInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineAgentInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineAgentInstanceView', model_properties: { vm_agent_version: { - client_side_validation: true, required: false, serialized_name: 'vmAgentVersion', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, extension_handlers: { - client_side_validation: true, required: false, serialized_name: 'extensionHandlers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb index 619d1c97e3..8a1c8b4651 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb @@ -29,7 +29,6 @@ class VirtualMachineCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureParameters', model_properties: { vhd_prefix: { - client_side_validation: true, required: true, serialized_name: 'vhdPrefix', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, destination_container_name: { - client_side_validation: true, required: true, serialized_name: 'destinationContainerName', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, overwrite_vhds: { - client_side_validation: true, required: true, serialized_name: 'overwriteVhds', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb index 017832ff33..6560bfa3ea 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb @@ -22,7 +22,6 @@ class VirtualMachineCaptureResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -38,7 +36,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension.rb index 1aa71ccf8c..8d8dc5bb17 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineExtension < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineExtension', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,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: { @@ -113,7 +106,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, virtual_machine_extension_type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -178,7 +163,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, serialized_name: 'properties.instanceView', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb index 351ba5188e..a198e298df 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineExtensionHandlerInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionHandlerInstanceView', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb index a90351359d..a8e84fd021 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb @@ -39,7 +39,6 @@ class VirtualMachineExtensionImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImage', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionImage', 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() } }, operating_system: { - client_side_validation: true, required: true, serialized_name: 'properties.operatingSystem', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, compute_role: { - client_side_validation: true, required: true, serialized_name: 'properties.computeRole', type: { @@ -114,7 +105,6 @@ def self.mapper() } }, handler_schema: { - client_side_validation: true, required: true, serialized_name: 'properties.handlerSchema', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, vm_scale_set_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.vmScaleSetEnabled', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, supports_multiple_extensions: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsMultipleExtensions', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb index d06c7c4f8e..549ac5ed32 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb @@ -35,7 +35,6 @@ class VirtualMachineExtensionInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceView', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, substatuses: { - client_side_validation: true, required: false, serialized_name: 'substatuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -84,13 +78,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb index ed274e6238..0ef079f35f 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb @@ -46,7 +46,6 @@ class VirtualMachineExtensionUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionUpdate', type: { @@ -54,13 +53,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionUpdate', 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: { @@ -70,7 +67,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image.rb index f0d2c21e82..74fd7129e2 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image.rb @@ -28,7 +28,6 @@ class VirtualMachineImage < VirtualMachineImageResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImage', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineImage', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -60,13 +56,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: { @@ -76,7 +70,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'properties.plan', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, os_disk_image: { - client_side_validation: true, required: false, serialized_name: 'properties.osDiskImage', type: { @@ -94,13 +86,11 @@ def self.mapper() } }, data_disk_images: { - client_side_validation: true, required: false, serialized_name: 'properties.dataDiskImages', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb index 72b3b860eb..94d6eea715 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb @@ -31,7 +31,6 @@ class VirtualMachineImageResource < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineImageResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -63,13 +59,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_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb index cc96ed0eaa..049b7ccdc6 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb @@ -50,7 +50,6 @@ class VirtualMachineInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineInstanceView', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -91,13 +86,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -134,13 +124,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb index a8bb84f9b3..e7ff932bd5 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualMachineListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb index 5ca37655ea..ec1658e3d8 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb @@ -36,7 +36,6 @@ class VirtualMachineScaleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSet', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSet', 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() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -113,7 +104,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, over_provision: { - client_side_validation: true, required: false, serialized_name: 'properties.overProvision', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb index 97b3623c4d..cc33aa5714 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb @@ -45,7 +45,6 @@ class VirtualMachineScaleSetExtension < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtension', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtension', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -117,7 +108,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb index 1abff26c07..002fbc83d3 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetExtensionProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionProfile', model_properties: { extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb index e1f74114a7..fd482714c5 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineScaleSetInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceView', model_properties: { virtual_machine: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'virtualMachine', @@ -48,14 +46,12 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummaryElementType', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb index 38caa7c24d..61b74951ce 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetInstanceViewStatusesSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', type: { @@ -33,14 +32,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', model_properties: { statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb index 02111c88b7..83116ae101 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: true, serialized_name: 'properties.subnet', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -81,13 +75,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb index c659a3aab9..d31a9a4f73 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb index 7c5646f656..e9412c47e2 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListSkusResult', type: { @@ -68,14 +67,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListSkusResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb index a83a2dd94d..1e1b660560 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListWithLinkResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListWithLinkResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb index 1b2ec654e8..2e8ea03a88 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -63,13 +59,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb index 99a30053c0..05da3c24d8 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkProfile', model_properties: { network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb index d4cd8cbfed..eaf8e280f3 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb @@ -54,7 +54,6 @@ class VirtualMachineScaleSetOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSDisk', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSDisk', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -106,13 +100,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb index ef48af1a5d..da571cd809 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb @@ -73,7 +73,6 @@ class VirtualMachineScaleSetOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSProfile', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSProfile', model_properties: { computer_name_prefix: { - client_side_validation: true, required: false, serialized_name: 'computerNamePrefix', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -97,7 +94,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -105,7 +101,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -113,7 +108,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -122,7 +116,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -131,13 +124,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb index 892fa051c7..67f244e463 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -46,7 +44,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb index 47d8faf4df..d458aca83e 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb @@ -32,7 +32,6 @@ class VirtualMachineScaleSetSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default_capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultCapacity', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb index b26f204829..37a49e107c 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetStorageProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb index 7c5f97effb..3306bd0397 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb @@ -93,7 +93,6 @@ class VirtualMachineScaleSetVM < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVM', type: { @@ -101,7 +100,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVM', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -110,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -119,7 +116,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -128,7 +124,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -136,13 +131,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: { @@ -152,7 +145,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceId', @@ -161,7 +153,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -171,7 +162,6 @@ def self.mapper() } }, latest_model_applied: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.latestModelApplied', @@ -180,7 +170,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -190,7 +179,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -199,7 +187,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -208,7 +195,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -217,7 +203,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -226,7 +211,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -235,7 +219,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -244,7 +227,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -252,7 +234,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -260,7 +241,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -269,14 +249,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb index 7a55bf52c9..42c88e8b45 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetVMExtensionsSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummary', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMExtensionsSummary', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -44,14 +42,12 @@ def self.mapper() } }, statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb index cc010d3397..d5c9890918 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetVMInstanceIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceIDs', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceIDs', model_properties: { instance_ids: { - client_side_validation: true, required: false, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb index 98530f392b..a7feed227b 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetVMInstanceRequiredIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', model_properties: { instance_ids: { - client_side_validation: true, required: true, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb index f434357f5a..3e4fefbe44 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb @@ -50,7 +50,6 @@ class VirtualMachineScaleSetVMInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -91,13 +86,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -134,13 +124,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb index 3c312e64dc..899b2a2861 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb index fa814bcce4..3a756245d9 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb @@ -35,7 +35,6 @@ class VirtualMachineScaleSetVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMProfile', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size.rb index b54177dc88..fcc6ef1e25 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size.rb @@ -42,7 +42,6 @@ class VirtualMachineSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSize', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineSize', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, number_of_cores: { - client_side_validation: true, required: false, serialized_name: 'numberOfCores', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, os_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'osDiskSizeInMB', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, resource_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'resourceDiskSizeInMB', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, memory_in_mb: { - client_side_validation: true, required: false, serialized_name: 'memoryInMB', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, max_data_disk_count: { - client_side_validation: true, required: false, serialized_name: 'maxDataDiskCount', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb index 6b12aebfd8..e978d8189d 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineSizeListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineSizeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb index d8ea31cdf0..9768e30dd6 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb @@ -27,7 +27,6 @@ class VirtualMachineStatusCodeCount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCount', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineStatusCodeCount', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -44,7 +42,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmconfiguration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmconfiguration.rb index cac431b8b8..7454547099 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmconfiguration.rb @@ -23,7 +23,6 @@ class WinRMConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WinRMConfiguration', model_properties: { listeners: { - client_side_validation: true, required: false, serialized_name: 'listeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WinRMListenerElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmlistener.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmlistener.rb index d4a7dbfc85..d3b9290a35 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmlistener.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmlistener.rb @@ -34,7 +34,6 @@ class WinRMListener # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMListener', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WinRMListener', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/windows_configuration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/windows_configuration.rb index 965e8b8919..b6037889f3 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/windows_configuration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/windows_configuration.rb @@ -43,7 +43,6 @@ class WindowsConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WindowsConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'WindowsConfiguration', model_properties: { provision_vmagent: { - client_side_validation: true, required: false, serialized_name: 'provisionVMAgent', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, enable_automatic_updates: { - client_side_validation: true, required: false, serialized_name: 'enableAutomaticUpdates', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'timeZone', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, additional_unattend_content: { - client_side_validation: true, required: false, serialized_name: 'additionalUnattendContent', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContentElementType', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, win_rm: { - client_side_validation: true, required: false, serialized_name: 'winRM', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/usage_operations.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/usage_operations.rb index 451e9a7974..502b750c7f 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/usage_operations.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/usage_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -48,8 +48,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -63,15 +63,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +126,8 @@ def list_async(location, custom_headers:nil) # # @return [ListUsagesResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -145,8 +143,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -161,12 +159,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,12 +219,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ListUsagesResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..6ca28bde5b --- /dev/null +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/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::Compute::Mgmt::V2015_06_15 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extension_images.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extension_images.rb index d9e0b1deab..8b6ec1ee98 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extension_images.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionImage] operation results. # - def get(location, publisher_name, type, version, custom_headers:nil) - response = get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get(location, publisher_name, type, version, custom_headers = nil) + response = get_async(location, publisher_name, type, version, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(location, publisher_name, type, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, type, version, custom_headers:nil) - get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, type, version, custom_headers = nil) + get_async(location, publisher_name, type, version, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_with_http_info(location, publisher_name, type, version, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, type, version, custom_headers:nil) + def get_async(location, publisher_name, type, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -76,7 +76,6 @@ def get_async(location, publisher_name, type, version, 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 @@ -131,8 +130,8 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) # # @return [Array] operation results. # - def list_types(location, publisher_name, custom_headers:nil) - response = list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types(location, publisher_name, custom_headers = nil) + response = list_types_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -146,8 +145,8 @@ def list_types(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_types_with_http_info(location, publisher_name, custom_headers:nil) - list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types_with_http_info(location, publisher_name, custom_headers = nil) + list_types_async(location, publisher_name, custom_headers).value! end # @@ -160,7 +159,7 @@ def list_types_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_types_async(location, publisher_name, custom_headers:nil) + def list_types_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -168,7 +167,6 @@ def list_types_async(location, publisher_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 @@ -201,13 +199,11 @@ def list_types_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { @@ -243,8 +239,8 @@ def list_types_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -262,8 +258,8 @@ def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_versions_with_http_info(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions_with_http_info(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! end # @@ -280,7 +276,7 @@ def list_versions_with_http_info(location, publisher_name, type, filter:nil, top # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_versions_async(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_versions_async(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -289,7 +285,6 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -322,13 +317,11 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extensions.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extensions.rb index 118c21451a..ac2c2defea 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extensions.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineExtension] operation results. # - def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, vm_name, vm_extension_name, exte # # @return [VirtualMachineExtension] operation results. # - def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, vm_name, vm_extension_name, extension_parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -149,9 +149,9 @@ def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -180,8 +180,8 @@ def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [VirtualMachineExtension] operation results. # - def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -198,8 +198,8 @@ def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! end # @@ -215,7 +215,7 @@ def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -224,7 +224,6 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -283,8 +282,8 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo # # @return [VirtualMachineExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -302,8 +301,8 @@ def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, exte # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -320,7 +319,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_exten # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -330,12 +329,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name 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::Compute::Mgmt::V2015_06_15::Models::VirtualMachineExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -406,8 +406,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name # # @return [VirtualMachineExtension] operation results. # - def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -425,8 +425,8 @@ def begin_update(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -443,7 +443,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -453,12 +453,13 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio 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::Compute::Mgmt::V2015_06_15::Models::VirtualMachineExtensionUpdate.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -517,8 +518,8 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -534,8 +535,8 @@ def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! end # @@ -550,7 +551,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -559,7 +560,6 @@ def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_h 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_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_images.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_images.rb index 6ebffb470b..273573a738 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_images.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_images.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineImage] operation results. # - def get(location, publisher_name, offer, skus, version, custom_headers:nil) - response = get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get(location, publisher_name, offer, skus, version, custom_headers = nil) + response = get_async(location, publisher_name, offer, skus, version, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(location, publisher_name, offer, skus, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers:nil) - get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers = nil) + get_async(location, publisher_name, offer, skus, version, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(location, publisher_name, offer, skus, version, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, offer, skus, version, custom_headers:nil) + def get_async(location, publisher_name, offer, skus, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -80,7 +80,6 @@ def get_async(location, publisher_name, offer, skus, version, 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 @@ -141,8 +140,8 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil # # @return [Array] operation results. # - def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -162,8 +161,8 @@ def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! end # @@ -182,7 +181,7 @@ def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -192,7 +191,6 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,13 +223,11 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -264,8 +260,8 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order # # @return [Array] operation results. # - def list_offers(location, publisher_name, custom_headers:nil) - response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers(location, publisher_name, custom_headers = nil) + response = list_offers_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -280,8 +276,8 @@ def list_offers(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_offers_with_http_info(location, publisher_name, custom_headers:nil) - list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers_with_http_info(location, publisher_name, custom_headers = nil) + list_offers_async(location, publisher_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_offers_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_offers_async(location, publisher_name, custom_headers:nil) + def list_offers_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_offers_async(location, publisher_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 @@ -336,13 +331,11 @@ def list_offers_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -374,8 +367,8 @@ def list_offers_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_publishers(location, custom_headers:nil) - response = list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers(location, custom_headers = nil) + response = list_publishers_async(location, custom_headers).value! response.body unless response.nil? end @@ -389,8 +382,8 @@ def list_publishers(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_publishers_with_http_info(location, custom_headers:nil) - list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers_with_http_info(location, custom_headers = nil) + list_publishers_async(location, custom_headers).value! end # @@ -403,14 +396,13 @@ def list_publishers_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_publishers_async(location, custom_headers:nil) + def list_publishers_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,13 +435,11 @@ def list_publishers_async(location, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -483,8 +473,8 @@ def list_publishers_async(location, custom_headers:nil) # # @return [Array] operation results. # - def list_skus(location, publisher_name, offer, custom_headers:nil) - response = list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus(location, publisher_name, offer, custom_headers = nil) + response = list_skus_async(location, publisher_name, offer, custom_headers).value! response.body unless response.nil? end @@ -500,8 +490,8 @@ def list_skus(location, publisher_name, offer, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil) - list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus_with_http_info(location, publisher_name, offer, custom_headers = nil) + list_skus_async(location, publisher_name, offer, custom_headers).value! end # @@ -516,7 +506,7 @@ def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(location, publisher_name, offer, custom_headers:nil) + def list_skus_async(location, publisher_name, offer, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -525,7 +515,6 @@ def list_skus_async(location, publisher_name, offer, 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 @@ -558,13 +547,11 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb index 8ec5e53f44..3168db0c04 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -48,9 +48,9 @@ def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -95,9 +95,9 @@ def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -124,8 +124,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -139,9 +139,9 @@ def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +168,8 @@ def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [VirtualMachineScaleSetVM] operation results. # - def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -184,8 +184,8 @@ def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -199,7 +199,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -208,7 +208,6 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -264,8 +263,8 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header # # @return [VirtualMachineScaleSetVMInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -280,8 +279,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -295,7 +294,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -304,7 +303,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -362,8 +360,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [Array] operation results. # - def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers) + def list(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers) first_page.get_all_items end @@ -380,8 +378,8 @@ def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! end # @@ -397,7 +395,7 @@ def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, fil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) + def list_async(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -405,7 +403,6 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -463,8 +460,8 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -478,9 +475,9 @@ def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +504,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -522,9 +519,9 @@ def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -551,8 +548,8 @@ def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -566,9 +563,9 @@ def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -596,8 +593,8 @@ def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -613,8 +610,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -629,7 +626,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -638,7 +635,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -697,8 +693,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -716,8 +712,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -734,7 +730,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -743,7 +739,6 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -799,8 +794,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -815,8 +810,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -830,7 +825,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -839,7 +834,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -897,8 +891,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -915,8 +909,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -932,7 +926,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, insta # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -941,7 +935,6 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -997,8 +990,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1013,8 +1006,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1028,7 +1021,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1037,7 +1030,6 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1093,8 +1085,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1109,8 +1101,8 @@ def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1124,7 +1116,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1133,7 +1125,6 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1188,8 +1179,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [VirtualMachineScaleSetVMListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1203,8 +1194,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1217,12 +1208,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1280,12 +1270,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetVMListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - response = list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + response = list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb index f2f012491f..3da8712ace 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [VirtualMachineScaleSet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -117,8 +117,8 @@ def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def get(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -132,8 +132,8 @@ def get(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -146,7 +146,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -154,7 +154,6 @@ def get_async(resource_group_name, vm_scale_set_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 @@ -213,8 +212,8 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -229,9 +228,9 @@ def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +258,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [OperationStatusResponse] operation results. # - def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -275,9 +274,9 @@ def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -303,8 +302,8 @@ def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [VirtualMachineScaleSetInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -318,8 +317,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -332,7 +331,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -340,7 +339,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_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 @@ -394,8 +392,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -408,8 +406,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -421,14 +419,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -484,8 +481,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -500,8 +497,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -515,13 +512,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -577,8 +573,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list_skus(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -593,8 +589,8 @@ def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -608,7 +604,7 @@ def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -616,7 +612,6 @@ def list_skus_async(resource_group_name, vm_scale_set_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 @@ -675,8 +670,8 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -691,9 +686,9 @@ def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -721,8 +716,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -737,9 +732,9 @@ def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -767,8 +762,8 @@ def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -783,9 +778,9 @@ def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -814,8 +809,8 @@ def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [OperationStatusResponse] operation results. # - def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -830,9 +825,9 @@ def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -859,8 +854,8 @@ def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -873,9 +868,9 @@ def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -902,8 +897,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def begin_create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -918,8 +913,8 @@ def begin_create_or_update(resource_group_name, name, parameters, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -933,7 +928,7 @@ def begin_create_or_update_with_http_info(resource_group_name, name, parameters, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -942,12 +937,13 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h 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::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1014,8 +1010,8 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1029,8 +1025,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1043,7 +1039,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1051,7 +1047,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1110,8 +1105,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1129,8 +1124,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1147,7 +1142,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1155,12 +1150,13 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i 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::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1219,8 +1215,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1236,8 +1232,8 @@ def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1252,7 +1248,7 @@ def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1261,12 +1257,13 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst 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::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1327,8 +1324,8 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1346,8 +1343,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1364,7 +1361,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_in # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1372,12 +1369,13 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id 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::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1436,8 +1434,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1453,8 +1451,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1469,7 +1467,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1477,12 +1475,13 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: 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::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1541,8 +1540,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1558,8 +1557,8 @@ def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1574,7 +1573,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1582,12 +1581,13 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni 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::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1647,8 +1647,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [OperationStatusResponse] operation results. # - def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1665,8 +1665,8 @@ def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1682,7 +1682,7 @@ def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1691,12 +1691,13 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst 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::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1754,8 +1755,8 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1770,8 +1771,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1785,7 +1786,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1793,7 +1794,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1848,8 +1848,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n # # @return [VirtualMachineScaleSetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1863,8 +1863,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1877,12 +1877,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1939,8 +1938,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListWithLinkResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1957,8 +1956,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1974,12 +1973,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2034,8 +2032,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListSkusResult] operation results. # - def list_skus_next(next_page_link, custom_headers:nil) - response = list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next(next_page_link, custom_headers = nil) + response = list_skus_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2050,8 +2048,8 @@ def list_skus_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_next_with_http_info(next_page_link, custom_headers:nil) - list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next_with_http_info(next_page_link, custom_headers = nil) + list_skus_next_async(next_page_link, custom_headers).value! end # @@ -2065,12 +2063,11 @@ def list_skus_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_next_async(next_page_link, custom_headers:nil) + def list_skus_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2124,12 +2121,12 @@ def list_skus_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2147,12 +2144,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineScaleSetListWithLinkResult] which provide lazy access # to pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -2170,12 +2167,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualMachineScaleSetListSkusResult] which provide lazy access to # pages of the response. # - def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_skus_next_async(next_page_link, custom_headers:custom_headers) + list_skus_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_sizes.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_sizes.rb index 64dac9100d..9ce6f8e922 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_sizes.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_sizes.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [VirtualMachineSizeListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +60,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb index af1f83d3c0..c7bd956336 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineCaptureResult] operation results. # - def capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,9 +50,9 @@ def capture(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -96,9 +96,9 @@ def create_or_update(resource_group_name, vm_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -124,8 +124,8 @@ def create_or_update_async(resource_group_name, vm_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -138,9 +138,9 @@ def delete(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -169,8 +169,8 @@ def delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -187,8 +187,8 @@ def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -204,7 +204,7 @@ def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -212,7 +212,6 @@ def get_async(resource_group_name, vm_name, expand:nil, 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 @@ -268,8 +267,8 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_name, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_name, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -282,9 +281,9 @@ def deallocate(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def deallocate_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -310,8 +309,8 @@ def deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def generalize(resource_group_name, vm_name, custom_headers:nil) - response = generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize(resource_group_name, vm_name, custom_headers = nil) + response = generalize_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -325,8 +324,8 @@ def generalize(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) - generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize_with_http_info(resource_group_name, vm_name, custom_headers = nil) + generalize_async(resource_group_name, vm_name, custom_headers).value! end # @@ -339,7 +338,7 @@ def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generalize_async(resource_group_name, vm_name, custom_headers:nil) + def generalize_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -347,7 +346,6 @@ def generalize_async(resource_group_name, vm_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 @@ -402,8 +400,8 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -417,8 +415,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -431,14 +429,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -492,8 +489,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -506,8 +503,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -519,13 +516,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -581,8 +577,8 @@ def list_all_async(custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, vm_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -597,8 +593,8 @@ def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! end # @@ -612,7 +608,7 @@ def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -620,7 +616,6 @@ def list_available_sizes_async(resource_group_name, vm_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 @@ -677,8 +672,8 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_name, custom_headers:nil) - response = power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_name, custom_headers = nil) + response = power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -691,9 +686,9 @@ def power_off(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_name, custom_headers:nil) + def power_off_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -719,8 +714,8 @@ def power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_name, custom_headers:nil) - response = restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_name, custom_headers = nil) + response = restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -733,9 +728,9 @@ def restart(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_name, custom_headers:nil) + def restart_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -761,8 +756,8 @@ def restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_name, custom_headers:nil) - response = start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def start(resource_group_name, vm_name, custom_headers = nil) + response = start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -775,9 +770,9 @@ def start(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_name, custom_headers:nil) + def start_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -803,8 +798,8 @@ def start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_name, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_name, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -817,9 +812,9 @@ def redeploy(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def redeploy_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -848,8 +843,8 @@ def redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineCaptureResult] operation results. # - def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -866,8 +861,8 @@ def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -883,7 +878,7 @@ def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -892,12 +887,13 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers 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::Compute::Mgmt::V2015_06_15::Models::VirtualMachineCaptureParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -956,8 +952,8 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers # # @return [VirtualMachine] operation results. # - def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -973,8 +969,8 @@ def begin_create_or_update(resource_group_name, vm_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -989,7 +985,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -998,12 +994,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo 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::Compute::Mgmt::V2015_06_15::Models::VirtualMachine.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1070,8 +1067,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1085,8 +1082,8 @@ def begin_delete(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1099,7 +1096,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1107,7 +1104,6 @@ def begin_delete_async(resource_group_name, vm_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 @@ -1163,8 +1159,8 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_name, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1179,8 +1175,8 @@ def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1194,7 +1190,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1202,7 +1198,6 @@ def begin_deallocate_async(resource_group_name, vm_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 @@ -1259,8 +1254,8 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_name, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_name, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1276,8 +1271,8 @@ def begin_power_off(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1292,7 +1287,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1300,7 +1295,6 @@ def begin_power_off_async(resource_group_name, vm_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 @@ -1355,8 +1349,8 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_name, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1370,8 +1364,8 @@ def begin_restart(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_restart_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1384,7 +1378,7 @@ def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1392,7 +1386,6 @@ def begin_restart_async(resource_group_name, vm_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 @@ -1447,8 +1440,8 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_name, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_name, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1462,8 +1455,8 @@ def begin_start(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_start_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1476,7 +1469,7 @@ def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_name, custom_headers:nil) + def begin_start_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1484,7 +1477,6 @@ def begin_start_async(resource_group_name, vm_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 @@ -1539,8 +1531,8 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_name, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1554,8 +1546,8 @@ def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1568,7 +1560,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1576,7 +1568,6 @@ def begin_redeploy_async(resource_group_name, vm_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 @@ -1632,8 +1623,8 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1648,8 +1639,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1663,12 +1654,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1723,8 +1713,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1739,8 +1729,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1754,12 +1744,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1814,12 +1803,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1835,12 +1824,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb index 14bdcaadaf..109a0cecff 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [AvailabilitySet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers 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::Compute::Mgmt::V2016_03_30::Models::AvailabilitySet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -137,8 +138,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, availability_set_name, custom_headers:nil) - response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, availability_set_name, custom_headers = nil) + response = delete_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +153,8 @@ def delete(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + delete_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -166,7 +167,7 @@ def delete_with_http_info(resource_group_name, availability_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, availability_set_name, custom_headers:nil) + def delete_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -174,7 +175,6 @@ def delete_async(resource_group_name, availability_set_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 @@ -229,8 +229,8 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySet] operation results. # - def get(resource_group_name, availability_set_name, custom_headers:nil) - response = get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, availability_set_name, custom_headers = nil) + response = get_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -244,8 +244,8 @@ def get(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + get_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -258,7 +258,7 @@ def get_with_http_info(resource_group_name, availability_set_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, availability_set_name, custom_headers:nil) + def get_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -266,7 +266,6 @@ def get_async(resource_group_name, availability_set_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 @@ -320,8 +319,8 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySetListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -334,8 +333,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -347,14 +346,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -410,8 +408,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, availability_set_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, availability_set_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -426,8 +424,8 @@ def list_available_sizes(resource_group_name, availability_set_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -441,7 +439,7 @@ def list_available_sizes_with_http_info(resource_group_name, availability_set_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -449,7 +447,6 @@ def list_available_sizes_async(resource_group_name, availability_set_name, custo 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_compute/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb index 214967e6bf..f689e5f708 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb @@ -138,9 +138,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? @@ -157,7 +154,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2016_03_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2016_03_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb index 207648f57d..64c17f8ead 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb @@ -42,7 +42,6 @@ class AdditionalUnattendContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContent', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AdditionalUnattendContent', model_properties: { pass_name: { - client_side_validation: true, required: false, serialized_name: 'passName', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, component_name: { - client_side_validation: true, required: false, serialized_name: 'componentName', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, setting_name: { - client_side_validation: true, required: false, serialized_name: 'settingName', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb index a12e598989..979eaaffbf 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb @@ -23,7 +23,6 @@ class ApiEntityReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiEntityReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ApiEntityReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error.rb index bdc41fb8cb..b8ed1c8a46 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error.rb @@ -34,7 +34,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'ApiError', model_properties: { details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBaseElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, innererror: { - client_side_validation: true, required: false, serialized_name: 'innererror', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb index 3b9c4022c2..5c0839eab8 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb @@ -28,7 +28,6 @@ class ApiErrorBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBase', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApiErrorBase', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb index e5d8ad1065..3f8be1e5e5 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb @@ -42,7 +42,6 @@ class AvailabilitySet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySet', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AvailabilitySet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -59,7 +57,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -68,7 +65,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -77,7 +73,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -85,13 +80,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: { @@ -101,7 +94,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -117,13 +108,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,14 +123,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb index a221596f82..ca61ffdf35 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb @@ -22,7 +22,6 @@ class AvailabilitySetListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AvailabilitySetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb index 513f0554be..6442e80cc2 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb @@ -31,7 +31,6 @@ class BootDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnostics', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BootDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, serialized_name: 'storageUri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb index 340e9d0a07..41a87d3660 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb @@ -25,7 +25,6 @@ class BootDiagnosticsInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnosticsInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BootDiagnosticsInstanceView', model_properties: { console_screenshot_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'consoleScreenshotBlobUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, serial_console_log_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'serialConsoleLogBlobUri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb index 39e2302500..7472ac310d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb @@ -22,7 +22,6 @@ class ComputeLongRunningOperationProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeLongRunningOperationProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ComputeLongRunningOperationProperties', model_properties: { output: { - client_side_validation: true, required: false, serialized_name: 'output', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb index 0fc4987dd5..9805db2793 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb @@ -60,7 +60,6 @@ class DataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDisk', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'DataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: true, serialized_name: 'vhd', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -111,7 +105,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -120,7 +113,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb index 22a2eba151..7cc0079e6a 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb @@ -24,7 +24,6 @@ class DataDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDiskImage', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'DataDiskImage', model_properties: { lun: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb index 9e66420996..1a09023be5 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb @@ -28,7 +28,6 @@ class DiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiagnosticsProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'DiagnosticsProfile', model_properties: { boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb index 485c8a185b..a8c85402e4 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb @@ -31,7 +31,6 @@ class DiskEncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'DiskEncryptionSettings', model_properties: { disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb index 57a1d71599..aefa32a3a0 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb @@ -25,7 +25,6 @@ class DiskInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'DiskInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb index 05e93fc71f..57878509ca 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb @@ -50,7 +50,6 @@ class HardwareProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HardwareProfile', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'HardwareProfile', model_properties: { vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/image_reference.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/image_reference.rb index 02061188b7..d2e9f485d4 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/image_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/image_reference.rb @@ -42,7 +42,6 @@ class ImageReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageReference', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ImageReference', model_properties: { publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/inner_error.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/inner_error.rb index 5c6c62f507..8aa1d29c67 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/inner_error.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/inner_error.rb @@ -25,7 +25,6 @@ class InnerError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InnerError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'InnerError', model_properties: { exceptiontype: { - client_side_validation: true, required: false, serialized_name: 'exceptiontype', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, errordetail: { - client_side_validation: true, required: false, serialized_name: 'errordetail', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb index 89ea20a15b..6222581337 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb @@ -36,7 +36,6 @@ class InstanceViewStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatus', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'InstanceViewStatus', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, level: { - client_side_validation: true, required: false, serialized_name: 'level', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb index 14676e5149..e24a39de05 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb @@ -26,7 +26,6 @@ class KeyVaultKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultKeyReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultKeyReference', model_properties: { key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb index cd3705f018..a8bd800e83 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultSecretReference', model_properties: { secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb index 6205ed604c..71c0d90ca4 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb @@ -33,7 +33,6 @@ class LinuxConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinuxConfiguration', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'LinuxConfiguration', model_properties: { disable_password_authentication: { - client_side_validation: true, required: false, serialized_name: 'disablePasswordAuthentication', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: false, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb index f00ac175a4..55fa031367 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListUsagesResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ListUsagesResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb index 1d1d1f4520..36dff80175 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb @@ -23,7 +23,6 @@ class NetworkInterfaceReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'NetworkInterfaceReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -39,7 +37,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_profile.rb index 0c915996bd..f21a037efd 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_profile.rb @@ -24,7 +24,6 @@ class NetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'NetworkProfile', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReferenceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb index eed03d1056..d488d0ffd9 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb @@ -34,7 +34,6 @@ class OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationStatusResponse', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'OperationStatusResponse', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -60,7 +57,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -69,7 +65,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -78,7 +73,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb index ad6febb401..dbc1e4e2fd 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb @@ -69,7 +69,6 @@ class OSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDisk', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'OSDisk', model_properties: { os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { @@ -95,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -103,7 +99,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: true, serialized_name: 'vhd', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -121,7 +115,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -130,7 +123,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -139,7 +131,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb index 3fe132eadf..c338681175 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb @@ -23,7 +23,6 @@ class OSDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDiskImage', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'OSDiskImage', model_properties: { operating_system: { - client_side_validation: true, required: true, serialized_name: 'operatingSystem', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb index 2d19661cf2..83f9e989d9 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb @@ -86,7 +86,6 @@ class OSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSProfile', type: { @@ -94,7 +93,6 @@ def self.mapper() class_name: 'OSProfile', model_properties: { computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -144,13 +137,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/plan.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/plan.rb index 61eadd2c37..b2f51766a2 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/plan.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/plan.rb @@ -38,7 +38,6 @@ class Plan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Plan', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Plan', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, serialized_name: 'product', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, promotion_code: { - client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb index 11bbe4df43..6ae65f6f53 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb @@ -31,7 +31,6 @@ class PurchasePlan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PurchasePlan', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'PurchasePlan', model_properties: { publisher: { - client_side_validation: true, required: true, serialized_name: 'publisher', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: true, serialized_name: 'product', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/resource.rb index d83dc05520..f3b2a1532a 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb index 239e032240..c12837fba7 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb @@ -31,7 +31,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb index a6f919d9a7..8ca791f2c6 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb @@ -23,7 +23,6 @@ class SshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: false, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb index a926f1fc3c..ebb6e0c869 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb @@ -32,7 +32,6 @@ class SshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshPublicKey', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'SshPublicKey', model_properties: { path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_data: { - client_side_validation: true, required: false, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/storage_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/storage_profile.rb index 2a36507a9f..ae9e0b7080 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/storage_profile.rb @@ -38,7 +38,6 @@ class StorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageProfile', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'StorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -64,13 +61,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sub_resource.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sub_resource.rb index 3a6d0af9ae..eeb6bc0a03 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sub_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/update_resource.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/update_resource.rb index abc2c226c1..142df30faa 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/update_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/update_resource.rb @@ -22,7 +22,6 @@ class UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpdateResource', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UpdateResource', 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_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb index c1d641f026..b3edbdbf0c 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb @@ -28,7 +28,6 @@ class UpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradePolicy', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'UpgradePolicy', model_properties: { mode: { - client_side_validation: true, required: false, serialized_name: 'mode', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage.rb index 0adfdbec69..e6c48c071a 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage_name.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage_name.rb index 8f107f734b..4ee06a9965 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage_name.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb index b2a46fcf62..0a7f4bc916 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb @@ -40,7 +40,6 @@ class VaultCertificate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VaultCertificate', model_properties: { certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, certificate_store: { - client_side_validation: true, required: false, serialized_name: 'certificateStore', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb index f1727c4d31..78c61f971f 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb @@ -27,7 +27,6 @@ class VaultSecretGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VaultSecretGroup', model_properties: { source_vault: { - client_side_validation: true, required: false, serialized_name: 'sourceVault', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, vault_certificates: { - client_side_validation: true, required: false, serialized_name: 'vaultCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultCertificateElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb index c7293984f0..c48534002f 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb @@ -22,7 +22,6 @@ class VirtualHardDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualHardDisk', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualHardDisk', model_properties: { uri: { - client_side_validation: true, required: false, serialized_name: 'uri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb index b0c0a08528..20d4f934cd 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb @@ -92,7 +92,6 @@ class VirtualMachine < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachine', type: { @@ -100,7 +99,6 @@ def self.mapper() class_name: 'VirtualMachine', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -109,7 +107,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -118,7 +115,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -127,7 +123,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -135,13 +130,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: { @@ -151,7 +144,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -160,7 +152,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -169,7 +160,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -178,7 +168,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -187,7 +176,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -196,7 +184,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -205,7 +192,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -214,7 +200,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -223,7 +208,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -233,7 +217,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -241,7 +224,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -250,14 +232,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { @@ -268,7 +248,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb index 296cbb12da..b5a81fdb4a 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb @@ -29,7 +29,6 @@ class VirtualMachineAgentInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineAgentInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineAgentInstanceView', model_properties: { vm_agent_version: { - client_side_validation: true, required: false, serialized_name: 'vmAgentVersion', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, extension_handlers: { - client_side_validation: true, required: false, serialized_name: 'extensionHandlers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb index 38f73dbce4..c34613fd96 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb @@ -29,7 +29,6 @@ class VirtualMachineCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureParameters', model_properties: { vhd_prefix: { - client_side_validation: true, required: true, serialized_name: 'vhdPrefix', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, destination_container_name: { - client_side_validation: true, required: true, serialized_name: 'destinationContainerName', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, overwrite_vhds: { - client_side_validation: true, required: true, serialized_name: 'overwriteVhds', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb index 7e393d21ec..15391c7b6b 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb @@ -22,7 +22,6 @@ class VirtualMachineCaptureResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -38,7 +36,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb index 97cf15e5d4..6d859f1f54 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineExtension < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineExtension', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,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: { @@ -113,7 +106,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, virtual_machine_extension_type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -178,7 +163,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, serialized_name: 'properties.instanceView', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb index 7a97adf60b..de5bb70f0d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineExtensionHandlerInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionHandlerInstanceView', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb index 3c28568f02..b066774370 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb @@ -39,7 +39,6 @@ class VirtualMachineExtensionImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImage', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionImage', 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() } }, operating_system: { - client_side_validation: true, required: true, serialized_name: 'properties.operatingSystem', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, compute_role: { - client_side_validation: true, required: true, serialized_name: 'properties.computeRole', type: { @@ -114,7 +105,6 @@ def self.mapper() } }, handler_schema: { - client_side_validation: true, required: true, serialized_name: 'properties.handlerSchema', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, vm_scale_set_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.vmScaleSetEnabled', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, supports_multiple_extensions: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsMultipleExtensions', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb index ab182bf80f..ff1d244809 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb @@ -35,7 +35,6 @@ class VirtualMachineExtensionInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceView', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, substatuses: { - client_side_validation: true, required: false, serialized_name: 'substatuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -84,13 +78,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb index 0d476e653c..db6412255d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb @@ -46,7 +46,6 @@ class VirtualMachineExtensionUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionUpdate', type: { @@ -54,13 +53,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionUpdate', 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: { @@ -70,7 +67,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb index 6e9bc8cff0..5869e8fe69 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineExtensionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb index 3facb55c08..0b6b973626 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb @@ -31,7 +31,6 @@ class VirtualMachineIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineIdentity', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -48,7 +46,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb index e686780781..62e4627505 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb @@ -28,7 +28,6 @@ class VirtualMachineImage < VirtualMachineImageResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImage', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineImage', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -60,13 +56,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: { @@ -76,7 +70,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'properties.plan', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, os_disk_image: { - client_side_validation: true, required: false, serialized_name: 'properties.osDiskImage', type: { @@ -94,13 +86,11 @@ def self.mapper() } }, data_disk_images: { - client_side_validation: true, required: false, serialized_name: 'properties.dataDiskImages', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb index d4eccf7020..bd03848ab3 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb @@ -31,7 +31,6 @@ class VirtualMachineImageResource < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineImageResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -63,13 +59,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_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb index cea63a79dd..d025e2a47d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb @@ -50,7 +50,6 @@ class VirtualMachineInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineInstanceView', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -91,13 +86,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -134,13 +124,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb index 5128e02070..80ec1bb7ae 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualMachineListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb index f141adea2b..3ac24dfe0f 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb @@ -40,7 +40,6 @@ class VirtualMachineScaleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSet', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSet', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -83,13 +78,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: { @@ -99,7 +92,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -117,7 +108,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -126,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -135,7 +124,6 @@ def self.mapper() } }, over_provision: { - client_side_validation: true, required: false, serialized_name: 'properties.overProvision', type: { @@ -143,7 +131,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb index 750457d91e..0613ec9d33 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb @@ -45,7 +45,6 @@ class VirtualMachineScaleSetExtension < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtension', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtension', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -117,7 +108,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb index 5530d29fe5..1a966ae3ff 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetExtensionProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionProfile', model_properties: { extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb index 9e28364a4b..d2c5fddfc5 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb @@ -33,7 +33,6 @@ class VirtualMachineScaleSetIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIdentity', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -50,7 +48,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb index 6254ce195b..f7a397323c 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineScaleSetInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceView', model_properties: { virtual_machine: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'virtualMachine', @@ -48,14 +46,12 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummaryElementType', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb index 0cd3831720..a0c6dd456b 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetInstanceViewStatusesSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', type: { @@ -33,14 +32,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', model_properties: { statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb index 503d8dcd82..2549eeb508 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb @@ -35,7 +35,6 @@ class VirtualMachineScaleSetIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfiguration', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: true, serialized_name: 'properties.subnet', type: { @@ -68,13 +64,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -85,13 +79,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -102,13 +94,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb index 8c9eac0ac0..1d2d382b3d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb index 30186044c5..d11d44ee5d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListSkusResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb index 24f5e76444..eacc5f85d3 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListWithLinkResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListWithLinkResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb index 944fe5ae66..acafe40b46 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -63,13 +59,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb index 6ae36cb859..a1730f9a05 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkProfile', model_properties: { network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb index 4fc784a1e7..22390e07a2 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb @@ -54,7 +54,6 @@ class VirtualMachineScaleSetOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSDisk', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSDisk', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -106,13 +100,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb index b53ba965ce..90c94199f1 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb @@ -73,7 +73,6 @@ class VirtualMachineScaleSetOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSProfile', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSProfile', model_properties: { computer_name_prefix: { - client_side_validation: true, required: false, serialized_name: 'computerNamePrefix', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -97,7 +94,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -105,7 +101,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -113,7 +108,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -122,7 +116,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -131,13 +124,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb index a8c099b6f5..6aaad27691 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -46,7 +44,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb index 27778b2ed7..6f2386433a 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb @@ -32,7 +32,6 @@ class VirtualMachineScaleSetSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default_capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultCapacity', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb index 7eb39abcf9..b19842dcba 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetStorageProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb index 3d3fe9be07..fb45ff54e7 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb @@ -96,7 +96,6 @@ class VirtualMachineScaleSetVM < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVM', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVM', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -113,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -122,7 +119,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,7 +127,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -139,13 +134,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: { @@ -155,7 +148,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceId', @@ -164,7 +156,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -174,7 +165,6 @@ def self.mapper() } }, latest_model_applied: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.latestModelApplied', @@ -183,7 +173,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -192,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -202,7 +190,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -211,7 +198,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -220,7 +206,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -229,7 +214,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -238,7 +222,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -247,7 +230,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -256,7 +238,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -265,7 +246,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -273,7 +253,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -282,14 +261,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb index a4b1087b0a..d1e091d0a9 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetVMExtensionsSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummary', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMExtensionsSummary', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -44,14 +42,12 @@ def self.mapper() } }, statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb index 667df15282..36cb7e3287 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetVMInstanceIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceIDs', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceIDs', model_properties: { instance_ids: { - client_side_validation: true, required: false, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb index 27db0d08ef..928e581684 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetVMInstanceRequiredIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', model_properties: { instance_ids: { - client_side_validation: true, required: true, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb index 4ec3958fba..1e637a04f4 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb @@ -50,7 +50,6 @@ class VirtualMachineScaleSetVMInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -91,13 +86,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -134,13 +124,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb index aa20c9c592..d7203aafd5 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb index de0c9d51e8..8960fefe28 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb @@ -35,7 +35,6 @@ class VirtualMachineScaleSetVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMProfile', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb index 994ff1f220..be5b7ff09c 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb @@ -42,7 +42,6 @@ class VirtualMachineSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSize', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineSize', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, number_of_cores: { - client_side_validation: true, required: false, serialized_name: 'numberOfCores', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, os_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'osDiskSizeInMB', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, resource_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'resourceDiskSizeInMB', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, memory_in_mb: { - client_side_validation: true, required: false, serialized_name: 'memoryInMB', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, max_data_disk_count: { - client_side_validation: true, required: false, serialized_name: 'maxDataDiskCount', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb index fb363203e0..0a90f069e6 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineSizeListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineSizeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb index b9bf9e8c84..67334c4d15 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb @@ -27,7 +27,6 @@ class VirtualMachineStatusCodeCount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCount', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineStatusCodeCount', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -44,7 +42,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb index 6103cf4d9e..d7371e9b98 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb @@ -23,7 +23,6 @@ class WinRMConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WinRMConfiguration', model_properties: { listeners: { - client_side_validation: true, required: false, serialized_name: 'listeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WinRMListenerElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb index 04ea205aa2..d43622a455 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb @@ -34,7 +34,6 @@ class WinRMListener # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMListener', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WinRMListener', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb index 4c5f4c2ca4..d4c2016560 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb @@ -43,7 +43,6 @@ class WindowsConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WindowsConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'WindowsConfiguration', model_properties: { provision_vmagent: { - client_side_validation: true, required: false, serialized_name: 'provisionVMAgent', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, enable_automatic_updates: { - client_side_validation: true, required: false, serialized_name: 'enableAutomaticUpdates', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'timeZone', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, additional_unattend_content: { - client_side_validation: true, required: false, serialized_name: 'additionalUnattendContent', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContentElementType', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, win_rm: { - client_side_validation: true, required: false, serialized_name: 'winRM', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/usage_operations.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/usage_operations.rb index b713ca52b6..2ec061b097 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/usage_operations.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/usage_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -48,8 +48,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -63,15 +63,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +126,8 @@ def list_async(location, custom_headers:nil) # # @return [ListUsagesResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -145,8 +143,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -161,12 +159,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,12 +219,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ListUsagesResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..f1ced61a4a --- /dev/null +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/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::Compute::Mgmt::V2016_03_30 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb index d4b475fa81..fa62a2af24 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionImage] operation results. # - def get(location, publisher_name, type, version, custom_headers:nil) - response = get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get(location, publisher_name, type, version, custom_headers = nil) + response = get_async(location, publisher_name, type, version, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(location, publisher_name, type, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, type, version, custom_headers:nil) - get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, type, version, custom_headers = nil) + get_async(location, publisher_name, type, version, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_with_http_info(location, publisher_name, type, version, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, type, version, custom_headers:nil) + def get_async(location, publisher_name, type, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -76,7 +76,6 @@ def get_async(location, publisher_name, type, version, 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 @@ -131,8 +130,8 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) # # @return [Array] operation results. # - def list_types(location, publisher_name, custom_headers:nil) - response = list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types(location, publisher_name, custom_headers = nil) + response = list_types_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -146,8 +145,8 @@ def list_types(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_types_with_http_info(location, publisher_name, custom_headers:nil) - list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types_with_http_info(location, publisher_name, custom_headers = nil) + list_types_async(location, publisher_name, custom_headers).value! end # @@ -160,7 +159,7 @@ def list_types_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_types_async(location, publisher_name, custom_headers:nil) + def list_types_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -168,7 +167,6 @@ def list_types_async(location, publisher_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 @@ -201,13 +199,11 @@ def list_types_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { @@ -243,8 +239,8 @@ def list_types_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -262,8 +258,8 @@ def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_versions_with_http_info(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions_with_http_info(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! end # @@ -280,7 +276,7 @@ def list_versions_with_http_info(location, publisher_name, type, filter:nil, top # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_versions_async(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_versions_async(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -289,7 +285,6 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -322,13 +317,11 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb index 412bdc280a..83279ac8ac 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineExtension] operation results. # - def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, vm_name, vm_extension_name, exte # # @return [VirtualMachineExtension] operation results. # - def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, vm_name, vm_extension_name, extension_parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -149,9 +149,9 @@ def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -180,8 +180,8 @@ def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [VirtualMachineExtension] operation results. # - def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -198,8 +198,8 @@ def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! end # @@ -215,7 +215,7 @@ def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -224,7 +224,6 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -283,8 +282,8 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo # # @return [VirtualMachineExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -302,8 +301,8 @@ def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, exte # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -320,7 +319,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_exten # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -330,12 +329,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name 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::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -406,8 +406,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name # # @return [VirtualMachineExtension] operation results. # - def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -425,8 +425,8 @@ def begin_update(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -443,7 +443,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -453,12 +453,13 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio 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::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionUpdate.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -517,8 +518,8 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -534,8 +535,8 @@ def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! end # @@ -550,7 +551,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -559,7 +560,6 @@ def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_h 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_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb index f8eb86e35a..5bea1a63a3 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineImage] operation results. # - def get(location, publisher_name, offer, skus, version, custom_headers:nil) - response = get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get(location, publisher_name, offer, skus, version, custom_headers = nil) + response = get_async(location, publisher_name, offer, skus, version, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(location, publisher_name, offer, skus, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers:nil) - get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers = nil) + get_async(location, publisher_name, offer, skus, version, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(location, publisher_name, offer, skus, version, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, offer, skus, version, custom_headers:nil) + def get_async(location, publisher_name, offer, skus, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -80,7 +80,6 @@ def get_async(location, publisher_name, offer, skus, version, 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 @@ -141,8 +140,8 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil # # @return [Array] operation results. # - def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -162,8 +161,8 @@ def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! end # @@ -182,7 +181,7 @@ def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -192,7 +191,6 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,13 +223,11 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -264,8 +260,8 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order # # @return [Array] operation results. # - def list_offers(location, publisher_name, custom_headers:nil) - response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers(location, publisher_name, custom_headers = nil) + response = list_offers_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -280,8 +276,8 @@ def list_offers(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_offers_with_http_info(location, publisher_name, custom_headers:nil) - list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers_with_http_info(location, publisher_name, custom_headers = nil) + list_offers_async(location, publisher_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_offers_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_offers_async(location, publisher_name, custom_headers:nil) + def list_offers_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_offers_async(location, publisher_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 @@ -336,13 +331,11 @@ def list_offers_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -374,8 +367,8 @@ def list_offers_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_publishers(location, custom_headers:nil) - response = list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers(location, custom_headers = nil) + response = list_publishers_async(location, custom_headers).value! response.body unless response.nil? end @@ -389,8 +382,8 @@ def list_publishers(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_publishers_with_http_info(location, custom_headers:nil) - list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers_with_http_info(location, custom_headers = nil) + list_publishers_async(location, custom_headers).value! end # @@ -403,14 +396,13 @@ def list_publishers_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_publishers_async(location, custom_headers:nil) + def list_publishers_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,13 +435,11 @@ def list_publishers_async(location, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -483,8 +473,8 @@ def list_publishers_async(location, custom_headers:nil) # # @return [Array] operation results. # - def list_skus(location, publisher_name, offer, custom_headers:nil) - response = list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus(location, publisher_name, offer, custom_headers = nil) + response = list_skus_async(location, publisher_name, offer, custom_headers).value! response.body unless response.nil? end @@ -500,8 +490,8 @@ def list_skus(location, publisher_name, offer, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil) - list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus_with_http_info(location, publisher_name, offer, custom_headers = nil) + list_skus_async(location, publisher_name, offer, custom_headers).value! end # @@ -516,7 +506,7 @@ def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(location, publisher_name, offer, custom_headers:nil) + def list_skus_async(location, publisher_name, offer, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -525,7 +515,6 @@ def list_skus_async(location, publisher_name, offer, 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 @@ -558,13 +547,11 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb index 9b36e5da20..115410d2e5 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -48,9 +48,9 @@ def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -95,9 +95,9 @@ def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -124,8 +124,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -139,9 +139,9 @@ def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +168,8 @@ def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [VirtualMachineScaleSetVM] operation results. # - def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -184,8 +184,8 @@ def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -199,7 +199,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -208,7 +208,6 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -264,8 +263,8 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header # # @return [VirtualMachineScaleSetVMInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -280,8 +279,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -295,7 +294,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -304,7 +303,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -362,8 +360,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [Array] operation results. # - def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers) + def list(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers) first_page.get_all_items end @@ -380,8 +378,8 @@ def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! end # @@ -397,7 +395,7 @@ def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, fil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) + def list_async(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -405,7 +403,6 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -463,8 +460,8 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -478,9 +475,9 @@ def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +504,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -522,9 +519,9 @@ def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -551,8 +548,8 @@ def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -566,9 +563,9 @@ def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -596,8 +593,8 @@ def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -613,8 +610,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -629,7 +626,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -638,7 +635,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -697,8 +693,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -716,8 +712,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -734,7 +730,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -743,7 +739,6 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -799,8 +794,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -815,8 +810,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -830,7 +825,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -839,7 +834,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -897,8 +891,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -915,8 +909,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -932,7 +926,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, insta # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -941,7 +935,6 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -997,8 +990,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1013,8 +1006,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1028,7 +1021,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1037,7 +1030,6 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1093,8 +1085,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1109,8 +1101,8 @@ def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1124,7 +1116,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1133,7 +1125,6 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1188,8 +1179,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [VirtualMachineScaleSetVMListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1203,8 +1194,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1217,12 +1208,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1280,12 +1270,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetVMListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - response = list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + response = list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb index cce33a4d82..b973fe4710 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [VirtualMachineScaleSet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -117,8 +117,8 @@ def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def get(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -132,8 +132,8 @@ def get(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -146,7 +146,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -154,7 +154,6 @@ def get_async(resource_group_name, vm_scale_set_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 @@ -213,8 +212,8 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -229,9 +228,9 @@ def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +258,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [OperationStatusResponse] operation results. # - def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -275,9 +274,9 @@ def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -303,8 +302,8 @@ def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [VirtualMachineScaleSetInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -318,8 +317,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -332,7 +331,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -340,7 +339,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_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 @@ -394,8 +392,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -408,8 +406,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -421,14 +419,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -484,8 +481,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -500,8 +497,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -515,13 +512,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -577,8 +573,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list_skus(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -593,8 +589,8 @@ def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -608,7 +604,7 @@ def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -616,7 +612,6 @@ def list_skus_async(resource_group_name, vm_scale_set_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 @@ -675,8 +670,8 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -691,9 +686,9 @@ def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -721,8 +716,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -737,9 +732,9 @@ def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -767,8 +762,8 @@ def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -783,9 +778,9 @@ def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -814,8 +809,8 @@ def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [OperationStatusResponse] operation results. # - def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -830,9 +825,9 @@ def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -859,8 +854,8 @@ def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -873,9 +868,9 @@ def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -902,8 +897,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def begin_create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -918,8 +913,8 @@ def begin_create_or_update(resource_group_name, name, parameters, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -933,7 +928,7 @@ def begin_create_or_update_with_http_info(resource_group_name, name, parameters, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -942,12 +937,13 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h 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::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1014,8 +1010,8 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1029,8 +1025,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1043,7 +1039,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1051,7 +1047,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1110,8 +1105,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1129,8 +1124,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1147,7 +1142,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1155,12 +1150,13 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i 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::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1219,8 +1215,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1236,8 +1232,8 @@ def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1252,7 +1248,7 @@ def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1261,12 +1257,13 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst 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::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1327,8 +1324,8 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1346,8 +1343,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1364,7 +1361,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_in # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1372,12 +1369,13 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id 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::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1436,8 +1434,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1453,8 +1451,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1469,7 +1467,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1477,12 +1475,13 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: 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::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1541,8 +1540,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1558,8 +1557,8 @@ def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1574,7 +1573,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1582,12 +1581,13 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni 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::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1647,8 +1647,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [OperationStatusResponse] operation results. # - def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1665,8 +1665,8 @@ def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1682,7 +1682,7 @@ def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1691,12 +1691,13 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst 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::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1754,8 +1755,8 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1770,8 +1771,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1785,7 +1786,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1793,7 +1794,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1848,8 +1848,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n # # @return [VirtualMachineScaleSetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1863,8 +1863,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1877,12 +1877,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1939,8 +1938,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListWithLinkResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1957,8 +1956,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1974,12 +1973,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2034,8 +2032,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListSkusResult] operation results. # - def list_skus_next(next_page_link, custom_headers:nil) - response = list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next(next_page_link, custom_headers = nil) + response = list_skus_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2050,8 +2048,8 @@ def list_skus_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_next_with_http_info(next_page_link, custom_headers:nil) - list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next_with_http_info(next_page_link, custom_headers = nil) + list_skus_next_async(next_page_link, custom_headers).value! end # @@ -2065,12 +2063,11 @@ def list_skus_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_next_async(next_page_link, custom_headers:nil) + def list_skus_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2124,12 +2121,12 @@ def list_skus_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2147,12 +2144,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineScaleSetListWithLinkResult] which provide lazy access # to pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -2170,12 +2167,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualMachineScaleSetListSkusResult] which provide lazy access to # pages of the response. # - def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_skus_next_async(next_page_link, custom_headers:custom_headers) + list_skus_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb index b1374bb23b..b79c3ae8ea 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [VirtualMachineSizeListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +60,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb index eec4b09daf..1055bccd78 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionsListResult] operation results. # - def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_extensions_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +74,6 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +131,8 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header # # @return [VirtualMachineCaptureResult] operation results. # - def capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -148,9 +147,9 @@ def capture(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -178,8 +177,8 @@ def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, vm_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -222,8 +221,8 @@ def create_or_update_async(resource_group_name, vm_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -236,9 +235,9 @@ def delete(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -267,8 +266,8 @@ def delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -285,8 +284,8 @@ def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -302,7 +301,7 @@ def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -310,7 +309,6 @@ def get_async(resource_group_name, vm_name, expand:nil, 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 @@ -366,8 +364,8 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_name, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_name, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -380,9 +378,9 @@ def deallocate(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def deallocate_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -408,8 +406,8 @@ def deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def generalize(resource_group_name, vm_name, custom_headers:nil) - response = generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize(resource_group_name, vm_name, custom_headers = nil) + response = generalize_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -423,8 +421,8 @@ def generalize(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) - generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize_with_http_info(resource_group_name, vm_name, custom_headers = nil) + generalize_async(resource_group_name, vm_name, custom_headers).value! end # @@ -437,7 +435,7 @@ def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generalize_async(resource_group_name, vm_name, custom_headers:nil) + def generalize_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -445,7 +443,6 @@ def generalize_async(resource_group_name, vm_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 @@ -500,8 +497,8 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -515,8 +512,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -529,14 +526,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -590,8 +586,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -604,8 +600,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -617,13 +613,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -679,8 +674,8 @@ def list_all_async(custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, vm_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -695,8 +690,8 @@ def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! end # @@ -710,7 +705,7 @@ def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -718,7 +713,6 @@ def list_available_sizes_async(resource_group_name, vm_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 @@ -775,8 +769,8 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_name, custom_headers:nil) - response = power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_name, custom_headers = nil) + response = power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -789,9 +783,9 @@ def power_off(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_name, custom_headers:nil) + def power_off_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -817,8 +811,8 @@ def power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_name, custom_headers:nil) - response = restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_name, custom_headers = nil) + response = restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -831,9 +825,9 @@ def restart(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_name, custom_headers:nil) + def restart_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -859,8 +853,8 @@ def restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_name, custom_headers:nil) - response = start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def start(resource_group_name, vm_name, custom_headers = nil) + response = start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -873,9 +867,9 @@ def start(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_name, custom_headers:nil) + def start_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -901,8 +895,8 @@ def start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_name, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_name, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -915,9 +909,9 @@ def redeploy(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def redeploy_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -946,8 +940,8 @@ def redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineCaptureResult] operation results. # - def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -964,8 +958,8 @@ def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -981,7 +975,7 @@ def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -990,12 +984,13 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers 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::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1054,8 +1049,8 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers # # @return [VirtualMachine] operation results. # - def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1071,8 +1066,8 @@ def begin_create_or_update(resource_group_name, vm_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1087,7 +1082,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1096,12 +1091,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo 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::Compute::Mgmt::V2016_03_30::Models::VirtualMachine.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1168,8 +1164,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1183,8 +1179,8 @@ def begin_delete(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1197,7 +1193,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1205,7 +1201,6 @@ def begin_delete_async(resource_group_name, vm_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 @@ -1261,8 +1256,8 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_name, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1277,8 +1272,8 @@ def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1292,7 +1287,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1300,7 +1295,6 @@ def begin_deallocate_async(resource_group_name, vm_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 @@ -1357,8 +1351,8 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_name, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_name, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1374,8 +1368,8 @@ def begin_power_off(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1390,7 +1384,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1398,7 +1392,6 @@ def begin_power_off_async(resource_group_name, vm_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 @@ -1453,8 +1446,8 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_name, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1468,8 +1461,8 @@ def begin_restart(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_restart_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1482,7 +1475,7 @@ def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1490,7 +1483,6 @@ def begin_restart_async(resource_group_name, vm_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 @@ -1545,8 +1537,8 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_name, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_name, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1560,8 +1552,8 @@ def begin_start(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_start_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1574,7 +1566,7 @@ def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_name, custom_headers:nil) + def begin_start_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1582,7 +1574,6 @@ def begin_start_async(resource_group_name, vm_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 @@ -1637,8 +1628,8 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_name, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1652,8 +1643,8 @@ def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1666,7 +1657,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1674,7 +1665,6 @@ def begin_redeploy_async(resource_group_name, vm_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 @@ -1730,8 +1720,8 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1746,8 +1736,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1761,12 +1751,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1821,8 +1810,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1837,8 +1826,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1852,12 +1841,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1912,12 +1900,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1933,12 +1921,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb index 8eb4ce9bf0..0455443abe 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [AvailabilitySet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers 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::Compute::Mgmt::V2016_04_30_preview::Models::AvailabilitySet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -137,8 +138,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, availability_set_name, custom_headers:nil) - response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, availability_set_name, custom_headers = nil) + response = delete_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +153,8 @@ def delete(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + delete_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -166,7 +167,7 @@ def delete_with_http_info(resource_group_name, availability_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, availability_set_name, custom_headers:nil) + def delete_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -174,7 +175,6 @@ def delete_async(resource_group_name, availability_set_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 @@ -229,8 +229,8 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySet] operation results. # - def get(resource_group_name, availability_set_name, custom_headers:nil) - response = get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, availability_set_name, custom_headers = nil) + response = get_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -244,8 +244,8 @@ def get(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + get_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -258,7 +258,7 @@ def get_with_http_info(resource_group_name, availability_set_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, availability_set_name, custom_headers:nil) + def get_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -266,7 +266,6 @@ def get_async(resource_group_name, availability_set_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 @@ -320,8 +319,8 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySetListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -334,8 +333,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -347,14 +346,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -410,8 +408,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, availability_set_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, availability_set_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -426,8 +424,8 @@ def list_available_sizes(resource_group_name, availability_set_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -441,7 +439,7 @@ def list_available_sizes_with_http_info(resource_group_name, availability_set_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -449,7 +447,6 @@ def list_available_sizes_async(resource_group_name, availability_set_name, custo 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_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb index adfedd5c69..f87029cc1b 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb @@ -150,9 +150,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? @@ -169,7 +166,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2016_04_30_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2016_04_30_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb index ee990c16ae..ec015524a4 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [Disk] operation results. # - def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def create_or_update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, disk_name, disk, custom_headers: # # @return [Disk] operation results. # - def update(resource_group_name, disk_name, disk, custom_headers:nil) - response = update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def update(resource_group_name, disk_name, disk, custom_headers = nil) + response = update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [Disk] operation results. # - def get(resource_group_name, disk_name, custom_headers:nil) - response = get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get(resource_group_name, disk_name, custom_headers = nil) + response = get_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +150,8 @@ def get(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) - get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, disk_name, custom_headers = nil) + get_async(resource_group_name, disk_name, custom_headers).value! end # @@ -166,7 +166,7 @@ def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, disk_name, custom_headers:nil) + def get_async(resource_group_name, disk_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, 'disk_name is nil' if disk_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, disk_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 @@ -231,8 +230,8 @@ def get_async(resource_group_name, disk_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, disk_name, custom_headers:nil) - response = delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def delete(resource_group_name, disk_name, custom_headers = nil) + response = delete_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -247,9 +246,9 @@ def delete(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, disk_name, custom_headers:nil) + def delete_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -274,8 +273,8 @@ def delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -288,8 +287,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 # @@ -301,14 +300,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 @@ -361,8 +359,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -374,8 +372,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 # @@ -386,13 +384,12 @@ 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.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 @@ -451,8 +448,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -469,9 +466,9 @@ def grant_access(resource_group_name, disk_name, grant_access_data, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -499,8 +496,8 @@ def grant_access_async(resource_group_name, disk_name, grant_access_data, custom # # @return [OperationStatusResponse] operation results. # - def revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -515,9 +512,9 @@ def revoke_access(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def revoke_access_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -547,8 +544,8 @@ def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Disk] operation results. # - def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -566,8 +563,8 @@ def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -584,7 +581,7 @@ def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, disk_name, disk, 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, 'disk_name is nil' if disk_name.nil? @@ -593,12 +590,13 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he 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::Compute::Mgmt::V2016_04_30_preview::Models::Disk.mapper() request_content = @client.serialize(request_mapper, disk) @@ -669,8 +667,8 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he # # @return [Disk] operation results. # - def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -688,8 +686,8 @@ def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -706,7 +704,7 @@ def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_update_async(resource_group_name, disk_name, disk, 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, 'disk_name is nil' if disk_name.nil? @@ -715,12 +713,13 @@ def begin_update_async(resource_group_name, disk_name, disk, 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 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::Compute::Mgmt::V2016_04_30_preview::Models::DiskUpdate.mapper() request_content = @client.serialize(request_mapper, disk) @@ -789,8 +788,8 @@ def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, disk_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, disk_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -806,8 +805,8 @@ def begin_delete(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_delete_async(resource_group_name, disk_name, custom_headers).value! end # @@ -822,7 +821,7 @@ def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) + def begin_delete_async(resource_group_name, disk_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, 'disk_name is nil' if disk_name.nil? @@ -830,7 +829,6 @@ def begin_delete_async(resource_group_name, disk_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 @@ -889,8 +887,8 @@ def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -908,8 +906,8 @@ def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! end # @@ -926,7 +924,7 @@ def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_acce # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, 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, 'disk_name is nil' if disk_name.nil? @@ -935,12 +933,13 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, 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::Compute::Mgmt::V2016_04_30_preview::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -999,8 +998,8 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, # # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -1016,8 +1015,8 @@ def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! end # @@ -1032,7 +1031,7 @@ def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, disk_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, 'disk_name is nil' if disk_name.nil? @@ -1040,7 +1039,6 @@ def begin_revoke_access_async(resource_group_name, disk_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 @@ -1095,8 +1093,8 @@ def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil # # @return [DiskList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1110,8 +1108,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1124,12 +1122,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1183,8 +1180,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1198,8 +1195,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1212,12 +1209,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1270,12 +1266,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1285,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/images.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/images.rb index 9a4bb37121..ed599c57ed 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/images.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/images.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Image] operation results. # - def create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, image_name, parameters, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def create_or_update_async(resource_group_name, image_name, parameters, custom_h # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, image_name, custom_headers:nil) - response = delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def delete(resource_group_name, image_name, custom_headers = nil) + response = delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def delete(resource_group_name, image_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, image_name, custom_headers:nil) + def delete_async(resource_group_name, image_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, image_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -118,8 +118,8 @@ def delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [Image] operation results. # - def get(resource_group_name, image_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, image_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, image_name, expand, custom_headers).value! response.body unless response.nil? end @@ -134,8 +134,8 @@ def get(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, image_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, image_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, image_name, expand, custom_headers).value! end # @@ -149,7 +149,7 @@ def get_with_http_info(resource_group_name, image_name, expand:nil, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, image_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -157,7 +157,6 @@ def get_async(resource_group_name, image_name, expand:nil, 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 @@ -211,8 +210,8 @@ def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -225,8 +224,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 # @@ -238,14 +237,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -315,8 +313,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 # @@ -329,13 +327,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -391,8 +388,8 @@ def list_async(custom_headers:nil) # # @return [Image] operation results. # - def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -407,8 +404,8 @@ def begin_create_or_update(resource_group_name, image_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! end # @@ -422,7 +419,7 @@ def begin_create_or_update_with_http_info(resource_group_name, image_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -431,12 +428,13 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, 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::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -503,8 +501,8 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, cu # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, image_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, image_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -518,8 +516,8 @@ def begin_delete(resource_group_name, image_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, image_name, custom_headers:nil) - begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, image_name, custom_headers = nil) + begin_delete_async(resource_group_name, image_name, custom_headers).value! end # @@ -532,7 +530,7 @@ def begin_delete_with_http_info(resource_group_name, image_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, image_name, custom_headers:nil) + def begin_delete_async(resource_group_name, image_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -540,7 +538,6 @@ def begin_delete_async(resource_group_name, image_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 @@ -595,8 +592,8 @@ def begin_delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -610,8 +607,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -624,12 +621,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -685,8 +681,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -702,8 +698,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -718,12 +714,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -776,12 +771,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -797,12 +792,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb index 38c593c2bd..9409edbcb9 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb @@ -22,7 +22,6 @@ class AccessUri # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AccessUri', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'AccessUri', model_properties: { access_sas: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.output.accessSAS', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb index 3dde80d154..099735ddbc 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb @@ -42,7 +42,6 @@ class AdditionalUnattendContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContent', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AdditionalUnattendContent', model_properties: { pass_name: { - client_side_validation: true, required: false, serialized_name: 'passName', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, component_name: { - client_side_validation: true, required: false, serialized_name: 'componentName', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, setting_name: { - client_side_validation: true, required: false, serialized_name: 'settingName', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb index de04e8903a..97f1222369 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb @@ -23,7 +23,6 @@ class ApiEntityReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiEntityReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ApiEntityReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb index 017a9ccda5..911950ddf1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb @@ -34,7 +34,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'ApiError', model_properties: { details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBaseElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, innererror: { - client_side_validation: true, required: false, serialized_name: 'innererror', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb index e4c41c18d0..f1e3971617 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb @@ -28,7 +28,6 @@ class ApiErrorBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBase', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApiErrorBase', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb index e8adc5034e..45889ed79c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb @@ -48,7 +48,6 @@ class AvailabilitySet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySet', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'AvailabilitySet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -65,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -74,7 +71,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -83,7 +79,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -91,13 +86,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: { @@ -107,7 +100,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -123,13 +114,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -140,14 +129,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -158,7 +145,6 @@ def self.mapper() } }, managed: { - client_side_validation: true, required: false, serialized_name: 'properties.managed', type: { @@ -166,7 +152,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb index eb95278278..8fd3e72cd3 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb @@ -22,7 +22,6 @@ class AvailabilitySetListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AvailabilitySetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb index 53917f57be..94fa8e7d18 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb @@ -31,7 +31,6 @@ class BootDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnostics', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BootDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, serialized_name: 'storageUri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb index e31cde7462..c01d301c15 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb @@ -25,7 +25,6 @@ class BootDiagnosticsInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnosticsInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BootDiagnosticsInstanceView', model_properties: { console_screenshot_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'consoleScreenshotBlobUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, serial_console_log_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'serialConsoleLogBlobUri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb index 13925ae3f0..3ce99cfb84 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb @@ -22,7 +22,6 @@ class ComputeLongRunningOperationProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeLongRunningOperationProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ComputeLongRunningOperationProperties', model_properties: { output: { - client_side_validation: true, required: false, serialized_name: 'output', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb index f9432126f5..bad1a58a5e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb @@ -43,7 +43,6 @@ class CreationData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CreationData', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'CreationData', model_properties: { create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, storage_account_id: { - client_side_validation: true, required: false, serialized_name: 'storageAccountId', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, source_uri: { - client_side_validation: true, required: false, serialized_name: 'sourceUri', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, source_resource_id: { - client_side_validation: true, required: false, serialized_name: 'sourceResourceId', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb index cdd3795dce..f33a1a5a71 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb @@ -63,7 +63,6 @@ class DataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDisk', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'DataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -96,7 +92,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -123,7 +116,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb index c06e2161aa..5fee487141 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb @@ -24,7 +24,6 @@ class DataDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDiskImage', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'DataDiskImage', model_properties: { lun: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb index 16dee888c3..958e8631f7 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb @@ -28,7 +28,6 @@ class DiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiagnosticsProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'DiagnosticsProfile', model_properties: { boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb index e23c1a5b46..c4ec8aedd0 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb @@ -51,7 +51,6 @@ class Disk < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Disk', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'Disk', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -94,13 +89,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: { @@ -110,7 +103,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -128,7 +119,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, owner_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ownerId', @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb index 42fef0f70e..60e3e4fde0 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb @@ -31,7 +31,6 @@ class DiskEncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'DiskEncryptionSettings', model_properties: { disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb index f4ccdfa346..ee0c21fe1d 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb @@ -25,7 +25,6 @@ class DiskInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'DiskInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb index 26fa6d4fce..a63327e86b 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'DiskList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb index a95c4c0981..379b1a7521 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb @@ -41,7 +41,6 @@ class DiskUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskUpdate', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'DiskUpdate', 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: { @@ -65,7 +62,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: false, serialized_name: 'properties.creationData', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb index 437fec4473..6cd715061f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb @@ -34,7 +34,6 @@ class EncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionSettings', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EncryptionSettings', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb index 09f84d0825..09e89ad624 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb @@ -26,7 +26,6 @@ class GrantAccessData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GrantAccessData', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'GrantAccessData', model_properties: { access: { - client_side_validation: true, required: true, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, duration_in_seconds: { - client_side_validation: true, required: true, serialized_name: 'durationInSeconds', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb index b4616a7115..e5f766c958 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb @@ -50,7 +50,6 @@ class HardwareProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HardwareProfile', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'HardwareProfile', model_properties: { vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb index 25a1aac80c..131185a69e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb @@ -32,7 +32,6 @@ class Image < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Image', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Image', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -75,13 +70,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: { @@ -91,7 +84,6 @@ def self.mapper() } }, source_virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceVirtualMachine', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -109,7 +100,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb index 5a4994f92d..23dff9b635 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb @@ -45,7 +45,6 @@ class ImageDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDataDisk', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'ImageDataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb index 630ad130b6..1a380fc298 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb @@ -28,7 +28,6 @@ class ImageDiskReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDiskReference', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ImageDiskReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: false, serialized_name: 'lun', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb index 726aa52fab..e5c0b4d231 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ImageListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb index a05716260f..e17e9c9273 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb @@ -50,7 +50,6 @@ class ImageOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageOSDisk', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ImageOSDisk', model_properties: { os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, os_state: { - client_side_validation: true, required: true, serialized_name: 'osState', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb index 9256977f4e..915330189f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb @@ -42,7 +42,6 @@ class ImageReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageReference', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ImageReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb index b585b95346..ea571d5302 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb @@ -31,7 +31,6 @@ class ImageStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageStorageProfile', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ImageStorageProfile', model_properties: { os_disk: { - client_side_validation: true, required: true, serialized_name: 'osDisk', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb index 7770ef8bc3..d716394f53 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb @@ -25,7 +25,6 @@ class InnerError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InnerError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'InnerError', model_properties: { exceptiontype: { - client_side_validation: true, required: false, serialized_name: 'exceptiontype', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, errordetail: { - client_side_validation: true, required: false, serialized_name: 'errordetail', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb index 5c2610c59b..46d4322927 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb @@ -36,7 +36,6 @@ class InstanceViewStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatus', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'InstanceViewStatus', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, level: { - client_side_validation: true, required: false, serialized_name: 'level', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb index 6153aa141c..7f6612ba0f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb @@ -27,7 +27,6 @@ class KeyVaultAndKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndKeyReference', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'KeyVaultAndKeyReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb index d2d269d149..7082934a64 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultAndSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultAndSecretReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb index b3ba49f15f..de3720717e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb @@ -26,7 +26,6 @@ class KeyVaultKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultKeyReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultKeyReference', model_properties: { key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb index 422ba757b6..83b7213b35 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultSecretReference', model_properties: { secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb index 413b3f98d7..9a9a55b016 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb @@ -33,7 +33,6 @@ class LinuxConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinuxConfiguration', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'LinuxConfiguration', model_properties: { disable_password_authentication: { - client_side_validation: true, required: false, serialized_name: 'disablePasswordAuthentication', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: false, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb index 94f99d6b8a..1bcdb81164 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListUsagesResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ListUsagesResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb index 403e337319..bb89d03023 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb @@ -24,7 +24,6 @@ class ManagedDiskParameters < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ManagedDiskParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ManagedDiskParameters', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -40,7 +38,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb index 0cfb0f5951..e9bf9541f6 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb @@ -23,7 +23,6 @@ class NetworkInterfaceReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'NetworkInterfaceReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -39,7 +37,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb index 4f415453e5..70473a0138 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb @@ -24,7 +24,6 @@ class NetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'NetworkProfile', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReferenceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb index 67df3a906d..4c9d753aa7 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb @@ -34,7 +34,6 @@ class OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationStatusResponse', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'OperationStatusResponse', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -60,7 +57,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -69,7 +65,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -78,7 +73,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb index 628d984911..7d121a972a 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb @@ -72,7 +72,6 @@ class OSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDisk', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'OSDisk', model_properties: { os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +102,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -115,7 +110,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -133,7 +126,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -142,7 +134,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -150,7 +141,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb index 690bc7403a..74995f879f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb @@ -23,7 +23,6 @@ class OSDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDiskImage', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'OSDiskImage', model_properties: { operating_system: { - client_side_validation: true, required: true, serialized_name: 'operatingSystem', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb index 7ffd1a5b42..1338f079d2 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb @@ -86,7 +86,6 @@ class OSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSProfile', type: { @@ -94,7 +93,6 @@ def self.mapper() class_name: 'OSProfile', model_properties: { computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -144,13 +137,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb index 614b86fd55..3d164fb33c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb @@ -38,7 +38,6 @@ class Plan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Plan', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Plan', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, serialized_name: 'product', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, promotion_code: { - client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb index 839d2224a3..02bb03f6e9 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb @@ -31,7 +31,6 @@ class PurchasePlan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PurchasePlan', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'PurchasePlan', model_properties: { publisher: { - client_side_validation: true, required: true, serialized_name: 'publisher', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: true, serialized_name: 'product', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb index e57476fa38..93a8fe4fa1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb index 4375478894..5dd0d798c6 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb @@ -22,7 +22,6 @@ class ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceUpdate', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ResourceUpdate', 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_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb index 3d80ae1795..3e33fd3c7b 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb @@ -31,7 +31,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb index 0615a89099..3423df4a8a 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb @@ -51,7 +51,6 @@ class Snapshot < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Snapshot', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'Snapshot', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -94,13 +89,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: { @@ -110,7 +103,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -128,7 +119,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, owner_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ownerId', @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb index f3e58e6703..db3ffe84c5 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SnapshotList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SnapshotElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb index 1ecda9cdd6..91838ddab2 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb @@ -41,7 +41,6 @@ class SnapshotUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotUpdate', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'SnapshotUpdate', 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: { @@ -65,7 +62,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: false, serialized_name: 'properties.creationData', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb index fda4184c71..38e7a0245a 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb @@ -23,7 +23,6 @@ class SourceVault # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SourceVault', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SourceVault', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb index 5a5921e99f..bf1ac42408 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb @@ -23,7 +23,6 @@ class SshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: false, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb index 3a37084af2..1fc4f42614 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb @@ -32,7 +32,6 @@ class SshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshPublicKey', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'SshPublicKey', model_properties: { path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_data: { - client_side_validation: true, required: false, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb index 1b973a9cab..0155c88b45 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb @@ -38,7 +38,6 @@ class StorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageProfile', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'StorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -64,13 +61,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb index c5b2a3eef8..6b82409e64 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb index 1e51540e9b..28ddd479c2 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb @@ -23,7 +23,6 @@ class SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResourceReadOnly', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResourceReadOnly', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/update_resource.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/update_resource.rb index b4b5a9b905..816ef0ae6f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/update_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/update_resource.rb @@ -22,7 +22,6 @@ class UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpdateResource', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UpdateResource', 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_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb index 4616a53c8c..3be2296a25 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb @@ -28,7 +28,6 @@ class UpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradePolicy', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'UpgradePolicy', model_properties: { mode: { - client_side_validation: true, required: false, serialized_name: 'mode', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb index e7c252f6bb..316ffbe30d 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb index 2822ce8061..c57fd1881f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb index a1f051aaec..ab9e5ffae3 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb @@ -40,7 +40,6 @@ class VaultCertificate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VaultCertificate', model_properties: { certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, certificate_store: { - client_side_validation: true, required: false, serialized_name: 'certificateStore', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb index 4486687437..d9f1ff6119 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb @@ -27,7 +27,6 @@ class VaultSecretGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VaultSecretGroup', model_properties: { source_vault: { - client_side_validation: true, required: false, serialized_name: 'sourceVault', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, vault_certificates: { - client_side_validation: true, required: false, serialized_name: 'vaultCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultCertificateElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb index 4e37b08f9b..ad624bf34f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb @@ -22,7 +22,6 @@ class VirtualHardDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualHardDisk', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualHardDisk', model_properties: { uri: { - client_side_validation: true, required: false, serialized_name: 'uri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb index b82a400eb3..921a4d725b 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb @@ -92,7 +92,6 @@ class VirtualMachine < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachine', type: { @@ -100,7 +99,6 @@ def self.mapper() class_name: 'VirtualMachine', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -109,7 +107,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -118,7 +115,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -127,7 +123,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -135,13 +130,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: { @@ -151,7 +144,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -160,7 +152,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -169,7 +160,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -178,7 +168,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -187,7 +176,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -196,7 +184,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -205,7 +192,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -214,7 +200,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -223,7 +208,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -233,7 +217,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -241,7 +224,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -250,14 +232,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { @@ -268,7 +248,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb index 11c05b1cfb..4c069285ab 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb @@ -29,7 +29,6 @@ class VirtualMachineAgentInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineAgentInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineAgentInstanceView', model_properties: { vm_agent_version: { - client_side_validation: true, required: false, serialized_name: 'vmAgentVersion', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, extension_handlers: { - client_side_validation: true, required: false, serialized_name: 'extensionHandlers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb index f306758e5e..159441225f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb @@ -29,7 +29,6 @@ class VirtualMachineCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureParameters', model_properties: { vhd_prefix: { - client_side_validation: true, required: true, serialized_name: 'vhdPrefix', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, destination_container_name: { - client_side_validation: true, required: true, serialized_name: 'destinationContainerName', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, overwrite_vhds: { - client_side_validation: true, required: true, serialized_name: 'overwriteVhds', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb index 5686c42a65..731d65e907 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb @@ -22,7 +22,6 @@ class VirtualMachineCaptureResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -38,7 +36,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb index 332c036001..f1e7b97839 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineExtension < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineExtension', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,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: { @@ -113,7 +106,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, virtual_machine_extension_type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -178,7 +163,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, serialized_name: 'properties.instanceView', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb index 7d4b7dab81..7154ae9cc1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineExtensionHandlerInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionHandlerInstanceView', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb index 5d542c507d..cb86bacd20 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb @@ -39,7 +39,6 @@ class VirtualMachineExtensionImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImage', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionImage', 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() } }, operating_system: { - client_side_validation: true, required: true, serialized_name: 'properties.operatingSystem', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, compute_role: { - client_side_validation: true, required: true, serialized_name: 'properties.computeRole', type: { @@ -114,7 +105,6 @@ def self.mapper() } }, handler_schema: { - client_side_validation: true, required: true, serialized_name: 'properties.handlerSchema', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, vm_scale_set_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.vmScaleSetEnabled', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, supports_multiple_extensions: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsMultipleExtensions', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb index 5b7c934aa2..24d8b0686c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb @@ -35,7 +35,6 @@ class VirtualMachineExtensionInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceView', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, substatuses: { - client_side_validation: true, required: false, serialized_name: 'substatuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -84,13 +78,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb index 63cbcb75c8..c5fc4c5262 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb @@ -46,7 +46,6 @@ class VirtualMachineExtensionUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionUpdate', type: { @@ -54,13 +53,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionUpdate', 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: { @@ -70,7 +67,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb index a4758acdd4..95627be4f7 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineExtensionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb index ad5172dff2..0a20017f54 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb @@ -31,7 +31,6 @@ class VirtualMachineIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineIdentity', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -48,7 +46,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb index 758d608323..8de6e0b3cc 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb @@ -28,7 +28,6 @@ class VirtualMachineImage < VirtualMachineImageResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImage', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineImage', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -60,13 +56,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: { @@ -76,7 +70,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'properties.plan', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, os_disk_image: { - client_side_validation: true, required: false, serialized_name: 'properties.osDiskImage', type: { @@ -94,13 +86,11 @@ def self.mapper() } }, data_disk_images: { - client_side_validation: true, required: false, serialized_name: 'properties.dataDiskImages', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb index ed5d697d87..5c7eed53f8 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb @@ -31,7 +31,6 @@ class VirtualMachineImageResource < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineImageResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -63,13 +59,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_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb index 9d8d257996..1a509f683c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb @@ -50,7 +50,6 @@ class VirtualMachineInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineInstanceView', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -91,13 +86,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -134,13 +124,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb index 8fc754419e..06a691b1a1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualMachineListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb index 19dd627460..a7f0264a50 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb @@ -53,7 +53,6 @@ class VirtualMachineScaleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSet', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -96,13 +91,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: { @@ -112,7 +105,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -130,7 +121,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -148,7 +137,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -157,7 +145,6 @@ def self.mapper() } }, over_provision: { - client_side_validation: true, required: false, serialized_name: 'properties.overProvision', type: { @@ -165,7 +152,6 @@ def self.mapper() } }, single_placement_group: { - client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb index 8df89b9b64..53e3905f9f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb @@ -48,7 +48,6 @@ class VirtualMachineScaleSetDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDisk', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetDataDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb index 27cb3f2fe8..72f7439d1e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb @@ -49,7 +49,6 @@ class VirtualMachineScaleSetExtension < SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtension', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtension', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb index 9f878007bc..a520d51891 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetExtensionProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionProfile', model_properties: { extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb index 94ebc79b47..e903901144 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb @@ -33,7 +33,6 @@ class VirtualMachineScaleSetIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIdentity', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -50,7 +48,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb index de915d34b9..ffa3bb2f78 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineScaleSetInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceView', model_properties: { virtual_machine: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'virtualMachine', @@ -48,14 +46,12 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummaryElementType', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb index 6655d20c02..3b84fd4602 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetInstanceViewStatusesSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', type: { @@ -33,14 +32,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', model_properties: { statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb index 24f7a4f257..ae843ce487 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb @@ -35,7 +35,6 @@ class VirtualMachineScaleSetIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfiguration', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: true, serialized_name: 'properties.subnet', type: { @@ -68,13 +64,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -85,13 +79,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -102,13 +94,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb index b449fd5047..63294b6ffa 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb index 93f05ec10a..72c5d5dc99 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListSkusResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb index 19cf23a5fd..87abfc3c3d 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListWithLinkResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListWithLinkResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb index a37b898516..7b3e8f372c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetManagedDiskParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetManagedDiskParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetManagedDiskParameters', model_properties: { storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb index 22dc8ad159..b7ac736b65 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -63,13 +59,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb index a7ee420cde..071cdf8fc1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkProfile', model_properties: { network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb index 9a06be65df..4c573d0e68 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb @@ -58,7 +58,6 @@ class VirtualMachineScaleSetOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSDisk', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -92,7 +88,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -110,13 +104,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb index 739eecba2b..5f5cde6d24 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb @@ -73,7 +73,6 @@ class VirtualMachineScaleSetOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSProfile', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSProfile', model_properties: { computer_name_prefix: { - client_side_validation: true, required: false, serialized_name: 'computerNamePrefix', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -97,7 +94,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -105,7 +101,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -113,7 +108,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -122,7 +116,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -131,13 +124,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb index 8c936ec2a1..04c5a79513 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -46,7 +44,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb index 57d1d6eea1..4fded57bde 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb @@ -32,7 +32,6 @@ class VirtualMachineScaleSetSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default_capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultCapacity', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb index 98546f76db..b68e1a467c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb @@ -28,7 +28,6 @@ class VirtualMachineScaleSetStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetStorageProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb index d8e13d5fd1..a30a26d3b4 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb @@ -96,7 +96,6 @@ class VirtualMachineScaleSetVM < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVM', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVM', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -113,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -122,7 +119,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,7 +127,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -139,13 +134,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: { @@ -155,7 +148,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceId', @@ -164,7 +156,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -174,7 +165,6 @@ def self.mapper() } }, latest_model_applied: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.latestModelApplied', @@ -183,7 +173,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -192,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -202,7 +190,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -211,7 +198,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -220,7 +206,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -229,7 +214,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -238,7 +222,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -247,7 +230,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -256,7 +238,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -265,7 +246,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -273,7 +253,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -282,14 +261,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb index 2ae5e6c8ba..ecc7d19f9e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetVMExtensionsSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummary', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMExtensionsSummary', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -44,14 +42,12 @@ def self.mapper() } }, statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb index 62f1765d9e..da93229cc1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetVMInstanceIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceIDs', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceIDs', model_properties: { instance_ids: { - client_side_validation: true, required: false, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb index 805bd33008..fb388d439e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetVMInstanceRequiredIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', model_properties: { instance_ids: { - client_side_validation: true, required: true, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb index 102e052d56..f3ef028b58 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb @@ -54,7 +54,6 @@ class VirtualMachineScaleSetVMInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -95,13 +90,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -112,13 +105,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -138,13 +128,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -155,7 +143,6 @@ def self.mapper() } }, placement_group_id: { - client_side_validation: true, required: false, serialized_name: 'placementGroupId', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb index 7eb2e22b98..af62bc8696 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb index e2ed978a91..2a835fa64f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb @@ -35,7 +35,6 @@ class VirtualMachineScaleSetVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMProfile', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb index ab88807c2d..5e6b12810d 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb @@ -42,7 +42,6 @@ class VirtualMachineSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSize', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineSize', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, number_of_cores: { - client_side_validation: true, required: false, serialized_name: 'numberOfCores', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, os_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'osDiskSizeInMB', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, resource_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'resourceDiskSizeInMB', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, memory_in_mb: { - client_side_validation: true, required: false, serialized_name: 'memoryInMB', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, max_data_disk_count: { - client_side_validation: true, required: false, serialized_name: 'maxDataDiskCount', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb index 4af9837ce9..e60c2c1b23 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineSizeListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineSizeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb index c606fe0334..8bf1b3d28c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb @@ -27,7 +27,6 @@ class VirtualMachineStatusCodeCount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCount', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineStatusCodeCount', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -44,7 +42,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb index 50466b48da..3f10818a9f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb @@ -23,7 +23,6 @@ class WinRMConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WinRMConfiguration', model_properties: { listeners: { - client_side_validation: true, required: false, serialized_name: 'listeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WinRMListenerElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb index a2869f223e..6f3e0834e3 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb @@ -34,7 +34,6 @@ class WinRMListener # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMListener', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WinRMListener', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb index 2c76f0503d..5dda2a4a8b 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb @@ -43,7 +43,6 @@ class WindowsConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WindowsConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'WindowsConfiguration', model_properties: { provision_vmagent: { - client_side_validation: true, required: false, serialized_name: 'provisionVMAgent', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, enable_automatic_updates: { - client_side_validation: true, required: false, serialized_name: 'enableAutomaticUpdates', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'timeZone', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, additional_unattend_content: { - client_side_validation: true, required: false, serialized_name: 'additionalUnattendContent', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContentElementType', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, win_rm: { - client_side_validation: true, required: false, serialized_name: 'winRM', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb index ce2edfceea..13a91cc553 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Snapshot] operation results. # - def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, snapshot_name, snapshot, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -82,8 +82,8 @@ def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_ # # @return [Snapshot] operation results. # - def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -99,9 +99,9 @@ def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -128,8 +128,8 @@ def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [Snapshot] operation results. # - def get(resource_group_name, snapshot_name, custom_headers:nil) - response = get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get(resource_group_name, snapshot_name, custom_headers = nil) + response = get_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -144,8 +144,8 @@ def get(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + get_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -159,7 +159,7 @@ def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, snapshot_name, custom_headers:nil) + def get_async(resource_group_name, snapshot_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, 'snapshot_name is nil' if snapshot_name.nil? @@ -167,7 +167,6 @@ def get_async(resource_group_name, snapshot_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 @@ -223,8 +222,8 @@ def get_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, snapshot_name, custom_headers:nil) - response = delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def delete(resource_group_name, snapshot_name, custom_headers = nil) + response = delete_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -238,9 +237,9 @@ def delete(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def delete_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -265,8 +264,8 @@ def delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -279,8 +278,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 # @@ -292,14 +291,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 @@ -352,8 +350,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -365,8 +363,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 # @@ -377,13 +375,12 @@ 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.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 @@ -441,8 +438,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -458,9 +455,9 @@ def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -487,8 +484,8 @@ def grant_access_async(resource_group_name, snapshot_name, grant_access_data, cu # # @return [OperationStatusResponse] operation results. # - def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -502,9 +499,9 @@ def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def revoke_access_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -533,8 +530,8 @@ def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Snapshot] operation results. # - def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -551,8 +548,8 @@ def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -568,7 +565,7 @@ def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, sn # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, 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, 'snapshot_name is nil' if snapshot_name.nil? @@ -577,12 +574,13 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c 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::Compute::Mgmt::V2016_04_30_preview::Models::Snapshot.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -652,8 +650,8 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c # # @return [Snapshot] operation results. # - def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -670,8 +668,8 @@ def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -687,7 +685,7 @@ def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_update_async(resource_group_name, snapshot_name, snapshot, 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, 'snapshot_name is nil' if snapshot_name.nil? @@ -696,12 +694,13 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head 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::Compute::Mgmt::V2016_04_30_preview::Models::SnapshotUpdate.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -769,8 +768,8 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -785,8 +784,8 @@ def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -800,7 +799,7 @@ def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_delete_async(resource_group_name, snapshot_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, 'snapshot_name is nil' if snapshot_name.nil? @@ -808,7 +807,6 @@ def begin_delete_async(resource_group_name, snapshot_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 @@ -866,8 +864,8 @@ def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -884,8 +882,8 @@ def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! end # @@ -901,7 +899,7 @@ def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, 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, 'snapshot_name is nil' if snapshot_name.nil? @@ -910,12 +908,13 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da 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::Compute::Mgmt::V2016_04_30_preview::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -973,8 +972,8 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da # # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -989,8 +988,8 @@ def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -1004,7 +1003,7 @@ def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, snapshot_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, 'snapshot_name is nil' if snapshot_name.nil? @@ -1012,7 +1011,6 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1067,8 +1065,8 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers # # @return [SnapshotList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1082,8 +1080,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1096,12 +1094,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1155,8 +1152,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1170,8 +1167,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1184,12 +1181,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1242,12 +1238,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1261,12 +1257,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb index f8d32a8fa3..1b20492b74 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -48,8 +48,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -63,15 +63,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +126,8 @@ def list_async(location, custom_headers:nil) # # @return [ListUsagesResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -145,8 +143,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -161,12 +159,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,12 +219,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ListUsagesResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..5b8b39c20f --- /dev/null +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/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::Compute::Mgmt::V2016_04_30_preview + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb index 67c99ff882..af4d2b70cb 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionImage] operation results. # - def get(location, publisher_name, type, version, custom_headers:nil) - response = get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get(location, publisher_name, type, version, custom_headers = nil) + response = get_async(location, publisher_name, type, version, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(location, publisher_name, type, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, type, version, custom_headers:nil) - get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, type, version, custom_headers = nil) + get_async(location, publisher_name, type, version, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_with_http_info(location, publisher_name, type, version, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, type, version, custom_headers:nil) + def get_async(location, publisher_name, type, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -76,7 +76,6 @@ def get_async(location, publisher_name, type, version, 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 @@ -131,8 +130,8 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) # # @return [Array] operation results. # - def list_types(location, publisher_name, custom_headers:nil) - response = list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types(location, publisher_name, custom_headers = nil) + response = list_types_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -146,8 +145,8 @@ def list_types(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_types_with_http_info(location, publisher_name, custom_headers:nil) - list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types_with_http_info(location, publisher_name, custom_headers = nil) + list_types_async(location, publisher_name, custom_headers).value! end # @@ -160,7 +159,7 @@ def list_types_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_types_async(location, publisher_name, custom_headers:nil) + def list_types_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -168,7 +167,6 @@ def list_types_async(location, publisher_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 @@ -201,13 +199,11 @@ def list_types_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { @@ -243,8 +239,8 @@ def list_types_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -262,8 +258,8 @@ def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_versions_with_http_info(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions_with_http_info(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! end # @@ -280,7 +276,7 @@ def list_versions_with_http_info(location, publisher_name, type, filter:nil, top # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_versions_async(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_versions_async(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -289,7 +285,6 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -322,13 +317,11 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb index ceeeb81baa..8a762959db 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineExtension] operation results. # - def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, vm_name, vm_extension_name, exte # # @return [VirtualMachineExtension] operation results. # - def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, vm_name, vm_extension_name, extension_parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -149,9 +149,9 @@ def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -180,8 +180,8 @@ def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [VirtualMachineExtension] operation results. # - def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -198,8 +198,8 @@ def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! end # @@ -215,7 +215,7 @@ def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -224,7 +224,6 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -283,8 +282,8 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo # # @return [VirtualMachineExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -302,8 +301,8 @@ def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, exte # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -320,7 +319,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_exten # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -330,12 +329,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name 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::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -406,8 +406,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name # # @return [VirtualMachineExtension] operation results. # - def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -425,8 +425,8 @@ def begin_update(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -443,7 +443,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -453,12 +453,13 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio 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::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineExtensionUpdate.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -517,8 +518,8 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -534,8 +535,8 @@ def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! end # @@ -550,7 +551,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -559,7 +560,6 @@ def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_h 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_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb index 1b9c9f750b..e93d64310e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineImage] operation results. # - def get(location, publisher_name, offer, skus, version, custom_headers:nil) - response = get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get(location, publisher_name, offer, skus, version, custom_headers = nil) + response = get_async(location, publisher_name, offer, skus, version, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(location, publisher_name, offer, skus, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers:nil) - get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers = nil) + get_async(location, publisher_name, offer, skus, version, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(location, publisher_name, offer, skus, version, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, offer, skus, version, custom_headers:nil) + def get_async(location, publisher_name, offer, skus, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -80,7 +80,6 @@ def get_async(location, publisher_name, offer, skus, version, 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 @@ -141,8 +140,8 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil # # @return [Array] operation results. # - def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -162,8 +161,8 @@ def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! end # @@ -182,7 +181,7 @@ def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -192,7 +191,6 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,13 +223,11 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -264,8 +260,8 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order # # @return [Array] operation results. # - def list_offers(location, publisher_name, custom_headers:nil) - response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers(location, publisher_name, custom_headers = nil) + response = list_offers_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -280,8 +276,8 @@ def list_offers(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_offers_with_http_info(location, publisher_name, custom_headers:nil) - list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers_with_http_info(location, publisher_name, custom_headers = nil) + list_offers_async(location, publisher_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_offers_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_offers_async(location, publisher_name, custom_headers:nil) + def list_offers_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_offers_async(location, publisher_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 @@ -336,13 +331,11 @@ def list_offers_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -374,8 +367,8 @@ def list_offers_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_publishers(location, custom_headers:nil) - response = list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers(location, custom_headers = nil) + response = list_publishers_async(location, custom_headers).value! response.body unless response.nil? end @@ -389,8 +382,8 @@ def list_publishers(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_publishers_with_http_info(location, custom_headers:nil) - list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers_with_http_info(location, custom_headers = nil) + list_publishers_async(location, custom_headers).value! end # @@ -403,14 +396,13 @@ def list_publishers_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_publishers_async(location, custom_headers:nil) + def list_publishers_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,13 +435,11 @@ def list_publishers_async(location, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -483,8 +473,8 @@ def list_publishers_async(location, custom_headers:nil) # # @return [Array] operation results. # - def list_skus(location, publisher_name, offer, custom_headers:nil) - response = list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus(location, publisher_name, offer, custom_headers = nil) + response = list_skus_async(location, publisher_name, offer, custom_headers).value! response.body unless response.nil? end @@ -500,8 +490,8 @@ def list_skus(location, publisher_name, offer, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil) - list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus_with_http_info(location, publisher_name, offer, custom_headers = nil) + list_skus_async(location, publisher_name, offer, custom_headers).value! end # @@ -516,7 +506,7 @@ def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(location, publisher_name, offer, custom_headers:nil) + def list_skus_async(location, publisher_name, offer, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -525,7 +515,6 @@ def list_skus_async(location, publisher_name, offer, 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 @@ -558,13 +547,11 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb index 90e0e5e607..a2d275807f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -48,9 +48,9 @@ def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +78,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -93,9 +93,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -125,8 +125,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -140,9 +140,9 @@ def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -169,8 +169,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -184,9 +184,9 @@ def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +213,8 @@ def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [VirtualMachineScaleSetVM] operation results. # - def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -229,8 +229,8 @@ def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -244,7 +244,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -253,7 +253,6 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +308,8 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header # # @return [VirtualMachineScaleSetVMInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -325,8 +324,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -340,7 +339,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -349,7 +348,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +405,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [Array] operation results. # - def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers) + def list(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers) first_page.get_all_items end @@ -425,8 +423,8 @@ def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! end # @@ -442,7 +440,7 @@ def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, fil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) + def list_async(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -450,7 +448,6 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -508,8 +505,8 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -523,9 +520,9 @@ def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -552,8 +549,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -567,9 +564,9 @@ def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -596,8 +593,8 @@ def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -611,9 +608,9 @@ def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -641,8 +638,8 @@ def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -658,8 +655,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -674,7 +671,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -683,7 +680,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -740,8 +736,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -757,8 +753,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -773,7 +769,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -782,7 +778,6 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -841,8 +836,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -860,8 +855,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -878,7 +873,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -887,7 +882,6 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -943,8 +937,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -959,8 +953,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -974,7 +968,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -983,7 +977,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1041,8 +1034,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1059,8 +1052,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1076,7 +1069,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, insta # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1085,7 +1078,6 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1141,8 +1133,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1157,8 +1149,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1172,7 +1164,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1181,7 +1173,6 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1237,8 +1228,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1253,8 +1244,8 @@ def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1268,7 +1259,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1277,7 +1268,6 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1332,8 +1322,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [VirtualMachineScaleSetVMListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1347,8 +1337,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1361,12 +1351,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1424,12 +1413,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetVMListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - response = list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + response = list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb index f4a6dc93b9..709212adb1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [VirtualMachineScaleSet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -117,8 +117,8 @@ def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def get(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -132,8 +132,8 @@ def get(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -146,7 +146,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -154,7 +154,6 @@ def get_async(resource_group_name, vm_scale_set_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 @@ -213,8 +212,8 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -229,9 +228,9 @@ def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +258,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [OperationStatusResponse] operation results. # - def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -275,9 +274,9 @@ def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -303,8 +302,8 @@ def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [VirtualMachineScaleSetInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -318,8 +317,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -332,7 +331,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -340,7 +339,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_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 @@ -394,8 +392,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -408,8 +406,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -421,14 +419,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -484,8 +481,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -500,8 +497,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -515,13 +512,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -577,8 +573,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list_skus(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -593,8 +589,8 @@ def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -608,7 +604,7 @@ def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -616,7 +612,6 @@ def list_skus_async(resource_group_name, vm_scale_set_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 @@ -675,8 +670,8 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -691,9 +686,9 @@ def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -721,8 +716,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -737,9 +732,9 @@ def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -767,8 +762,8 @@ def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -783,9 +778,9 @@ def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -814,8 +809,8 @@ def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [OperationStatusResponse] operation results. # - def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -830,9 +825,9 @@ def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -859,8 +854,8 @@ def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -873,9 +868,9 @@ def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -902,8 +897,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -916,9 +911,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -945,8 +940,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [VirtualMachineScaleSet] operation results. # - def begin_create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -961,8 +956,8 @@ def begin_create_or_update(resource_group_name, name, parameters, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -976,7 +971,7 @@ def begin_create_or_update_with_http_info(resource_group_name, name, parameters, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -985,12 +980,13 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h 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::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1057,8 +1053,8 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1072,8 +1068,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1086,7 +1082,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1094,7 +1090,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1153,8 +1148,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1172,8 +1167,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1190,7 +1185,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1198,12 +1193,13 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i 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::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1262,8 +1258,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1279,8 +1275,8 @@ def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1295,7 +1291,7 @@ def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1304,12 +1300,13 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst 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::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1370,8 +1367,8 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1389,8 +1386,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1407,7 +1404,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_in # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1415,12 +1412,13 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id 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::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1479,8 +1477,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1496,8 +1494,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1512,7 +1510,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1520,12 +1518,13 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: 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::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1584,8 +1583,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1601,8 +1600,8 @@ def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1617,7 +1616,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1625,12 +1624,13 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni 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::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1690,8 +1690,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [OperationStatusResponse] operation results. # - def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1708,8 +1708,8 @@ def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1725,7 +1725,7 @@ def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1734,12 +1734,13 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst 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::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1797,8 +1798,8 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1813,8 +1814,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1828,7 +1829,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1836,7 +1837,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1892,8 +1892,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1908,8 +1908,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1923,7 +1923,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1931,7 +1931,6 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_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 @@ -1986,8 +1985,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [VirtualMachineScaleSetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2001,8 +2000,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2015,12 +2014,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2077,8 +2075,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListWithLinkResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2095,8 +2093,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -2112,12 +2110,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2172,8 +2169,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListSkusResult] operation results. # - def list_skus_next(next_page_link, custom_headers:nil) - response = list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next(next_page_link, custom_headers = nil) + response = list_skus_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2188,8 +2185,8 @@ def list_skus_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_next_with_http_info(next_page_link, custom_headers:nil) - list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next_with_http_info(next_page_link, custom_headers = nil) + list_skus_next_async(next_page_link, custom_headers).value! end # @@ -2203,12 +2200,11 @@ def list_skus_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_next_async(next_page_link, custom_headers:nil) + def list_skus_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2262,12 +2258,12 @@ def list_skus_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2285,12 +2281,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineScaleSetListWithLinkResult] which provide lazy access # to pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -2308,12 +2304,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualMachineScaleSetListSkusResult] which provide lazy access to # pages of the response. # - def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_skus_next_async(next_page_link, custom_headers:custom_headers) + list_skus_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb index 5cfd83a809..f70b20024c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [VirtualMachineSizeListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +60,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb index f67fb65250..cecdd4bcec 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionsListResult] operation results. # - def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_extensions_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +74,6 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +131,8 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header # # @return [VirtualMachineCaptureResult] operation results. # - def capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -148,9 +147,9 @@ def capture(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -178,8 +177,8 @@ def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, vm_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -222,8 +221,8 @@ def create_or_update_async(resource_group_name, vm_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -236,9 +235,9 @@ def delete(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -267,8 +266,8 @@ def delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -285,8 +284,8 @@ def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -302,7 +301,7 @@ def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -310,7 +309,6 @@ def get_async(resource_group_name, vm_name, expand:nil, 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 @@ -366,8 +364,8 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -380,9 +378,9 @@ def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -409,8 +407,8 @@ def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers: # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_name, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_name, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -423,9 +421,9 @@ def deallocate(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def deallocate_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -451,8 +449,8 @@ def deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def generalize(resource_group_name, vm_name, custom_headers:nil) - response = generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize(resource_group_name, vm_name, custom_headers = nil) + response = generalize_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -466,8 +464,8 @@ def generalize(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) - generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize_with_http_info(resource_group_name, vm_name, custom_headers = nil) + generalize_async(resource_group_name, vm_name, custom_headers).value! end # @@ -480,7 +478,7 @@ def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generalize_async(resource_group_name, vm_name, custom_headers:nil) + def generalize_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -488,7 +486,6 @@ def generalize_async(resource_group_name, vm_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 @@ -543,8 +540,8 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -558,8 +555,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -572,14 +569,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -633,8 +629,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -647,8 +643,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -660,13 +656,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -722,8 +717,8 @@ def list_all_async(custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, vm_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -738,8 +733,8 @@ def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! end # @@ -753,7 +748,7 @@ def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -761,7 +756,6 @@ def list_available_sizes_async(resource_group_name, vm_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 @@ -818,8 +812,8 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_name, custom_headers:nil) - response = power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_name, custom_headers = nil) + response = power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -832,9 +826,9 @@ def power_off(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_name, custom_headers:nil) + def power_off_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -860,8 +854,8 @@ def power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_name, custom_headers:nil) - response = restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_name, custom_headers = nil) + response = restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -874,9 +868,9 @@ def restart(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_name, custom_headers:nil) + def restart_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -902,8 +896,8 @@ def restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_name, custom_headers:nil) - response = start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def start(resource_group_name, vm_name, custom_headers = nil) + response = start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -916,9 +910,9 @@ def start(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_name, custom_headers:nil) + def start_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -944,8 +938,8 @@ def start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_name, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_name, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -958,9 +952,9 @@ def redeploy(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def redeploy_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -989,8 +983,8 @@ def redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineCaptureResult] operation results. # - def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1007,8 +1001,8 @@ def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1024,7 +1018,7 @@ def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1033,12 +1027,13 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers 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::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineCaptureParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1097,8 +1092,8 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers # # @return [VirtualMachine] operation results. # - def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1114,8 +1109,8 @@ def begin_create_or_update(resource_group_name, vm_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1130,7 +1125,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1139,12 +1134,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo 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::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachine.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1211,8 +1207,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1226,8 +1222,8 @@ def begin_delete(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1240,7 +1236,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1248,7 +1244,6 @@ def begin_delete_async(resource_group_name, vm_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 @@ -1304,8 +1299,8 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1320,8 +1315,8 @@ def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1335,7 +1330,7 @@ def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1343,7 +1338,6 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1399,8 +1393,8 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_name, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1415,8 +1409,8 @@ def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1430,7 +1424,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1438,7 +1432,6 @@ def begin_deallocate_async(resource_group_name, vm_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 @@ -1495,8 +1488,8 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_name, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_name, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1512,8 +1505,8 @@ def begin_power_off(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1528,7 +1521,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1536,7 +1529,6 @@ def begin_power_off_async(resource_group_name, vm_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 @@ -1591,8 +1583,8 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_name, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1606,8 +1598,8 @@ def begin_restart(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_restart_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1620,7 +1612,7 @@ def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1628,7 +1620,6 @@ def begin_restart_async(resource_group_name, vm_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 @@ -1683,8 +1674,8 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_name, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_name, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1698,8 +1689,8 @@ def begin_start(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_start_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1712,7 +1703,7 @@ def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_name, custom_headers:nil) + def begin_start_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1720,7 +1711,6 @@ def begin_start_async(resource_group_name, vm_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 @@ -1775,8 +1765,8 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_name, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1790,8 +1780,8 @@ def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1804,7 +1794,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1812,7 +1802,6 @@ def begin_redeploy_async(resource_group_name, vm_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 @@ -1868,8 +1857,8 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1884,8 +1873,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1899,12 +1888,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1959,8 +1947,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1975,8 +1963,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1990,12 +1978,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2050,12 +2037,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2071,12 +2058,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb index 0e3db0fc1c..6885f96e28 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [AvailabilitySet] operation results. # - def create_or_update(resource_group_name, availability_set_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, availability_set_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, availability_set_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, availability_set_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, availability_set_name, 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::Compute::Mgmt::V2017_03_30::Models::AvailabilitySet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -137,8 +138,8 @@ def create_or_update_async(resource_group_name, availability_set_name, parameter # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, availability_set_name, custom_headers:nil) - response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, availability_set_name, custom_headers = nil) + response = delete_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +153,8 @@ def delete(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + delete_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -166,7 +167,7 @@ def delete_with_http_info(resource_group_name, availability_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, availability_set_name, custom_headers:nil) + def delete_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -174,7 +175,6 @@ def delete_async(resource_group_name, availability_set_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 @@ -229,8 +229,8 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySet] operation results. # - def get(resource_group_name, availability_set_name, custom_headers:nil) - response = get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, availability_set_name, custom_headers = nil) + response = get_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -244,8 +244,8 @@ def get(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + get_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -258,7 +258,7 @@ def get_with_http_info(resource_group_name, availability_set_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, availability_set_name, custom_headers:nil) + def get_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -266,7 +266,6 @@ def get_async(resource_group_name, availability_set_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 @@ -320,8 +319,8 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySetListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -334,8 +333,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -347,14 +346,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -410,8 +408,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, availability_set_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, availability_set_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -426,8 +424,8 @@ def list_available_sizes(resource_group_name, availability_set_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -441,7 +439,7 @@ def list_available_sizes_with_http_info(resource_group_name, availability_set_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -449,7 +447,6 @@ def list_available_sizes_async(resource_group_name, availability_set_name, custo 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_compute/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb index b20d89508f..a059a7efba 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb @@ -168,9 +168,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? @@ -187,7 +184,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2017_03_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2017_03_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb index 70cea3ad59..21e612b4f0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [Disk] operation results. # - def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def create_or_update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, disk_name, disk, custom_headers: # # @return [Disk] operation results. # - def update(resource_group_name, disk_name, disk, custom_headers:nil) - response = update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def update(resource_group_name, disk_name, disk, custom_headers = nil) + response = update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [Disk] operation results. # - def get(resource_group_name, disk_name, custom_headers:nil) - response = get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get(resource_group_name, disk_name, custom_headers = nil) + response = get_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +150,8 @@ def get(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) - get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, disk_name, custom_headers = nil) + get_async(resource_group_name, disk_name, custom_headers).value! end # @@ -166,7 +166,7 @@ def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, disk_name, custom_headers:nil) + def get_async(resource_group_name, disk_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, 'disk_name is nil' if disk_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, disk_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 @@ -231,8 +230,8 @@ def get_async(resource_group_name, disk_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, disk_name, custom_headers:nil) - response = delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def delete(resource_group_name, disk_name, custom_headers = nil) + response = delete_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -247,9 +246,9 @@ def delete(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, disk_name, custom_headers:nil) + def delete_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -274,8 +273,8 @@ def delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -288,8 +287,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 # @@ -301,14 +300,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 @@ -361,8 +359,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -374,8 +372,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 # @@ -386,13 +384,12 @@ 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.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 @@ -451,8 +448,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -469,9 +466,9 @@ def grant_access(resource_group_name, disk_name, grant_access_data, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -499,8 +496,8 @@ def grant_access_async(resource_group_name, disk_name, grant_access_data, custom # # @return [OperationStatusResponse] operation results. # - def revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -515,9 +512,9 @@ def revoke_access(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def revoke_access_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -547,8 +544,8 @@ def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Disk] operation results. # - def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -566,8 +563,8 @@ def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -584,7 +581,7 @@ def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, disk_name, disk, 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, 'disk_name is nil' if disk_name.nil? @@ -593,12 +590,13 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he 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::Compute::Mgmt::V2017_03_30::Models::Disk.mapper() request_content = @client.serialize(request_mapper, disk) @@ -669,8 +667,8 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he # # @return [Disk] operation results. # - def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -688,8 +686,8 @@ def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -706,7 +704,7 @@ def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_update_async(resource_group_name, disk_name, disk, 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, 'disk_name is nil' if disk_name.nil? @@ -715,12 +713,13 @@ def begin_update_async(resource_group_name, disk_name, disk, 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 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::Compute::Mgmt::V2017_03_30::Models::DiskUpdate.mapper() request_content = @client.serialize(request_mapper, disk) @@ -789,8 +788,8 @@ def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, disk_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, disk_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -806,8 +805,8 @@ def begin_delete(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_delete_async(resource_group_name, disk_name, custom_headers).value! end # @@ -822,7 +821,7 @@ def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) + def begin_delete_async(resource_group_name, disk_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, 'disk_name is nil' if disk_name.nil? @@ -830,7 +829,6 @@ def begin_delete_async(resource_group_name, disk_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 @@ -889,8 +887,8 @@ def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -908,8 +906,8 @@ def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! end # @@ -926,7 +924,7 @@ def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_acce # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, 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, 'disk_name is nil' if disk_name.nil? @@ -935,12 +933,13 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, 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::Compute::Mgmt::V2017_03_30::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -999,8 +998,8 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, # # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -1016,8 +1015,8 @@ def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! end # @@ -1032,7 +1031,7 @@ def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, disk_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, 'disk_name is nil' if disk_name.nil? @@ -1040,7 +1039,6 @@ def begin_revoke_access_async(resource_group_name, disk_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 @@ -1095,8 +1093,8 @@ def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil # # @return [DiskList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1110,8 +1108,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1124,12 +1122,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1183,8 +1180,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1198,8 +1195,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1212,12 +1209,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1270,12 +1266,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1285,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/images.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/images.rb index 42ed70e4f4..419974f648 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/images.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/images.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Image] operation results. # - def create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, image_name, parameters, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def create_or_update_async(resource_group_name, image_name, parameters, custom_h # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, image_name, custom_headers:nil) - response = delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def delete(resource_group_name, image_name, custom_headers = nil) + response = delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def delete(resource_group_name, image_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, image_name, custom_headers:nil) + def delete_async(resource_group_name, image_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, image_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -118,8 +118,8 @@ def delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [Image] operation results. # - def get(resource_group_name, image_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, image_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, image_name, expand, custom_headers).value! response.body unless response.nil? end @@ -134,8 +134,8 @@ def get(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, image_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, image_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, image_name, expand, custom_headers).value! end # @@ -149,7 +149,7 @@ def get_with_http_info(resource_group_name, image_name, expand:nil, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, image_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -157,7 +157,6 @@ def get_async(resource_group_name, image_name, expand:nil, 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 @@ -211,8 +210,8 @@ def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -225,8 +224,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 # @@ -238,14 +237,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -315,8 +313,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 # @@ -329,13 +327,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -391,8 +388,8 @@ def list_async(custom_headers:nil) # # @return [Image] operation results. # - def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -407,8 +404,8 @@ def begin_create_or_update(resource_group_name, image_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! end # @@ -422,7 +419,7 @@ def begin_create_or_update_with_http_info(resource_group_name, image_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -431,12 +428,13 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, 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::Compute::Mgmt::V2017_03_30::Models::Image.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -503,8 +501,8 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, cu # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, image_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, image_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -518,8 +516,8 @@ def begin_delete(resource_group_name, image_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, image_name, custom_headers:nil) - begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, image_name, custom_headers = nil) + begin_delete_async(resource_group_name, image_name, custom_headers).value! end # @@ -532,7 +530,7 @@ def begin_delete_with_http_info(resource_group_name, image_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, image_name, custom_headers:nil) + def begin_delete_async(resource_group_name, image_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -540,7 +538,6 @@ def begin_delete_async(resource_group_name, image_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 @@ -595,8 +592,8 @@ def begin_delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -610,8 +607,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -624,12 +621,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -685,8 +681,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -702,8 +698,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -718,12 +714,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -776,12 +771,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -797,12 +792,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/access_uri.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/access_uri.rb index 7c383bad9e..4407cc31e0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/access_uri.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/access_uri.rb @@ -22,7 +22,6 @@ class AccessUri # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AccessUri', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'AccessUri', model_properties: { access_sas: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.output.accessSAS', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb index 4f343cede4..114b117134 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb @@ -42,7 +42,6 @@ class AdditionalUnattendContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContent', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AdditionalUnattendContent', model_properties: { pass_name: { - client_side_validation: true, required: false, serialized_name: 'passName', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, component_name: { - client_side_validation: true, required: false, serialized_name: 'componentName', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, setting_name: { - client_side_validation: true, required: false, serialized_name: 'settingName', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb index f08c82913c..e3b4ddfece 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb @@ -23,7 +23,6 @@ class ApiEntityReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiEntityReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ApiEntityReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error.rb index 8a13cf0445..46a052d35d 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error.rb @@ -34,7 +34,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'ApiError', model_properties: { details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBaseElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, innererror: { - client_side_validation: true, required: false, serialized_name: 'innererror', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb index fcd60bc748..8cf0d71df9 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb @@ -28,7 +28,6 @@ class ApiErrorBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBase', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApiErrorBase', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set.rb index e5d70f0911..302e0fcf65 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set.rb @@ -45,7 +45,6 @@ class AvailabilitySet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySet', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'AvailabilitySet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,7 +97,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -120,13 +111,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -137,14 +126,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -155,7 +142,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb index c3681de63b..810200133b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb @@ -22,7 +22,6 @@ class AvailabilitySetListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AvailabilitySetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb index 86ad0b74c6..779da8c95e 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb @@ -31,7 +31,6 @@ class BootDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnostics', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BootDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, serialized_name: 'storageUri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb index 49070ff458..0b39313a60 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb @@ -25,7 +25,6 @@ class BootDiagnosticsInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnosticsInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BootDiagnosticsInstanceView', model_properties: { console_screenshot_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'consoleScreenshotBlobUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, serial_console_log_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'serialConsoleLogBlobUri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb index d2e2ed2ce7..dfff79204c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb @@ -22,7 +22,6 @@ class ComputeLongRunningOperationProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeLongRunningOperationProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ComputeLongRunningOperationProperties', model_properties: { output: { - client_side_validation: true, required: false, serialized_name: 'output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/creation_data.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/creation_data.rb index 785a6a771d..b4b1883ea0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/creation_data.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/creation_data.rb @@ -40,7 +40,6 @@ class CreationData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CreationData', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'CreationData', model_properties: { create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, storage_account_id: { - client_side_validation: true, required: false, serialized_name: 'storageAccountId', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, source_uri: { - client_side_validation: true, required: false, serialized_name: 'sourceUri', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, source_resource_id: { - client_side_validation: true, required: false, serialized_name: 'sourceResourceId', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb index 90c224660d..c9b326a78a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb @@ -63,7 +63,6 @@ class DataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDisk', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'DataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -96,7 +92,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -123,7 +116,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb index 0483cf994d..de12dd6d03 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb @@ -24,7 +24,6 @@ class DataDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDiskImage', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'DataDiskImage', model_properties: { lun: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb index 54127d83f5..ff3da4aa8d 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb @@ -28,7 +28,6 @@ class DiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiagnosticsProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'DiagnosticsProfile', model_properties: { boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk.rb index 6aa4c10595..e83a0f06d5 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk.rb @@ -53,7 +53,6 @@ class Disk < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Disk', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'Disk', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -96,13 +91,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: { @@ -112,7 +105,6 @@ def self.mapper() } }, managed_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'managedBy', @@ -121,7 +113,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -155,7 +143,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -181,7 +166,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb index bafd8844fa..520f7bd2d4 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb @@ -31,7 +31,6 @@ class DiskEncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'DiskEncryptionSettings', model_properties: { disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb index e68f6bc279..85381b7ebe 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb @@ -29,7 +29,6 @@ class DiskInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'DiskInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettingsElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_list.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_list.rb index 2f12107aa3..929fbf0f07 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_list.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'DiskList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb index 662e570de6..3928a5c6e9 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb @@ -26,7 +26,6 @@ class DiskSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskSku', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'DiskSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_update.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_update.rb index 3693935fc0..f2f5af9dbe 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_update.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_update.rb @@ -33,7 +33,6 @@ class DiskUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskUpdate', type: { @@ -41,13 +40,11 @@ def self.mapper() class_name: 'DiskUpdate', 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: { @@ -57,7 +54,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/encryption_settings.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/encryption_settings.rb index ad3677e762..21667634a5 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/encryption_settings.rb @@ -34,7 +34,6 @@ class EncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionSettings', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EncryptionSettings', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/grant_access_data.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/grant_access_data.rb index e7a88a4051..b388203dcd 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/grant_access_data.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/grant_access_data.rb @@ -26,7 +26,6 @@ class GrantAccessData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GrantAccessData', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'GrantAccessData', model_properties: { access: { - client_side_validation: true, required: true, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, duration_in_seconds: { - client_side_validation: true, required: true, serialized_name: 'durationInSeconds', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb index fe73a823ed..c371e531ac 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb @@ -58,7 +58,6 @@ class HardwareProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HardwareProfile', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'HardwareProfile', model_properties: { vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image.rb index 71b66c5811..4bf3d3e02f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image.rb @@ -32,7 +32,6 @@ class Image < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Image', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Image', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -75,13 +70,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: { @@ -91,7 +84,6 @@ def self.mapper() } }, source_virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceVirtualMachine', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -109,7 +100,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb index a7b13b8644..6b1d0435e3 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb @@ -50,7 +50,6 @@ class ImageDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDataDisk', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ImageDataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -92,7 +87,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb index ab6ea2e3b7..953a692b08 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb @@ -28,7 +28,6 @@ class ImageDiskReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDiskReference', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ImageDiskReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: false, serialized_name: 'lun', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_list_result.rb index 9cf619eac2..1f088eaa2a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ImageListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb index e4e38c8ec3..c741a6ca0a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb @@ -55,7 +55,6 @@ class ImageOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageOSDisk', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'ImageOSDisk', model_properties: { os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, os_state: { - client_side_validation: true, required: true, serialized_name: 'osState', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -116,7 +109,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_reference.rb index 4c7204a642..799ccd66c9 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_reference.rb @@ -42,7 +42,6 @@ class ImageReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageReference', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ImageReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_storage_profile.rb index 6d0da65a1a..bbb4868859 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_storage_profile.rb @@ -31,7 +31,6 @@ class ImageStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageStorageProfile', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ImageStorageProfile', model_properties: { os_disk: { - client_side_validation: true, required: true, serialized_name: 'osDisk', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb index fab25bbaac..6056592e03 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb @@ -25,7 +25,6 @@ class InnerError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InnerError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'InnerError', model_properties: { exceptiontype: { - client_side_validation: true, required: false, serialized_name: 'exceptiontype', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, errordetail: { - client_side_validation: true, required: false, serialized_name: 'errordetail', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb index c6f244f419..e75649ca09 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb @@ -36,7 +36,6 @@ class InstanceViewStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatus', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'InstanceViewStatus', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, level: { - client_side_validation: true, required: false, serialized_name: 'level', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb index b463575db5..047ef0e427 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb @@ -27,7 +27,6 @@ class KeyVaultAndKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndKeyReference', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'KeyVaultAndKeyReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb index a1deb1ec73..023c75e7dd 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultAndSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultAndSecretReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb index e0f339cfd5..e0587ec4d2 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb @@ -26,7 +26,6 @@ class KeyVaultKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultKeyReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultKeyReference', model_properties: { key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb index c6f1f3fd35..9d0913ebc0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultSecretReference', model_properties: { secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb index 5b950c5bb6..8805053bf3 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb @@ -33,7 +33,6 @@ class LinuxConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinuxConfiguration', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'LinuxConfiguration', model_properties: { disable_password_authentication: { - client_side_validation: true, required: false, serialized_name: 'disablePasswordAuthentication', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: false, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb index dceb8bca5c..425abacf8c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListUsagesResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ListUsagesResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb index c54250bd86..354253cd80 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb @@ -42,7 +42,6 @@ class MaintenanceRedeployStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MaintenanceRedeployStatus', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'MaintenanceRedeployStatus', model_properties: { is_customer_initiated_maintenance_allowed: { - client_side_validation: true, required: false, serialized_name: 'isCustomerInitiatedMaintenanceAllowed', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, pre_maintenance_window_start_time: { - client_side_validation: true, required: false, serialized_name: 'preMaintenanceWindowStartTime', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, pre_maintenance_window_end_time: { - client_side_validation: true, required: false, serialized_name: 'preMaintenanceWindowEndTime', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, maintenance_window_start_time: { - client_side_validation: true, required: false, serialized_name: 'maintenanceWindowStartTime', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, maintenance_window_end_time: { - client_side_validation: true, required: false, serialized_name: 'maintenanceWindowEndTime', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, last_operation_result_code: { - client_side_validation: true, required: false, serialized_name: 'lastOperationResultCode', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, last_operation_message: { - client_side_validation: true, required: false, serialized_name: 'lastOperationMessage', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/managed_disk_parameters.rb index 87806abb88..db62958133 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/managed_disk_parameters.rb @@ -24,7 +24,6 @@ class ManagedDiskParameters < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ManagedDiskParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ManagedDiskParameters', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -40,7 +38,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb index 1b58f7068b..986d449e14 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb @@ -23,7 +23,6 @@ class NetworkInterfaceReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'NetworkInterfaceReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -39,7 +37,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_profile.rb index f5a9812346..8139cfa5bf 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_profile.rb @@ -24,7 +24,6 @@ class NetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'NetworkProfile', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReferenceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb index 25e3ccb3b5..698bd4eb66 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb @@ -34,7 +34,6 @@ class OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationStatusResponse', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'OperationStatusResponse', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -60,7 +57,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -69,7 +65,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -78,7 +73,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb index 0180d2751e..e57b7d603c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb @@ -72,7 +72,6 @@ class OSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDisk', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'OSDisk', model_properties: { os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +102,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -115,7 +110,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -133,7 +126,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -142,7 +134,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -150,7 +141,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb index 46ed8a7ec6..2bbe5fe136 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb @@ -23,7 +23,6 @@ class OSDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDiskImage', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'OSDiskImage', model_properties: { operating_system: { - client_side_validation: true, required: true, serialized_name: 'operatingSystem', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb index 3eeafe3543..9f88b91a75 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb @@ -86,7 +86,6 @@ class OSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSProfile', type: { @@ -94,7 +93,6 @@ def self.mapper() class_name: 'OSProfile', model_properties: { computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -144,13 +137,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/plan.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/plan.rb index ea342ede59..6cdd307d4c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/plan.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/plan.rb @@ -38,7 +38,6 @@ class Plan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Plan', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Plan', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, serialized_name: 'product', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, promotion_code: { - client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb index a5dc7e6db9..6775f38c90 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb @@ -31,7 +31,6 @@ class PurchasePlan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PurchasePlan', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'PurchasePlan', model_properties: { publisher: { - client_side_validation: true, required: true, serialized_name: 'publisher', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: true, serialized_name: 'product', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource.rb index 024a1cdf4f..adbdf30a5c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku.rb index c27cdf73c4..5c6d7d7209 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku.rb @@ -60,7 +60,6 @@ class ResourceSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSku', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'ResourceSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', @@ -95,7 +91,6 @@ def self.mapper() } }, size: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'size', @@ -104,7 +99,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'family', @@ -113,7 +107,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -122,7 +115,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', @@ -132,14 +124,12 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -149,14 +139,12 @@ def self.mapper() } }, api_versions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'apiVersions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -166,14 +154,12 @@ def self.mapper() } }, costs: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'costs', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCostsElementType', type: { @@ -184,14 +170,12 @@ def self.mapper() } }, capabilities: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapabilitiesElementType', type: { @@ -202,14 +186,12 @@ def self.mapper() } }, restrictions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restrictions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictionsElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb index 6fd25f536f..54ea037679 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb @@ -25,7 +25,6 @@ class ResourceSkuCapabilities # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapabilities', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceSkuCapabilities', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capacity.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capacity.rb index 4c9000ded6..4cb173fe4f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capacity.rb @@ -32,7 +32,6 @@ class ResourceSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ResourceSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'default', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_costs.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_costs.rb index 5a69cab228..5ce2c3000b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_costs.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_costs.rb @@ -29,7 +29,6 @@ class ResourceSkuCosts # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCosts', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ResourceSkuCosts', model_properties: { meter_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterID', @@ -46,7 +44,6 @@ def self.mapper() } }, quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'quantity', @@ -55,7 +52,6 @@ def self.mapper() } }, extended_unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extendedUnit', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb index 982126ff20..a3dce02cfb 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb @@ -32,7 +32,6 @@ class ResourceSkuRestrictions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictions', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ResourceSkuRestrictions', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -50,14 +48,12 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, reason_code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reasonCode', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_skus_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_skus_result.rb index a909418cb4..ea8eacd8b1 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_skus_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkusResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ResourceSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb index b8ff882663..78aaed4978 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb @@ -25,7 +25,6 @@ class ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceUpdate', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'ResourceUpdate', 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: { @@ -49,7 +46,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb index 9c13e6044c..9c2ea6a06d 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb @@ -48,7 +48,6 @@ class RollingUpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradePolicy', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'RollingUpgradePolicy', model_properties: { max_batch_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxBatchInstancePercent', constraints: { @@ -68,7 +66,6 @@ def self.mapper() } }, max_unhealthy_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxUnhealthyInstancePercent', constraints: { @@ -80,7 +77,6 @@ def self.mapper() } }, max_unhealthy_upgraded_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxUnhealthyUpgradedInstancePercent', constraints: { @@ -92,7 +88,6 @@ def self.mapper() } }, pause_time_between_batches: { - client_side_validation: true, required: false, serialized_name: 'pauseTimeBetweenBatches', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb index 4a575e5e3f..3c483017f7 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb @@ -36,7 +36,6 @@ class RollingUpgradeProgressInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeProgressInfo', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'RollingUpgradeProgressInfo', model_properties: { successful_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'successfulInstanceCount', @@ -53,7 +51,6 @@ def self.mapper() } }, failed_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'failedInstanceCount', @@ -62,7 +59,6 @@ def self.mapper() } }, in_progress_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'inProgressInstanceCount', @@ -71,7 +67,6 @@ def self.mapper() } }, pending_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'pendingInstanceCount', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb index 52973e7c53..2ab7a37034 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb @@ -34,7 +34,6 @@ class RollingUpgradeRunningStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeRunningStatus', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RollingUpgradeRunningStatus', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -52,7 +50,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -61,7 +58,6 @@ def self.mapper() } }, last_action: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastAction', @@ -71,7 +67,6 @@ def self.mapper() } }, last_action_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastActionTime', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb index 0de773b97d..c146a3240f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb @@ -34,7 +34,6 @@ class RollingUpgradeStatusInfo < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeStatusInfo', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RollingUpgradeStatusInfo', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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: { @@ -93,7 +86,6 @@ def self.mapper() } }, policy: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.policy', @@ -103,7 +95,6 @@ def self.mapper() } }, running_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.runningStatus', @@ -113,7 +104,6 @@ def self.mapper() } }, progress: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.progress', @@ -123,7 +113,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.error', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb index 9e4f780308..30a639c8cd 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb @@ -26,7 +26,6 @@ class RunCommandDocument < RunCommandDocumentBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocument', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RunCommandDocument', model_properties: { schema: { - client_side_validation: true, required: true, serialized_name: '$schema', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -59,7 +55,6 @@ def self.mapper() } }, label: { - client_side_validation: true, required: true, serialized_name: 'label', type: { @@ -67,7 +62,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: true, serialized_name: 'description', type: { @@ -75,13 +69,11 @@ def self.mapper() } }, script: { - client_side_validation: true, required: true, serialized_name: 'script', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandParameterDefinitionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb index f8c7e6012b..8f8bda1b89 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb @@ -35,7 +35,6 @@ class RunCommandDocumentBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocumentBase', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RunCommandDocumentBase', model_properties: { schema: { - client_side_validation: true, required: true, serialized_name: '$schema', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, label: { - client_side_validation: true, required: true, serialized_name: 'label', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: true, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input.rb index ad1de1d797..5905cf86fd 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input.rb @@ -30,7 +30,6 @@ class RunCommandInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandInput', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'RunCommandInput', model_properties: { command_id: { - client_side_validation: true, required: true, serialized_name: 'commandId', type: { @@ -46,13 +44,11 @@ def self.mapper() } }, script: { - client_side_validation: true, required: false, serialized_name: 'script', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandInputParameterElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input_parameter.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input_parameter.rb index bf7fd64b23..146169132f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input_parameter.rb @@ -25,7 +25,6 @@ class RunCommandInputParameter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandInputParameter', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'RunCommandInputParameter', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_list_result.rb index 79adea28bb..19561eb3fc 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'RunCommandListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocumentBaseElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb index 5c86c8edad..5c011bab8d 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb @@ -32,7 +32,6 @@ class RunCommandParameterDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandParameterDefinition', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'RunCommandParameterDefinition', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, serialized_name: 'type', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, default_value: { - client_side_validation: true, required: false, serialized_name: 'defaultValue', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, required: { - client_side_validation: true, required: false, serialized_name: 'required', default_value: false, diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_result.rb index 5a7b743a6e..5ed89fac35 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_result.rb @@ -22,7 +22,6 @@ class RunCommandResult < OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'RunCommandResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -39,7 +37,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -48,7 +45,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -57,7 +53,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -66,7 +61,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', @@ -76,7 +70,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sku.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sku.rb index 975faaeff2..48aac93660 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sku.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sku.rb @@ -31,7 +31,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot.rb index 12fdc4cf8b..60533fd11f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot.rb @@ -49,7 +49,6 @@ class Snapshot < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Snapshot', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'Snapshot', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -75,7 +72,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -84,7 +80,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -92,13 +87,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: { @@ -108,7 +101,6 @@ def self.mapper() } }, managed_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'managedBy', @@ -117,7 +109,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -135,7 +125,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -144,7 +133,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -170,7 +156,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_list.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_list.rb index 824287bf23..e4528dbbc6 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_list.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SnapshotList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SnapshotElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_update.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_update.rb index a4611fca66..484b44383f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_update.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_update.rb @@ -33,7 +33,6 @@ class SnapshotUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotUpdate', type: { @@ -41,13 +40,11 @@ def self.mapper() class_name: 'SnapshotUpdate', 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: { @@ -57,7 +54,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/source_vault.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/source_vault.rb index d3aedd96a5..b225ab58a2 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/source_vault.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/source_vault.rb @@ -23,7 +23,6 @@ class SourceVault # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SourceVault', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SourceVault', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb index 344e5fd3c7..ec0332f592 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb @@ -23,7 +23,6 @@ class SshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: false, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb index b4a3eb418a..ab1ed3a327 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb @@ -32,7 +32,6 @@ class SshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshPublicKey', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'SshPublicKey', model_properties: { path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_data: { - client_side_validation: true, required: false, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/storage_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/storage_profile.rb index a71e4ff912..0b2ef3da4c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/storage_profile.rb @@ -38,7 +38,6 @@ class StorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageProfile', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'StorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -64,13 +61,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb index b7a6a65364..e7b7b6763e 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource_read_only.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource_read_only.rb index d1da5df26e..9ad3e154d7 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource_read_only.rb @@ -23,7 +23,6 @@ class SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResourceReadOnly', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResourceReadOnly', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/update_resource.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/update_resource.rb index 46272b7c04..ecb1f09cad 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/update_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/update_resource.rb @@ -22,7 +22,6 @@ class UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpdateResource', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UpdateResource', 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_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb index 39cb9d9084..40a6b89e67 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb @@ -37,7 +37,6 @@ class UpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradePolicy', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'UpgradePolicy', model_properties: { mode: { - client_side_validation: true, required: false, serialized_name: 'mode', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, rolling_upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'rollingUpgradePolicy', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, automatic_osupgrade: { - client_side_validation: true, required: false, serialized_name: 'automaticOSUpgrade', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage.rb index 8d37b71c1c..8e8db42f94 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb index f7a042df9a..015c6a16ea 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb index 2f7001c840..911c37c78e 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb @@ -40,7 +40,6 @@ class VaultCertificate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VaultCertificate', model_properties: { certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, certificate_store: { - client_side_validation: true, required: false, serialized_name: 'certificateStore', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb index 86af779c93..2fb7a75216 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb @@ -27,7 +27,6 @@ class VaultSecretGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VaultSecretGroup', model_properties: { source_vault: { - client_side_validation: true, required: false, serialized_name: 'sourceVault', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, vault_certificates: { - client_side_validation: true, required: false, serialized_name: 'vaultCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultCertificateElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb index bb61b12e63..6334126302 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb @@ -22,7 +22,6 @@ class VirtualHardDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualHardDisk', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualHardDisk', model_properties: { uri: { - client_side_validation: true, required: false, serialized_name: 'uri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb index f5d245d30f..a66d9af5d9 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb @@ -95,7 +95,6 @@ class VirtualMachine < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachine', type: { @@ -103,7 +102,6 @@ def self.mapper() class_name: 'VirtualMachine', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -112,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -121,7 +118,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -130,7 +126,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -138,13 +133,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: { @@ -154,7 +147,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -163,7 +155,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -172,7 +163,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -181,7 +171,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -190,7 +179,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -199,7 +187,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -208,7 +195,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -217,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -226,7 +211,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -236,7 +220,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -244,7 +227,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -253,14 +235,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { @@ -271,7 +251,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -280,13 +259,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb index 52975f6d30..e567debbd1 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb @@ -29,7 +29,6 @@ class VirtualMachineAgentInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineAgentInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineAgentInstanceView', model_properties: { vm_agent_version: { - client_side_validation: true, required: false, serialized_name: 'vmAgentVersion', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, extension_handlers: { - client_side_validation: true, required: false, serialized_name: 'extensionHandlers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb index f17012e285..ebcc47d1af 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb @@ -29,7 +29,6 @@ class VirtualMachineCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureParameters', model_properties: { vhd_prefix: { - client_side_validation: true, required: true, serialized_name: 'vhdPrefix', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, destination_container_name: { - client_side_validation: true, required: true, serialized_name: 'destinationContainerName', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, overwrite_vhds: { - client_side_validation: true, required: true, serialized_name: 'overwriteVhds', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb index 976aa3cb95..8a8e5e8599 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb @@ -22,7 +22,6 @@ class VirtualMachineCaptureResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -38,7 +36,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb index 3dc79e6331..86afccca35 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineExtension < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineExtension', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,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: { @@ -113,7 +106,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, virtual_machine_extension_type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -178,7 +163,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, serialized_name: 'properties.instanceView', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb index 92d5955d9d..74e10c7d55 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineExtensionHandlerInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionHandlerInstanceView', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb index aa8164d5b9..ccd3d8c21a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb @@ -39,7 +39,6 @@ class VirtualMachineExtensionImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImage', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionImage', 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() } }, operating_system: { - client_side_validation: true, required: true, serialized_name: 'properties.operatingSystem', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, compute_role: { - client_side_validation: true, required: true, serialized_name: 'properties.computeRole', type: { @@ -114,7 +105,6 @@ def self.mapper() } }, handler_schema: { - client_side_validation: true, required: true, serialized_name: 'properties.handlerSchema', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, vm_scale_set_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.vmScaleSetEnabled', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, supports_multiple_extensions: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsMultipleExtensions', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb index 8142f4d94b..3cf551b282 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb @@ -35,7 +35,6 @@ class VirtualMachineExtensionInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceView', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, substatuses: { - client_side_validation: true, required: false, serialized_name: 'substatuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -84,13 +78,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb index ec9ac65536..a41b5a6dbe 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb @@ -46,7 +46,6 @@ class VirtualMachineExtensionUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionUpdate', type: { @@ -54,13 +53,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionUpdate', 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: { @@ -70,7 +67,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb index 3286859415..2a0205a3af 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineExtensionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb index 91269aaaa0..0b665e1be5 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb @@ -22,7 +22,6 @@ class VirtualMachineHealthStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineHealthStatus', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineHealthStatus', model_properties: { status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb index d473f0435e..c6ca2be7ac 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb @@ -31,7 +31,6 @@ class VirtualMachineIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineIdentity', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -48,7 +46,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb index f966fc544b..6cf6defc6e 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb @@ -28,7 +28,6 @@ class VirtualMachineImage < VirtualMachineImageResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImage', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineImage', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -60,13 +56,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: { @@ -76,7 +70,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'properties.plan', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, os_disk_image: { - client_side_validation: true, required: false, serialized_name: 'properties.osDiskImage', type: { @@ -94,13 +86,11 @@ def self.mapper() } }, data_disk_images: { - client_side_validation: true, required: false, serialized_name: 'properties.dataDiskImages', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb index 7e80d7955a..31b4930ebb 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb @@ -31,7 +31,6 @@ class VirtualMachineImageResource < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineImageResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -63,13 +59,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_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb index 5aec2ff69f..503f86cff0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb @@ -54,7 +54,6 @@ class VirtualMachineInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineInstanceView', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, maintenance_redeploy_status: { - client_side_validation: true, required: false, serialized_name: 'maintenanceRedeployStatus', type: { @@ -104,13 +98,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -121,13 +113,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -138,7 +128,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb index caa58cc060..16dc98d1d3 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualMachineListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb index 4ae94bb479..8a47162003 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb @@ -60,7 +60,6 @@ class VirtualMachineScaleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSet', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -155,7 +144,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -164,7 +152,6 @@ def self.mapper() } }, overprovision: { - client_side_validation: true, required: false, serialized_name: 'properties.overprovision', type: { @@ -172,7 +159,6 @@ def self.mapper() } }, unique_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.uniqueId', @@ -181,7 +167,6 @@ def self.mapper() } }, single_placement_group: { - client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { @@ -189,7 +174,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -198,13 +182,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb index 941c70b553..507e27d2d9 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb @@ -48,7 +48,6 @@ class VirtualMachineScaleSetDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDisk', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetDataDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb index 681c7bb4e9..a9c5f47bcb 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineScaleSetExtension < SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtension', 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, serialized_name: 'name', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb index 41f160bd10..ca636ed2cb 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionListResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb index 10ef2e866f..bc3688c91a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetExtensionProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionProfile', model_properties: { extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb index b9f76170ec..759f2109b0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb @@ -33,7 +33,6 @@ class VirtualMachineScaleSetIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIdentity', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -50,7 +48,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb index a1fa9bb3f5..2ba5c8aaa1 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineScaleSetInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceView', model_properties: { virtual_machine: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'virtualMachine', @@ -48,14 +46,12 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummaryElementType', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb index 8cf33087d5..93fc7642b7 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetInstanceViewStatusesSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', type: { @@ -33,14 +32,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', model_properties: { statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb index 32be5a28da..36acddad3d 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb @@ -57,7 +57,6 @@ class VirtualMachineScaleSetIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfiguration', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, public_ipaddress_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressConfiguration', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -132,13 +123,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,13 +138,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb index bfa33cba5d..f5801d4c51 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb index b1c1e45b6f..1df3f6a382 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListSkusResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb index e4babb36f5..ebf5cf4cfc 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListWithLinkResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListWithLinkResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb index 5397a19e0d..1ead603c6f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetManagedDiskParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetManagedDiskParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetManagedDiskParameters', model_properties: { storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb index 064b78d415..9205be9702 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb @@ -43,7 +43,6 @@ class VirtualMachineScaleSetNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -101,13 +94,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb index e3c4f191a3..eba2f91d8b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb @@ -24,7 +24,6 @@ class VirtualMachineScaleSetNetworkConfigurationDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb index 2a9362e0c7..7b42ea4549 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkProfile', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkProfile', model_properties: { health_probe: { - client_side_validation: true, required: false, serialized_name: 'healthProbe', type: { @@ -46,13 +44,11 @@ def self.mapper() } }, network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb index 9bd9d697fa..18561a980f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb @@ -57,7 +57,6 @@ class VirtualMachineScaleSetOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSDisk', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -91,7 +87,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -100,7 +95,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -109,13 +103,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -125,7 +117,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb index ad5ad0d25e..9de118d07a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb @@ -84,7 +84,6 @@ class VirtualMachineScaleSetOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSProfile', type: { @@ -92,7 +91,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSProfile', model_properties: { computer_name_prefix: { - client_side_validation: true, required: false, serialized_name: 'computerNamePrefix', type: { @@ -100,7 +98,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -108,7 +105,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -116,7 +112,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -124,7 +119,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -133,7 +127,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -142,13 +135,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb index ade21538a6..9b3007b051 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetPublicIPAddressConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetPublicIPAddressConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetPublicIPAddressConfiguration', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb index 71ea531409..5a72d32b22 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: true, serialized_name: 'domainNameLabel', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb index e56a2812a6..0080400390 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -46,7 +44,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb index 54a2114c55..8836b204d5 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb @@ -32,7 +32,6 @@ class VirtualMachineScaleSetSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default_capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultCapacity', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb index 07e0fb6ed8..11c20f3550 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb @@ -40,7 +40,6 @@ class VirtualMachineScaleSetStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetStorageProfile', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb index 5579c5eeeb..09c2e01b1e 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb @@ -45,7 +45,6 @@ class VirtualMachineScaleSetUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdate', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdate', 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: { @@ -69,7 +66,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, overprovision: { - client_side_validation: true, required: false, serialized_name: 'properties.overprovision', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, single_placement_group: { - client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb index 01f4c1d9b6..e02b3aa36b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb @@ -50,7 +50,6 @@ class VirtualMachineScaleSetUpdateIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateIPConfiguration', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, public_ipaddress_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressConfiguration', type: { @@ -100,7 +94,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -125,13 +116,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -142,13 +131,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb index 368c379b04..6d63e561c4 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb @@ -42,7 +42,6 @@ class VirtualMachineScaleSetUpdateNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -100,13 +93,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateIPConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb index 8731f6c52d..59cade732c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb @@ -24,7 +24,6 @@ class VirtualMachineScaleSetUpdateNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateNetworkProfile', model_properties: { network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb index 7d8e5d2b6c..22d78916c2 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb @@ -37,7 +37,6 @@ class VirtualMachineScaleSetUpdateOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateOSDisk', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateOSDisk', model_properties: { caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -63,13 +60,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb index 8eb888cf09..964353e1c7 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb @@ -33,7 +33,6 @@ class VirtualMachineScaleSetUpdateOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateOSProfile', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateOSProfile', model_properties: { custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb index 9f2f275074..6fdf6141e8 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetUpdatePublicIPAddressConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb index f2c64f1a4b..499abce90f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetUpdateStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateStorageProfile', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb index b4cc55259d..0f32e0f299 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb @@ -43,7 +43,6 @@ class VirtualMachineScaleSetUpdateVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateVMProfile', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'diagnosticsProfile', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'licenseType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb index 73cd16f0e4..bc056c248f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb @@ -96,7 +96,6 @@ class VirtualMachineScaleSetVM < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVM', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVM', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -113,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -122,7 +119,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,7 +127,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -139,13 +134,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: { @@ -155,7 +148,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceId', @@ -164,7 +156,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -174,7 +165,6 @@ def self.mapper() } }, latest_model_applied: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.latestModelApplied', @@ -183,7 +173,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -192,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -202,7 +190,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -211,7 +198,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -220,7 +206,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -229,7 +214,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -238,7 +222,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -247,7 +230,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -256,7 +238,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -265,7 +246,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -273,7 +253,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -282,14 +261,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb index 32e4224da4..4120e54cc2 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetVMExtensionsSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummary', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMExtensionsSummary', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -44,14 +42,12 @@ def self.mapper() } }, statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb index 0ec71820da..6117f76fb4 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetVMInstanceIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceIDs', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceIDs', model_properties: { instance_ids: { - client_side_validation: true, required: false, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb index e5da26800d..4c8bd59fa3 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetVMInstanceRequiredIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', model_properties: { instance_ids: { - client_side_validation: true, required: true, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb index 0b2a645342..4c2c3eee3b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb @@ -57,7 +57,6 @@ class VirtualMachineScaleSetVMInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -89,7 +85,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -98,13 +93,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -132,7 +123,6 @@ def self.mapper() } }, vm_health: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'vmHealth', @@ -142,7 +132,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -151,13 +140,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, placement_group_id: { - client_side_validation: true, required: false, serialized_name: 'placementGroupId', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb index 90240c3168..8834744f3b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb index 4ed4fa1d34..36d1aa53a5 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb @@ -51,7 +51,6 @@ class VirtualMachineScaleSetVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMProfile', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'diagnosticsProfile', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'licenseType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb index aa414c178f..ba642990b1 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb @@ -42,7 +42,6 @@ class VirtualMachineSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSize', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineSize', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, number_of_cores: { - client_side_validation: true, required: false, serialized_name: 'numberOfCores', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, os_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'osDiskSizeInMB', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, resource_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'resourceDiskSizeInMB', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, memory_in_mb: { - client_side_validation: true, required: false, serialized_name: 'memoryInMB', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, max_data_disk_count: { - client_side_validation: true, required: false, serialized_name: 'maxDataDiskCount', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb index b054414a33..13abe033eb 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineSizeListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineSizeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb index 49123ad634..074e1ed05f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb @@ -27,7 +27,6 @@ class VirtualMachineStatusCodeCount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCount', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineStatusCodeCount', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -44,7 +42,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb index e5e8181c21..43694d9967 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb @@ -23,7 +23,6 @@ class WinRMConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WinRMConfiguration', model_properties: { listeners: { - client_side_validation: true, required: false, serialized_name: 'listeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WinRMListenerElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb index a258dca888..e73aa81981 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb @@ -34,7 +34,6 @@ class WinRMListener # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMListener', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WinRMListener', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb index 5477af72a0..8cb9f1736f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb @@ -43,7 +43,6 @@ class WindowsConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WindowsConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'WindowsConfiguration', model_properties: { provision_vmagent: { - client_side_validation: true, required: false, serialized_name: 'provisionVMAgent', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, enable_automatic_updates: { - client_side_validation: true, required: false, serialized_name: 'enableAutomaticUpdates', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'timeZone', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, additional_unattend_content: { - client_side_validation: true, required: false, serialized_name: 'additionalUnattendContent', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContentElementType', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, win_rm: { - client_side_validation: true, required: false, serialized_name: 'winRM', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/resource_skus.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/resource_skus.rb index 3381c994f8..de699fd91c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/resource_skus.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/resource_skus.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,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 # @@ -54,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ResourceSkusResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResourceSkusResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb index 0297cb6566..6fdf909f01 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [Snapshot] operation results. # - def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, snapshot_name, snapshot, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_ # # @return [Snapshot] operation results. # - def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [Snapshot] operation results. # - def get(resource_group_name, snapshot_name, custom_headers:nil) - response = get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get(resource_group_name, snapshot_name, custom_headers = nil) + response = get_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +150,8 @@ def get(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + get_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -166,7 +166,7 @@ def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, snapshot_name, custom_headers:nil) + def get_async(resource_group_name, snapshot_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, 'snapshot_name is nil' if snapshot_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, snapshot_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 @@ -231,8 +230,8 @@ def get_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, snapshot_name, custom_headers:nil) - response = delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def delete(resource_group_name, snapshot_name, custom_headers = nil) + response = delete_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -247,9 +246,9 @@ def delete(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def delete_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -274,8 +273,8 @@ def delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -288,8 +287,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 # @@ -301,14 +300,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 @@ -361,8 +359,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -374,8 +372,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 # @@ -386,13 +384,12 @@ 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.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 @@ -451,8 +448,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -469,9 +466,9 @@ def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -499,8 +496,8 @@ def grant_access_async(resource_group_name, snapshot_name, grant_access_data, cu # # @return [OperationStatusResponse] operation results. # - def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -515,9 +512,9 @@ def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def revoke_access_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -547,8 +544,8 @@ def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Snapshot] operation results. # - def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -566,8 +563,8 @@ def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -584,7 +581,7 @@ def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, sn # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, 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, 'snapshot_name is nil' if snapshot_name.nil? @@ -593,12 +590,13 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c 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::Compute::Mgmt::V2017_03_30::Models::Snapshot.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -669,8 +667,8 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c # # @return [Snapshot] operation results. # - def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -688,8 +686,8 @@ def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -706,7 +704,7 @@ def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_update_async(resource_group_name, snapshot_name, snapshot, 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, 'snapshot_name is nil' if snapshot_name.nil? @@ -715,12 +713,13 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head 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::Compute::Mgmt::V2017_03_30::Models::SnapshotUpdate.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -789,8 +788,8 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -806,8 +805,8 @@ def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -822,7 +821,7 @@ def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_delete_async(resource_group_name, snapshot_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, 'snapshot_name is nil' if snapshot_name.nil? @@ -830,7 +829,6 @@ def begin_delete_async(resource_group_name, snapshot_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 @@ -889,8 +887,8 @@ def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -908,8 +906,8 @@ def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! end # @@ -926,7 +924,7 @@ def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, 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, 'snapshot_name is nil' if snapshot_name.nil? @@ -935,12 +933,13 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da 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::Compute::Mgmt::V2017_03_30::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -999,8 +998,8 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da # # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -1016,8 +1015,8 @@ def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -1032,7 +1031,7 @@ def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, snapshot_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, 'snapshot_name is nil' if snapshot_name.nil? @@ -1040,7 +1039,6 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1095,8 +1093,8 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers # # @return [SnapshotList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1110,8 +1108,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1124,12 +1122,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1183,8 +1180,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1198,8 +1195,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1212,12 +1209,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1270,12 +1266,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1285,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb index e6e9f5700e..ac33c72b99 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -48,8 +48,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -63,15 +63,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +126,8 @@ def list_async(location, custom_headers:nil) # # @return [ListUsagesResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -145,8 +143,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -161,12 +159,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,12 +219,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ListUsagesResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..471a1107f2 --- /dev/null +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/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::Compute::Mgmt::V2017_03_30 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb index d4dab7f99c..84598ad60b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionImage] operation results. # - def get(location, publisher_name, type, version, custom_headers:nil) - response = get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get(location, publisher_name, type, version, custom_headers = nil) + response = get_async(location, publisher_name, type, version, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(location, publisher_name, type, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, type, version, custom_headers:nil) - get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, type, version, custom_headers = nil) + get_async(location, publisher_name, type, version, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_with_http_info(location, publisher_name, type, version, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, type, version, custom_headers:nil) + def get_async(location, publisher_name, type, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -76,7 +76,6 @@ def get_async(location, publisher_name, type, version, 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 @@ -131,8 +130,8 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) # # @return [Array] operation results. # - def list_types(location, publisher_name, custom_headers:nil) - response = list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types(location, publisher_name, custom_headers = nil) + response = list_types_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -146,8 +145,8 @@ def list_types(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_types_with_http_info(location, publisher_name, custom_headers:nil) - list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types_with_http_info(location, publisher_name, custom_headers = nil) + list_types_async(location, publisher_name, custom_headers).value! end # @@ -160,7 +159,7 @@ def list_types_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_types_async(location, publisher_name, custom_headers:nil) + def list_types_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -168,7 +167,6 @@ def list_types_async(location, publisher_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 @@ -201,13 +199,11 @@ def list_types_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { @@ -243,8 +239,8 @@ def list_types_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -262,8 +258,8 @@ def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_versions_with_http_info(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions_with_http_info(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! end # @@ -280,7 +276,7 @@ def list_versions_with_http_info(location, publisher_name, type, filter:nil, top # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_versions_async(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_versions_async(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -289,7 +285,6 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -322,13 +317,11 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb index e0b6e54a9c..93ab9adaba 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineExtension] operation results. # - def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, vm_name, vm_extension_name, exte # # @return [VirtualMachineExtension] operation results. # - def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, vm_name, vm_extension_name, extension_parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -149,9 +149,9 @@ def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -180,8 +180,8 @@ def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [VirtualMachineExtension] operation results. # - def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -198,8 +198,8 @@ def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! end # @@ -215,7 +215,7 @@ def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -224,7 +224,6 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -283,8 +282,8 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo # # @return [VirtualMachineExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -302,8 +301,8 @@ def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, exte # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -320,7 +319,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_exten # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -330,12 +329,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -406,8 +406,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name # # @return [VirtualMachineExtension] operation results. # - def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -425,8 +425,8 @@ def begin_update(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -443,7 +443,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -453,12 +453,13 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineExtensionUpdate.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -517,8 +518,8 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -534,8 +535,8 @@ def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! end # @@ -550,7 +551,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -559,7 +560,6 @@ def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_h 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_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb index 7c75c29f43..363e044a44 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineImage] operation results. # - def get(location, publisher_name, offer, skus, version, custom_headers:nil) - response = get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get(location, publisher_name, offer, skus, version, custom_headers = nil) + response = get_async(location, publisher_name, offer, skus, version, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(location, publisher_name, offer, skus, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers:nil) - get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers = nil) + get_async(location, publisher_name, offer, skus, version, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(location, publisher_name, offer, skus, version, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, offer, skus, version, custom_headers:nil) + def get_async(location, publisher_name, offer, skus, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -80,7 +80,6 @@ def get_async(location, publisher_name, offer, skus, version, 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 @@ -141,8 +140,8 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil # # @return [Array] operation results. # - def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -162,8 +161,8 @@ def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! end # @@ -182,7 +181,7 @@ def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -192,7 +191,6 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,13 +223,11 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -264,8 +260,8 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order # # @return [Array] operation results. # - def list_offers(location, publisher_name, custom_headers:nil) - response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers(location, publisher_name, custom_headers = nil) + response = list_offers_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -280,8 +276,8 @@ def list_offers(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_offers_with_http_info(location, publisher_name, custom_headers:nil) - list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers_with_http_info(location, publisher_name, custom_headers = nil) + list_offers_async(location, publisher_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_offers_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_offers_async(location, publisher_name, custom_headers:nil) + def list_offers_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_offers_async(location, publisher_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 @@ -336,13 +331,11 @@ def list_offers_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -374,8 +367,8 @@ def list_offers_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_publishers(location, custom_headers:nil) - response = list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers(location, custom_headers = nil) + response = list_publishers_async(location, custom_headers).value! response.body unless response.nil? end @@ -389,8 +382,8 @@ def list_publishers(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_publishers_with_http_info(location, custom_headers:nil) - list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers_with_http_info(location, custom_headers = nil) + list_publishers_async(location, custom_headers).value! end # @@ -403,14 +396,13 @@ def list_publishers_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_publishers_async(location, custom_headers:nil) + def list_publishers_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,13 +435,11 @@ def list_publishers_async(location, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -483,8 +473,8 @@ def list_publishers_async(location, custom_headers:nil) # # @return [Array] operation results. # - def list_skus(location, publisher_name, offer, custom_headers:nil) - response = list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus(location, publisher_name, offer, custom_headers = nil) + response = list_skus_async(location, publisher_name, offer, custom_headers).value! response.body unless response.nil? end @@ -500,8 +490,8 @@ def list_skus(location, publisher_name, offer, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil) - list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus_with_http_info(location, publisher_name, offer, custom_headers = nil) + list_skus_async(location, publisher_name, offer, custom_headers).value! end # @@ -516,7 +506,7 @@ def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(location, publisher_name, offer, custom_headers:nil) + def list_skus_async(location, publisher_name, offer, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -525,7 +515,6 @@ def list_skus_async(location, publisher_name, offer, 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 @@ -558,13 +547,11 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_run_commands.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_run_commands.rb index 894112cd0a..133d948078 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_run_commands.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [RunCommandDocument] operation results. # - def get(location, command_id, custom_headers:nil) - response = get_async(location, command_id, custom_headers:custom_headers).value! + def get(location, command_id, custom_headers = nil) + response = get_async(location, command_id, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def get(location, command_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, command_id, custom_headers:nil) - get_async(location, command_id, custom_headers:custom_headers).value! + def get_with_http_info(location, command_id, custom_headers = nil) + get_async(location, command_id, custom_headers).value! end # @@ -149,16 +147,14 @@ def get_with_http_info(location, command_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, command_id, custom_headers:nil) + def get_async(location, command_id, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, 'command_id is nil' if command_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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 +209,8 @@ def get_async(location, command_id, custom_headers:nil) # # @return [RunCommandListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -228,8 +224,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -242,12 +238,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,12 +296,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RunCommandListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb index c7b73b061c..b2e55af495 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineScaleSetExtension] operation results. # - def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +83,8 @@ def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extensio # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! response.body unless response.nil? end @@ -99,9 +99,9 @@ def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -130,8 +130,8 @@ def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, cu # # @return [VirtualMachineScaleSetExtension] operation results. # - def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -148,8 +148,8 @@ def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand, custom_headers).value! end # @@ -165,7 +165,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expan request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -230,8 +229,8 @@ def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expan # # @return [Array] operation results. # - def list(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -246,8 +245,8 @@ def list(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -261,7 +260,7 @@ def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -269,7 +268,6 @@ def list_async(resource_group_name, vm_scale_set_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 @@ -328,8 +326,8 @@ def list_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSetExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -347,8 +345,8 @@ def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extensio # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! end # @@ -365,7 +363,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -375,12 +373,13 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_ex 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -449,8 +448,8 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_ex # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! response.body unless response.nil? end @@ -466,8 +465,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! end # @@ -482,7 +481,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_ext # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -491,7 +490,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -546,8 +544,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_na # # @return [VirtualMachineScaleSetExtensionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -561,8 +559,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -575,12 +573,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -636,12 +633,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetExtensionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb index 1601956b6b..f2cef816ce 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def cancel(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -45,9 +45,9 @@ def cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def cancel_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -117,8 +117,8 @@ def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers # # @return [RollingUpgradeStatusInfo] operation results. # - def get_latest(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_latest(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_latest_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -132,8 +132,8 @@ def get_latest(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_latest_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -146,7 +146,7 @@ def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -154,7 +154,6 @@ def get_latest_async(resource_group_name, vm_scale_set_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 @@ -209,8 +208,8 @@ def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -224,8 +223,8 @@ def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -238,7 +237,7 @@ def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -246,7 +245,6 @@ def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -303,8 +301,8 @@ def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -320,8 +318,8 @@ def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -336,7 +334,7 @@ def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -344,7 +342,6 @@ def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_h 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_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb index 147dbe698d..4f0096dc02 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -48,9 +48,9 @@ def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +78,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -93,9 +93,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -125,8 +125,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -140,9 +140,9 @@ def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -169,8 +169,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -184,9 +184,9 @@ def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +213,8 @@ def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [VirtualMachineScaleSetVM] operation results. # - def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -229,8 +229,8 @@ def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -244,7 +244,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -253,7 +253,6 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +308,8 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header # # @return [VirtualMachineScaleSetVMInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -325,8 +324,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -340,7 +339,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -349,7 +348,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +405,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [Array] operation results. # - def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers) + def list(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers) first_page.get_all_items end @@ -425,8 +423,8 @@ def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! end # @@ -442,7 +440,7 @@ def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, fil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) + def list_async(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -450,7 +448,6 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -508,8 +505,8 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -523,9 +520,9 @@ def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -552,8 +549,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -567,9 +564,9 @@ def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -596,8 +593,8 @@ def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -611,9 +608,9 @@ def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -641,8 +638,8 @@ def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -658,8 +655,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -674,7 +671,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -683,7 +680,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -740,8 +736,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -757,8 +753,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -773,7 +769,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -782,7 +778,6 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -841,8 +836,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -860,8 +855,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -878,7 +873,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -887,7 +882,6 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -943,8 +937,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -959,8 +953,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -974,7 +968,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -983,7 +977,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1041,8 +1034,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1059,8 +1052,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1076,7 +1069,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, insta # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1085,7 +1078,6 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1141,8 +1133,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1157,8 +1149,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1172,7 +1164,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1181,7 +1173,6 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1237,8 +1228,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1253,8 +1244,8 @@ def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1268,7 +1259,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1277,7 +1268,6 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1332,8 +1322,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [VirtualMachineScaleSetVMListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1347,8 +1337,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1361,12 +1351,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1424,12 +1413,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetVMListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - response = list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + response = list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb index e763440a64..364814e704 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineScaleSet] operation results. # - def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -49,9 +49,9 @@ def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -79,8 +79,8 @@ def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, c # # @return [VirtualMachineScaleSet] operation results. # - def update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -95,9 +95,9 @@ def update(resource_group_name, vm_scale_set_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -123,8 +123,8 @@ def update_async(resource_group_name, vm_scale_set_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -137,9 +137,9 @@ def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -165,8 +165,8 @@ def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def get(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -180,8 +180,8 @@ def get(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -194,7 +194,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -202,7 +202,6 @@ def get_async(resource_group_name, vm_scale_set_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 @@ -261,8 +260,8 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -277,9 +276,9 @@ def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +306,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [OperationStatusResponse] operation results. # - def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -323,9 +322,9 @@ def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -351,8 +350,8 @@ def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [VirtualMachineScaleSetInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -366,8 +365,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -380,7 +379,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -388,7 +387,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_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 @@ -442,8 +440,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -456,8 +454,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -469,14 +467,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -532,8 +529,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -548,8 +545,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -563,13 +560,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -625,8 +621,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list_skus(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -641,8 +637,8 @@ def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -656,7 +652,7 @@ def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -664,7 +660,6 @@ def list_skus_async(resource_group_name, vm_scale_set_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 @@ -723,8 +718,8 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -739,9 +734,9 @@ def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -769,8 +764,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -785,9 +780,9 @@ def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -815,8 +810,8 @@ def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -831,9 +826,9 @@ def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -862,8 +857,8 @@ def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [OperationStatusResponse] operation results. # - def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -878,9 +873,9 @@ def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -909,8 +904,8 @@ def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -925,9 +920,9 @@ def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -956,8 +951,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -972,9 +967,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1002,8 +997,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [VirtualMachineScaleSet] operation results. # - def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1019,8 +1014,8 @@ def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! end # @@ -1035,7 +1030,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1044,12 +1039,13 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, paramet 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1118,8 +1114,8 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, paramet # # @return [VirtualMachineScaleSet] operation results. # - def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1135,8 +1131,8 @@ def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! end # @@ -1151,7 +1147,7 @@ def begin_update_with_http_info(resource_group_name, vm_scale_set_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1160,12 +1156,13 @@ def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custo 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1222,8 +1219,8 @@ def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1237,8 +1234,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1251,7 +1248,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1259,7 +1256,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1318,8 +1314,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1337,8 +1333,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1355,7 +1351,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1363,12 +1359,13 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1427,8 +1424,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1444,8 +1441,8 @@ def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1460,7 +1457,7 @@ def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1469,12 +1466,13 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1535,8 +1533,8 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1554,8 +1552,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1572,7 +1570,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_in # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1580,12 +1578,13 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1644,8 +1643,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1661,8 +1660,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1677,7 +1676,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1685,12 +1684,13 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1749,8 +1749,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1766,8 +1766,8 @@ def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1782,7 +1782,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1790,12 +1790,13 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1855,8 +1856,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [OperationStatusResponse] operation results. # - def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1873,8 +1874,8 @@ def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1890,7 +1891,7 @@ def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1899,12 +1900,13 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1964,8 +1966,8 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1982,8 +1984,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1999,7 +2001,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2007,12 +2009,13 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids: 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2072,8 +2075,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2090,8 +2093,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2107,7 +2110,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2115,12 +2118,13 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2177,8 +2181,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ # # @return [VirtualMachineScaleSetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2192,8 +2196,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2206,12 +2210,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2268,8 +2271,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListWithLinkResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2286,8 +2289,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -2303,12 +2306,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2363,8 +2365,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListSkusResult] operation results. # - def list_skus_next(next_page_link, custom_headers:nil) - response = list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next(next_page_link, custom_headers = nil) + response = list_skus_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2379,8 +2381,8 @@ def list_skus_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_next_with_http_info(next_page_link, custom_headers:nil) - list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next_with_http_info(next_page_link, custom_headers = nil) + list_skus_next_async(next_page_link, custom_headers).value! end # @@ -2394,12 +2396,11 @@ def list_skus_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_next_async(next_page_link, custom_headers:nil) + def list_skus_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2453,12 +2454,12 @@ def list_skus_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2476,12 +2477,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineScaleSetListWithLinkResult] which provide lazy access # to pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -2499,12 +2500,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualMachineScaleSetListSkusResult] which provide lazy access to # pages of the response. # - def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_skus_next_async(next_page_link, custom_headers:custom_headers) + list_skus_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb index d4ac433a66..bb5248fb70 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [VirtualMachineSizeListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +60,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb index dba026b6df..debd02f529 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionsListResult] operation results. # - def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_extensions_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +74,6 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +131,8 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header # # @return [VirtualMachineCaptureResult] operation results. # - def capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -148,9 +147,9 @@ def capture(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -178,8 +177,8 @@ def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, vm_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -222,8 +221,8 @@ def create_or_update_async(resource_group_name, vm_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -236,9 +235,9 @@ def delete(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -267,8 +266,8 @@ def delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -285,8 +284,8 @@ def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -302,7 +301,7 @@ def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -310,7 +309,6 @@ def get_async(resource_group_name, vm_name, expand:nil, 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 @@ -365,8 +363,8 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [VirtualMachineInstanceView] operation results. # - def instance_view(resource_group_name, vm_name, custom_headers:nil) - response = instance_view_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def instance_view(resource_group_name, vm_name, custom_headers = nil) + response = instance_view_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -380,8 +378,8 @@ def instance_view(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def instance_view_with_http_info(resource_group_name, vm_name, custom_headers:nil) - instance_view_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def instance_view_with_http_info(resource_group_name, vm_name, custom_headers = nil) + instance_view_async(resource_group_name, vm_name, custom_headers).value! end # @@ -394,7 +392,7 @@ def instance_view_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def instance_view_async(resource_group_name, vm_name, custom_headers:nil) + def instance_view_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -402,7 +400,6 @@ def instance_view_async(resource_group_name, vm_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 @@ -458,8 +455,8 @@ def instance_view_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -472,9 +469,9 @@ def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +498,8 @@ def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers: # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_name, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_name, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -515,9 +512,9 @@ def deallocate(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def deallocate_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -543,8 +540,8 @@ def deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def generalize(resource_group_name, vm_name, custom_headers:nil) - response = generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize(resource_group_name, vm_name, custom_headers = nil) + response = generalize_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -558,8 +555,8 @@ def generalize(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) - generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize_with_http_info(resource_group_name, vm_name, custom_headers = nil) + generalize_async(resource_group_name, vm_name, custom_headers).value! end # @@ -572,7 +569,7 @@ def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generalize_async(resource_group_name, vm_name, custom_headers:nil) + def generalize_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -580,7 +577,6 @@ def generalize_async(resource_group_name, vm_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 @@ -635,8 +631,8 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -650,8 +646,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -664,14 +660,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -725,8 +720,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -739,8 +734,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -752,13 +747,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -814,8 +808,8 @@ def list_all_async(custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, vm_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -830,8 +824,8 @@ def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! end # @@ -845,7 +839,7 @@ def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -853,7 +847,6 @@ def list_available_sizes_async(resource_group_name, vm_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 @@ -910,8 +903,8 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_name, custom_headers:nil) - response = power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_name, custom_headers = nil) + response = power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -924,9 +917,9 @@ def power_off(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_name, custom_headers:nil) + def power_off_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -952,8 +945,8 @@ def power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_name, custom_headers:nil) - response = restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_name, custom_headers = nil) + response = restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -966,9 +959,9 @@ def restart(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_name, custom_headers:nil) + def restart_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -994,8 +987,8 @@ def restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_name, custom_headers:nil) - response = start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def start(resource_group_name, vm_name, custom_headers = nil) + response = start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1008,9 +1001,9 @@ def start(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_name, custom_headers:nil) + def start_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1036,8 +1029,8 @@ def start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_name, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_name, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1050,9 +1043,9 @@ def redeploy(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def redeploy_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1078,8 +1071,8 @@ def redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def perform_maintenance(resource_group_name, vm_name, custom_headers:nil) - response = perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def perform_maintenance(resource_group_name, vm_name, custom_headers = nil) + response = perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1092,9 +1085,9 @@ def perform_maintenance(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) + def perform_maintenance_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1122,8 +1115,8 @@ def perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) # # @return [RunCommandResult] operation results. # - def run_command(resource_group_name, vm_name, parameters, custom_headers:nil) - response = run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def run_command(resource_group_name, vm_name, parameters, custom_headers = nil) + response = run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1138,9 +1131,9 @@ def run_command(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def run_command_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def run_command_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1169,8 +1162,8 @@ def run_command_async(resource_group_name, vm_name, parameters, custom_headers:n # # @return [VirtualMachineCaptureResult] operation results. # - def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1187,8 +1180,8 @@ def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1204,7 +1197,7 @@ def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1213,12 +1206,13 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1277,8 +1271,8 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers # # @return [VirtualMachine] operation results. # - def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1294,8 +1288,8 @@ def begin_create_or_update(resource_group_name, vm_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1310,7 +1304,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1319,12 +1313,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo 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::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1391,8 +1386,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1406,8 +1401,8 @@ def begin_delete(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1420,7 +1415,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1428,7 +1423,6 @@ def begin_delete_async(resource_group_name, vm_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 @@ -1484,8 +1478,8 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1500,8 +1494,8 @@ def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1515,7 +1509,7 @@ def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1523,7 +1517,6 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1579,8 +1572,8 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_name, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1595,8 +1588,8 @@ def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1610,7 +1603,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1618,7 +1611,6 @@ def begin_deallocate_async(resource_group_name, vm_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 @@ -1675,8 +1667,8 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_name, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_name, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1692,8 +1684,8 @@ def begin_power_off(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1708,7 +1700,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1716,7 +1708,6 @@ def begin_power_off_async(resource_group_name, vm_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 @@ -1771,8 +1762,8 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_name, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1786,8 +1777,8 @@ def begin_restart(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_restart_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1800,7 +1791,7 @@ def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1808,7 +1799,6 @@ def begin_restart_async(resource_group_name, vm_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 @@ -1863,8 +1853,8 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_name, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_name, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1878,8 +1868,8 @@ def begin_start(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_start_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1892,7 +1882,7 @@ def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_name, custom_headers:nil) + def begin_start_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1900,7 +1890,6 @@ def begin_start_async(resource_group_name, vm_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 @@ -1955,8 +1944,8 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_name, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1970,8 +1959,8 @@ def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1984,7 +1973,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1992,7 +1981,6 @@ def begin_redeploy_async(resource_group_name, vm_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 @@ -2047,8 +2035,8 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_perform_maintenance(resource_group_name, vm_name, custom_headers:nil) - response = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_perform_maintenance(resource_group_name, vm_name, custom_headers = nil) + response = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -2062,8 +2050,8 @@ def begin_perform_maintenance(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! end # @@ -2076,7 +2064,7 @@ def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) + def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2084,7 +2072,6 @@ def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2141,8 +2128,8 @@ def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers # # @return [RunCommandResult] operation results. # - def begin_run_command(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_run_command(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2158,8 +2145,8 @@ def begin_run_command(resource_group_name, vm_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -2174,7 +2161,7 @@ def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2183,12 +2170,13 @@ def begin_run_command_async(resource_group_name, vm_name, parameters, custom_hea 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::Compute::Mgmt::V2017_03_30::Models::RunCommandInput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2246,8 +2234,8 @@ def begin_run_command_async(resource_group_name, vm_name, parameters, custom_hea # # @return [VirtualMachineListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2262,8 +2250,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2277,12 +2265,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2337,8 +2324,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2353,8 +2340,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -2368,12 +2355,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2428,12 +2414,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2449,12 +2435,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb index 38e5c1c3c7..b4490ba3b8 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb @@ -106,9 +106,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? @@ -125,7 +122,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2017_09_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2017_09_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb index 22ba966805..6c834016b6 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb @@ -64,7 +64,6 @@ class ResourceSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSku', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'ResourceSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -81,7 +79,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -90,7 +87,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', @@ -99,7 +95,6 @@ def self.mapper() } }, size: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'size', @@ -108,7 +103,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'family', @@ -117,7 +111,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -126,7 +119,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', @@ -136,14 +128,12 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -153,14 +143,12 @@ def self.mapper() } }, location_info: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'locationInfo', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuLocationInfoElementType', type: { @@ -171,14 +159,12 @@ def self.mapper() } }, api_versions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'apiVersions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -188,14 +174,12 @@ def self.mapper() } }, costs: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'costs', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCostsElementType', type: { @@ -206,14 +190,12 @@ def self.mapper() } }, capabilities: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapabilitiesElementType', type: { @@ -224,14 +206,12 @@ def self.mapper() } }, restrictions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restrictions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictionsElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb index 9321011737..0482a17f38 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb @@ -25,7 +25,6 @@ class ResourceSkuCapabilities # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapabilities', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceSkuCapabilities', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capacity.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capacity.rb index 986428dd7c..bcc5d1de0f 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capacity.rb @@ -32,7 +32,6 @@ class ResourceSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ResourceSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'default', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb index b098265533..71d1eb3a9f 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb @@ -29,7 +29,6 @@ class ResourceSkuCosts # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCosts', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ResourceSkuCosts', model_properties: { meter_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterID', @@ -46,7 +44,6 @@ def self.mapper() } }, quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'quantity', @@ -55,7 +52,6 @@ def self.mapper() } }, extended_unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extendedUnit', diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_location_info.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_location_info.rb index 274c13f169..0116aaab1d 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_location_info.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_location_info.rb @@ -27,7 +27,6 @@ class ResourceSkuLocationInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuLocationInfo', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceSkuLocationInfo', model_properties: { location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -44,14 +42,12 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb index ef211e2a30..a2b547f630 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb @@ -27,7 +27,6 @@ class ResourceSkuRestrictionInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictionInfo', type: { @@ -35,14 +34,12 @@ def self.mapper() class_name: 'ResourceSkuRestrictionInfo', model_properties: { locations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -52,14 +49,12 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb index fa87e68583..3fd19b865c 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb @@ -36,7 +36,6 @@ class ResourceSkuRestrictions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictions', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ResourceSkuRestrictions', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,14 +52,12 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, restriction_info: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restrictionInfo', @@ -81,7 +76,6 @@ def self.mapper() } }, reason_code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reasonCode', diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_skus_result.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_skus_result.rb index 14ebf3fc27..22e9a6b557 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_skus_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkusResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ResourceSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/resource_skus.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/resource_skus.rb index 600bbbea45..cd3b2f7284 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/resource_skus.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/resource_skus.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,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 # @@ -54,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ResourceSkusResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResourceSkusResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..b751be732e --- /dev/null +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/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::Compute::Mgmt::V2017_09_01 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/availability_sets.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/availability_sets.rb index 4379ce83fa..f64ae74e16 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/availability_sets.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/availability_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [AvailabilitySet] operation results. # - def create_or_update(resource_group_name, availability_set_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, availability_set_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, availability_set_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, availability_set_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, availability_set_name, 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::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -139,8 +140,8 @@ def create_or_update_async(resource_group_name, availability_set_name, parameter # # @return [AvailabilitySet] operation results. # - def update(resource_group_name, availability_set_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, availability_set_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -156,8 +157,8 @@ def update(resource_group_name, availability_set_name, parameters, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil) - update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers = nil) + update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! end # @@ -172,7 +173,7 @@ def update_with_http_info(resource_group_name, availability_set_name, parameters # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, availability_set_name, parameters, custom_headers:nil) + def update_async(resource_group_name, availability_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -181,12 +182,13 @@ def update_async(resource_group_name, availability_set_name, parameters, custom_ 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::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -243,8 +245,8 @@ def update_async(resource_group_name, availability_set_name, parameters, custom_ # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, availability_set_name, custom_headers:nil) - response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, availability_set_name, custom_headers = nil) + response = delete_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -258,8 +260,8 @@ def delete(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + delete_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -272,7 +274,7 @@ def delete_with_http_info(resource_group_name, availability_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, availability_set_name, custom_headers:nil) + def delete_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -280,7 +282,6 @@ def delete_async(resource_group_name, availability_set_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 @@ -335,8 +336,8 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySet] operation results. # - def get(resource_group_name, availability_set_name, custom_headers:nil) - response = get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, availability_set_name, custom_headers = nil) + response = get_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -350,8 +351,8 @@ def get(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + get_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -364,7 +365,7 @@ def get_with_http_info(resource_group_name, availability_set_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, availability_set_name, custom_headers:nil) + def get_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -372,7 +373,6 @@ def get_async(resource_group_name, availability_set_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 @@ -426,8 +426,8 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySetListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -440,8 +440,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -453,14 +453,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -516,8 +515,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, availability_set_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, availability_set_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -532,8 +531,8 @@ def list_available_sizes(resource_group_name, availability_set_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -547,7 +546,7 @@ def list_available_sizes_with_http_info(resource_group_name, availability_set_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -555,7 +554,6 @@ def list_available_sizes_async(resource_group_name, availability_set_name, custo 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_compute/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb index df181f02b3..e582f4bc9a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb @@ -164,9 +164,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? @@ -183,7 +180,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2017_12_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2017_12_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/images.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/images.rb index 9fcf4db60e..2f52dfe31a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/images.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/images.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Image] operation results. # - def create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, image_name, parameters, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -77,8 +77,8 @@ def create_or_update_async(resource_group_name, image_name, parameters, custom_h # # @return [Image] operation results. # - def update(resource_group_name, image_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, image_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -93,9 +93,9 @@ def update(resource_group_name, image_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def update_async(resource_group_name, image_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, image_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -121,8 +121,8 @@ def update_async(resource_group_name, image_name, parameters, custom_headers:nil # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, image_name, custom_headers:nil) - response = delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def delete(resource_group_name, image_name, custom_headers = nil) + response = delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -135,9 +135,9 @@ def delete(resource_group_name, image_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, image_name, custom_headers:nil) + def delete_async(resource_group_name, image_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, image_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -164,8 +164,8 @@ def delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [Image] operation results. # - def get(resource_group_name, image_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, image_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, image_name, expand, custom_headers).value! response.body unless response.nil? end @@ -180,8 +180,8 @@ def get(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, image_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, image_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, image_name, expand, custom_headers).value! end # @@ -195,7 +195,7 @@ def get_with_http_info(resource_group_name, image_name, expand:nil, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, image_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -203,7 +203,6 @@ def get_async(resource_group_name, image_name, expand:nil, 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 @@ -257,8 +256,8 @@ def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -271,8 +270,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 # @@ -284,14 +283,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -346,8 +344,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +359,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 # @@ -375,13 +373,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -437,8 +434,8 @@ def list_async(custom_headers:nil) # # @return [Image] operation results. # - def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -453,8 +450,8 @@ def begin_create_or_update(resource_group_name, image_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! end # @@ -468,7 +465,7 @@ def begin_create_or_update_with_http_info(resource_group_name, image_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -477,12 +474,13 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, 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::Compute::Mgmt::V2017_12_01::Models::Image.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -551,8 +549,8 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, cu # # @return [Image] operation results. # - def begin_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -568,8 +566,8 @@ def begin_update(resource_group_name, image_name, parameters, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, image_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, image_name, parameters, custom_headers).value! end # @@ -584,7 +582,7 @@ def begin_update_with_http_info(resource_group_name, image_name, parameters, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, image_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -593,12 +591,13 @@ def begin_update_async(resource_group_name, image_name, parameters, custom_heade 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::Compute::Mgmt::V2017_12_01::Models::ImageUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -665,8 +664,8 @@ def begin_update_async(resource_group_name, image_name, parameters, custom_heade # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, image_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, image_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -680,8 +679,8 @@ def begin_delete(resource_group_name, image_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, image_name, custom_headers:nil) - begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, image_name, custom_headers = nil) + begin_delete_async(resource_group_name, image_name, custom_headers).value! end # @@ -694,7 +693,7 @@ def begin_delete_with_http_info(resource_group_name, image_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, image_name, custom_headers:nil) + def begin_delete_async(resource_group_name, image_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -702,7 +701,6 @@ def begin_delete_async(resource_group_name, image_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 @@ -757,8 +755,8 @@ def begin_delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -772,8 +770,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -786,12 +784,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -847,8 +844,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -864,8 +861,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -880,12 +877,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -938,12 +934,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -959,12 +955,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/log_analytics.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/log_analytics.rb index 5ee8fd0dd4..83486384c0 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/log_analytics.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/log_analytics.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [LogAnalyticsOperationResult] operation results. # - def export_request_rate_by_interval(parameters, location, custom_headers:nil) - response = export_request_rate_by_interval_async(parameters, location, custom_headers:custom_headers).value! + def export_request_rate_by_interval(parameters, location, custom_headers = nil) + response = export_request_rate_by_interval_async(parameters, location, custom_headers).value! response.body unless response.nil? end @@ -50,9 +50,9 @@ def export_request_rate_by_interval(parameters, location, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def export_request_rate_by_interval_async(parameters, location, custom_headers:nil) + def export_request_rate_by_interval_async(parameters, location, custom_headers = nil) # Send request - promise = begin_export_request_rate_by_interval_async(parameters, location, custom_headers:custom_headers) + promise = begin_export_request_rate_by_interval_async(parameters, location, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -81,8 +81,8 @@ def export_request_rate_by_interval_async(parameters, location, custom_headers:n # # @return [LogAnalyticsOperationResult] operation results. # - def export_throttled_requests(parameters, location, custom_headers:nil) - response = export_throttled_requests_async(parameters, location, custom_headers:custom_headers).value! + def export_throttled_requests(parameters, location, custom_headers = nil) + response = export_throttled_requests_async(parameters, location, custom_headers).value! response.body unless response.nil? end @@ -97,9 +97,9 @@ def export_throttled_requests(parameters, location, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def export_throttled_requests_async(parameters, location, custom_headers:nil) + def export_throttled_requests_async(parameters, location, custom_headers = nil) # Send request - promise = begin_export_throttled_requests_async(parameters, location, custom_headers:custom_headers) + promise = begin_export_throttled_requests_async(parameters, location, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -128,8 +128,8 @@ def export_throttled_requests_async(parameters, location, custom_headers:nil) # # @return [LogAnalyticsOperationResult] operation results. # - def begin_export_request_rate_by_interval(parameters, location, custom_headers:nil) - response = begin_export_request_rate_by_interval_async(parameters, location, custom_headers:custom_headers).value! + def begin_export_request_rate_by_interval(parameters, location, custom_headers = nil) + response = begin_export_request_rate_by_interval_async(parameters, location, custom_headers).value! response.body unless response.nil? end @@ -146,8 +146,8 @@ def begin_export_request_rate_by_interval(parameters, location, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_export_request_rate_by_interval_with_http_info(parameters, location, custom_headers:nil) - begin_export_request_rate_by_interval_async(parameters, location, custom_headers:custom_headers).value! + def begin_export_request_rate_by_interval_with_http_info(parameters, location, custom_headers = nil) + begin_export_request_rate_by_interval_async(parameters, location, custom_headers).value! end # @@ -163,21 +163,21 @@ def begin_export_request_rate_by_interval_with_http_info(parameters, location, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_export_request_rate_by_interval_async(parameters, location, custom_headers:nil) + def begin_export_request_rate_by_interval_async(parameters, location, custom_headers = nil) fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::RequestRateByIntervalInput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -237,8 +237,8 @@ def begin_export_request_rate_by_interval_async(parameters, location, custom_hea # # @return [LogAnalyticsOperationResult] operation results. # - def begin_export_throttled_requests(parameters, location, custom_headers:nil) - response = begin_export_throttled_requests_async(parameters, location, custom_headers:custom_headers).value! + def begin_export_throttled_requests(parameters, location, custom_headers = nil) + response = begin_export_throttled_requests_async(parameters, location, custom_headers).value! response.body unless response.nil? end @@ -255,8 +255,8 @@ def begin_export_throttled_requests(parameters, location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_export_throttled_requests_with_http_info(parameters, location, custom_headers:nil) - begin_export_throttled_requests_async(parameters, location, custom_headers:custom_headers).value! + def begin_export_throttled_requests_with_http_info(parameters, location, custom_headers = nil) + begin_export_throttled_requests_async(parameters, location, custom_headers).value! end # @@ -272,21 +272,21 @@ def begin_export_throttled_requests_with_http_info(parameters, location, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_export_throttled_requests_async(parameters, location, custom_headers:nil) + def begin_export_throttled_requests_async(parameters, location, custom_headers = nil) fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::ThrottledRequestsInput.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb index 29057d98a3..a307f5aab6 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb @@ -42,7 +42,6 @@ class AdditionalUnattendContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContent', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AdditionalUnattendContent', model_properties: { pass_name: { - client_side_validation: true, required: false, serialized_name: 'passName', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, component_name: { - client_side_validation: true, required: false, serialized_name: 'componentName', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, setting_name: { - client_side_validation: true, required: false, serialized_name: 'settingName', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb index a9cd5a0329..4471c7e5ab 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb @@ -23,7 +23,6 @@ class ApiEntityReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiEntityReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ApiEntityReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error.rb index 9e9d411dfc..8f04052672 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error.rb @@ -34,7 +34,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'ApiError', model_properties: { details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBaseElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, innererror: { - client_side_validation: true, required: false, serialized_name: 'innererror', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb index 20daca2dd1..43759b3c64 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb @@ -28,7 +28,6 @@ class ApiErrorBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBase', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApiErrorBase', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb index cb4f3f4754..e11136cdc1 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb @@ -23,7 +23,6 @@ class AutoOSUpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AutoOSUpgradePolicy', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'AutoOSUpgradePolicy', model_properties: { disable_auto_rollback: { - client_side_validation: true, required: false, serialized_name: 'disableAutoRollback', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set.rb index 7486505c95..ca0cf97805 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set.rb @@ -45,7 +45,6 @@ class AvailabilitySet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySet', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'AvailabilitySet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,7 +97,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -120,13 +111,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -137,14 +126,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -155,7 +142,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb index 4af8408879..fa3e30c28a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb @@ -22,7 +22,6 @@ class AvailabilitySetListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AvailabilitySetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb index 69e984acd2..8d4faf511a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb @@ -36,7 +36,6 @@ class AvailabilitySetUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetUpdate', type: { @@ -44,13 +43,11 @@ def self.mapper() class_name: 'AvailabilitySetUpdate', 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: { @@ -60,7 +57,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -93,14 +86,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb index bca6c962f9..c224806a78 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb @@ -31,7 +31,6 @@ class BootDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnostics', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BootDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, serialized_name: 'storageUri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb index 4f55f41bbc..ace75d639c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb @@ -25,7 +25,6 @@ class BootDiagnosticsInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnosticsInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BootDiagnosticsInstanceView', model_properties: { console_screenshot_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'consoleScreenshotBlobUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, serial_console_log_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'serialConsoleLogBlobUri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb index f679fe3a35..97402954f1 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb @@ -22,7 +22,6 @@ class ComputeLongRunningOperationProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeLongRunningOperationProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ComputeLongRunningOperationProperties', model_properties: { output: { - client_side_validation: true, required: false, serialized_name: 'output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb index 7a2ae7928c..a9ed543193 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb @@ -22,7 +22,6 @@ class ComputeOperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeOperationListResult', type: { @@ -30,14 +29,12 @@ def self.mapper() class_name: 'ComputeOperationListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ComputeOperationValueElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb index c6f91116ec..f97459b2b4 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb @@ -38,7 +38,6 @@ class ComputeOperationValue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeOperationValue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ComputeOperationValue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -64,7 +61,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'display.operation', @@ -73,7 +69,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'display.resource', @@ -82,7 +77,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'display.description', @@ -91,7 +85,6 @@ def self.mapper() } }, provider: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'display.provider', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb index a5c7ffeec1..1b60ad3e8a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb @@ -67,7 +67,6 @@ class DataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDisk', type: { @@ -75,7 +74,6 @@ def self.mapper() class_name: 'DataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -83,7 +81,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -91,7 +88,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -100,7 +96,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -109,7 +104,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -118,7 +112,6 @@ def self.mapper() } }, write_accelerator_enabled: { - client_side_validation: true, required: false, serialized_name: 'writeAcceleratorEnabled', type: { @@ -126,7 +119,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -134,7 +126,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -142,7 +133,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb index 1b5551654e..4c46c5c51b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb @@ -24,7 +24,6 @@ class DataDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDiskImage', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'DataDiskImage', model_properties: { lun: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb index 729f46287d..220f7cd410 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb @@ -28,7 +28,6 @@ class DiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiagnosticsProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'DiagnosticsProfile', model_properties: { boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb index 7d5b722e99..6313546e62 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb @@ -31,7 +31,6 @@ class DiskEncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'DiskEncryptionSettings', model_properties: { disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb index b4a2bdc870..e24e5547bc 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb @@ -29,7 +29,6 @@ class DiskInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'DiskInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettingsElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb index 7149bc2a20..66c9efc6a7 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb @@ -80,7 +80,6 @@ class HardwareProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HardwareProfile', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'HardwareProfile', model_properties: { vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image.rb index 6550d424e9..8da7f7b55a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image.rb @@ -32,7 +32,6 @@ class Image < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Image', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Image', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -75,13 +70,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: { @@ -91,7 +84,6 @@ def self.mapper() } }, source_virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceVirtualMachine', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -109,7 +100,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb index 6e7581e36c..b97d0bbd7a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb @@ -50,7 +50,6 @@ class ImageDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDataDisk', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ImageDataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -92,7 +87,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_list_result.rb index 3933ce0dae..9acdba23f9 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ImageListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb index 8d616e102a..4aaa64d464 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb @@ -55,7 +55,6 @@ class ImageOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageOSDisk', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'ImageOSDisk', model_properties: { os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, os_state: { - client_side_validation: true, required: true, serialized_name: 'osState', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -116,7 +109,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_reference.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_reference.rb index 1c4e6a4dd4..f070ad42bb 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_reference.rb @@ -42,7 +42,6 @@ class ImageReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageReference', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ImageReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb index d0a87b5277..d310a3c0c8 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb @@ -36,7 +36,6 @@ class ImageStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageStorageProfile', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ImageStorageProfile', model_properties: { os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -53,13 +51,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageDataDiskElementType', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, zone_resilient: { - client_side_validation: true, required: false, serialized_name: 'zoneResilient', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_update.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_update.rb index 0f85064f0b..a4f545daa7 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_update.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_update.rb @@ -30,7 +30,6 @@ class ImageUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageUpdate', type: { @@ -38,13 +37,11 @@ def self.mapper() class_name: 'ImageUpdate', 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: { @@ -54,7 +51,6 @@ def self.mapper() } }, source_virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceVirtualMachine', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/inner_error.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/inner_error.rb index b5b3f28d32..c33c6be3db 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/inner_error.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/inner_error.rb @@ -25,7 +25,6 @@ class InnerError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InnerError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'InnerError', model_properties: { exceptiontype: { - client_side_validation: true, required: false, serialized_name: 'exceptiontype', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, errordetail: { - client_side_validation: true, required: false, serialized_name: 'errordetail', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb index 814b980359..5f5eb86fd0 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb @@ -36,7 +36,6 @@ class InstanceViewStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatus', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'InstanceViewStatus', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, level: { - client_side_validation: true, required: false, serialized_name: 'level', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb index 926e42f6b2..e1d39bca0b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb @@ -26,7 +26,6 @@ class KeyVaultKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultKeyReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultKeyReference', model_properties: { key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb index 5242e9c096..72f5c848f3 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultSecretReference', model_properties: { secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb index 81d88da736..1424c76c45 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb @@ -33,7 +33,6 @@ class LinuxConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinuxConfiguration', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'LinuxConfiguration', model_properties: { disable_password_authentication: { - client_side_validation: true, required: false, serialized_name: 'disablePasswordAuthentication', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: false, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb index 7d435704e9..610421fd57 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListUsagesResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ListUsagesResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb index c67c71eda8..30473e042a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb @@ -38,7 +38,6 @@ class LogAnalyticsInputBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogAnalyticsInputBase', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'LogAnalyticsInputBase', model_properties: { blob_container_sas_uri: { - client_side_validation: true, required: true, serialized_name: 'blobContainerSasUri', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, from_time: { - client_side_validation: true, required: true, serialized_name: 'fromTime', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, to_time: { - client_side_validation: true, required: true, serialized_name: 'toTime', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, group_by_throttle_policy: { - client_side_validation: true, required: false, serialized_name: 'groupByThrottlePolicy', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, group_by_operation_name: { - client_side_validation: true, required: false, serialized_name: 'groupByOperationName', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, group_by_resource_name: { - client_side_validation: true, required: false, serialized_name: 'groupByResourceName', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb index d54b9410c2..61335d7005 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb @@ -22,7 +22,6 @@ class LogAnalyticsOperationResult < OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogAnalyticsOperationResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'LogAnalyticsOperationResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -39,7 +37,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -48,7 +45,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -57,7 +53,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -66,7 +61,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', @@ -76,7 +70,6 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb index 773665a097..15c245134c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb @@ -22,7 +22,6 @@ class LogAnalyticsOutput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogAnalyticsOutput', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'LogAnalyticsOutput', model_properties: { output: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'output', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb index 5cf79a23a8..1574d70f52 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb @@ -42,7 +42,6 @@ class MaintenanceRedeployStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MaintenanceRedeployStatus', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'MaintenanceRedeployStatus', model_properties: { is_customer_initiated_maintenance_allowed: { - client_side_validation: true, required: false, serialized_name: 'isCustomerInitiatedMaintenanceAllowed', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, pre_maintenance_window_start_time: { - client_side_validation: true, required: false, serialized_name: 'preMaintenanceWindowStartTime', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, pre_maintenance_window_end_time: { - client_side_validation: true, required: false, serialized_name: 'preMaintenanceWindowEndTime', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, maintenance_window_start_time: { - client_side_validation: true, required: false, serialized_name: 'maintenanceWindowStartTime', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, maintenance_window_end_time: { - client_side_validation: true, required: false, serialized_name: 'maintenanceWindowEndTime', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, last_operation_result_code: { - client_side_validation: true, required: false, serialized_name: 'lastOperationResultCode', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, last_operation_message: { - client_side_validation: true, required: false, serialized_name: 'lastOperationMessage', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb index 2fe869530b..8c8d9d2ccd 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb @@ -24,7 +24,6 @@ class ManagedDiskParameters < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ManagedDiskParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ManagedDiskParameters', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -40,7 +38,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb index 96ae238d0e..d3317e37a2 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb @@ -23,7 +23,6 @@ class NetworkInterfaceReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'NetworkInterfaceReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -39,7 +37,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_profile.rb index 44ad46e209..91ef84dc25 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_profile.rb @@ -24,7 +24,6 @@ class NetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'NetworkProfile', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReferenceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/operation_status_response.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/operation_status_response.rb index 912ad00d83..cbef385b59 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/operation_status_response.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/operation_status_response.rb @@ -34,7 +34,6 @@ class OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationStatusResponse', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'OperationStatusResponse', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -60,7 +57,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -69,7 +65,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -78,7 +73,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb index c70e74a6b1..ce43f46fe1 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb @@ -76,7 +76,6 @@ class OSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDisk', type: { @@ -84,7 +83,6 @@ def self.mapper() class_name: 'OSDisk', model_properties: { os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -93,7 +91,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -119,7 +114,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -128,7 +122,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -137,7 +130,6 @@ def self.mapper() } }, write_accelerator_enabled: { - client_side_validation: true, required: false, serialized_name: 'writeAcceleratorEnabled', type: { @@ -145,7 +137,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb index 9fc34d7ca4..f109540b08 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb @@ -23,7 +23,6 @@ class OSDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDiskImage', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'OSDiskImage', model_properties: { operating_system: { - client_side_validation: true, required: true, serialized_name: 'operatingSystem', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osprofile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osprofile.rb index 2e74a9c1c3..a50ec20306 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osprofile.rb @@ -86,7 +86,6 @@ class OSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSProfile', type: { @@ -94,7 +93,6 @@ def self.mapper() class_name: 'OSProfile', model_properties: { computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -144,13 +137,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/plan.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/plan.rb index 759aa9919c..cd7d5faf4c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/plan.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/plan.rb @@ -38,7 +38,6 @@ class Plan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Plan', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Plan', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, serialized_name: 'product', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, promotion_code: { - client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb index 6d1ab296f6..91498c7f3f 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb @@ -31,7 +31,6 @@ class PurchasePlan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PurchasePlan', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'PurchasePlan', model_properties: { publisher: { - client_side_validation: true, required: true, serialized_name: 'publisher', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: true, serialized_name: 'product', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb index e8ae495219..22399f2fea 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb @@ -26,7 +26,6 @@ class RecoveryWalkResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecoveryWalkResponse', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RecoveryWalkResponse', model_properties: { walk_performed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'walkPerformed', @@ -43,7 +41,6 @@ def self.mapper() } }, next_platform_update_domain: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextPlatformUpdateDomain', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb index f459e34514..d57ca2a63d 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb @@ -24,7 +24,6 @@ class RequestRateByIntervalInput < LogAnalyticsInputBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RequestRateByIntervalInput', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'RequestRateByIntervalInput', model_properties: { blob_container_sas_uri: { - client_side_validation: true, required: true, serialized_name: 'blobContainerSasUri', type: { @@ -40,7 +38,6 @@ def self.mapper() } }, from_time: { - client_side_validation: true, required: true, serialized_name: 'fromTime', type: { @@ -48,7 +45,6 @@ def self.mapper() } }, to_time: { - client_side_validation: true, required: true, serialized_name: 'toTime', type: { @@ -56,7 +52,6 @@ def self.mapper() } }, group_by_throttle_policy: { - client_side_validation: true, required: false, serialized_name: 'groupByThrottlePolicy', type: { @@ -64,7 +59,6 @@ def self.mapper() } }, group_by_operation_name: { - client_side_validation: true, required: false, serialized_name: 'groupByOperationName', type: { @@ -72,7 +66,6 @@ def self.mapper() } }, group_by_resource_name: { - client_side_validation: true, required: false, serialized_name: 'groupByResourceName', type: { @@ -80,7 +73,6 @@ def self.mapper() } }, interval_length: { - client_side_validation: true, required: true, serialized_name: 'intervalLength', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/resource.rb index 8982f79424..a90793e168 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb index 7e9f1e6eeb..1ae0175f3b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb @@ -30,7 +30,6 @@ class RollbackStatusInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollbackStatusInfo', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'RollbackStatusInfo', model_properties: { successfully_rolledback_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'successfullyRolledbackInstanceCount', @@ -47,7 +45,6 @@ def self.mapper() } }, failed_rolledback_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'failedRolledbackInstanceCount', @@ -56,7 +53,6 @@ def self.mapper() } }, rollback_error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'rollbackError', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb index 24faf4a251..c69d95c2f8 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb @@ -48,7 +48,6 @@ class RollingUpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradePolicy', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'RollingUpgradePolicy', model_properties: { max_batch_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxBatchInstancePercent', constraints: { @@ -68,7 +66,6 @@ def self.mapper() } }, max_unhealthy_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxUnhealthyInstancePercent', constraints: { @@ -80,7 +77,6 @@ def self.mapper() } }, max_unhealthy_upgraded_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxUnhealthyUpgradedInstancePercent', constraints: { @@ -92,7 +88,6 @@ def self.mapper() } }, pause_time_between_batches: { - client_side_validation: true, required: false, serialized_name: 'pauseTimeBetweenBatches', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb index 1226fe2d37..ef4fd1826d 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb @@ -36,7 +36,6 @@ class RollingUpgradeProgressInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeProgressInfo', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'RollingUpgradeProgressInfo', model_properties: { successful_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'successfulInstanceCount', @@ -53,7 +51,6 @@ def self.mapper() } }, failed_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'failedInstanceCount', @@ -62,7 +59,6 @@ def self.mapper() } }, in_progress_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'inProgressInstanceCount', @@ -71,7 +67,6 @@ def self.mapper() } }, pending_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'pendingInstanceCount', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb index aaa6866561..9ce42b870f 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb @@ -34,7 +34,6 @@ class RollingUpgradeRunningStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeRunningStatus', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RollingUpgradeRunningStatus', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -52,7 +50,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -61,7 +58,6 @@ def self.mapper() } }, last_action: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastAction', @@ -71,7 +67,6 @@ def self.mapper() } }, last_action_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastActionTime', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb index e7330fce0a..baf9edb6e3 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb @@ -34,7 +34,6 @@ class RollingUpgradeStatusInfo < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeStatusInfo', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RollingUpgradeStatusInfo', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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: { @@ -93,7 +86,6 @@ def self.mapper() } }, policy: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.policy', @@ -103,7 +95,6 @@ def self.mapper() } }, running_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.runningStatus', @@ -113,7 +104,6 @@ def self.mapper() } }, progress: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.progress', @@ -123,7 +113,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.error', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document.rb index 86f1556efb..87cd093444 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document.rb @@ -26,7 +26,6 @@ class RunCommandDocument < RunCommandDocumentBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocument', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RunCommandDocument', model_properties: { schema: { - client_side_validation: true, required: true, serialized_name: '$schema', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -59,7 +55,6 @@ def self.mapper() } }, label: { - client_side_validation: true, required: true, serialized_name: 'label', type: { @@ -67,7 +62,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: true, serialized_name: 'description', type: { @@ -75,13 +69,11 @@ def self.mapper() } }, script: { - client_side_validation: true, required: true, serialized_name: 'script', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandParameterDefinitionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb index a6fb20c8a5..550f7487ff 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb @@ -35,7 +35,6 @@ class RunCommandDocumentBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocumentBase', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RunCommandDocumentBase', model_properties: { schema: { - client_side_validation: true, required: true, serialized_name: '$schema', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, label: { - client_side_validation: true, required: true, serialized_name: 'label', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: true, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input.rb index 5476549734..fe39e0eabd 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input.rb @@ -30,7 +30,6 @@ class RunCommandInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandInput', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'RunCommandInput', model_properties: { command_id: { - client_side_validation: true, required: true, serialized_name: 'commandId', type: { @@ -46,13 +44,11 @@ def self.mapper() } }, script: { - client_side_validation: true, required: false, serialized_name: 'script', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandInputParameterElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb index 0d2c7fc043..5d8d794701 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb @@ -25,7 +25,6 @@ class RunCommandInputParameter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandInputParameter', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'RunCommandInputParameter', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb index be00d5b41c..1f6a3e9a7c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'RunCommandListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocumentBaseElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb index 2cb1c2b7ad..365e5bc8e6 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb @@ -32,7 +32,6 @@ class RunCommandParameterDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandParameterDefinition', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'RunCommandParameterDefinition', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, serialized_name: 'type', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, default_value: { - client_side_validation: true, required: false, serialized_name: 'defaultValue', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, required: { - client_side_validation: true, required: false, serialized_name: 'required', default_value: false, diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_result.rb index 11298fb276..a6d720391a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_result.rb @@ -22,7 +22,6 @@ class RunCommandResult < OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'RunCommandResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -39,7 +37,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -48,7 +45,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -57,7 +53,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -66,7 +61,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', @@ -76,7 +70,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sku.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sku.rb index e58940ab51..16babd6202 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sku.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sku.rb @@ -31,7 +31,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb index 850c3e3b5b..1760f59b1c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb @@ -23,7 +23,6 @@ class SshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: false, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb index e9050d0104..6358731d6e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb @@ -32,7 +32,6 @@ class SshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshPublicKey', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'SshPublicKey', model_properties: { path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_data: { - client_side_validation: true, required: false, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/storage_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/storage_profile.rb index 48d7ecdbc8..1f4efa6937 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/storage_profile.rb @@ -38,7 +38,6 @@ class StorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageProfile', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'StorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -64,13 +61,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource.rb index ba7f72a62a..cd71c5e453 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb index b01b293ef5..d13021a5bf 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb @@ -23,7 +23,6 @@ class SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResourceReadOnly', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResourceReadOnly', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb index d76de244ad..ab271ef73a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb @@ -19,7 +19,6 @@ class ThrottledRequestsInput < LogAnalyticsInputBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ThrottledRequestsInput', type: { @@ -27,7 +26,6 @@ def self.mapper() class_name: 'ThrottledRequestsInput', model_properties: { blob_container_sas_uri: { - client_side_validation: true, required: true, serialized_name: 'blobContainerSasUri', type: { @@ -35,7 +33,6 @@ def self.mapper() } }, from_time: { - client_side_validation: true, required: true, serialized_name: 'fromTime', type: { @@ -43,7 +40,6 @@ def self.mapper() } }, to_time: { - client_side_validation: true, required: true, serialized_name: 'toTime', type: { @@ -51,7 +47,6 @@ def self.mapper() } }, group_by_throttle_policy: { - client_side_validation: true, required: false, serialized_name: 'groupByThrottlePolicy', type: { @@ -59,7 +54,6 @@ def self.mapper() } }, group_by_operation_name: { - client_side_validation: true, required: false, serialized_name: 'groupByOperationName', type: { @@ -67,7 +61,6 @@ def self.mapper() } }, group_by_resource_name: { - client_side_validation: true, required: false, serialized_name: 'groupByResourceName', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/update_resource.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/update_resource.rb index 40edceeac0..996ea559f5 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/update_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/update_resource.rb @@ -22,7 +22,6 @@ class UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpdateResource', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UpdateResource', 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_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb index 457d4a90f4..87d34dd16b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb @@ -29,7 +29,6 @@ class UpgradeOperationHistoricalStatusInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradeOperationHistoricalStatusInfo', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'UpgradeOperationHistoricalStatusInfo', model_properties: { properties: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties', @@ -47,7 +45,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb index a8d67cff3a..896f12e7de 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb @@ -40,7 +40,6 @@ class UpgradeOperationHistoricalStatusInfoProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradeOperationHistoricalStatusInfoProperties', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'UpgradeOperationHistoricalStatusInfoProperties', model_properties: { running_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'runningStatus', @@ -58,7 +56,6 @@ def self.mapper() } }, progress: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'progress', @@ -68,7 +65,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', @@ -78,7 +74,6 @@ def self.mapper() } }, started_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startedBy', @@ -88,7 +83,6 @@ def self.mapper() } }, target_image_reference: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'targetImageReference', @@ -98,7 +92,6 @@ def self.mapper() } }, rollback_info: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'rollbackInfo', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb index 8d24be45e8..d812c37c9f 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb @@ -30,7 +30,6 @@ class UpgradeOperationHistoryStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradeOperationHistoryStatus', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'UpgradeOperationHistoryStatus', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -48,7 +46,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -57,7 +54,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb index d482fde570..78bb6b35f9 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb @@ -41,7 +41,6 @@ class UpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradePolicy', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'UpgradePolicy', model_properties: { mode: { - client_side_validation: true, required: false, serialized_name: 'mode', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, rolling_upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'rollingUpgradePolicy', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, automatic_osupgrade: { - client_side_validation: true, required: false, serialized_name: 'automaticOSUpgrade', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, auto_osupgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'autoOSUpgradePolicy', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage.rb index 52caf08939..4974ac4b43 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage_name.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage_name.rb index 6609074b5e..eb019fdd93 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage_name.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb index e84dc8c592..982e0f6e1f 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb @@ -40,7 +40,6 @@ class VaultCertificate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VaultCertificate', model_properties: { certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, certificate_store: { - client_side_validation: true, required: false, serialized_name: 'certificateStore', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb index 147ff878c5..1567a9dee6 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb @@ -27,7 +27,6 @@ class VaultSecretGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VaultSecretGroup', model_properties: { source_vault: { - client_side_validation: true, required: false, serialized_name: 'sourceVault', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, vault_certificates: { - client_side_validation: true, required: false, serialized_name: 'vaultCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultCertificateElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb index 1e508f4939..4fe581f3af 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb @@ -22,7 +22,6 @@ class VirtualHardDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualHardDisk', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualHardDisk', model_properties: { uri: { - client_side_validation: true, required: false, serialized_name: 'uri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb index b24b66c417..1572919182 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb @@ -95,7 +95,6 @@ class VirtualMachine < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachine', type: { @@ -103,7 +102,6 @@ def self.mapper() class_name: 'VirtualMachine', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -112,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -121,7 +118,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -130,7 +126,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -138,13 +133,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: { @@ -154,7 +147,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -163,7 +155,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -172,7 +163,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -181,7 +171,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -190,7 +179,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -199,7 +187,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -208,7 +195,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -217,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -226,7 +211,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -236,7 +220,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -244,7 +227,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -253,14 +235,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { @@ -271,7 +251,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -280,13 +259,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb index 2d42d935d3..abf3afe72d 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb @@ -29,7 +29,6 @@ class VirtualMachineAgentInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineAgentInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineAgentInstanceView', model_properties: { vm_agent_version: { - client_side_validation: true, required: false, serialized_name: 'vmAgentVersion', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, extension_handlers: { - client_side_validation: true, required: false, serialized_name: 'extensionHandlers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb index 8cde403a75..70c23fdaa3 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb @@ -29,7 +29,6 @@ class VirtualMachineCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureParameters', model_properties: { vhd_prefix: { - client_side_validation: true, required: true, serialized_name: 'vhdPrefix', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, destination_container_name: { - client_side_validation: true, required: true, serialized_name: 'destinationContainerName', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, overwrite_vhds: { - client_side_validation: true, required: true, serialized_name: 'overwriteVhds', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb index 4594de1f29..78145742c5 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb @@ -22,7 +22,6 @@ class VirtualMachineCaptureResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -38,7 +36,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb index 7aa60fbfee..d20eaa19f3 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineExtension < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineExtension', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,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: { @@ -113,7 +106,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, virtual_machine_extension_type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -178,7 +163,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, serialized_name: 'properties.instanceView', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb index e217133514..9fb6431675 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineExtensionHandlerInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionHandlerInstanceView', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb index 98ffbb836c..8afef97f9a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb @@ -39,7 +39,6 @@ class VirtualMachineExtensionImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImage', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionImage', 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() } }, operating_system: { - client_side_validation: true, required: true, serialized_name: 'properties.operatingSystem', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, compute_role: { - client_side_validation: true, required: true, serialized_name: 'properties.computeRole', type: { @@ -114,7 +105,6 @@ def self.mapper() } }, handler_schema: { - client_side_validation: true, required: true, serialized_name: 'properties.handlerSchema', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, vm_scale_set_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.vmScaleSetEnabled', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, supports_multiple_extensions: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsMultipleExtensions', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb index 9dcdc2526e..1a08380111 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb @@ -35,7 +35,6 @@ class VirtualMachineExtensionInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceView', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, substatuses: { - client_side_validation: true, required: false, serialized_name: 'substatuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -84,13 +78,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb index b89b6eb960..08a399cf0e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb @@ -46,7 +46,6 @@ class VirtualMachineExtensionUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionUpdate', type: { @@ -54,13 +53,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionUpdate', 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: { @@ -70,7 +67,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb index c8d9311672..d6deaea032 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineExtensionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb index 3964e2f081..6480ad950b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb @@ -22,7 +22,6 @@ class VirtualMachineHealthStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineHealthStatus', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineHealthStatus', model_properties: { status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb index 1dea56cbe1..5218a737c9 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb @@ -41,7 +41,6 @@ class VirtualMachineIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineIdentity', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'VirtualMachineIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -58,7 +56,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -67,7 +64,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -76,13 +72,11 @@ def self.mapper() } }, identity_ids: { - client_side_validation: true, required: false, serialized_name: 'identityIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb index 0905e105ea..667357e92e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb @@ -28,7 +28,6 @@ class VirtualMachineImage < VirtualMachineImageResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImage', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineImage', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -60,13 +56,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: { @@ -76,7 +70,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'properties.plan', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, os_disk_image: { - client_side_validation: true, required: false, serialized_name: 'properties.osDiskImage', type: { @@ -94,13 +86,11 @@ def self.mapper() } }, data_disk_images: { - client_side_validation: true, required: false, serialized_name: 'properties.dataDiskImages', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb index 168528c6b7..98665b8aad 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb @@ -31,7 +31,6 @@ class VirtualMachineImageResource < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineImageResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -63,13 +59,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_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb index 5f419073d3..2b40929b35 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb @@ -64,7 +64,6 @@ class VirtualMachineInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineInstanceView', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'VirtualMachineInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -80,7 +78,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -88,7 +85,6 @@ def self.mapper() } }, computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -96,7 +92,6 @@ def self.mapper() } }, os_name: { - client_side_validation: true, required: false, serialized_name: 'osName', type: { @@ -104,7 +99,6 @@ def self.mapper() } }, os_version: { - client_side_validation: true, required: false, serialized_name: 'osVersion', type: { @@ -112,7 +106,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -120,7 +113,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, maintenance_redeploy_status: { - client_side_validation: true, required: false, serialized_name: 'maintenanceRedeployStatus', type: { @@ -138,13 +129,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -155,13 +144,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -172,7 +159,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -181,13 +167,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb index 3523ae66cb..f015596f80 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualMachineListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb index 7b97057253..699e01d0a8 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb @@ -67,7 +67,6 @@ class VirtualMachineScaleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSet', type: { @@ -75,7 +74,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -84,7 +82,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -93,7 +90,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -102,7 +98,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -110,13 +105,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: { @@ -126,7 +119,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -135,7 +127,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -162,7 +151,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -171,7 +159,6 @@ def self.mapper() } }, overprovision: { - client_side_validation: true, required: false, serialized_name: 'properties.overprovision', type: { @@ -179,7 +166,6 @@ def self.mapper() } }, unique_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.uniqueId', @@ -188,7 +174,6 @@ def self.mapper() } }, single_placement_group: { - client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { @@ -196,7 +181,6 @@ def self.mapper() } }, zone_balance: { - client_side_validation: true, required: false, serialized_name: 'properties.zoneBalance', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -212,7 +195,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -221,13 +203,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb index c3929bb468..71e0de91ec 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb @@ -52,7 +52,6 @@ class VirtualMachineScaleSetDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDisk', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetDataDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, write_accelerator_enabled: { - client_side_validation: true, required: false, serialized_name: 'writeAcceleratorEnabled', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb index c343c03bef..8f7e668e99 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineScaleSetExtension < SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtension', 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, serialized_name: 'name', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb index c449441143..05241b9ceb 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionListResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb index 173d197fab..e25bc3069e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetExtensionProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionProfile', model_properties: { extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb index 48a07c92bf..814ca63339 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb @@ -43,7 +43,6 @@ class VirtualMachineScaleSetIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIdentity', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -60,7 +58,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -69,7 +66,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, identity_ids: { - client_side_validation: true, required: false, serialized_name: 'identityIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb index 9db5079157..8f6dd2ae7b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineScaleSetInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceView', model_properties: { virtual_machine: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'virtualMachine', @@ -48,14 +46,12 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummaryElementType', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb index 8f007f5734..37d1d95d4d 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetInstanceViewStatusesSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', type: { @@ -33,14 +32,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', model_properties: { statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb index 55cdd56db5..fadc20af12 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb @@ -57,7 +57,6 @@ class VirtualMachineScaleSetIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfiguration', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, public_ipaddress_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressConfiguration', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -132,13 +123,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,13 +138,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb index e6f85ec57e..366f55a134 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb @@ -63,7 +63,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListOSUpgradeHistory', type: { @@ -71,13 +70,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListOSUpgradeHistory', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UpgradeOperationHistoricalStatusInfoElementType', type: { @@ -88,7 +85,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb index 6461fcf1fa..90755ee239 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb index 05989f843e..415aa0e9c9 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListSkusResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb index 9c4187d97a..1979dff9a4 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListWithLinkResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListWithLinkResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb index a52c2c3b27..1d3e395c1b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetManagedDiskParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetManagedDiskParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetManagedDiskParameters', model_properties: { storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb index a2156417a3..3de0c443d2 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb @@ -46,7 +46,6 @@ class VirtualMachineScaleSetNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb index 9273105cdb..af7e708248 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb @@ -24,7 +24,6 @@ class VirtualMachineScaleSetNetworkConfigurationDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb index 69008104e8..1812b9fa27 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkProfile', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkProfile', model_properties: { health_probe: { - client_side_validation: true, required: false, serialized_name: 'healthProbe', type: { @@ -46,13 +44,11 @@ def self.mapper() } }, network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb index f2cf3d5234..d519322d07 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb @@ -61,7 +61,6 @@ class VirtualMachineScaleSetOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSDisk', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, write_accelerator_enabled: { - client_side_validation: true, required: false, serialized_name: 'writeAcceleratorEnabled', type: { @@ -94,7 +90,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -111,7 +105,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -120,13 +113,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -136,7 +127,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb index 6d0cf455d3..3028efa3b4 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb @@ -84,7 +84,6 @@ class VirtualMachineScaleSetOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSProfile', type: { @@ -92,7 +91,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSProfile', model_properties: { computer_name_prefix: { - client_side_validation: true, required: false, serialized_name: 'computerNamePrefix', type: { @@ -100,7 +98,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -108,7 +105,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -116,7 +112,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -124,7 +119,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -133,7 +127,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -142,13 +135,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb index 26f9a31b8e..49c9ad2fcb 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetPublicIPAddressConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetPublicIPAddressConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetPublicIPAddressConfiguration', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb index 4d8a622359..e17c7f2f67 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: true, serialized_name: 'domainNameLabel', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb index 57e5b0266c..601f95b643 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -46,7 +44,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb index 1e4a45bf7b..7e59c9afe6 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb @@ -32,7 +32,6 @@ class VirtualMachineScaleSetSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default_capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultCapacity', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb index 80cee250a4..2885ef9a91 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb @@ -40,7 +40,6 @@ class VirtualMachineScaleSetStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetStorageProfile', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb index 086bf73c2e..6de29925da 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb @@ -45,7 +45,6 @@ class VirtualMachineScaleSetUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdate', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdate', 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: { @@ -69,7 +66,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, overprovision: { - client_side_validation: true, required: false, serialized_name: 'properties.overprovision', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, single_placement_group: { - client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb index 7e0329585e..75dd16062c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb @@ -50,7 +50,6 @@ class VirtualMachineScaleSetUpdateIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateIPConfiguration', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, public_ipaddress_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressConfiguration', type: { @@ -100,7 +94,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -125,13 +116,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -142,13 +131,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb index d0f5ead54e..eabcd74c61 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb @@ -45,7 +45,6 @@ class VirtualMachineScaleSetUpdateNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -103,13 +96,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateIPConfigurationElementType', type: { @@ -120,7 +111,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb index 0f1cdf32ed..3f055735cf 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb @@ -24,7 +24,6 @@ class VirtualMachineScaleSetUpdateNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateNetworkProfile', model_properties: { network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb index ee0c047505..66ab45c4af 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb @@ -41,7 +41,6 @@ class VirtualMachineScaleSetUpdateOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateOSDisk', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateOSDisk', model_properties: { caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, write_accelerator_enabled: { - client_side_validation: true, required: false, serialized_name: 'writeAcceleratorEnabled', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb index f9162a6c7c..8097474468 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb @@ -33,7 +33,6 @@ class VirtualMachineScaleSetUpdateOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateOSProfile', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateOSProfile', model_properties: { custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb index 49c4ff73da..5f75949cad 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetUpdatePublicIPAddressConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb index 33a2b159fa..76ea9b7538 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetUpdateStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateStorageProfile', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb index d578168ad8..583371c2ad 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb @@ -43,7 +43,6 @@ class VirtualMachineScaleSetUpdateVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateVMProfile', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'diagnosticsProfile', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'licenseType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb index 2c571772a0..f90dca4797 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb @@ -96,7 +96,6 @@ class VirtualMachineScaleSetVM < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVM', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVM', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -113,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -122,7 +119,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,7 +127,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -139,13 +134,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: { @@ -155,7 +148,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceId', @@ -164,7 +156,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -174,7 +165,6 @@ def self.mapper() } }, latest_model_applied: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.latestModelApplied', @@ -183,7 +173,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -192,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -202,7 +190,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -211,7 +198,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -220,7 +206,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -229,7 +214,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -238,7 +222,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -247,7 +230,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -256,7 +238,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -265,7 +246,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -273,7 +253,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -282,14 +261,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb index 7f76cb3cb2..a85418f1aa 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetVMExtensionsSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummary', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMExtensionsSummary', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -44,14 +42,12 @@ def self.mapper() } }, statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb index 298c70f3a3..38feebe885 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetVMInstanceIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceIDs', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceIDs', model_properties: { instance_ids: { - client_side_validation: true, required: false, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb index d344c2b969..d9035aabd2 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetVMInstanceRequiredIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', model_properties: { instance_ids: { - client_side_validation: true, required: true, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb index d4de3bb271..3faefc22cb 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb @@ -61,7 +61,6 @@ class VirtualMachineScaleSetVMInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, maintenance_redeploy_status: { - client_side_validation: true, required: false, serialized_name: 'maintenanceRedeployStatus', type: { @@ -111,13 +105,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -128,13 +120,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, vm_health: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'vmHealth', @@ -155,7 +144,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -164,13 +152,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -181,7 +167,6 @@ def self.mapper() } }, placement_group_id: { - client_side_validation: true, required: false, serialized_name: 'placementGroupId', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb index b2846e2c66..8a4d39bdaf 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb index 20742ba485..2991a47978 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb @@ -62,7 +62,6 @@ class VirtualMachineScaleSetVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMProfile', type: { @@ -70,7 +69,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -88,7 +85,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'diagnosticsProfile', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { @@ -115,7 +109,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'licenseType', type: { @@ -123,7 +116,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, eviction_policy: { - client_side_validation: true, required: false, serialized_name: 'evictionPolicy', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb index ce41ca9a36..552bd6cf6b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb @@ -42,7 +42,6 @@ class VirtualMachineSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSize', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineSize', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, number_of_cores: { - client_side_validation: true, required: false, serialized_name: 'numberOfCores', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, os_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'osDiskSizeInMB', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, resource_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'resourceDiskSizeInMB', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, memory_in_mb: { - client_side_validation: true, required: false, serialized_name: 'memoryInMB', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, max_data_disk_count: { - client_side_validation: true, required: false, serialized_name: 'maxDataDiskCount', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb index b4b9f3e66a..d23bec1552 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineSizeListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineSizeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb index 23acd67d80..6117a3ec0c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb @@ -27,7 +27,6 @@ class VirtualMachineStatusCodeCount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCount', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineStatusCodeCount', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -44,7 +42,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb index a2f0f801eb..a88aea9a9e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb @@ -91,7 +91,6 @@ class VirtualMachineUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineUpdate', type: { @@ -99,13 +98,11 @@ def self.mapper() class_name: 'VirtualMachineUpdate', 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: { @@ -115,7 +112,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -124,7 +120,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -133,7 +128,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -142,7 +136,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -151,7 +144,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -160,7 +152,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -169,7 +160,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -178,7 +168,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -187,7 +176,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -197,7 +185,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -205,7 +192,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -214,7 +200,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -223,13 +208,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb index 2a9793dcbf..208b1ee638 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb @@ -23,7 +23,6 @@ class WinRMConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WinRMConfiguration', model_properties: { listeners: { - client_side_validation: true, required: false, serialized_name: 'listeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WinRMListenerElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb index 28e2524f9f..beb89b7a75 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb @@ -34,7 +34,6 @@ class WinRMListener # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMListener', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WinRMListener', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb index 484812e056..13b9e28bae 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb @@ -43,7 +43,6 @@ class WindowsConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WindowsConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'WindowsConfiguration', model_properties: { provision_vmagent: { - client_side_validation: true, required: false, serialized_name: 'provisionVMAgent', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, enable_automatic_updates: { - client_side_validation: true, required: false, serialized_name: 'enableAutomaticUpdates', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'timeZone', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, additional_unattend_content: { - client_side_validation: true, required: false, serialized_name: 'additionalUnattendContent', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContentElementType', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, win_rm: { - client_side_validation: true, required: false, serialized_name: 'winRM', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/operations.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/operations.rb index 8442fbaf9d..1b0999192d 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/operations.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [ComputeOperationListResult] 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 @@ -42,8 +42,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 # @@ -54,12 +54,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_compute/lib/2017-12-01/generated/azure_mgmt_compute/usage_operations.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/usage_operations.rb index bcf50e2c1d..ed7bcfad99 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/usage_operations.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/usage_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -48,8 +48,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -63,15 +63,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +126,8 @@ def list_async(location, custom_headers:nil) # # @return [ListUsagesResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -145,8 +143,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -161,12 +159,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,12 +219,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ListUsagesResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..16b70dc657 --- /dev/null +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/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::Compute::Mgmt::V2017_12_01 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb index 79420095d1..0241c68303 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionImage] operation results. # - def get(location, publisher_name, type, version, custom_headers:nil) - response = get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get(location, publisher_name, type, version, custom_headers = nil) + response = get_async(location, publisher_name, type, version, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(location, publisher_name, type, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, type, version, custom_headers:nil) - get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, type, version, custom_headers = nil) + get_async(location, publisher_name, type, version, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_with_http_info(location, publisher_name, type, version, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, type, version, custom_headers:nil) + def get_async(location, publisher_name, type, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -76,7 +76,6 @@ def get_async(location, publisher_name, type, version, 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 @@ -131,8 +130,8 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) # # @return [Array] operation results. # - def list_types(location, publisher_name, custom_headers:nil) - response = list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types(location, publisher_name, custom_headers = nil) + response = list_types_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -146,8 +145,8 @@ def list_types(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_types_with_http_info(location, publisher_name, custom_headers:nil) - list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types_with_http_info(location, publisher_name, custom_headers = nil) + list_types_async(location, publisher_name, custom_headers).value! end # @@ -160,7 +159,7 @@ def list_types_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_types_async(location, publisher_name, custom_headers:nil) + def list_types_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -168,7 +167,6 @@ def list_types_async(location, publisher_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 @@ -201,13 +199,11 @@ def list_types_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { @@ -243,8 +239,8 @@ def list_types_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -262,8 +258,8 @@ def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_versions_with_http_info(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions_with_http_info(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! end # @@ -280,7 +276,7 @@ def list_versions_with_http_info(location, publisher_name, type, filter:nil, top # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_versions_async(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_versions_async(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -289,7 +285,6 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -322,13 +317,11 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb index 0738f61550..91f8d6d695 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineExtension] operation results. # - def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, vm_name, vm_extension_name, exte # # @return [VirtualMachineExtension] operation results. # - def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, vm_name, vm_extension_name, extension_parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -149,9 +149,9 @@ def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -180,8 +180,8 @@ def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [VirtualMachineExtension] operation results. # - def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -198,8 +198,8 @@ def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! end # @@ -215,7 +215,7 @@ def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -224,7 +224,6 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -283,8 +282,8 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo # # @return [VirtualMachineExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -302,8 +301,8 @@ def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, exte # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -320,7 +319,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_exten # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -330,12 +329,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -406,8 +406,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name # # @return [VirtualMachineExtension] operation results. # - def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -425,8 +425,8 @@ def begin_update(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -443,7 +443,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -453,12 +453,13 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionUpdate.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -517,8 +518,8 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -534,8 +535,8 @@ def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! end # @@ -550,7 +551,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -559,7 +560,6 @@ def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_h 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_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb index 1286c6f720..6816fa48ed 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineImage] operation results. # - def get(location, publisher_name, offer, skus, version, custom_headers:nil) - response = get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get(location, publisher_name, offer, skus, version, custom_headers = nil) + response = get_async(location, publisher_name, offer, skus, version, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(location, publisher_name, offer, skus, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers:nil) - get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers = nil) + get_async(location, publisher_name, offer, skus, version, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(location, publisher_name, offer, skus, version, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, offer, skus, version, custom_headers:nil) + def get_async(location, publisher_name, offer, skus, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -80,7 +80,6 @@ def get_async(location, publisher_name, offer, skus, version, 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 @@ -141,8 +140,8 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil # # @return [Array] operation results. # - def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -162,8 +161,8 @@ def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! end # @@ -182,7 +181,7 @@ def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -192,7 +191,6 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,13 +223,11 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -264,8 +260,8 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order # # @return [Array] operation results. # - def list_offers(location, publisher_name, custom_headers:nil) - response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers(location, publisher_name, custom_headers = nil) + response = list_offers_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -280,8 +276,8 @@ def list_offers(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_offers_with_http_info(location, publisher_name, custom_headers:nil) - list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers_with_http_info(location, publisher_name, custom_headers = nil) + list_offers_async(location, publisher_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_offers_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_offers_async(location, publisher_name, custom_headers:nil) + def list_offers_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_offers_async(location, publisher_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 @@ -336,13 +331,11 @@ def list_offers_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -374,8 +367,8 @@ def list_offers_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_publishers(location, custom_headers:nil) - response = list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers(location, custom_headers = nil) + response = list_publishers_async(location, custom_headers).value! response.body unless response.nil? end @@ -389,8 +382,8 @@ def list_publishers(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_publishers_with_http_info(location, custom_headers:nil) - list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers_with_http_info(location, custom_headers = nil) + list_publishers_async(location, custom_headers).value! end # @@ -403,14 +396,13 @@ def list_publishers_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_publishers_async(location, custom_headers:nil) + def list_publishers_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,13 +435,11 @@ def list_publishers_async(location, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -483,8 +473,8 @@ def list_publishers_async(location, custom_headers:nil) # # @return [Array] operation results. # - def list_skus(location, publisher_name, offer, custom_headers:nil) - response = list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus(location, publisher_name, offer, custom_headers = nil) + response = list_skus_async(location, publisher_name, offer, custom_headers).value! response.body unless response.nil? end @@ -500,8 +490,8 @@ def list_skus(location, publisher_name, offer, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil) - list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus_with_http_info(location, publisher_name, offer, custom_headers = nil) + list_skus_async(location, publisher_name, offer, custom_headers).value! end # @@ -516,7 +506,7 @@ def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(location, publisher_name, offer, custom_headers:nil) + def list_skus_async(location, publisher_name, offer, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -525,7 +515,6 @@ def list_skus_async(location, publisher_name, offer, 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 @@ -558,13 +547,11 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb index 0beace3ba6..f9956d635f 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [RunCommandDocument] operation results. # - def get(location, command_id, custom_headers:nil) - response = get_async(location, command_id, custom_headers:custom_headers).value! + def get(location, command_id, custom_headers = nil) + response = get_async(location, command_id, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def get(location, command_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, command_id, custom_headers:nil) - get_async(location, command_id, custom_headers:custom_headers).value! + def get_with_http_info(location, command_id, custom_headers = nil) + get_async(location, command_id, custom_headers).value! end # @@ -149,16 +147,14 @@ def get_with_http_info(location, command_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, command_id, custom_headers:nil) + def get_async(location, command_id, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, 'command_id is nil' if command_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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 +209,8 @@ def get_async(location, command_id, custom_headers:nil) # # @return [RunCommandListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -228,8 +224,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -242,12 +238,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,12 +296,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RunCommandListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb index cc801f3997..cd6b53d2d0 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineScaleSetExtension] operation results. # - def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +83,8 @@ def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extensio # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! response.body unless response.nil? end @@ -99,9 +99,9 @@ def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -130,8 +130,8 @@ def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, cu # # @return [VirtualMachineScaleSetExtension] operation results. # - def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -148,8 +148,8 @@ def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand, custom_headers).value! end # @@ -165,7 +165,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expan request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -230,8 +229,8 @@ def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expan # # @return [Array] operation results. # - def list(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -246,8 +245,8 @@ def list(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -261,7 +260,7 @@ def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -269,7 +268,6 @@ def list_async(resource_group_name, vm_scale_set_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 @@ -328,8 +326,8 @@ def list_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSetExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -347,8 +345,8 @@ def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extensio # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! end # @@ -365,7 +363,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -375,12 +373,13 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_ex 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -449,8 +448,8 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_ex # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! response.body unless response.nil? end @@ -466,8 +465,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! end # @@ -482,7 +481,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_ext # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -491,7 +490,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -546,8 +544,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_na # # @return [VirtualMachineScaleSetExtensionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -561,8 +559,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -575,12 +573,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -636,12 +633,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetExtensionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb index 855af228ea..5dfb2c4be0 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def cancel(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -45,9 +45,9 @@ def cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def cancel_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -117,8 +117,8 @@ def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers # # @return [RollingUpgradeStatusInfo] operation results. # - def get_latest(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_latest(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_latest_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -132,8 +132,8 @@ def get_latest(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_latest_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -146,7 +146,7 @@ def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -154,7 +154,6 @@ def get_latest_async(resource_group_name, vm_scale_set_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 @@ -209,8 +208,8 @@ def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -224,8 +223,8 @@ def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -238,7 +237,7 @@ def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -246,7 +245,6 @@ def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -303,8 +301,8 @@ def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -320,8 +318,8 @@ def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -336,7 +334,7 @@ def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -344,7 +342,6 @@ def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_h 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_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb index 38fa5863c2..a8a9af8a4e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -48,9 +48,9 @@ def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +78,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -93,9 +93,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -125,8 +125,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -140,9 +140,9 @@ def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -172,8 +172,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [VirtualMachineScaleSetVM] operation results. # - def update(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +190,9 @@ def update(resource_group_name, vm_scale_set_name, instance_id, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:nil) + def update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +219,8 @@ def update_async(resource_group_name, vm_scale_set_name, instance_id, parameters # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -234,9 +234,9 @@ def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -263,8 +263,8 @@ def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [VirtualMachineScaleSetVM] operation results. # - def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -279,8 +279,8 @@ def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -294,7 +294,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -303,7 +303,6 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -359,8 +358,8 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header # # @return [VirtualMachineScaleSetVMInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -375,8 +374,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -390,7 +389,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -399,7 +398,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -457,8 +455,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [Array] operation results. # - def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers) + def list(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers) first_page.get_all_items end @@ -475,8 +473,8 @@ def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! end # @@ -492,7 +490,7 @@ def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, fil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) + def list_async(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -500,7 +498,6 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -558,8 +555,8 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -573,9 +570,9 @@ def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -602,8 +599,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -617,9 +614,9 @@ def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -646,8 +643,8 @@ def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -661,9 +658,9 @@ def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -690,8 +687,8 @@ def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -705,9 +702,9 @@ def redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -734,8 +731,8 @@ def redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_h # # @return [OperationStatusResponse] operation results. # - def perform_maintenance(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def perform_maintenance(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -749,9 +746,9 @@ def perform_maintenance(resource_group_name, vm_scale_set_name, instance_id, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -779,8 +776,8 @@ def perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_i # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -796,8 +793,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -812,7 +809,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -821,7 +818,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -878,8 +874,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -895,8 +891,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -911,7 +907,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -920,7 +916,6 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -979,8 +974,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -998,8 +993,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1016,7 +1011,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1025,7 +1020,6 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1084,8 +1078,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [VirtualMachineScaleSetVM] operation results. # - def begin_update(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers).value! response.body unless response.nil? end @@ -1103,8 +1097,8 @@ def begin_update(resource_group_name, vm_scale_set_name, instance_id, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers).value! end # @@ -1121,7 +1115,7 @@ def begin_update_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1131,12 +1125,13 @@ def begin_update_async(resource_group_name, vm_scale_set_name, instance_id, para 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVM.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1204,8 +1199,8 @@ def begin_update_async(resource_group_name, vm_scale_set_name, instance_id, para # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1220,8 +1215,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1235,7 +1230,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1244,7 +1239,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1302,8 +1296,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1320,8 +1314,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1337,7 +1331,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, insta # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1346,7 +1340,6 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1402,8 +1395,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1418,8 +1411,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1433,7 +1426,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1442,7 +1435,6 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1498,8 +1490,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1514,8 +1506,8 @@ def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1529,7 +1521,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1538,7 +1530,6 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1594,8 +1585,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1610,8 +1601,8 @@ def begin_redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1625,7 +1616,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1634,7 +1625,6 @@ def begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1690,8 +1680,8 @@ def begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, cu # # @return [OperationStatusResponse] operation results. # - def begin_perform_maintenance(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_perform_maintenance(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1706,8 +1696,8 @@ def begin_perform_maintenance(resource_group_name, vm_scale_set_name, instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1721,7 +1711,7 @@ def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1730,7 +1720,6 @@ def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1785,8 +1774,8 @@ def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, inst # # @return [VirtualMachineScaleSetVMListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1800,8 +1789,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1814,12 +1803,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1877,12 +1865,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetVMListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - response = list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + response = list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb index f423553b07..00f80eed70 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineScaleSet] operation results. # - def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -49,9 +49,9 @@ def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -79,8 +79,8 @@ def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, c # # @return [VirtualMachineScaleSet] operation results. # - def update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -95,9 +95,9 @@ def update(resource_group_name, vm_scale_set_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -123,8 +123,8 @@ def update_async(resource_group_name, vm_scale_set_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -137,9 +137,9 @@ def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -165,8 +165,8 @@ def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def get(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -180,8 +180,8 @@ def get(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -194,7 +194,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -202,7 +202,6 @@ def get_async(resource_group_name, vm_scale_set_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 @@ -261,8 +260,8 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -277,9 +276,9 @@ def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +306,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [OperationStatusResponse] operation results. # - def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -323,9 +322,9 @@ def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -351,8 +350,8 @@ def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [VirtualMachineScaleSetInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -366,8 +365,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -380,7 +379,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -388,7 +387,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_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 @@ -442,8 +440,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -456,8 +454,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -469,14 +467,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -532,8 +529,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -548,8 +545,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -563,13 +560,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -625,8 +621,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list_skus(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -641,8 +637,8 @@ def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -656,7 +652,7 @@ def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -664,7 +660,6 @@ def list_skus_async(resource_group_name, vm_scale_set_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 @@ -719,8 +714,8 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [Array] operation results. # - def get_osupgrade_history(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = get_osupgrade_history_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def get_osupgrade_history(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = get_osupgrade_history_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -734,8 +729,8 @@ def get_osupgrade_history(resource_group_name, vm_scale_set_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_osupgrade_history_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_osupgrade_history_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -748,7 +743,7 @@ def get_osupgrade_history_with_http_info(resource_group_name, vm_scale_set_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -756,7 +751,6 @@ def get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -815,8 +809,8 @@ def get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_h # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -831,9 +825,9 @@ def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -861,8 +855,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -877,9 +871,9 @@ def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -907,8 +901,8 @@ def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -923,9 +917,9 @@ def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -953,8 +947,8 @@ def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -969,9 +963,9 @@ def redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -999,8 +993,8 @@ def redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1015,9 +1009,9 @@ def perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1046,8 +1040,8 @@ def perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instanc # # @return [OperationStatusResponse] operation results. # - def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1062,9 +1056,9 @@ def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1093,8 +1087,8 @@ def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1109,9 +1103,9 @@ def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1140,8 +1134,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1156,9 +1150,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1187,8 +1181,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [RecoveryWalkResponse] operation results. # - def force_recovery_service_fabric_platform_update_domain_walk(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers:nil) - response = force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers:custom_headers).value! + def force_recovery_service_fabric_platform_update_domain_walk(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers = nil) + response = force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers).value! response.body unless response.nil? end @@ -1205,8 +1199,8 @@ def force_recovery_service_fabric_platform_update_domain_walk(resource_group_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def force_recovery_service_fabric_platform_update_domain_walk_with_http_info(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers:nil) - force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers:custom_headers).value! + def force_recovery_service_fabric_platform_update_domain_walk_with_http_info(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers = nil) + force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers).value! end # @@ -1222,7 +1216,7 @@ def force_recovery_service_fabric_platform_update_domain_walk_with_http_info(res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers:nil) + def force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1231,7 +1225,6 @@ def force_recovery_service_fabric_platform_update_domain_walk_async(resource_gro request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1288,8 +1281,8 @@ def force_recovery_service_fabric_platform_update_domain_walk_async(resource_gro # # @return [VirtualMachineScaleSet] operation results. # - def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1305,8 +1298,8 @@ def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! end # @@ -1321,7 +1314,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1330,12 +1323,13 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, paramet 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1404,8 +1398,8 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, paramet # # @return [VirtualMachineScaleSet] operation results. # - def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1421,8 +1415,8 @@ def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! end # @@ -1437,7 +1431,7 @@ def begin_update_with_http_info(resource_group_name, vm_scale_set_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1446,12 +1440,13 @@ def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custo 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1508,8 +1503,8 @@ def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1523,8 +1518,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1537,7 +1532,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1545,7 +1540,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1604,8 +1598,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1623,8 +1617,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1641,7 +1635,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1649,12 +1643,13 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1713,8 +1708,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1730,8 +1725,8 @@ def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1746,7 +1741,7 @@ def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1755,12 +1750,13 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1821,8 +1817,8 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1840,8 +1836,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1858,7 +1854,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_in # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1866,12 +1862,13 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1930,8 +1927,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1947,8 +1944,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1963,7 +1960,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1971,12 +1968,13 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2035,8 +2033,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2052,8 +2050,8 @@ def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2068,7 +2066,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2076,12 +2074,13 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2140,8 +2139,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2157,8 +2156,8 @@ def begin_redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2173,7 +2172,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, vm_ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2181,12 +2180,13 @@ def begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2245,8 +2245,8 @@ def begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids # # @return [OperationStatusResponse] operation results. # - def begin_perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2262,8 +2262,8 @@ def begin_perform_maintenance(resource_group_name, vm_scale_set_name, vm_instanc # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2278,7 +2278,7 @@ def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2286,12 +2286,13 @@ def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_i 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2351,8 +2352,8 @@ def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_i # # @return [OperationStatusResponse] operation results. # - def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2369,8 +2370,8 @@ def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2386,7 +2387,7 @@ def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -2395,12 +2396,13 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2460,8 +2462,8 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2478,8 +2480,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2495,7 +2497,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2503,12 +2505,13 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids: 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2568,8 +2571,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2586,8 +2589,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2603,7 +2606,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2611,12 +2614,13 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2673,8 +2677,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ # # @return [VirtualMachineScaleSetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2688,8 +2692,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2702,12 +2706,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2764,8 +2767,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListWithLinkResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2782,8 +2785,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -2799,12 +2802,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2859,8 +2861,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListSkusResult] operation results. # - def list_skus_next(next_page_link, custom_headers:nil) - response = list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next(next_page_link, custom_headers = nil) + response = list_skus_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2875,8 +2877,8 @@ def list_skus_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_next_with_http_info(next_page_link, custom_headers:nil) - list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next_with_http_info(next_page_link, custom_headers = nil) + list_skus_next_async(next_page_link, custom_headers).value! end # @@ -2890,12 +2892,11 @@ def list_skus_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_next_async(next_page_link, custom_headers:nil) + def list_skus_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2949,8 +2950,8 @@ def list_skus_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListOSUpgradeHistory] operation results. # - def get_osupgrade_history_next(next_page_link, custom_headers:nil) - response = get_osupgrade_history_next_async(next_page_link, custom_headers:custom_headers).value! + def get_osupgrade_history_next(next_page_link, custom_headers = nil) + response = get_osupgrade_history_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2964,8 +2965,8 @@ def get_osupgrade_history_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_osupgrade_history_next_with_http_info(next_page_link, custom_headers:nil) - get_osupgrade_history_next_async(next_page_link, custom_headers:custom_headers).value! + def get_osupgrade_history_next_with_http_info(next_page_link, custom_headers = nil) + get_osupgrade_history_next_async(next_page_link, custom_headers).value! end # @@ -2978,12 +2979,11 @@ def get_osupgrade_history_next_with_http_info(next_page_link, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_osupgrade_history_next_async(next_page_link, custom_headers:nil) + def get_osupgrade_history_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -3037,12 +3037,12 @@ def get_osupgrade_history_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -3060,12 +3060,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineScaleSetListWithLinkResult] which provide lazy access # to pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -3083,12 +3083,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualMachineScaleSetListSkusResult] which provide lazy access to # pages of the response. # - def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_skus_next_async(next_page_link, custom_headers:custom_headers) + list_skus_next_async(next_page_link, custom_headers) end page end @@ -3105,12 +3105,12 @@ def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil # @return [VirtualMachineScaleSetListOSUpgradeHistory] which provide lazy # access to pages of the response. # - def get_osupgrade_history_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_osupgrade_history_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - get_osupgrade_history_next_async(next_page_link, custom_headers:custom_headers) + get_osupgrade_history_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb index 119184683d..2555f69b98 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [VirtualMachineSizeListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +60,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb index 3e4fdae81b..2fb1614158 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionsListResult] operation results. # - def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_extensions_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +74,6 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +131,8 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header # # @return [VirtualMachineCaptureResult] operation results. # - def capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -148,9 +147,9 @@ def capture(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -178,8 +177,8 @@ def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, vm_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -224,8 +223,8 @@ def create_or_update_async(resource_group_name, vm_name, parameters, custom_head # # @return [VirtualMachine] operation results. # - def update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -240,9 +239,9 @@ def update(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -268,8 +267,8 @@ def update_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -282,9 +281,9 @@ def delete(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -313,8 +312,8 @@ def delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -331,8 +330,8 @@ def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -348,7 +347,7 @@ def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -356,7 +355,6 @@ def get_async(resource_group_name, vm_name, expand:nil, 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 @@ -411,8 +409,8 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [VirtualMachineInstanceView] operation results. # - def instance_view(resource_group_name, vm_name, custom_headers:nil) - response = instance_view_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def instance_view(resource_group_name, vm_name, custom_headers = nil) + response = instance_view_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -426,8 +424,8 @@ def instance_view(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def instance_view_with_http_info(resource_group_name, vm_name, custom_headers:nil) - instance_view_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def instance_view_with_http_info(resource_group_name, vm_name, custom_headers = nil) + instance_view_async(resource_group_name, vm_name, custom_headers).value! end # @@ -440,7 +438,7 @@ def instance_view_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def instance_view_async(resource_group_name, vm_name, custom_headers:nil) + def instance_view_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -448,7 +446,6 @@ def instance_view_async(resource_group_name, vm_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 @@ -504,8 +501,8 @@ def instance_view_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -518,9 +515,9 @@ def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -547,8 +544,8 @@ def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers: # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_name, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_name, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -561,9 +558,9 @@ def deallocate(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def deallocate_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -589,8 +586,8 @@ def deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def generalize(resource_group_name, vm_name, custom_headers:nil) - response = generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize(resource_group_name, vm_name, custom_headers = nil) + response = generalize_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -604,8 +601,8 @@ def generalize(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) - generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize_with_http_info(resource_group_name, vm_name, custom_headers = nil) + generalize_async(resource_group_name, vm_name, custom_headers).value! end # @@ -618,7 +615,7 @@ def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generalize_async(resource_group_name, vm_name, custom_headers:nil) + def generalize_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -626,7 +623,6 @@ def generalize_async(resource_group_name, vm_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 @@ -681,8 +677,8 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -696,8 +692,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -710,14 +706,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -771,8 +766,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -785,8 +780,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -798,13 +793,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -860,8 +854,8 @@ def list_all_async(custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, vm_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -876,8 +870,8 @@ def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! end # @@ -891,7 +885,7 @@ def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -899,7 +893,6 @@ def list_available_sizes_async(resource_group_name, vm_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 @@ -956,8 +949,8 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_name, custom_headers:nil) - response = power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_name, custom_headers = nil) + response = power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -970,9 +963,9 @@ def power_off(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_name, custom_headers:nil) + def power_off_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -998,8 +991,8 @@ def power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_name, custom_headers:nil) - response = restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_name, custom_headers = nil) + response = restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1012,9 +1005,9 @@ def restart(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_name, custom_headers:nil) + def restart_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1040,8 +1033,8 @@ def restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_name, custom_headers:nil) - response = start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def start(resource_group_name, vm_name, custom_headers = nil) + response = start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1054,9 +1047,9 @@ def start(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_name, custom_headers:nil) + def start_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1082,8 +1075,8 @@ def start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_name, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_name, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1096,9 +1089,9 @@ def redeploy(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def redeploy_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1124,8 +1117,8 @@ def redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def perform_maintenance(resource_group_name, vm_name, custom_headers:nil) - response = perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def perform_maintenance(resource_group_name, vm_name, custom_headers = nil) + response = perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1138,9 +1131,9 @@ def perform_maintenance(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) + def perform_maintenance_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1168,8 +1161,8 @@ def perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) # # @return [RunCommandResult] operation results. # - def run_command(resource_group_name, vm_name, parameters, custom_headers:nil) - response = run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def run_command(resource_group_name, vm_name, parameters, custom_headers = nil) + response = run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1184,9 +1177,9 @@ def run_command(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def run_command_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def run_command_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1215,8 +1208,8 @@ def run_command_async(resource_group_name, vm_name, parameters, custom_headers:n # # @return [VirtualMachineCaptureResult] operation results. # - def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1233,8 +1226,8 @@ def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1250,7 +1243,7 @@ def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1259,12 +1252,13 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1323,8 +1317,8 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers # # @return [VirtualMachine] operation results. # - def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1340,8 +1334,8 @@ def begin_create_or_update(resource_group_name, vm_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1356,7 +1350,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1365,12 +1359,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachine.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1439,8 +1434,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo # # @return [VirtualMachine] operation results. # - def begin_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1456,8 +1451,8 @@ def begin_update(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1472,7 +1467,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, parameters, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1481,12 +1476,13 @@ def begin_update_async(resource_group_name, vm_name, parameters, custom_headers: 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::Compute::Mgmt::V2017_12_01::Models::VirtualMachineUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1553,8 +1549,8 @@ def begin_update_async(resource_group_name, vm_name, parameters, custom_headers: # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1568,8 +1564,8 @@ def begin_delete(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1582,7 +1578,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1590,7 +1586,6 @@ def begin_delete_async(resource_group_name, vm_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 @@ -1646,8 +1641,8 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1662,8 +1657,8 @@ def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1677,7 +1672,7 @@ def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1685,7 +1680,6 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1741,8 +1735,8 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_name, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1757,8 +1751,8 @@ def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1772,7 +1766,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1780,7 +1774,6 @@ def begin_deallocate_async(resource_group_name, vm_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 @@ -1837,8 +1830,8 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_name, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_name, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1854,8 +1847,8 @@ def begin_power_off(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1870,7 +1863,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1878,7 +1871,6 @@ def begin_power_off_async(resource_group_name, vm_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 @@ -1933,8 +1925,8 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_name, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1948,8 +1940,8 @@ def begin_restart(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_restart_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1962,7 +1954,7 @@ def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1970,7 +1962,6 @@ def begin_restart_async(resource_group_name, vm_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 @@ -2025,8 +2016,8 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_name, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_name, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -2040,8 +2031,8 @@ def begin_start(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_start_async(resource_group_name, vm_name, custom_headers).value! end # @@ -2054,7 +2045,7 @@ def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_name, custom_headers:nil) + def begin_start_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2062,7 +2053,6 @@ def begin_start_async(resource_group_name, vm_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 @@ -2117,8 +2107,8 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_name, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -2132,8 +2122,8 @@ def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! end # @@ -2146,7 +2136,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2154,7 +2144,6 @@ def begin_redeploy_async(resource_group_name, vm_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 @@ -2209,8 +2198,8 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_perform_maintenance(resource_group_name, vm_name, custom_headers:nil) - response = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_perform_maintenance(resource_group_name, vm_name, custom_headers = nil) + response = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -2224,8 +2213,8 @@ def begin_perform_maintenance(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! end # @@ -2238,7 +2227,7 @@ def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) + def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2246,7 +2235,6 @@ def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2303,8 +2291,8 @@ def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers # # @return [RunCommandResult] operation results. # - def begin_run_command(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_run_command(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2320,8 +2308,8 @@ def begin_run_command(resource_group_name, vm_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -2336,7 +2324,7 @@ def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2345,12 +2333,13 @@ def begin_run_command_async(resource_group_name, vm_name, parameters, custom_hea 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::Compute::Mgmt::V2017_12_01::Models::RunCommandInput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2408,8 +2397,8 @@ def begin_run_command_async(resource_group_name, vm_name, parameters, custom_hea # # @return [VirtualMachineListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2424,8 +2413,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2439,12 +2428,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2499,8 +2487,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2515,8 +2503,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -2530,12 +2518,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2590,12 +2577,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2611,12 +2598,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute.rb index ca58c65d58..575297b10a 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute.rb @@ -25,28 +25,23 @@ module Azure::Compute::Mgmt::V2018_04_01 autoload :ComputeManagementClient, '2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb' module Models + autoload :EncryptionSettings, '2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb' + autoload :DiskSku, '2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb' + autoload :DiskUpdate, '2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb' + autoload :CreationData, '2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb' autoload :DiskList, '2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb' - autoload :Resource, '2018-04-01/generated/azure_mgmt_compute/models/resource.rb' + autoload :KeyVaultAndSecretReference, '2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb' autoload :SnapshotSku, '2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb' - autoload :ResourceUpdate, '2018-04-01/generated/azure_mgmt_compute/models/resource_update.rb' + autoload :Resource, '2018-04-01/generated/azure_mgmt_compute/models/resource.rb' autoload :GrantAccessData, '2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb' - autoload :CreationData, '2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb' - autoload :AccessUri, '2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb' - autoload :KeyVaultAndSecretReference, '2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb' - autoload :KeyVaultAndKeyReference, '2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb' - autoload :EncryptionSettings, '2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb' - autoload :ApiError, '2018-04-01/generated/azure_mgmt_compute/models/api_error.rb' - autoload :DiskSku, '2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb' - autoload :OperationStatusResponse, '2018-04-01/generated/azure_mgmt_compute/models/operation_status_response.rb' autoload :SourceVault, '2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb' - autoload :SnapshotList, '2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb' + autoload :AccessUri, '2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb' autoload :ImageDiskReference, '2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb' - autoload :ApiErrorBase, '2018-04-01/generated/azure_mgmt_compute/models/api_error_base.rb' - autoload :InnerError, '2018-04-01/generated/azure_mgmt_compute/models/inner_error.rb' + autoload :SnapshotList, '2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb' + autoload :KeyVaultAndKeyReference, '2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb' + autoload :SnapshotUpdate, '2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb' autoload :Disk, '2018-04-01/generated/azure_mgmt_compute/models/disk.rb' - autoload :DiskUpdate, '2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb' autoload :Snapshot, '2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb' - autoload :SnapshotUpdate, '2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb' autoload :StorageAccountTypes, '2018-04-01/generated/azure_mgmt_compute/models/storage_account_types.rb' autoload :OperatingSystemTypes, '2018-04-01/generated/azure_mgmt_compute/models/operating_system_types.rb' autoload :DiskCreateOption, '2018-04-01/generated/azure_mgmt_compute/models/disk_create_option.rb' diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb index 4d9c22e298..f32bde5a30 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb @@ -110,9 +110,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? @@ -129,7 +126,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2018_04_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2018_04_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb index a25472ce75..053d68c744 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [Disk] operation results. # - def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def create_or_update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, disk_name, disk, custom_headers: # # @return [Disk] operation results. # - def update(resource_group_name, disk_name, disk, custom_headers:nil) - response = update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def update(resource_group_name, disk_name, disk, custom_headers = nil) + response = update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [Disk] operation results. # - def get(resource_group_name, disk_name, custom_headers:nil) - response = get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get(resource_group_name, disk_name, custom_headers = nil) + response = get_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +150,8 @@ def get(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) - get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, disk_name, custom_headers = nil) + get_async(resource_group_name, disk_name, custom_headers).value! end # @@ -166,7 +166,7 @@ def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, disk_name, custom_headers:nil) + def get_async(resource_group_name, disk_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, 'disk_name is nil' if disk_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, disk_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 @@ -229,11 +228,9 @@ def get_async(resource_group_name, disk_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. - # - def delete(resource_group_name, disk_name, custom_headers:nil) - response = delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def delete(resource_group_name, disk_name, custom_headers = nil) + response = delete_async(resource_group_name, disk_name, custom_headers).value! + nil end # @@ -247,15 +244,13 @@ def delete(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, disk_name, custom_headers:nil) + def delete_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - parsed_response = @client.deserialize(result_mapper, parsed_response) end # Waiting for response. @@ -274,8 +269,8 @@ def delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -288,8 +283,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 # @@ -301,14 +296,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 @@ -361,8 +355,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -374,8 +368,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 # @@ -386,13 +380,12 @@ 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.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 @@ -451,8 +444,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -469,9 +462,9 @@ def grant_access(resource_group_name, disk_name, grant_access_data, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -497,11 +490,9 @@ def grant_access_async(resource_group_name, disk_name, grant_access_data, custom # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. - # - def revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, disk_name, custom_headers).value! + nil end # @@ -515,15 +506,13 @@ def revoke_access(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def revoke_access_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - parsed_response = @client.deserialize(result_mapper, parsed_response) end # Waiting for response. @@ -547,8 +536,8 @@ def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Disk] operation results. # - def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -566,8 +555,8 @@ def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -584,7 +573,7 @@ def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, disk_name, disk, 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, 'disk_name is nil' if disk_name.nil? @@ -593,12 +582,13 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he 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::Compute::Mgmt::V2018_04_01::Models::Disk.mapper() request_content = @client.serialize(request_mapper, disk) @@ -669,8 +659,8 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he # # @return [Disk] operation results. # - def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -688,8 +678,8 @@ def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -706,7 +696,7 @@ def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_update_async(resource_group_name, disk_name, disk, 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, 'disk_name is nil' if disk_name.nil? @@ -715,12 +705,13 @@ def begin_update_async(resource_group_name, disk_name, disk, 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 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::Compute::Mgmt::V2018_04_01::Models::DiskUpdate.mapper() request_content = @client.serialize(request_mapper, disk) @@ -787,11 +778,10 @@ def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, disk_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def begin_delete(resource_group_name, disk_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, disk_name, custom_headers).value! + nil end # @@ -806,8 +796,8 @@ def begin_delete(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_delete_async(resource_group_name, disk_name, custom_headers).value! end # @@ -822,7 +812,7 @@ def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) + def begin_delete_async(resource_group_name, disk_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, 'disk_name is nil' if disk_name.nil? @@ -830,7 +820,6 @@ def begin_delete_async(resource_group_name, disk_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 @@ -858,16 +847,6 @@ def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) 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::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.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 @@ -889,8 +868,8 @@ def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -908,8 +887,8 @@ def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! end # @@ -926,7 +905,7 @@ def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_acce # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, 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, 'disk_name is nil' if disk_name.nil? @@ -935,12 +914,13 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, 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::Compute::Mgmt::V2018_04_01::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -997,11 +977,10 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def begin_revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! + nil end # @@ -1016,8 +995,8 @@ def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! end # @@ -1032,7 +1011,7 @@ def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, disk_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, 'disk_name is nil' if disk_name.nil? @@ -1040,7 +1019,6 @@ def begin_revoke_access_async(resource_group_name, disk_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 @@ -1068,16 +1046,6 @@ def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil 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::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.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 @@ -1095,8 +1063,8 @@ def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil # # @return [DiskList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1110,8 +1078,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1124,12 +1092,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1183,8 +1150,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1198,8 +1165,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1212,12 +1179,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1270,12 +1236,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1255,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb index 15f6a9df96..b7fd654b24 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb @@ -22,7 +22,6 @@ class AccessUri # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AccessUri', type: { @@ -30,10 +29,9 @@ def self.mapper() class_name: 'AccessUri', model_properties: { access_sas: { - client_side_validation: true, required: false, read_only: true, - serialized_name: 'properties.output.accessSAS', + serialized_name: 'accessSAS', type: { name: 'String' } diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb index 09989e9389..a1ed426dec 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb @@ -40,7 +40,6 @@ class CreationData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CreationData', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'CreationData', model_properties: { create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, storage_account_id: { - client_side_validation: true, required: false, serialized_name: 'storageAccountId', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, source_uri: { - client_side_validation: true, required: false, serialized_name: 'sourceUri', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, source_resource_id: { - client_side_validation: true, required: false, serialized_name: 'sourceResourceId', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk.rb index 40483a21ec..2692d054fd 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk.rb @@ -53,7 +53,6 @@ class Disk < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Disk', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'Disk', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -96,13 +91,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: { @@ -112,7 +105,6 @@ def self.mapper() } }, managed_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'managedBy', @@ -121,7 +113,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -155,7 +143,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -181,7 +166,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb index 00a7e27899..0b3dc77d01 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'DiskList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb index d13120ced2..5f24ed508b 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb @@ -26,7 +26,6 @@ class DiskSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskSku', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'DiskSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb index 1cccec3f11..e5ead29c40 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb @@ -8,7 +8,7 @@ module Models # # Disk update resource. # - class DiskUpdate < ResourceUpdate + class DiskUpdate include MsRestAzure @@ -26,6 +26,12 @@ class DiskUpdate < ResourceUpdate # @return [EncryptionSettings] Encryption settings for disk or snapshot attr_accessor :encryption_settings + # @return [Hash{String => String}] Resource tags + attr_accessor :tags + + # @return [DiskSku] + attr_accessor :sku + # # Mapper for DiskUpdate class as Ruby Hash. @@ -33,40 +39,13 @@ class DiskUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskUpdate', type: { name: 'Composite', class_name: 'DiskUpdate', 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: { - name: 'String' - } - } - } - }, - sku: { - client_side_validation: true, - required: false, - serialized_name: 'sku', - type: { - name: 'Composite', - class_name: 'DiskSku' - } - }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -75,7 +54,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -83,13 +61,34 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { name: 'Composite', class_name: 'EncryptionSettings' } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + sku: { + required: false, + serialized_name: 'sku', + type: { + name: 'Composite', + class_name: 'DiskSku' + } } } } diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb index 112effd13d..4c81c6062f 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb @@ -34,7 +34,6 @@ class EncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionSettings', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EncryptionSettings', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb index 8fe9e09117..0023a14f1a 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb @@ -26,7 +26,6 @@ class GrantAccessData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GrantAccessData', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'GrantAccessData', model_properties: { access: { - client_side_validation: true, required: true, serialized_name: 'access', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, duration_in_seconds: { - client_side_validation: true, required: true, serialized_name: 'durationInSeconds', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb index 418666c3a0..633ea4f415 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb @@ -28,7 +28,6 @@ class ImageDiskReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDiskReference', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ImageDiskReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: false, serialized_name: 'lun', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb index e7870db247..b00138c63a 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb @@ -27,7 +27,6 @@ class KeyVaultAndKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndKeyReference', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'KeyVaultAndKeyReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb index e1e0e176b0..5dc8dd9c64 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultAndSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultAndSecretReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/resource.rb index a76b36bb06..2691fa6d31 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,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_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb index 4a84c87018..0866d1855c 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb @@ -49,7 +49,6 @@ class Snapshot < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Snapshot', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'Snapshot', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -75,7 +72,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -84,7 +80,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -92,13 +87,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: { @@ -108,7 +101,6 @@ def self.mapper() } }, managed_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'managedBy', @@ -117,7 +109,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -135,7 +125,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -144,7 +133,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -170,7 +156,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb index 3755ab1bf7..732928d2f8 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SnapshotList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SnapshotElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb index b0554c4355..e2ba185ec4 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb @@ -27,7 +27,6 @@ class SnapshotSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotSku', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'SnapshotSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb index 7ebddfbb43..e607aaeda0 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb @@ -8,7 +8,7 @@ module Models # # Snapshot update resource. # - class SnapshotUpdate < ResourceUpdate + class SnapshotUpdate include MsRestAzure @@ -26,6 +26,12 @@ class SnapshotUpdate < ResourceUpdate # @return [EncryptionSettings] Encryption settings for disk or snapshot attr_accessor :encryption_settings + # @return [Hash{String => String}] Resource tags + attr_accessor :tags + + # @return [SnapshotSku] + attr_accessor :sku + # # Mapper for SnapshotUpdate class as Ruby Hash. @@ -33,40 +39,13 @@ class SnapshotUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotUpdate', type: { name: 'Composite', class_name: 'SnapshotUpdate', 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: { - name: 'String' - } - } - } - }, - sku: { - client_side_validation: true, - required: false, - serialized_name: 'sku', - type: { - name: 'Composite', - class_name: 'DiskSku' - } - }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -75,7 +54,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -83,13 +61,34 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { name: 'Composite', class_name: 'EncryptionSettings' } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + sku: { + required: false, + serialized_name: 'sku', + type: { + name: 'Composite', + class_name: 'SnapshotSku' + } } } } diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb index 3102280e7c..66cf0249b3 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb @@ -23,7 +23,6 @@ class SourceVault # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SourceVault', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SourceVault', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb index a9c7a15c62..07855fd198 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [Snapshot] operation results. # - def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, snapshot_name, snapshot, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_ # # @return [Snapshot] operation results. # - def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [Snapshot] operation results. # - def get(resource_group_name, snapshot_name, custom_headers:nil) - response = get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get(resource_group_name, snapshot_name, custom_headers = nil) + response = get_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +150,8 @@ def get(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + get_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -166,7 +166,7 @@ def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, snapshot_name, custom_headers:nil) + def get_async(resource_group_name, snapshot_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, 'snapshot_name is nil' if snapshot_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, snapshot_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 @@ -229,11 +228,9 @@ def get_async(resource_group_name, snapshot_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. - # - def delete(resource_group_name, snapshot_name, custom_headers:nil) - response = delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def delete(resource_group_name, snapshot_name, custom_headers = nil) + response = delete_async(resource_group_name, snapshot_name, custom_headers).value! + nil end # @@ -247,15 +244,13 @@ def delete(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def delete_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - parsed_response = @client.deserialize(result_mapper, parsed_response) end # Waiting for response. @@ -274,8 +269,8 @@ def delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -288,8 +283,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 # @@ -301,14 +296,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 @@ -361,8 +355,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -374,8 +368,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 # @@ -386,13 +380,12 @@ 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.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 @@ -451,8 +444,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -469,9 +462,9 @@ def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -497,11 +490,9 @@ def grant_access_async(resource_group_name, snapshot_name, grant_access_data, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. - # - def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! + nil end # @@ -515,15 +506,13 @@ def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def revoke_access_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - parsed_response = @client.deserialize(result_mapper, parsed_response) end # Waiting for response. @@ -547,8 +536,8 @@ def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Snapshot] operation results. # - def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -566,8 +555,8 @@ def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -584,7 +573,7 @@ def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, sn # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, 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, 'snapshot_name is nil' if snapshot_name.nil? @@ -593,12 +582,13 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c 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::Compute::Mgmt::V2018_04_01::Models::Snapshot.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -669,8 +659,8 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c # # @return [Snapshot] operation results. # - def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -688,8 +678,8 @@ def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -706,7 +696,7 @@ def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_update_async(resource_group_name, snapshot_name, snapshot, 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, 'snapshot_name is nil' if snapshot_name.nil? @@ -715,12 +705,13 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head 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::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -787,11 +778,10 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def begin_delete(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! + nil end # @@ -806,8 +796,8 @@ def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -822,7 +812,7 @@ def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_delete_async(resource_group_name, snapshot_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, 'snapshot_name is nil' if snapshot_name.nil? @@ -830,7 +820,6 @@ def begin_delete_async(resource_group_name, snapshot_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 @@ -858,16 +847,6 @@ def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) 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::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.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 @@ -889,8 +868,8 @@ def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -908,8 +887,8 @@ def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! end # @@ -926,7 +905,7 @@ def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, 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, 'snapshot_name is nil' if snapshot_name.nil? @@ -935,12 +914,13 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da 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::Compute::Mgmt::V2018_04_01::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -997,11 +977,10 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def begin_revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! + nil end # @@ -1016,8 +995,8 @@ def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -1032,7 +1011,7 @@ def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, snapshot_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, 'snapshot_name is nil' if snapshot_name.nil? @@ -1040,7 +1019,6 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1068,16 +1046,6 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers 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::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.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 @@ -1095,8 +1063,8 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers # # @return [SnapshotList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1110,8 +1078,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1124,12 +1092,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1183,8 +1150,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1198,8 +1165,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1212,12 +1179,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1270,12 +1236,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1255,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..2d26ccc148 --- /dev/null +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/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::Compute::Mgmt::V2018_04_01 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb b/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb index 2ec157394f..819379bed2 100644 --- a/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb +++ b/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb @@ -2,12 +2,13 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. + require '2015-06-15/generated/azure_mgmt_compute' -require '2018-04-01/generated/azure_mgmt_compute' -require '2017-09-01/generated/azure_mgmt_compute' require '2016-03-30/generated/azure_mgmt_compute' require '2016-04-30-preview/generated/azure_mgmt_compute' require '2017-03-30/generated/azure_mgmt_compute' +require '2017-09-01/generated/azure_mgmt_compute' require '2017-12-01/generated/azure_mgmt_compute' +require '2018-04-01/generated/azure_mgmt_compute' require 'profiles/v2017_03_09/compute_v2017_03_09_profile_client' require 'profiles/latest/compute_latest_profile_client' diff --git a/management/azure_mgmt_compute/lib/profiles/latest/modules/compute_profile_module.rb b/management/azure_mgmt_compute/lib/profiles/latest/modules/compute_profile_module.rb index 108b95974d..110b6b9f21 100644 --- a/management/azure_mgmt_compute/lib/profiles/latest/modules/compute_profile_module.rb +++ b/management/azure_mgmt_compute/lib/profiles/latest/modules/compute_profile_module.rb @@ -26,23 +26,22 @@ module Mgmt VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineRunCommands module Models + EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate + CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData DiskList = Azure::Compute::Mgmt::V2018_04_01::Models::DiskList + KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference SnapshotSku = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku - ResourceUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::ResourceUpdate GrantAccessData = Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData - CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData - AccessUri = Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri - KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference - KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference - EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings - DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku SourceVault = Azure::Compute::Mgmt::V2018_04_01::Models::SourceVault - SnapshotList = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + AccessUri = Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri ImageDiskReference = Azure::Compute::Mgmt::V2018_04_01::Models::ImageDiskReference + SnapshotList = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference + SnapshotUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate Disk = Azure::Compute::Mgmt::V2018_04_01::Models::Disk - DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate Snapshot = Azure::Compute::Mgmt::V2018_04_01::Models::Snapshot - SnapshotUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate DiskCreateOption = Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption SnapshotStorageAccountTypes = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotStorageAccountTypes AccessLevel = Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel @@ -301,57 +300,54 @@ def method_missing(method, *args) end class ModelClasses - def disk_list - Azure::Compute::Mgmt::V2018_04_01::Models::DiskList - end - def snapshot_sku - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku + def encryption_settings + Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings end - def resource_update - Azure::Compute::Mgmt::V2018_04_01::Models::ResourceUpdate + def disk_sku + Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku end - def grant_access_data - Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData + def disk_update + Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate end def creation_data Azure::Compute::Mgmt::V2018_04_01::Models::CreationData end - def access_uri - Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri + def disk_list + Azure::Compute::Mgmt::V2018_04_01::Models::DiskList end def key_vault_and_secret_reference Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference end - def key_vault_and_key_reference - Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference - end - def encryption_settings - Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + def snapshot_sku + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku end - def disk_sku - Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + def grant_access_data + Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData end def source_vault Azure::Compute::Mgmt::V2018_04_01::Models::SourceVault end - def snapshot_list - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + def access_uri + Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri end def image_disk_reference Azure::Compute::Mgmt::V2018_04_01::Models::ImageDiskReference end + def snapshot_list + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + end + def key_vault_and_key_reference + Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference + end + def snapshot_update + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate + end def disk Azure::Compute::Mgmt::V2018_04_01::Models::Disk end - def disk_update - Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate - end def snapshot Azure::Compute::Mgmt::V2018_04_01::Models::Snapshot end - def snapshot_update - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate - end def disk_create_option Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption end From ef5fd9a1fd8d177dad4eecd5e0f4817b2a508260 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 14:30:42 -0700 Subject: [PATCH 11/22] [AutoPR] network/resource-manager (#1327) * Generated from 5f0be8e7d15826d0a75d882f827363c62b7739e8 (#1325) moved 2018-05-01 progress to April folder * Generated from 5f0be8e7d15826d0a75d882f827363c62b7739e8 (#1328) moved 2018-05-01 progress to April folder * Generated from 4272bde8d3dc5bf0cba4fc8947c0154889075efa (#1356) added primary flag to the NetworkInterfaceIPConfigurationPropertiesFormat object of networkInterface.json definition of Network 2015-06-15 spec --- .../latest/modules/network_profile_module.rb | 482 +++++++++--------- .../application_gateways.rb | 145 +++--- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 191 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 28 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - ...plication_gateway_backend_http_settings.rb | 8 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 9 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - ...pplication_gateway_request_routing_rule.rb | 9 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 19 - .../models/express_route_circuit_arp_table.rb | 3 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 17 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 5 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 3 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...xpress_route_circuits_stats_list_result.rb | 4 - .../models/express_route_service_provider.rb | 5 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - ...oute_service_provider_properties_format.rb | 6 - .../models/frontend_ip_configuration.rb | 17 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 12 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 18 - .../models/network_interface_dns_settings.rb | 7 - .../network_interface_ip_configuration.rb | 13 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ip_address.rb | 15 - .../models/public_ip_address_dns_settings.rb | 4 - .../models/public_ip_address_list_result.rb | 4 - .../azure_mgmt_network/models/resource.rb | 7 - .../azure_mgmt_network/models/route.rb | 8 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../models/security_rule.rb | 14 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 10 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/virtual_network.rb | 14 - .../models/virtual_network_gateway.rb | 16 - .../virtual_network_gateway_connection.rb | 20 - ..._network_gateway_connection_list_result.rb | 4 - ...irtual_network_gateway_ip_configuration.rb | 9 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../azure_mgmt_network/network_interfaces.rb | 174 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/public_ip_addresses.rb | 107 ++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 29 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 100 ++-- .../azure_mgmt_network/virtual_networks.rb | 107 ++-- .../application_gateways.rb | 145 +++--- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 191 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 32 -- .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - ...plication_gateway_backend_http_settings.rb | 10 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../application_gateway_url_path_map.rb | 9 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_shared_key_result.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 19 - .../models/express_route_circuit_arp_table.rb | 3 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 17 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 5 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 3 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...xpress_route_circuits_stats_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/frontend_ipconfiguration.rb | 17 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipconfiguration.rb | 9 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 18 - .../models/network_interface_dns_settings.rb | 7 - .../network_interface_ipconfiguration.rb | 24 +- .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 15 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../azure_mgmt_network/models/resource.rb | 7 - .../azure_mgmt_network/models/route.rb | 8 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../models/security_rule.rb | 14 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 10 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/virtual_network.rb | 14 - .../models/virtual_network_gateway.rb | 19 - .../virtual_network_gateway_connection.rb | 22 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 9 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 174 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 107 ++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 29 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 114 ++--- .../azure_mgmt_network/virtual_networks.rb | 107 ++-- .../application_gateways.rb | 145 +++--- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 186 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 32 -- .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - ...plication_gateway_backend_http_settings.rb | 10 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../application_gateway_url_path_map.rb | 9 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_shared_key_result.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 20 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 17 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/frontend_ipconfiguration.rb | 17 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipconfiguration.rb | 9 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 18 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 17 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 16 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../azure_mgmt_network/models/resource.rb | 7 - .../azure_mgmt_network/models/route.rb | 8 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../models/security_rule.rb | 14 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 10 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 3 - .../models/virtual_network.rb | 14 - .../models/virtual_network_gateway.rb | 19 - .../virtual_network_gateway_connection.rb | 22 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 9 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 174 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 107 ++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 12 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 114 ++--- .../azure_mgmt_network/virtual_networks.rb | 107 ++-- .../application_gateways.rb | 145 +++--- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 186 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 35 -- ...tion_gateway_authentication_certificate.rb | 6 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - ...plication_gateway_backend_http_settings.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../models/application_gateway_ssl_policy.rb | 3 - .../application_gateway_url_path_map.rb | 9 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_shared_key_result.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 5 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 14 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 19 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/frontend_ipconfiguration.rb | 17 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 18 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 17 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 16 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../azure_mgmt_network/models/route.rb | 8 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../models/security_rule.rb | 14 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 12 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/virtual_network.rb | 16 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 22 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../models/virtual_network_peering.rb | 11 - .../virtual_network_peering_list_result.rb | 4 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 212 ++++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 107 ++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 29 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 114 ++--- .../virtual_network_peerings.rb | 79 ++- .../azure_mgmt_network/virtual_networks.rb | 118 ++--- .../application_gateways.rb | 164 +++--- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 186 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 36 -- ...tion_gateway_authentication_certificate.rb | 6 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../models/application_gateway_ssl_policy.rb | 3 - .../application_gateway_url_path_map.rb | 9 - ..._web_application_firewall_configuration.rb | 3 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 5 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 14 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 19 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 17 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 17 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 16 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 14 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 12 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 2 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 16 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 24 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../models/virtual_network_peering.rb | 11 - .../virtual_network_peering_list_result.rb | 4 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 212 ++++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/network_watchers.rb | 225 ++++---- .../azure_mgmt_network/packet_captures.rb | 100 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 107 ++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 29 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 169 +++--- .../virtual_network_peerings.rb | 79 ++- .../azure_mgmt_network/virtual_networks.rb | 118 ++--- .../application_gateways.rb | 164 +++--- .../bgp_service_communities.rb | 28 +- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 186 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 36 -- ...tion_gateway_authentication_certificate.rb | 6 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 13 - ...application_gateway_connection_draining.rb | 3 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../models/application_gateway_ssl_policy.rb | 3 - .../application_gateway_url_path_map.rb | 9 - ..._web_application_firewall_configuration.rb | 3 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 6 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 5 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 14 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 20 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 17 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 17 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 11 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 16 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 12 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 14 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 12 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 2 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 16 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 24 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../models/virtual_network_peering.rb | 11 - .../virtual_network_peering_list_result.rb | 4 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 212 ++++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/network_watchers.rb | 225 ++++---- .../azure_mgmt_network/packet_captures.rb | 100 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 107 ++-- .../azure_mgmt_network/route_filter_rules.rb | 100 ++-- .../azure_mgmt_network/route_filters.rb | 128 +++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 29 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 169 +++--- .../virtual_network_peerings.rb | 79 ++- .../azure_mgmt_network/virtual_networks.rb | 118 ++--- .../application_gateways.rb | 180 +++---- .../bgp_service_communities.rb | 33 +- .../express_route_circuit_authorizations.rb | 84 ++- .../express_route_circuit_peerings.rb | 84 ++- .../express_route_circuits.rb | 191 ++++--- .../express_route_service_providers.rb | 33 +- .../azure_mgmt_network/load_balancers.rb | 112 ++-- .../local_network_gateways.rb | 87 ++-- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 36 -- ...tion_gateway_authentication_certificate.rb | 6 - ..._gateway_available_waf_rule_sets_result.rb | 3 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 13 - ...application_gateway_connection_draining.rb | 3 - ...on_gateway_firewall_disabled_rule_group.rb | 4 - .../application_gateway_firewall_rule.rb | 3 - ...application_gateway_firewall_rule_group.rb | 5 - .../application_gateway_firewall_rule_set.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../models/application_gateway_ssl_policy.rb | 3 - .../application_gateway_url_path_map.rb | 9 - ..._web_application_firewall_configuration.rb | 7 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 6 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connectivity_destination.rb | 4 - .../models/connectivity_hop.rb | 9 - .../models/connectivity_information.rb | 9 - .../models/connectivity_issue.rb | 7 - .../models/connectivity_parameters.rb | 3 - .../models/connectivity_source.rb | 3 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 5 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 14 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 21 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 17 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../azure_mgmt_network/models/ipsec_policy.rb | 9 - ...pv6express_route_circuit_peering_config.rb | 6 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 17 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 11 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 16 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 12 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 14 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 12 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 2 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 16 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 27 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../virtual_network_list_usage_result.rb | 4 - .../models/virtual_network_peering.rb | 11 - .../virtual_network_peering_list_result.rb | 4 - .../models/virtual_network_usage.rb | 6 - .../models/virtual_network_usage_name.rb | 3 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 150 +++--- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 112 ++-- .../azure_mgmt_network/network_watchers.rb | 251 ++++----- .../azure_mgmt_network/packet_captures.rb | 105 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 112 ++-- .../azure_mgmt_network/route_filter_rules.rb | 105 ++-- .../azure_mgmt_network/route_filters.rb | 133 +++-- .../azure_mgmt_network/route_tables.rb | 112 ++-- .../generated/azure_mgmt_network/routes.rb | 84 ++- .../azure_mgmt_network/security_rules.rb | 84 ++- .../generated/azure_mgmt_network/subnets.rb | 84 ++- .../generated/azure_mgmt_network/usages.rb | 34 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 137 +++-- .../virtual_network_gateways.rb | 174 +++---- .../virtual_network_peerings.rb | 84 ++- .../azure_mgmt_network/virtual_networks.rb | 151 +++--- .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 10 - .../models/application_security_group.rb | 10 - .../models/backend_address_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipconfiguration.rb | 9 - .../models/network_interface.rb | 19 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 19 - ...k_interface_ipconfiguration_list_result.rb | 4 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../models/public_ipaddress.rb | 19 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../models/public_ipaddress_sku.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/security_rule.rb | 26 - .../service_endpoint_properties_format.rb | 5 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 14 - .../azure_mgmt_network/network_interfaces.rb | 111 ++-- .../network_management_client.rb | 7 +- .../azure_mgmt_network/public_ipaddresses.rb | 72 ++- .../generated/azure_mgmt_network/version.rb | 8 + .../generated/azure_mgmt_network.rb | 12 +- .../application_gateways.rb | 251 +++++---- .../application_security_groups.rb | 112 ++-- .../available_endpoint_services.rb | 33 +- .../bgp_service_communities.rb | 33 +- .../default_security_rules.rb | 44 +- .../express_route_circuit_authorizations.rb | 84 ++- .../express_route_circuit_peerings.rb | 84 ++- .../express_route_circuits.rb | 212 ++++---- .../express_route_service_providers.rb | 33 +- .../azure_mgmt_network/inbound_nat_rules.rb | 84 ++- .../load_balancer_backend_address_pools.rb | 44 +- ...load_balancer_frontend_ipconfigurations.rb | 44 +- .../load_balancer_load_balancing_rules.rb | 44 +- .../load_balancer_network_interfaces.rb | 33 +- .../load_balancer_probes.rb | 44 +- .../azure_mgmt_network/load_balancers.rb | 133 +++-- .../local_network_gateways.rb | 109 ++-- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 38 -- ...tion_gateway_authentication_certificate.rb | 7 - ...plication_gateway_available_ssl_options.rb | 14 - ...teway_available_ssl_predefined_policies.rb | 4 - ..._gateway_available_waf_rule_sets_result.rb | 3 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 10 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 19 - ...application_gateway_connection_draining.rb | 3 - ...on_gateway_firewall_disabled_rule_group.rb | 4 - .../application_gateway_firewall_rule.rb | 3 - ...application_gateway_firewall_rule_group.rb | 5 - .../application_gateway_firewall_rule_set.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 10 - .../application_gateway_frontend_port.rb | 7 - .../application_gateway_http_listener.rb | 12 - .../application_gateway_ipconfiguration.rb | 7 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 11 - .../models/application_gateway_probe.rb | 15 - ...ion_gateway_probe_health_response_match.rb | 4 - ...lication_gateway_redirect_configuration.rb | 16 - ...pplication_gateway_request_routing_rule.rb | 12 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 9 - .../models/application_gateway_ssl_policy.rb | 8 - ...plication_gateway_ssl_predefined_policy.rb | 6 - .../application_gateway_url_path_map.rb | 11 - ..._web_application_firewall_configuration.rb | 7 - .../models/application_security_group.rb | 10 - .../application_security_group_list_result.rb | 4 - .../models/authorization_list_result.rb | 4 - .../azure_mgmt_network/models/availability.rb | 4 - .../models/available_providers_list.rb | 3 - .../models/available_providers_list_city.rb | 4 - .../available_providers_list_country.rb | 6 - .../available_providers_list_parameters.rb | 6 - .../models/available_providers_list_state.rb | 6 - .../models/azure_async_operation_result.rb | 3 - .../models/azure_reachability_report.rb | 5 - .../models/azure_reachability_report_item.rb | 5 - .../azure_reachability_report_latency_info.rb | 3 - .../azure_reachability_report_location.rb | 4 - .../azure_reachability_report_parameters.rb | 8 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 8 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connectivity_destination.rb | 4 - .../models/connectivity_hop.rb | 9 - .../models/connectivity_information.rb | 9 - .../models/connectivity_issue.rb | 7 - .../models/connectivity_parameters.rb | 3 - .../models/connectivity_source.rb | 3 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../azure_mgmt_network/models/dimension.rb | 4 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 8 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 22 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../models/endpoint_service_result.rb | 4 - .../models/endpoint_services_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 21 - .../express_route_circuit_peering_config.rb | 9 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 19 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/inbound_nat_rule_list_result.rb | 4 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../azure_mgmt_network/models/ipsec_policy.rb | 9 - ...pv6express_route_circuit_peering_config.rb | 6 - .../models/load_balancer.rb | 25 - ...lancer_backend_address_pool_list_result.rb | 4 - ...er_frontend_ipconfiguration_list_result.rb | 4 - .../models/load_balancer_list_result.rb | 4 - ...alancer_load_balancing_rule_list_result.rb | 4 - .../models/load_balancer_probe_list_result.rb | 4 - .../models/load_balancer_sku.rb | 2 - .../models/load_balancing_rule.rb | 15 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/log_specification.rb | 4 - .../models/metric_specification.rb | 17 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 19 - ...k_interface_ipconfiguration_list_result.rb | 4 - .../models/network_interface_list_result.rb | 4 - ...ork_interface_load_balancer_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../azure_mgmt_network/models/operation.rb | 5 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 4 - ...properties_format_service_specification.rb | 5 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 11 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 19 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../models/public_ipaddress_sku.rb | 2 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 12 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 26 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../service_endpoint_properties_format.rb | 5 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 14 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/tags_object.rb | 3 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 2 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 6 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 18 - ...al_network_connection_gateway_reference.rb | 2 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 27 - ..._network_gateway_connection_list_entity.rb | 27 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - ...network_gateway_list_connections_result.rb | 4 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../virtual_network_list_usage_result.rb | 4 - .../models/virtual_network_peering.rb | 12 - .../virtual_network_peering_list_result.rb | 4 - .../models/virtual_network_usage.rb | 6 - .../models/virtual_network_usage_name.rb | 3 - .../models/vpn_client_configuration.rb | 10 - .../models/vpn_client_parameters.rb | 6 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../models/vpn_device_script_parameters.rb | 4 - .../network_interface_ipconfigurations.rb | 44 +- .../network_interface_load_balancers.rb | 33 +- .../azure_mgmt_network/network_interfaces.rb | 171 +++---- .../network_management_client.rb | 26 +- .../network_security_groups.rb | 133 +++-- .../azure_mgmt_network/network_watchers.rb | 306 +++++------ .../azure_mgmt_network/operations.rb | 33 +- .../azure_mgmt_network/packet_captures.rb | 105 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 133 +++-- .../azure_mgmt_network/route_filter_rules.rb | 105 ++-- .../azure_mgmt_network/route_filters.rb | 133 +++-- .../azure_mgmt_network/route_tables.rb | 133 +++-- .../generated/azure_mgmt_network/routes.rb | 84 ++- .../azure_mgmt_network/security_rules.rb | 84 ++- .../generated/azure_mgmt_network/subnets.rb | 84 ++- .../generated/azure_mgmt_network/usages.rb | 34 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 158 +++--- .../virtual_network_gateways.rb | 302 ++++++----- .../virtual_network_peerings.rb | 84 ++- .../azure_mgmt_network/virtual_networks.rb | 172 +++---- .../application_gateways.rb | 251 +++++---- .../application_security_groups.rb | 112 ++-- .../available_endpoint_services.rb | 33 +- .../bgp_service_communities.rb | 33 +- .../azure_mgmt_network/connection_monitors.rb | 124 +++-- .../default_security_rules.rb | 44 +- .../express_route_circuit_authorizations.rb | 84 ++- .../express_route_circuit_peerings.rb | 84 ++- .../express_route_circuits.rb | 212 ++++---- .../express_route_service_providers.rb | 33 +- .../azure_mgmt_network/inbound_nat_rules.rb | 84 ++- .../load_balancer_backend_address_pools.rb | 44 +- ...load_balancer_frontend_ipconfigurations.rb | 44 +- .../load_balancer_load_balancing_rules.rb | 44 +- .../load_balancer_network_interfaces.rb | 33 +- .../load_balancer_probes.rb | 44 +- .../azure_mgmt_network/load_balancers.rb | 133 +++-- .../local_network_gateways.rb | 109 ++-- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 39 -- ...tion_gateway_authentication_certificate.rb | 7 - ...plication_gateway_available_ssl_options.rb | 14 - ...teway_available_ssl_predefined_policies.rb | 4 - ..._gateway_available_waf_rule_sets_result.rb | 3 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 10 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 19 - ...application_gateway_connection_draining.rb | 3 - ...on_gateway_firewall_disabled_rule_group.rb | 4 - .../application_gateway_firewall_rule.rb | 3 - ...application_gateway_firewall_rule_group.rb | 5 - .../application_gateway_firewall_rule_set.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 10 - .../application_gateway_frontend_port.rb | 7 - .../application_gateway_http_listener.rb | 12 - .../application_gateway_ipconfiguration.rb | 7 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 11 - .../models/application_gateway_probe.rb | 15 - ...ion_gateway_probe_health_response_match.rb | 4 - ...lication_gateway_redirect_configuration.rb | 16 - ...pplication_gateway_request_routing_rule.rb | 12 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 9 - .../models/application_gateway_ssl_policy.rb | 8 - ...plication_gateway_ssl_predefined_policy.rb | 6 - .../application_gateway_url_path_map.rb | 11 - ..._web_application_firewall_configuration.rb | 7 - .../models/application_security_group.rb | 10 - .../application_security_group_list_result.rb | 4 - .../models/authorization_list_result.rb | 4 - .../azure_mgmt_network/models/availability.rb | 4 - .../models/available_providers_list.rb | 3 - .../models/available_providers_list_city.rb | 4 - .../available_providers_list_country.rb | 6 - .../available_providers_list_parameters.rb | 6 - .../models/available_providers_list_state.rb | 6 - .../models/azure_async_operation_result.rb | 3 - .../models/azure_reachability_report.rb | 5 - .../models/azure_reachability_report_item.rb | 5 - .../azure_reachability_report_latency_info.rb | 3 - .../azure_reachability_report_location.rb | 4 - .../azure_reachability_report_parameters.rb | 8 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 8 - .../models/connection_monitor.rb | 8 - .../models/connection_monitor_destination.rb | 4 - .../models/connection_monitor_list_result.rb | 3 - .../models/connection_monitor_parameters.rb | 5 - .../models/connection_monitor_query_result.rb | 3 - .../models/connection_monitor_result.rb | 15 - .../models/connection_monitor_source.rb | 3 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_state_snapshot.rb | 7 - .../models/connectivity_destination.rb | 4 - .../models/connectivity_hop.rb | 9 - .../models/connectivity_information.rb | 9 - .../models/connectivity_issue.rb | 7 - .../models/connectivity_parameters.rb | 3 - .../models/connectivity_source.rb | 3 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../azure_mgmt_network/models/dimension.rb | 4 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 8 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 22 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../models/endpoint_service_result.rb | 4 - .../models/endpoint_services_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 21 - .../express_route_circuit_peering_config.rb | 9 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 19 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/inbound_nat_rule_list_result.rb | 4 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../azure_mgmt_network/models/ipsec_policy.rb | 9 - ...pv6express_route_circuit_peering_config.rb | 6 - .../models/load_balancer.rb | 25 - ...lancer_backend_address_pool_list_result.rb | 4 - ...er_frontend_ipconfiguration_list_result.rb | 4 - .../models/load_balancer_list_result.rb | 4 - ...alancer_load_balancing_rule_list_result.rb | 4 - .../models/load_balancer_probe_list_result.rb | 4 - .../models/load_balancer_sku.rb | 2 - .../models/load_balancing_rule.rb | 15 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/log_specification.rb | 4 - .../models/metric_specification.rb | 17 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 19 - ...k_interface_ipconfiguration_list_result.rb | 4 - .../models/network_interface_list_result.rb | 4 - ...ork_interface_load_balancer_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../azure_mgmt_network/models/operation.rb | 5 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 4 - ...properties_format_service_specification.rb | 5 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 11 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 19 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../models/public_ipaddress_sku.rb | 2 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 12 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 14 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 26 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../service_endpoint_properties_format.rb | 5 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 14 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/tags_object.rb | 3 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 4 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 6 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 18 - ...al_network_connection_gateway_reference.rb | 2 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 27 - ..._network_gateway_connection_list_entity.rb | 27 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - ...network_gateway_list_connections_result.rb | 4 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../virtual_network_list_usage_result.rb | 4 - .../models/virtual_network_peering.rb | 12 - .../virtual_network_peering_list_result.rb | 4 - .../models/virtual_network_usage.rb | 6 - .../models/virtual_network_usage_name.rb | 3 - .../models/vpn_client_configuration.rb | 10 - .../models/vpn_client_parameters.rb | 6 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../models/vpn_device_script_parameters.rb | 4 - .../network_interface_ipconfigurations.rb | 44 +- .../network_interface_load_balancers.rb | 33 +- .../azure_mgmt_network/network_interfaces.rb | 171 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 133 +++-- .../azure_mgmt_network/network_watchers.rb | 306 +++++------ .../azure_mgmt_network/operations.rb | 33 +- .../azure_mgmt_network/packet_captures.rb | 105 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 133 +++-- .../azure_mgmt_network/route_filter_rules.rb | 105 ++-- .../azure_mgmt_network/route_filters.rb | 133 +++-- .../azure_mgmt_network/route_tables.rb | 133 +++-- .../generated/azure_mgmt_network/routes.rb | 84 ++- .../azure_mgmt_network/security_rules.rb | 84 ++- .../generated/azure_mgmt_network/subnets.rb | 84 ++- .../generated/azure_mgmt_network/usages.rb | 34 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 158 +++--- .../virtual_network_gateways.rb | 302 ++++++----- .../virtual_network_peerings.rb | 84 ++- .../azure_mgmt_network/virtual_networks.rb | 172 +++---- .../application_gateways.rb | 251 +++++---- .../application_security_groups.rb | 112 ++-- .../available_endpoint_services.rb | 33 +- .../bgp_service_communities.rb | 33 +- .../azure_mgmt_network/connection_monitors.rb | 124 +++-- .../default_security_rules.rb | 44 +- .../express_route_circuit_authorizations.rb | 84 ++- .../express_route_circuit_peerings.rb | 84 ++- .../express_route_circuits.rb | 212 ++++---- .../express_route_service_providers.rb | 33 +- .../azure_mgmt_network/inbound_nat_rules.rb | 84 ++- .../load_balancer_backend_address_pools.rb | 44 +- ...load_balancer_frontend_ipconfigurations.rb | 44 +- .../load_balancer_load_balancing_rules.rb | 44 +- .../load_balancer_network_interfaces.rb | 33 +- .../load_balancer_probes.rb | 44 +- .../azure_mgmt_network/load_balancers.rb | 133 +++-- .../local_network_gateways.rb | 109 ++-- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 39 -- ...tion_gateway_authentication_certificate.rb | 7 - ...plication_gateway_available_ssl_options.rb | 14 - ...teway_available_ssl_predefined_policies.rb | 4 - ..._gateway_available_waf_rule_sets_result.rb | 3 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 10 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 19 - ...application_gateway_connection_draining.rb | 3 - ...on_gateway_firewall_disabled_rule_group.rb | 4 - .../application_gateway_firewall_rule.rb | 3 - ...application_gateway_firewall_rule_group.rb | 5 - .../application_gateway_firewall_rule_set.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 10 - .../application_gateway_frontend_port.rb | 7 - .../application_gateway_http_listener.rb | 12 - .../application_gateway_ipconfiguration.rb | 7 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 11 - .../models/application_gateway_probe.rb | 15 - ...ion_gateway_probe_health_response_match.rb | 4 - ...lication_gateway_redirect_configuration.rb | 16 - ...pplication_gateway_request_routing_rule.rb | 12 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 9 - .../models/application_gateway_ssl_policy.rb | 8 - ...plication_gateway_ssl_predefined_policy.rb | 6 - .../application_gateway_url_path_map.rb | 11 - ..._web_application_firewall_configuration.rb | 7 - .../models/application_security_group.rb | 10 - .../application_security_group_list_result.rb | 4 - .../models/authorization_list_result.rb | 4 - .../azure_mgmt_network/models/availability.rb | 4 - .../models/available_providers_list.rb | 3 - .../models/available_providers_list_city.rb | 4 - .../available_providers_list_country.rb | 6 - .../available_providers_list_parameters.rb | 6 - .../models/available_providers_list_state.rb | 6 - .../models/azure_async_operation_result.rb | 3 - .../models/azure_reachability_report.rb | 5 - .../models/azure_reachability_report_item.rb | 5 - .../azure_reachability_report_latency_info.rb | 3 - .../azure_reachability_report_location.rb | 4 - .../azure_reachability_report_parameters.rb | 8 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 8 - .../models/connection_monitor.rb | 8 - .../models/connection_monitor_destination.rb | 4 - .../models/connection_monitor_list_result.rb | 3 - .../models/connection_monitor_parameters.rb | 5 - .../models/connection_monitor_query_result.rb | 3 - .../models/connection_monitor_result.rb | 15 - .../models/connection_monitor_source.rb | 3 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_state_snapshot.rb | 7 - .../models/connectivity_destination.rb | 4 - .../models/connectivity_hop.rb | 9 - .../models/connectivity_information.rb | 9 - .../models/connectivity_issue.rb | 7 - .../models/connectivity_parameters.rb | 3 - .../models/connectivity_source.rb | 3 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../azure_mgmt_network/models/dimension.rb | 4 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 8 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 22 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../models/endpoint_service_result.rb | 4 - .../models/endpoint_services_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 21 - .../express_route_circuit_peering_config.rb | 9 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 19 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 12 - .../models/inbound_nat_rule.rb | 12 - .../models/inbound_nat_rule_list_result.rb | 4 - .../azure_mgmt_network/models/ip_tag.rb | 3 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../azure_mgmt_network/models/ipsec_policy.rb | 9 - ...pv6express_route_circuit_peering_config.rb | 6 - .../models/load_balancer.rb | 25 - ...lancer_backend_address_pool_list_result.rb | 4 - ...er_frontend_ipconfiguration_list_result.rb | 4 - .../models/load_balancer_list_result.rb | 4 - ...alancer_load_balancing_rule_list_result.rb | 4 - .../models/load_balancer_probe_list_result.rb | 4 - .../models/load_balancer_sku.rb | 2 - .../models/load_balancing_rule.rb | 15 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/log_specification.rb | 4 - .../models/metric_specification.rb | 17 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 19 - ...k_interface_ipconfiguration_list_result.rb | 4 - .../models/network_interface_list_result.rb | 4 - ...ork_interface_load_balancer_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../azure_mgmt_network/models/operation.rb | 5 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 4 - ...properties_format_service_specification.rb | 5 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 21 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../models/public_ipaddress_sku.rb | 2 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 10 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 14 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 26 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../service_endpoint_properties_format.rb | 5 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 14 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/tags_object.rb | 3 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 4 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 6 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 18 - ...al_network_connection_gateway_reference.rb | 2 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 27 - ..._network_gateway_connection_list_entity.rb | 27 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - ...network_gateway_list_connections_result.rb | 4 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../virtual_network_list_usage_result.rb | 4 - .../models/virtual_network_peering.rb | 12 - .../virtual_network_peering_list_result.rb | 4 - .../models/virtual_network_usage.rb | 6 - .../models/virtual_network_usage_name.rb | 3 - .../models/vpn_client_configuration.rb | 10 - .../models/vpn_client_parameters.rb | 6 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../models/vpn_device_script_parameters.rb | 4 - .../network_interface_ipconfigurations.rb | 44 +- .../network_interface_load_balancers.rb | 33 +- .../azure_mgmt_network/network_interfaces.rb | 171 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 133 +++-- .../azure_mgmt_network/network_watchers.rb | 306 +++++------ .../azure_mgmt_network/operations.rb | 33 +- .../azure_mgmt_network/packet_captures.rb | 105 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 133 +++-- .../azure_mgmt_network/route_filter_rules.rb | 105 ++-- .../azure_mgmt_network/route_filters.rb | 133 +++-- .../azure_mgmt_network/route_tables.rb | 133 +++-- .../generated/azure_mgmt_network/routes.rb | 84 ++- .../azure_mgmt_network/security_rules.rb | 84 ++- .../generated/azure_mgmt_network/subnets.rb | 84 ++- .../generated/azure_mgmt_network/usages.rb | 34 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 158 +++--- .../virtual_network_gateways.rb | 302 ++++++----- .../virtual_network_peerings.rb | 84 ++- .../azure_mgmt_network/virtual_networks.rb | 172 +++---- .../generated/azure_mgmt_network.rb | 157 +++--- .../application_gateways.rb | 251 +++++---- .../application_security_groups.rb | 112 ++-- .../available_endpoint_services.rb | 33 +- .../bgp_service_communities.rb | 33 +- .../azure_mgmt_network/connection_monitors.rb | 124 +++-- .../default_security_rules.rb | 44 +- .../express_route_circuit_authorizations.rb | 84 ++- .../express_route_circuit_peerings.rb | 84 ++- .../express_route_circuits.rb | 212 ++++---- .../express_route_service_providers.rb | 33 +- .../azure_mgmt_network/inbound_nat_rules.rb | 84 ++- .../load_balancer_backend_address_pools.rb | 44 +- ...load_balancer_frontend_ipconfigurations.rb | 44 +- .../load_balancer_load_balancing_rules.rb | 44 +- .../load_balancer_network_interfaces.rb | 33 +- .../load_balancer_probes.rb | 44 +- .../azure_mgmt_network/load_balancers.rb | 133 +++-- .../local_network_gateways.rb | 109 ++-- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 39 -- ...tion_gateway_authentication_certificate.rb | 7 - ...plication_gateway_available_ssl_options.rb | 14 - ...teway_available_ssl_predefined_policies.rb | 4 - ..._gateway_available_waf_rule_sets_result.rb | 3 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 10 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 19 - ...application_gateway_connection_draining.rb | 3 - ...on_gateway_firewall_disabled_rule_group.rb | 4 - .../application_gateway_firewall_rule.rb | 3 - ...application_gateway_firewall_rule_group.rb | 5 - .../application_gateway_firewall_rule_set.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 10 - .../application_gateway_frontend_port.rb | 7 - .../application_gateway_http_listener.rb | 12 - .../application_gateway_ipconfiguration.rb | 7 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 11 - .../models/application_gateway_probe.rb | 15 - ...ion_gateway_probe_health_response_match.rb | 4 - ...lication_gateway_redirect_configuration.rb | 16 - ...pplication_gateway_request_routing_rule.rb | 12 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 9 - .../models/application_gateway_ssl_policy.rb | 8 - ...plication_gateway_ssl_predefined_policy.rb | 6 - .../application_gateway_url_path_map.rb | 11 - ..._web_application_firewall_configuration.rb | 9 - .../models/application_security_group.rb | 10 - .../application_security_group_list_result.rb | 4 - .../models/authorization_list_result.rb | 4 - .../azure_mgmt_network/models/availability.rb | 4 - .../models/available_providers_list.rb | 3 - .../models/available_providers_list_city.rb | 4 - .../available_providers_list_country.rb | 6 - .../available_providers_list_parameters.rb | 6 - .../models/available_providers_list_state.rb | 6 - .../models/azure_async_operation_result.rb | 3 - .../models/azure_reachability_report.rb | 5 - .../models/azure_reachability_report_item.rb | 5 - .../azure_reachability_report_latency_info.rb | 3 - .../azure_reachability_report_location.rb | 4 - .../azure_reachability_report_parameters.rb | 8 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 8 - .../models/connection_monitor.rb | 8 - .../models/connection_monitor_destination.rb | 4 - .../models/connection_monitor_list_result.rb | 3 - .../models/connection_monitor_parameters.rb | 5 - .../models/connection_monitor_query_result.rb | 3 - .../models/connection_monitor_result.rb | 15 - .../models/connection_monitor_source.rb | 3 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_state_snapshot.rb | 7 - .../models/connectivity_destination.rb | 4 - .../models/connectivity_hop.rb | 9 - .../models/connectivity_information.rb | 9 - .../models/connectivity_issue.rb | 7 - .../models/connectivity_parameters.rb | 3 - .../models/connectivity_source.rb | 3 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../azure_mgmt_network/models/dimension.rb | 4 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 8 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 22 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../models/endpoint_service_result.rb | 4 - .../models/endpoint_services_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 21 - .../express_route_circuit_peering_config.rb | 9 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 19 +- .../models/flow_log_status_parameters.rb | 9 +- .../models/frontend_ipconfiguration.rb | 19 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 12 - .../models/inbound_nat_rule.rb | 12 - .../models/inbound_nat_rule_list_result.rb | 4 - .../azure_mgmt_network/models/ip_tag.rb | 3 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../azure_mgmt_network/models/ipsec_policy.rb | 9 - ...pv6express_route_circuit_peering_config.rb | 6 - .../models/load_balancer.rb | 25 - ...lancer_backend_address_pool_list_result.rb | 4 - ...er_frontend_ipconfiguration_list_result.rb | 4 - .../models/load_balancer_list_result.rb | 4 - ...alancer_load_balancing_rule_list_result.rb | 4 - .../models/load_balancer_probe_list_result.rb | 4 - .../models/load_balancer_sku.rb | 2 - .../models/load_balancing_rule.rb | 15 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/log_specification.rb | 4 - .../models/metric_specification.rb | 17 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 19 - ...k_interface_ipconfiguration_list_result.rb | 4 - .../models/network_interface_list_result.rb | 4 - ...ork_interface_load_balancer_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 14 +- .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../azure_mgmt_network/models/operation.rb | 5 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 4 - ...properties_format_service_specification.rb | 5 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 41 +- .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 27 +- .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 21 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../models/public_ipaddress_sku.rb | 2 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 10 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 14 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 26 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../service_endpoint_properties_format.rb | 5 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 14 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/tags_object.rb | 3 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 4 - .../models/topology_resource.rb | 6 - ...ffic_analytics_configuration_properties.rb | 74 +++ .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 6 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 18 - ...al_network_connection_gateway_reference.rb | 2 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 27 - ..._network_gateway_connection_list_entity.rb | 27 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - ...network_gateway_list_connections_result.rb | 4 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../virtual_network_list_usage_result.rb | 4 - .../models/virtual_network_peering.rb | 12 - .../virtual_network_peering_list_result.rb | 4 - .../models/virtual_network_usage.rb | 6 - .../models/virtual_network_usage_name.rb | 3 - .../models/vpn_client_configuration.rb | 10 - .../models/vpn_client_parameters.rb | 6 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../models/vpn_device_script_parameters.rb | 4 - .../network_interface_ipconfigurations.rb | 44 +- .../network_interface_load_balancers.rb | 33 +- .../azure_mgmt_network/network_interfaces.rb | 171 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 133 +++-- .../azure_mgmt_network/network_watchers.rb | 336 ++++++------ .../azure_mgmt_network/operations.rb | 33 +- .../azure_mgmt_network/packet_captures.rb | 105 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 133 +++-- .../azure_mgmt_network/route_filter_rules.rb | 105 ++-- .../azure_mgmt_network/route_filters.rb | 133 +++-- .../azure_mgmt_network/route_tables.rb | 133 +++-- .../generated/azure_mgmt_network/routes.rb | 84 ++- .../azure_mgmt_network/security_rules.rb | 84 ++- .../generated/azure_mgmt_network/subnets.rb | 84 ++- .../generated/azure_mgmt_network/usages.rb | 34 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 158 +++--- .../virtual_network_gateways.rb | 302 ++++++----- .../virtual_network_peerings.rb | 84 ++- .../azure_mgmt_network/virtual_networks.rb | 172 +++---- .../latest/modules/network_profile_module.rb | 482 +++++++++--------- 2032 files changed, 15387 insertions(+), 29315 deletions(-) create mode 100644 management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb create mode 100644 management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/version.rb diff --git a/azure_sdk/lib/latest/modules/network_profile_module.rb b/azure_sdk/lib/latest/modules/network_profile_module.rb index df4b609b9c..3a9cdce91c 100644 --- a/azure_sdk/lib/latest/modules/network_profile_module.rb +++ b/azure_sdk/lib/latest/modules/network_profile_module.rb @@ -46,149 +46,149 @@ module Mgmt LocalNetworkGateways = Azure::Network::Mgmt::V2018_01_01::LocalNetworkGateways module Models - TopologyParameters = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters TopologyAssociation = Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation - PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource + TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource OperationListResult = Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult - VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters Operation = Azure::Network::Mgmt::V2018_01_01::Models::Operation NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification - LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult - LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference LoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult - PublicIPAddressSku = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku + ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey InboundNatRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult - IpTag = Azure::Network::Mgmt::V2018_01_01::Models::IpTag + PublicIPAddressSku = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerBackendAddressPoolListResult - IpsecPolicy = Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy + IpTag = Azure::Network::Mgmt::V2018_01_01::Models::IpTag LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult - GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult - ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + TunnelConnectionHealth = Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult - ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining + ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult - ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer + ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining ErrorDetails = Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails - ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool + ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer Error = Azure::Network::Mgmt::V2018_01_01::Models::Error - ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult - GatewayRoute = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute + ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult - BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult - VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku + BgpPeerStatus = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation - VirtualNetworkUsage = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage + VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule - VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName + VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroup - VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + VirtualNetworkUsage = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupListResult - ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult EffectiveRoute = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute - VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup EffectiveRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult - ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule + DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions SecurityRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult - SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult - AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace - MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification - ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification + SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult NetworkWatcherListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult + ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + TopologyParameters = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters TagsObject = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject - SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource - DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult Dimension = Azure::Network::Mgmt::V2018_01_01::Models::Dimension - EndpointServicesListResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult - TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource - AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult + UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification + Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage Topology = Azure::Network::Mgmt::V2018_01_01::Models::Topology - BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult + ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters - BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity + ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats VerificationIPFlowResult = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult - Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig + BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity NextHopParameters = Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters - ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku + ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult NextHopResult = Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult - RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties SecurityGroupViewParameters = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters - ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable NetworkInterfaceAssociation = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation - ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable SubnetAssociation = Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation - ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary SecurityRuleAssociations = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface - ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult SecurityGroupViewResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult - RouteFilterListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult + LoadBalancerSku = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku PacketCaptureStorageLocation = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureStorageLocation - VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult + RouteFilterListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult PacketCaptureFilter = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureFilter - ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters PacketCaptureParameters = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult PacketCapture = Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture - TunnelConnectionHealth = Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings PacketCaptureResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + IpsecPolicy = Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy PacketCaptureListResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureListResult - ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings + BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult - ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy + ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings TroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters - VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy QueryTroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters - ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch + BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings TroubleshootingRecommendedActions = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions - DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch TroubleshootingDetails = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails - ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult TroubleshootingResult = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult - ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult RetentionPolicyParameters = Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters + ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + TrafficAnalyticsConfigurationProperties = Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties Resource = Azure::Network::Mgmt::V2018_01_01::Models::Resource FlowLogStatusParameters = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters - Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage + EndpointServicesListResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult FlowLogInformation = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation - ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName ConnectivitySource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource - RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig ConnectivityDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination - ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult ConnectivityParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters - ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult ConnectivityIssue = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue - ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered ConnectivityHop = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop - LoadBalancerSku = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku + RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult ConnectivityInformation = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityInformation - VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference + VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult AzureReachabilityReportLocation = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey AzureReachabilityReportParameters = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters - VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo - BgpPeerStatus = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus + GatewayRoute = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute AzureReachabilityReportItem = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportItem - IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult + VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName AzureReachabilityReport = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReport ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleGroup AvailableProvidersListParameters = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters - ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult + DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult AvailableProvidersListCity = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity - ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult AvailableProvidersListState = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable + ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult AvailableProvidersListCountry = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry - RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult AvailableProvidersList = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList ServiceEndpointPropertiesFormat = Azure::Network::Mgmt::V2018_01_01::Models::ServiceEndpointPropertiesFormat ConnectionMonitorSource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorSource @@ -196,18 +196,19 @@ module Models ConnectionMonitorDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorDestination ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters - UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName + AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult ConnectionMonitor = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor - ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary + ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult ConnectionMonitorResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult - BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult + GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult - UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace ConnectionStateSnapshot = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot + PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult - ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku OperationDisplay = Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay - VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult + VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku Availability = Azure::Network::Mgmt::V2018_01_01::Models::Availability BackendAddressPool = Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool InboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRule @@ -400,21 +401,18 @@ def method_missing(method, *args) end class ModelClasses - def topology_parameters - Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters - end def topology_association Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + def sub_resource + Azure::Network::Mgmt::V2018_01_01::Models::SubResource + end + def topology_resource + Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource end def operation_list_result Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult end - def vpn_device_script_parameters - Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters - end def operation Azure::Network::Mgmt::V2018_01_01::Models::Operation end @@ -424,380 +422,383 @@ def network_interface_dns_settings def operation_properties_format_service_specification Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification end - def local_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult - end - def log_specification - Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - end - def connection_reset_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + def virtual_network_connection_gateway_reference + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference end def load_balancer_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult end - def public_ipaddress_sku - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku + def connection_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey end def inbound_nat_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult end - def ip_tag - Azure::Network::Mgmt::V2018_01_01::Models::IpTag + def public_ipaddress_sku + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku end def load_balancer_backend_address_pool_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerBackendAddressPoolListResult end - def ipsec_policy - Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy + def ip_tag + Azure::Network::Mgmt::V2018_01_01::Models::IpTag end def load_balancer_frontend_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult end - def gateway_route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult end def load_balancer_load_balancing_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult end - def application_gateway_backend_address - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + def tunnel_connection_health + Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth end def load_balancer_probe_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult end - def application_gateway_connection_draining - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining + def application_gateway_backend_address + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress end def network_interface_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult end - def application_gateway_backend_health_server - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer + def application_gateway_connection_draining + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining end def error_details Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails end - def application_gateway_backend_health_pool - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool + def application_gateway_backend_health_server + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer end def error Azure::Network::Mgmt::V2018_01_01::Models::Error end - def application_gateway_sku - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + def application_gateway_backend_health_pool + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool end def azure_async_operation_result Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult end - def gateway_route - Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute + def application_gateway_sku + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku end def network_interface_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult end - def bgp_settings - Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + def vpn_client_parameters + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters end def network_interface_load_balancer_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult end - def virtual_network_gateway_sku - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku + def bgp_peer_status + Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus end def effective_network_security_group_association Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation end - def virtual_network_usage - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage + def vpn_client_configuration + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration end def effective_network_security_rule Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule end - def virtual_network_usage_name - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName + def virtual_network_list_usage_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult end def effective_network_security_group Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroup end - def virtual_network_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + def virtual_network_usage + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage end def effective_network_security_group_list_result Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupListResult end - def application_gateway_firewall_disabled_rule_group - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + def ipaddress_availability_result + Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult end def effective_route Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute end - def virtual_network_peering_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + def application_gateway_firewall_disabled_rule_group + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup end def effective_route_list_result Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult end - def application_gateway_firewall_rule - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule + def dhcp_options + Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions end def security_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult end - def subnet_list_result - Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + def application_gateway_firewall_rule + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule end def network_security_group_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult end - def address_space - Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace + def virtual_network_peering_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult end - def metric_specification - Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification + def log_specification + Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification end - def application_gateway_available_ssl_predefined_policies - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + def subnet_list_result + Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult end def network_watcher_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult end + def application_gateway_available_ssl_predefined_policies + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + end + def topology_parameters + Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters + end def tags_object Azure::Network::Mgmt::V2018_01_01::Models::TagsObject end - def sub_resource - Azure::Network::Mgmt::V2018_01_01::Models::SubResource - end - def dns_name_availability_result - Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + def application_security_group_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult end def dimension Azure::Network::Mgmt::V2018_01_01::Models::Dimension end - def endpoint_services_list_result - Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult + def usages_list_result + Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult end - def topology_resource - Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource + def metric_specification + Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification end - def authorization_list_result - Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult + def usage + Azure::Network::Mgmt::V2018_01_01::Models::Usage end def topology Azure::Network::Mgmt::V2018_01_01::Models::Topology end - def bgp_service_community_list_result - Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult + def express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig end def verification_ipflow_parameters Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters end - def bgpcommunity - Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity + def express_route_circuit_stats + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats end def verification_ipflow_result Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult end - def ipv6_express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig + def bgpcommunity + Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity end def next_hop_parameters Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters end - def express_route_circuit_sku - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku + def express_route_circuit_peering_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult end def next_hop_result Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult end - def route_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + def express_route_circuit_service_provider_properties + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties end def security_group_view_parameters Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters end - def express_route_circuits_arp_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult + def express_route_circuit_arp_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable end def network_interface_association Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation end - def express_route_circuits_routes_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + def express_route_circuit_routes_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable end def subnet_association Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation end - def express_route_circuits_routes_table_summary_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + def express_route_circuit_routes_table_summary + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary end def security_rule_associations Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + def express_route_circuit_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult end def security_group_network_interface Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + def route_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult end def security_group_view_result Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult end - def route_filter_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult + def load_balancer_sku + Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku end def packet_capture_storage_location Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureStorageLocation end - def virtual_network_gateway_list_connections_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult + def route_filter_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult end def packet_capture_filter Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureFilter end - def connection_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + def vpn_device_script_parameters + Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters end def packet_capture_parameters Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + def local_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult end def packet_capture Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture end - def tunnel_connection_health - Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings end def packet_capture_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + def ipsec_policy + Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy end def packet_capture_list_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureListResult end - def application_gateway_backend_health_http_settings - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings + def bgp_peer_status_list_result + Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult end def packet_capture_query_status_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult end - def application_gateway_ssl_policy - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy + def application_gateway_backend_health_http_settings + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings end def troubleshooting_parameters Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters end - def vpn_client_configuration - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + def application_gateway_ssl_policy + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy end def query_troubleshooting_parameters Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters end - def application_gateway_probe_health_response_match - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch + def bgp_settings + Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings end def troubleshooting_recommended_actions Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions end - def dhcp_options - Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + def application_gateway_probe_health_response_match + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch end def troubleshooting_details Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails end - def application_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + def virtual_network_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult end def troubleshooting_result Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult end - def application_gateway_available_waf_rule_sets_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + def application_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult end def retention_policy_parameters Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters end + def application_gateway_available_waf_rule_sets_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + end + def traffic_analytics_configuration_properties + Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties + end def resource Azure::Network::Mgmt::V2018_01_01::Models::Resource end def flow_log_status_parameters Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters end - def usage - Azure::Network::Mgmt::V2018_01_01::Models::Usage + def endpoint_services_list_result + Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult end def flow_log_information Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation end - def express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + def usage_name + Azure::Network::Mgmt::V2018_01_01::Models::UsageName end def connectivity_source Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource end - def route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + def ipv6_express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end def connectivity_destination Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination end - def express_route_circuit_service_provider_properties - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + def route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult end def connectivity_parameters Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters end - def express_route_circuit_routes_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + def express_route_circuits_routes_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult end def connectivity_issue Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue end - def express_route_circuit_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + def express_route_service_provider_bandwidths_offered + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered end def connectivity_hop Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop end - def load_balancer_sku - Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku + def route_filter_rule_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult end def connectivity_information Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityInformation end - def virtual_network_connection_gateway_reference - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference + def virtual_network_gateway_list_connections_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult end def azure_reachability_report_location Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + def connection_reset_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey end def azure_reachability_report_parameters Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters end - def vpn_client_parameters - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult end def azure_reachability_report_latency_info Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo end - def bgp_peer_status - Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus + def gateway_route + Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute end def azure_reachability_report_item Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportItem end - def ipaddress_availability_result - Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult + def virtual_network_usage_name + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName end def azure_reachability_report Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReport @@ -808,26 +809,26 @@ def application_gateway_firewall_rule_group def available_providers_list_parameters Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters end - def application_security_group_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult + def dns_name_availability_result + Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult end def available_providers_list_city Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity end - def express_route_circuit_stats - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + def bgp_service_community_list_result + Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult end def available_providers_list_state Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState end - def express_route_circuit_arp_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult end def available_providers_list_country Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry end - def route_filter_rule_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult end def available_providers_list Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList @@ -850,41 +851,44 @@ def application_gateway_web_application_firewall_configuration def connection_monitor_parameters Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters end - def usage_name - Azure::Network::Mgmt::V2018_01_01::Models::UsageName + def authorization_list_result + Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult end def connection_monitor Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor end - def express_route_circuit_routes_table_summary - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary + def express_route_circuits_routes_table_summary_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end def connection_monitor_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult end - def bgp_peer_status_list_result - Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult + def gateway_route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult end def connection_monitor_list_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult end - def usages_list_result - Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + def address_space + Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace end def connection_state_snapshot Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot end + def public_ipaddress_list_result + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + end def connection_monitor_query_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult end - def express_route_circuit_peering_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + def express_route_circuit_sku + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku end def operation_display Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay end - def virtual_network_list_usage_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult + def virtual_network_gateway_sku + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku end def availability Azure::Network::Mgmt::V2018_01_01::Models::Availability diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/application_gateways.rb index aeffed50ca..d1a6ff45c7 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/application_gateways.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, application_gateway_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 @@ -167,8 +166,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +210,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,8 +299,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -328,13 +326,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -388,8 +385,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -402,9 +399,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -427,8 +424,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -441,9 +438,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -467,8 +464,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -483,8 +480,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -498,7 +495,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -506,7 +503,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -553,8 +549,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -570,8 +566,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -586,7 +582,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -595,12 +591,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, 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::Network::Mgmt::V2015_05_01_preview::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -683,8 +680,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -698,7 +695,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -706,7 +703,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -751,8 +747,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -767,8 +763,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -782,7 +778,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -790,7 +786,6 @@ def begin_stop_async(resource_group_name, application_gateway_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 @@ -836,8 +831,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -852,8 +847,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -867,12 +862,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,8 +921,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -943,8 +937,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -958,12 +952,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1018,12 +1011,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1039,12 +1032,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 9605aa234b..f25ee6a8a5 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_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 @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio 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::Network::Mgmt::V2015_05_01_preview::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 4ef17f1e30..815e99d1ca 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_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 @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name 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::Network::Mgmt::V2015_05_01_preview::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuits.rb index c7a636ee98..bd1237f6cf 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuits.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, circuit_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 @@ -167,8 +166,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [Array] operation results. # - def list_arp_table(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_arp_table(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list_arp_table(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_arp_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_arp_table_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -246,7 +245,7 @@ def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_arp_table_async(resource_group_name, circuit_name, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -254,7 +253,6 @@ def list_arp_table_async(resource_group_name, circuit_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 @@ -311,8 +309,8 @@ def list_arp_table_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [Array] operation results. # - def list_routes_table(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_routes_table(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -328,8 +326,8 @@ def list_routes_table(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_routes_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_routes_table_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -344,7 +342,7 @@ def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_routes_table_async(resource_group_name, circuit_name, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -352,7 +350,6 @@ def list_routes_table_async(resource_group_name, circuit_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -408,8 +405,8 @@ def list_routes_table_async(resource_group_name, circuit_name, custom_headers:ni # # @return [Array] operation results. # - def list_stats(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_stats(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_stats_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -424,8 +421,8 @@ def list_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -439,7 +436,7 @@ def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def list_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -447,7 +444,6 @@ def list_stats_async(resource_group_name, circuit_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 @@ -502,8 +498,8 @@ def list_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -517,8 +513,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -531,14 +527,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -592,8 +587,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -606,8 +601,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -619,13 +614,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +674,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -696,8 +690,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -711,7 +705,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -719,7 +713,6 @@ def begin_delete_async(resource_group_name, circuit_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 @@ -766,8 +759,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -783,8 +776,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -799,7 +792,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -808,12 +801,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, 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::Network::Mgmt::V2015_05_01_preview::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -882,8 +876,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table_next(next_page_link, custom_headers:nil) - response = list_arp_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_arp_table_next(next_page_link, custom_headers = nil) + response = list_arp_table_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -899,8 +893,8 @@ def list_arp_table_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_arp_table_next_with_http_info(next_page_link, custom_headers:nil) - list_arp_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_arp_table_next_with_http_info(next_page_link, custom_headers = nil) + list_arp_table_next_async(next_page_link, custom_headers).value! end # @@ -915,12 +909,11 @@ def list_arp_table_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_arp_table_next_async(next_page_link, custom_headers:nil) + def list_arp_table_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -976,8 +969,8 @@ def list_arp_table_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table_next(next_page_link, custom_headers:nil) - response = list_routes_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_routes_table_next(next_page_link, custom_headers = nil) + response = list_routes_table_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -993,8 +986,8 @@ def list_routes_table_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_routes_table_next_with_http_info(next_page_link, custom_headers:nil) - list_routes_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_routes_table_next_with_http_info(next_page_link, custom_headers = nil) + list_routes_table_next_async(next_page_link, custom_headers).value! end # @@ -1009,12 +1002,11 @@ def list_routes_table_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_routes_table_next_async(next_page_link, custom_headers:nil) + def list_routes_table_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1069,8 +1061,8 @@ def list_routes_table_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitsStatsListResult] operation results. # - def list_stats_next(next_page_link, custom_headers:nil) - response = list_stats_next_async(next_page_link, custom_headers:custom_headers).value! + def list_stats_next(next_page_link, custom_headers = nil) + response = list_stats_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1085,8 +1077,8 @@ def list_stats_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_stats_next_with_http_info(next_page_link, custom_headers:nil) - list_stats_next_async(next_page_link, custom_headers:custom_headers).value! + def list_stats_next_with_http_info(next_page_link, custom_headers = nil) + list_stats_next_async(next_page_link, custom_headers).value! end # @@ -1100,12 +1092,11 @@ def list_stats_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_stats_next_async(next_page_link, custom_headers:nil) + def list_stats_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1160,8 +1151,8 @@ def list_stats_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1176,8 +1167,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1191,12 +1182,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1251,8 +1241,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1267,8 +1257,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1282,12 +1272,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1344,12 +1333,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitsArpTableListResult] which provide lazy access to # pages of the response. # - def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_arp_table_next_async(next_page_link, custom_headers:custom_headers) + list_arp_table_next_async(next_page_link, custom_headers) end page end @@ -1368,12 +1357,12 @@ def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil # @return [ExpressRouteCircuitsRoutesTableListResult] which provide lazy access # to pages of the response. # - def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_routes_table_next_async(next_page_link, custom_headers:custom_headers) + list_routes_table_next_async(next_page_link, custom_headers) end page end @@ -1391,12 +1380,12 @@ def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers: # @return [ExpressRouteCircuitsStatsListResult] which provide lazy access to # pages of the response. # - def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_stats_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_stats_next_async(next_page_link, custom_headers:custom_headers) + list_stats_next_async(next_page_link, custom_headers) end page end @@ -1413,12 +1402,12 @@ def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1434,12 +1423,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_service_providers.rb index c8525b2644..a3a97e2c59 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_service_providers.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -44,8 +44,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 # @@ -57,13 +57,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -119,8 +118,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +134,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -150,12 +149,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -209,12 +207,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/load_balancers.rb index 6207060266..16c6f98842 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, load_balancer_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 @@ -166,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -223,8 +222,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -236,13 +235,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -297,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -312,8 +310,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -326,14 +324,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -387,8 +384,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -402,8 +399,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -416,7 +413,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -424,7 +421,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -471,8 +467,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -488,8 +484,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -504,7 +500,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -513,12 +509,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame 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::Network::Mgmt::V2015_05_01_preview::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -586,8 +583,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -602,8 +599,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -617,12 +614,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.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_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -693,8 +689,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -708,12 +704,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +762,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -789,12 +784,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/local_network_gateways.rb index d9453d15ea..5f166ad20a 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/local_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -337,8 +335,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -356,7 +354,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -365,12 +363,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name 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::Network::Mgmt::V2015_05_01_preview::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -438,8 +437,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -455,8 +454,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -471,7 +470,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +478,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -525,8 +523,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -541,8 +539,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -556,12 +554,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -616,12 +613,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/address_space.rb index fb2ab84182..69c2c37bb0 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway.rb index ba958c8d2f..6f9ae1277a 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway.rb @@ -72,7 +72,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -89,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -98,7 +95,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -107,7 +103,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -115,13 +110,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: { @@ -131,7 +124,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -149,13 +140,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -166,13 +155,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -183,13 +170,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -200,13 +185,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -217,13 +200,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -234,13 +215,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -251,13 +230,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -268,13 +245,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -285,7 +260,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -293,7 +267,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -301,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 8f4eef325e..afd7a20760 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 51797ede25..3c3a75933f 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -39,7 +39,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,13 +53,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -89,7 +83,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -105,7 +97,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 52667c6df0..8399157fb2 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -42,7 +42,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 0a5fd1a871..0357710687 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -47,7 +47,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 283626df36..8d516d0d19 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 1559f985ef..61171bacc3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -47,7 +47,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -89,7 +84,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 8fd7ed5527..c67aaca50a 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 85467b2821..9dbf3f57cf 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 22142156c8..19a82ef91e 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -47,7 +47,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -80,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -89,7 +84,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_sku.rb index 0907bbd137..ea3eac37ff 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -32,7 +32,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index f2206a38a8..54496970fd 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -40,7 +40,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/authorization_list_result.rb index f45a344c7b..a4ae9fd8a7 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 25ea9c44de..c9a5994750 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -33,7 +33,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/backend_address_pool.rb index 289cafa885..11a460b9e9 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,13 +57,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -76,13 +72,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRule', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index a036b523d6..ed97e5728c 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: false, serialized_name: 'keyLength', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_shared_key.rb index 9d1cad3b19..850e56bebc 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dhcp_options.rb index 80d73197a0..dc19fab18c 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dns_name_availability_result.rb index fe0c8c3d05..72a3fb5c88 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error.rb index c100346292..3ad6a56433 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error_details.rb index 2a8ee1270e..02b68bf3e3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit.rb index 89e14c0750..b3614fbfbe 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -58,7 +58,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -75,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -84,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -93,7 +89,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -101,13 +96,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: { @@ -117,7 +110,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -142,13 +132,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -159,13 +147,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -192,7 +176,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -201,7 +184,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +191,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 002cbcc6ca..cf089447f2 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index b0b93b3051..a89e47e694 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -38,7 +38,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 5d4941ca1b..ba9538f092 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 93cdd5eaff..040a003fb1 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -71,7 +71,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -79,7 +78,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -87,7 +85,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -95,7 +92,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -103,7 +99,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -111,7 +106,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -119,7 +113,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -127,7 +120,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -135,7 +127,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -143,7 +134,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -151,7 +141,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -159,7 +148,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -167,7 +155,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -176,7 +163,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -193,7 +178,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -201,7 +185,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index d190d1eb37..af89a55d90 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index c7ce2a71a6..3fa3cf1c42 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 0f2dd24185..9b4c3e3ea3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -33,7 +33,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'nextHopType', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, next_hop_ip: { - client_side_validation: true, required: false, serialized_name: 'nextHopIP', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, serialized_name: 'asPath', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index 2d65a53201..e4eab7b0b7 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 634baad564..309866d303 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -30,7 +30,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 3c802d8b84..c07af7425b 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { bytes_in: { - client_side_validation: true, required: false, serialized_name: 'bytesIn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, bytes_out: { - client_side_validation: true, required: false, serialized_name: 'bytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 9e3fc9f671..d274cb11e9 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 735978b36e..91c9aad52b 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb index dddb4091b0..2502c482e5 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsStatsListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsStatsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStatsElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider.rb index a996b00635..855d8a60d4 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -31,7 +31,6 @@ class ExpressRouteServiceProvider # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: false, serialized_name: 'properties', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 1cfbdeb712..a812e9c7b3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index 0ba88b2771..1997a76b8f 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_properties_format.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_properties_format.rb index 03f3baf9b9..94e69d341c 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_properties_format.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_properties_format.rb @@ -30,7 +30,6 @@ class ExpressRouteServiceProviderPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderPropertiesFormat', type: { @@ -38,13 +37,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderPropertiesFormat', model_properties: { peering_locations: { - client_side_validation: true, required: false, serialized_name: 'peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/frontend_ip_configuration.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/frontend_ip_configuration.rb index 21cef60e66..751a76e55a 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/frontend_ip_configuration.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/frontend_ip_configuration.rb @@ -65,7 +65,6 @@ class FrontendIpConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIpConfiguration', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'FrontendIpConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -115,13 +109,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -132,13 +124,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,13 +139,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -166,13 +154,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 6d77d78ed3..bdd93b3a8c 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -61,7 +61,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -94,7 +90,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -110,7 +104,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -118,7 +111,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 808b1e69dd..4232675c93 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -72,7 +72,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -97,7 +94,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfiguration', type: { @@ -106,7 +102,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -114,7 +109,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -122,7 +116,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -130,7 +123,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -138,7 +130,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: true, serialized_name: 'properties.enableFloatingIP', type: { @@ -146,7 +137,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +144,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +151,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer.rb index 06ed04a454..a0dccbe7d4 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer.rb @@ -54,7 +54,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'LoadBalancer', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,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: { @@ -113,13 +106,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIpConfigurationElementType', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -164,13 +151,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -181,13 +166,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -198,13 +181,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -215,13 +196,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -232,7 +211,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -240,7 +218,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -248,7 +225,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer_list_result.rb index bd5dde00dd..ea2e2575f0 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb index a64c02a405..8e23354bea 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -80,7 +80,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -96,7 +94,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -105,7 +102,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -114,7 +110,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -131,7 +125,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -139,7 +132,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -147,7 +139,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -155,7 +146,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -163,7 +153,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: true, serialized_name: 'properties.enableFloatingIP', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -187,7 +174,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway.rb index afdc111081..b7a6150028 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -37,7 +37,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -80,13 +75,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: { @@ -96,7 +89,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -105,7 +97,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -113,7 +104,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -121,7 +111,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 7570df8c00..957c0f4f9c 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface.rb index eea8eca692..26045581b7 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface.rb @@ -57,7 +57,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -74,7 +72,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -83,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -92,7 +88,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -100,13 +95,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: { @@ -116,7 +109,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -125,7 +117,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -134,13 +125,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIpConfigurationElementType', type: { @@ -151,7 +140,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -160,7 +148,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -192,7 +176,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -200,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index e99395db6d..9f880dcedf 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -34,7 +34,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -58,13 +55,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -82,7 +76,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_ip_configuration.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_ip_configuration.rb index b865a8ec3c..a9fb91a761 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_ip_configuration.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_ip_configuration.rb @@ -54,7 +54,6 @@ class NetworkInterfaceIpConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIpConfiguration', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'NetworkInterfaceIpConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -104,13 +98,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -121,13 +113,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -138,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_list_result.rb index 59ca22fa49..dc080f1bd0 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group.rb index c040128be1..f66f8c91a8 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +61,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -72,7 +69,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -81,7 +77,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -89,13 +84,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: { @@ -105,13 +98,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -122,13 +113,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -139,13 +128,11 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -156,13 +143,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -173,7 +158,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -181,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -189,7 +172,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group_list_result.rb index a067530c45..ad09ab2cb5 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/outbound_nat_rule.rb index 9493ed4bda..732efa38d5 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -44,7 +44,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: true, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -68,13 +65,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/probe.rb index d04bfdbdfc..52e8b5985d 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,13 +78,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address.rb index 2a77ee0533..d478a87307 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address.rb @@ -49,7 +49,6 @@ class PublicIpAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIpAddress', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'PublicIpAddress', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -75,7 +72,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -84,7 +80,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -92,13 +87,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: { @@ -108,7 +101,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: true, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfiguration', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -150,7 +138,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -158,7 +145,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -166,7 +152,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_dns_settings.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_dns_settings.rb index c48a1565f0..e5ffedb110 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIpAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIpAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIpAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_list_result.rb index 338e012d2d..b1b9ebb46d 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIpAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIpAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIpAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/resource.rb index 1c4b02eb70..fb10747744 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -78,13 +73,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_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route.rb index 3ded71e64f..8ff5da9983 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_list_result.rb index 27fe0fb2b2..3451376ca3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table.rb index 79ae06a9d6..fb16afe074 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table.rb @@ -33,7 +33,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,13 +100,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -126,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +122,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table_list_result.rb index e4a96d8811..98b0896157 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule.rb index ff0c3a9e54..c45e774563 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule.rb @@ -79,7 +79,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -119,7 +114,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -127,7 +121,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -135,7 +128,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -143,7 +135,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -167,7 +156,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +163,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -183,7 +170,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule_list_result.rb index 6eb38f19b6..6c7215b970 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/sub_resource.rb index 1df2715f6a..4907a2d6c8 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet.rb index 5fd00f81d4..b74ae66fb1 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet.rb @@ -46,7 +46,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet_list_result.rb index 5e58ce13e6..661f3a6158 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage.rb index 3dd2c54df0..2315b65309 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage_name.rb index 6c6b812a61..440a7ae826 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage_name.rb @@ -26,7 +26,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usages_list_result.rb index 3568809d69..73b8660991 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network.rb index 0d8a85d5d9..c1fe2c293a 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network.rb @@ -43,7 +43,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +58,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +66,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +74,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -86,13 +81,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: { @@ -102,7 +95,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -120,13 +111,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -137,7 +126,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -145,7 +133,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -153,7 +140,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 9321c37be7..de944598c3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -52,7 +52,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -69,7 +67,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -78,7 +75,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -87,7 +83,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -95,13 +90,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: { @@ -111,13 +104,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIpConfigurationElementType', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -144,7 +133,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -152,7 +140,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -177,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index f5ad1a6d1e..5c515396d6 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -65,7 +65,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +80,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -91,7 +88,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -100,7 +96,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -108,13 +103,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: { @@ -124,7 +117,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -142,7 +133,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -151,7 +141,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionType', type: { @@ -159,7 +148,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -167,7 +155,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionStatus', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.egressBytesTransferred', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.ingressBytesTransferred', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -208,7 +191,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -216,7 +198,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -224,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index 76dee7f3b3..7a012605a6 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_ip_configuration.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_ip_configuration.rb index 2915d95785..9433d17190 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_ip_configuration.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_ip_configuration.rb @@ -46,7 +46,6 @@ class VirtualNetworkGatewayIpConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIpConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIpConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 03d650237b..69604657bf 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 52c6dda637..f30a1e9d2f 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_interfaces.rb index 80d9b439ed..6b8ead48cc 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_interfaces.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - get_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + get_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, network_interface_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 @@ -166,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -231,8 +230,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -248,7 +247,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -257,7 +256,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam 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_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -331,8 +329,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -347,7 +345,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -355,7 +353,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -414,8 +411,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -433,8 +430,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers).value! end # @@ -451,7 +448,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -461,7 +458,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v 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 get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -529,8 +525,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -542,13 +538,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,8 +598,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -618,8 +613,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -632,14 +627,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -693,8 +687,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -708,8 +702,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -722,7 +716,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -730,7 +724,6 @@ def begin_delete_async(resource_group_name, network_interface_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 @@ -777,8 +770,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -794,8 +787,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -810,7 +803,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -819,12 +812,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa 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::Network::Mgmt::V2015_05_01_preview::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -892,8 +886,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -908,8 +902,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -923,12 +917,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.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_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -999,8 +992,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1014,12 +1007,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1074,8 +1066,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1090,8 +1082,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1105,12 +1097,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1165,8 +1156,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1181,8 +1172,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1196,12 +1187,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1259,12 +1249,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1283,12 +1273,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1304,12 +1294,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1326,12 +1316,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb index 1145ccaec2..39aa87b358 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb @@ -176,9 +176,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? @@ -199,8 +196,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -215,8 +212,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -230,14 +227,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -289,7 +285,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2015_05_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2015_05_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_security_groups.rb index e31226e0e4..3c06df7ee7 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_security_groups.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, network_security_group_name, custom_headers:n 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(resource_group_name, network_security_group_name, custom_headers:n # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -191,9 +190,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -232,8 +231,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -245,13 +244,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -306,8 +304,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -321,8 +319,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -335,14 +333,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -415,8 +412,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -431,7 +428,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -439,7 +436,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -488,8 +484,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -507,8 +503,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -525,7 +521,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -534,12 +530,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2015_05_01_preview::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -607,8 +604,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -623,8 +620,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -638,12 +635,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -698,8 +694,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -714,8 +710,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -729,12 +725,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -788,12 +783,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -810,12 +805,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/public_ip_addresses.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/public_ip_addresses.rb index 934fb09d7f..bb58e1e806 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/public_ip_addresses.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/public_ip_addresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIpAddress] operation results. # - def get(resource_group_name, public_ip_address_name, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_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 @@ -167,8 +166,8 @@ def get_async(resource_group_name, public_ip_address_name, custom_headers:nil) # # @return [PublicIpAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -210,8 +209,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -224,8 +223,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -237,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -298,8 +296,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -313,8 +311,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +325,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -388,8 +385,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -403,8 +400,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -417,7 +414,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -425,7 +422,6 @@ def begin_delete_async(resource_group_name, public_ip_address_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 @@ -473,8 +469,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIpAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -491,8 +487,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -508,7 +504,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -517,12 +513,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa 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::Network::Mgmt::V2015_05_01_preview::Models::PublicIpAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -590,8 +587,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIpAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -606,8 +603,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +618,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -681,8 +677,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIpAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -697,8 +693,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -712,12 +708,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -771,12 +766,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIpAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -793,12 +788,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIpAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/route_tables.rb index 4d8bcee0de..62cf934400 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, route_table_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 @@ -167,8 +166,8 @@ def get_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -210,8 +209,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -224,8 +223,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -237,14 +236,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -297,8 +295,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -310,8 +308,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -322,13 +320,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -382,8 +379,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -397,8 +394,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -411,7 +408,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -419,7 +416,6 @@ def begin_delete_async(resource_group_name, route_table_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 @@ -467,8 +463,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,8 +481,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -502,7 +498,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -511,12 +507,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete 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::Network::Mgmt::V2015_05_01_preview::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -583,8 +580,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -598,8 +595,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -612,12 +609,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +667,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -686,8 +682,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -700,12 +696,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -759,12 +754,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -779,12 +774,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/routes.rb index a12cc6a6b6..8486d62d57 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: 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(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +218,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -250,7 +249,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +257,6 @@ def list_async(resource_group_name, route_table_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 @@ -313,8 +311,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -329,8 +327,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -344,7 +342,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -353,7 +351,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +398,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +416,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -436,7 +433,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -446,12 +443,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na 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::Network::Mgmt::V2015_05_01_preview::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -519,8 +517,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -550,12 +548,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -610,12 +607,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/security_rules.rb index 188d53ea51..673620079f 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/security_rules.rb @@ -32,8 +32,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -48,9 +48,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -77,8 +77,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +95,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -121,7 +121,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -181,8 +180,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -199,9 +198,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -229,8 +228,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -246,8 +245,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -262,7 +261,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -270,7 +269,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -327,8 +325,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -345,8 +343,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -362,7 +360,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -371,7 +369,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -421,8 +418,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -441,8 +438,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -460,7 +457,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -470,12 +467,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2015_05_01_preview::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -543,8 +541,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -559,8 +557,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -574,12 +572,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -636,12 +633,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb index 583b0bde00..8f7028e8e2 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -171,8 +170,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, custom_hea # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +187,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -216,8 +215,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -231,8 +230,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -245,7 +244,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -253,7 +252,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -308,8 +306,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -324,8 +322,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -339,7 +337,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -348,7 +346,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -397,8 +394,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -434,7 +431,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -444,12 +441,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn 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::Network::Mgmt::V2015_05_01_preview::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -516,8 +514,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -531,8 +529,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -545,12 +543,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -605,12 +602,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/usages.rb index 0cd8a9bfbe..438248ad94 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -149,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -208,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..d32d57b6e0 --- /dev/null +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/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::Network::Mgmt::V2015_05_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index c271767299..24fec001ad 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +55,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -86,8 +86,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -104,8 +104,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -121,7 +121,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -129,7 +129,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -184,8 +183,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -199,9 +198,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -228,8 +227,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -246,8 +245,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -263,7 +262,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -271,7 +270,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -332,8 +330,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -350,9 +348,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -378,8 +376,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -393,8 +391,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -407,14 +405,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +473,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,9 +491,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -528,8 +525,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -549,8 +546,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -569,7 +566,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -578,12 +575,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2015_05_01_preview::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -651,8 +649,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -668,8 +666,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -684,7 +682,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -692,7 +690,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -743,8 +740,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -764,8 +761,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -784,7 +781,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -793,12 +790,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn 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::Network::Mgmt::V2015_05_01_preview::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -872,8 +870,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -894,8 +892,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -915,7 +913,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -924,12 +922,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2015_05_01_preview::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -987,8 +986,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1003,8 +1002,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1018,12 +1017,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1078,12 +1076,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateways.rb index cfae03e0bf..a9993bee14 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -334,9 +332,9 @@ def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -367,8 +365,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -387,8 +385,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -406,7 +404,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -415,12 +413,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na 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::Network::Mgmt::V2015_05_01_preview::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -488,8 +487,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -505,8 +504,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -521,7 +520,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -529,7 +528,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -579,8 +577,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -599,8 +597,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -618,7 +616,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -627,12 +625,13 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet 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::Network::Mgmt::V2015_05_01_preview::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -690,8 +689,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -706,8 +705,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -721,12 +720,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,12 +779,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_networks.rb index a9666fa0b5..92d4dadcd4 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, virtual_network_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 @@ -167,8 +166,8 @@ def get_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -222,8 +221,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -234,13 +233,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -294,8 +292,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -308,8 +306,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -321,14 +319,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -382,8 +379,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -397,8 +394,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -411,7 +408,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -419,7 +416,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -467,8 +463,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,8 +481,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -502,7 +498,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -511,12 +507,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para 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::Network::Mgmt::V2015_05_01_preview::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -583,8 +580,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -598,8 +595,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -612,12 +609,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +667,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -686,8 +682,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -700,12 +696,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -758,12 +753,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -779,12 +774,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/application_gateways.rb index cb17205007..1baf7d64d5 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/application_gateways.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, application_gateway_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 @@ -163,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -206,8 +205,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -220,8 +219,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -233,14 +232,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -306,8 +304,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -318,13 +316,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -377,8 +374,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -391,9 +388,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -415,8 +412,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -429,9 +426,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -454,8 +451,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -469,8 +466,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -483,7 +480,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -491,7 +488,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -538,8 +534,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -555,8 +551,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -571,7 +567,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -580,12 +576,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, 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::Network::Mgmt::V2015_06_15::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -651,8 +648,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -666,8 +663,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -680,7 +677,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -688,7 +685,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -732,8 +728,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -747,8 +743,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -761,7 +757,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -769,7 +765,6 @@ def begin_stop_async(resource_group_name, application_gateway_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 @@ -814,8 +809,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -829,8 +824,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -843,12 +838,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -902,8 +896,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -917,8 +911,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -931,12 +925,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -990,12 +983,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1010,12 +1003,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index ce798dec4b..1641d3471b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -171,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -232,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -246,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -254,7 +253,6 @@ def list_async(resource_group_name, circuit_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 @@ -309,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -325,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -349,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -417,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -435,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -445,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio 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::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -517,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -532,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -546,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -606,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_peerings.rb index e2073ec2ae..5b8a44c09a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, circuit_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 @@ -307,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name 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::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -601,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuits.rb index 65f9d4e6f4..98f7ad5646 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuits.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, circuit_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 @@ -163,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [Array] operation results. # - def list_arp_table(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_arp_table(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list_arp_table(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_arp_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_arp_table_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -242,7 +241,7 @@ def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_arp_table_async(resource_group_name, circuit_name, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -250,7 +249,6 @@ def list_arp_table_async(resource_group_name, circuit_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 @@ -307,8 +305,8 @@ def list_arp_table_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [Array] operation results. # - def list_routes_table(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_routes_table(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -324,8 +322,8 @@ def list_routes_table(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_routes_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_routes_table_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -340,7 +338,7 @@ def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_routes_table_async(resource_group_name, circuit_name, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -348,7 +346,6 @@ def list_routes_table_async(resource_group_name, circuit_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -404,8 +401,8 @@ def list_routes_table_async(resource_group_name, circuit_name, custom_headers:ni # # @return [Array] operation results. # - def list_stats(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_stats(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_stats_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -420,8 +417,8 @@ def list_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -435,7 +432,7 @@ def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def list_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -443,7 +440,6 @@ def list_stats_async(resource_group_name, circuit_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 @@ -497,8 +493,8 @@ def list_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -511,8 +507,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -524,14 +520,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -584,8 +579,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -597,8 +592,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -609,13 +604,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -669,8 +663,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -684,8 +678,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -698,7 +692,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -706,7 +700,6 @@ def begin_delete_async(resource_group_name, circuit_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 @@ -753,8 +746,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -770,8 +763,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -786,7 +779,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -795,12 +788,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, 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::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -869,8 +863,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table_next(next_page_link, custom_headers:nil) - response = list_arp_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_arp_table_next(next_page_link, custom_headers = nil) + response = list_arp_table_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -886,8 +880,8 @@ def list_arp_table_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_arp_table_next_with_http_info(next_page_link, custom_headers:nil) - list_arp_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_arp_table_next_with_http_info(next_page_link, custom_headers = nil) + list_arp_table_next_async(next_page_link, custom_headers).value! end # @@ -902,12 +896,11 @@ def list_arp_table_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_arp_table_next_async(next_page_link, custom_headers:nil) + def list_arp_table_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -963,8 +956,8 @@ def list_arp_table_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table_next(next_page_link, custom_headers:nil) - response = list_routes_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_routes_table_next(next_page_link, custom_headers = nil) + response = list_routes_table_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -980,8 +973,8 @@ def list_routes_table_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_routes_table_next_with_http_info(next_page_link, custom_headers:nil) - list_routes_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_routes_table_next_with_http_info(next_page_link, custom_headers = nil) + list_routes_table_next_async(next_page_link, custom_headers).value! end # @@ -996,12 +989,11 @@ def list_routes_table_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_routes_table_next_async(next_page_link, custom_headers:nil) + def list_routes_table_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1056,8 +1048,8 @@ def list_routes_table_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitsStatsListResult] operation results. # - def list_stats_next(next_page_link, custom_headers:nil) - response = list_stats_next_async(next_page_link, custom_headers:custom_headers).value! + def list_stats_next(next_page_link, custom_headers = nil) + response = list_stats_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1072,8 +1064,8 @@ def list_stats_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_stats_next_with_http_info(next_page_link, custom_headers:nil) - list_stats_next_async(next_page_link, custom_headers:custom_headers).value! + def list_stats_next_with_http_info(next_page_link, custom_headers = nil) + list_stats_next_async(next_page_link, custom_headers).value! end # @@ -1087,12 +1079,11 @@ def list_stats_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_stats_next_async(next_page_link, custom_headers:nil) + def list_stats_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1146,8 +1137,8 @@ def list_stats_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1161,8 +1152,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1175,12 +1166,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1234,8 +1224,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1249,8 +1239,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1263,12 +1253,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1325,12 +1314,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitsArpTableListResult] which provide lazy access to # pages of the response. # - def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_arp_table_next_async(next_page_link, custom_headers:custom_headers) + list_arp_table_next_async(next_page_link, custom_headers) end page end @@ -1349,12 +1338,12 @@ def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil # @return [ExpressRouteCircuitsRoutesTableListResult] which provide lazy access # to pages of the response. # - def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_routes_table_next_async(next_page_link, custom_headers:custom_headers) + list_routes_table_next_async(next_page_link, custom_headers) end page end @@ -1372,12 +1361,12 @@ def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers: # @return [ExpressRouteCircuitsStatsListResult] which provide lazy access to # pages of the response. # - def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_stats_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_stats_next_async(next_page_link, custom_headers:custom_headers) + list_stats_next_async(next_page_link, custom_headers) end page end @@ -1393,12 +1382,12 @@ def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1413,12 +1402,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_service_providers.rb index 2588602486..aeb0e2acc6 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_service_providers.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,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 # @@ -54,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/load_balancers.rb index df0d2664b3..1aa954f9bd 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame 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::Network::Mgmt::V2015_06_15::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/local_network_gateways.rb index 7244197fcd..3b102318ca 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/local_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni 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(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -305,8 +303,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -323,8 +321,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -349,12 +347,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name 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::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -421,8 +420,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -437,8 +436,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -452,7 +451,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -460,7 +459,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -505,8 +503,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -520,8 +518,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -534,12 +532,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -593,12 +590,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/address_space.rb index 902ee7733e..3bc515cb9e 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway.rb index 199dffed3a..80acfd4476 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway.rb @@ -81,7 +81,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -89,7 +88,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -97,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -106,7 +103,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -115,7 +111,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -123,13 +118,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: { @@ -139,7 +132,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -148,7 +140,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -157,13 +148,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -174,13 +163,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -191,13 +178,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -208,13 +193,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -225,13 +208,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -242,13 +223,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -259,13 +238,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -276,13 +253,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -293,13 +268,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -310,13 +283,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -327,7 +298,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -335,7 +305,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -343,7 +312,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 252fcb0d81..2e64496bbd 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 4d3b66361f..01f99158fe 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -38,7 +38,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 1401e63ff9..c1c55a8af1 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -51,7 +51,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index b7224f6e0a..03ddf1e7c5 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -47,7 +47,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 6a9ca4f54c..cf92baf3b0 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 393b9a17e0..dfecdc4a54 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -53,7 +53,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 544d88963e..2b15c89d37 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 4481410cc5..a5627118eb 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index cd436c5592..b56912eac3 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -40,7 +40,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,13 +54,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_probe.rb index 32f9fc9faa..9ad1943f40 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -57,7 +57,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -89,7 +85,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -105,7 +99,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 747a04aacb..c7f2b60ba5 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -51,7 +51,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_sku.rb index 6d674498f9..ee91b440ac 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -32,7 +32,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index b15f7dbad7..9f1f5f5635 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -43,7 +43,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 6115077229..4f7794a1bc 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -44,7 +44,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/authorization_list_result.rb index d70be35676..3f43738a99 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 5dc76fabeb..a38c45810a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/backend_address_pool.rb index f62dfcde6f..7f880c1690 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,13 +57,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -76,14 +72,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRule', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -119,7 +110,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb index f0d84ad8e6..87f6ec1735 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb @@ -31,7 +31,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 156b6555fd..4d01e99670 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: false, serialized_name: 'keyLength', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key.rb index 04db6386c5..814141a3f8 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key_result.rb index 98641569b8..79c5977d26 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key_result.rb @@ -22,7 +22,6 @@ class ConnectionSharedKeyResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKeyResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKeyResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dhcp_options.rb index 9cd7da8b54..b856c247bf 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 73e6c69b8f..100cc29b72 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error.rb index 8ba950f07b..863938e52e 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error.rb @@ -34,7 +34,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error_details.rb index 0d833f14f3..f47ee9609c 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error_details.rb @@ -28,7 +28,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit.rb index 8a28a16df7..88f0183651 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -57,7 +57,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -99,13 +94,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: { @@ -115,7 +108,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -132,7 +123,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -140,13 +130,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -157,13 +145,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -174,7 +160,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -182,7 +167,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -199,7 +182,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -207,7 +189,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 824cb6262d..ddbbe17f65 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 3ad58a2c51..46856cfdee 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 6cc7b55158..27575a918b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index f626665d7a..be2385fc02 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -73,7 +73,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -97,7 +94,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -105,7 +101,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -113,7 +108,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -121,7 +115,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -129,7 +122,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -137,7 +129,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -178,7 +165,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -187,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -203,7 +187,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 93b96531a6..1e24a72ca0 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index b1340c0518..8c4e3c10a1 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index cd9964dc61..c494699f60 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -33,7 +33,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'nextHopType', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, next_hop_ip: { - client_side_validation: true, required: false, serialized_name: 'nextHopIP', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, serialized_name: 'asPath', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index dfb793bda5..492a2baede 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 3b4e663b59..684dd8264a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index ba84281c4f..16e2cc5cde 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { bytes_in: { - client_side_validation: true, required: false, serialized_name: 'bytesIn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, bytes_out: { - client_side_validation: true, required: false, serialized_name: 'bytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index a11d9f1897..bc110259a6 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 02bc594fce..0ed7f916ca 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb index 34a029bdc2..8ac062590e 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsStatsListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsStatsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStatsElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider.rb index 95f48f69a9..dc5d132af4 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 3bd6f515c5..2c476f9c99 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index af615ad2f5..94f2f6c455 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index aad321b2fb..297fd4cdde 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -61,7 +61,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,13 +75,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -94,13 +90,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -111,13 +105,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -128,13 +120,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -161,7 +149,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -170,7 +157,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_pool.rb index ddf59b814b..dca4a3bfd6 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -53,7 +53,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 0e34c7f068..ddd49bfe3f 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -66,7 +66,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,7 +80,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -91,7 +88,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfiguration', type: { @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/ipconfiguration.rb index 3de8042498..465503cf2c 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer.rb index 535c5838f6..51aaa194a7 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer.rb @@ -69,7 +69,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -85,7 +83,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -94,7 +91,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -103,7 +99,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -111,13 +106,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: { @@ -127,13 +120,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -144,13 +135,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -161,13 +150,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -178,13 +165,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -195,13 +180,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -212,13 +195,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -229,13 +210,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -246,7 +225,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -254,7 +232,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -262,7 +239,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer_list_result.rb index df63bfcdda..6b775d2be0 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancing_rule.rb index 408da51c12..de5186aa49 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -73,7 +73,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -107,7 +103,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway.rb index 66cbf182f4..8aff0f06d1 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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: false, 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() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -140,7 +128,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index e454ed0b88..8703fa9088 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface.rb index fda2ec3873..460175e5d6 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface.rb @@ -57,7 +57,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -99,13 +94,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: { @@ -115,7 +108,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -133,13 +124,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -159,7 +147,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -199,7 +182,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 50a65f3293..ffd6f776e0 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -39,7 +39,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -47,13 +46,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -63,13 +60,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index c8ca3b3057..4ee6f1941f 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -31,6 +31,10 @@ class NetworkInterfaceIPConfiguration < SubResource # @return [Subnet] attr_accessor :subnet + # @return [Boolean] Gets whether this is a primary customer address on + # the network interface. + attr_accessor :primary + # @return [PublicIPAddress] attr_accessor :public_ipaddress @@ -52,7 +56,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -60,7 +63,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,13 +70,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -85,13 +85,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -126,8 +121,14 @@ def self.mapper() class_name: 'Subnet' } }, + primary: { + required: false, + serialized_name: 'properties.primary', + type: { + name: 'Boolean' + } + }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -136,7 +137,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -144,7 +144,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -152,7 +151,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_list_result.rb index 8ccf2a3293..c488c0c26b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group.rb index d018560013..a42525290e 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,13 +127,11 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -155,13 +142,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -172,7 +157,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -180,7 +164,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -188,7 +171,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group_list_result.rb index df43dbe62e..b89b4213b8 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/outbound_nat_rule.rb index afad8ce58d..759bada14c 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/probe.rb index abb1ede4cf..212205e38b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,13 +78,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress.rb index 2d0518ebc3..048132cb06 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -48,7 +48,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +70,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -82,7 +78,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -90,13 +85,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: { @@ -106,7 +99,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfiguration', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -132,7 +122,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -140,7 +129,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -148,7 +136,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -164,7 +150,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 78500c0a5d..52258a79b8 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index 340384fd8a..237a37b510 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/resource.rb index a88270ef18..7c4351191a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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_network/lib/2015-06-15/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route.rb index aa3362fe62..68942a1433 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_list_result.rb index 1badd54f15..1a1b6fca75 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table.rb index cdf12e2309..62b957deef 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,13 +100,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -126,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +122,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table_list_result.rb index 8c7ca820ba..f658c35c0b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule.rb index d0eca1cd9d..5fda12381a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule.rb @@ -76,7 +76,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -84,7 +83,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -92,7 +90,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -100,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -108,7 +104,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule_list_result.rb index 78d1f659f7..056b6ea2b7 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/sub_resource.rb index 2bf109c470..40a63313ab 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet.rb index 5f27819a96..7ee8609b0f 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet.rb @@ -44,7 +44,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -86,13 +81,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -119,7 +110,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet_list_result.rb index 5c387ef7b0..a41a03a3fd 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage.rb index 8e7de31ced..6e944c8e4e 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage_name.rb index dad9a3be92..83ba776739 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usages_list_result.rb index 7eecff8ec7..0930a28f7f 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network.rb index bfd84d4bb8..e8fd13d6f8 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network.rb @@ -42,7 +42,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -67,7 +64,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -76,7 +72,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -84,13 +79,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: { @@ -100,7 +93,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -118,13 +109,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -135,7 +124,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -143,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -151,7 +138,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 9ac1c0647d..4279e94fba 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -67,7 +67,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -75,7 +74,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -83,7 +81,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -92,7 +89,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -101,7 +97,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -109,13 +104,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: { @@ -125,13 +118,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -142,7 +133,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -150,7 +140,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -158,7 +147,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -166,7 +154,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -184,7 +170,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -193,7 +178,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -202,7 +186,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -210,7 +193,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -218,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 79af07da09..ce09c025c1 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -74,7 +74,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -82,7 +81,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -90,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -99,7 +96,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -108,7 +104,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -116,13 +111,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: { @@ -132,7 +125,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -149,7 +140,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -158,7 +148,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -167,7 +156,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionType', type: { @@ -175,7 +163,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -183,7 +170,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -191,7 +177,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionStatus', type: { @@ -199,7 +184,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.egressBytesTransferred', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.ingressBytesTransferred', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -224,7 +206,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -232,7 +213,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -240,7 +220,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -248,7 +227,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index 7a8e87e50a..da8beb6dfd 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index f51a411bdf..c914a8d6c7 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -46,7 +46,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 64a06599d7..f3512bccac 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index 9d02c6916c..46e362b47b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 43e58c1386..8a2cfccd3a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 8be7a6d29f..fa02a3f1d3 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 0dbb400109..690d2448dc 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -24,7 +24,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'ProcessorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 812b0d6433..a688d33e29 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index c9f7481517..b5a9627eb6 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_interfaces.rb index 011a9c5b69..dbf2156c6a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_interfaces.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -385,8 +382,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -403,8 +400,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -420,7 +417,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -429,7 +426,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -485,8 +481,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -501,8 +497,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -516,7 +512,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -524,7 +520,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -583,8 +578,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -602,8 +597,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -620,7 +615,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -630,7 +625,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -699,8 +693,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -713,7 +707,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -721,7 +715,6 @@ def begin_delete_async(resource_group_name, network_interface_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 @@ -768,8 +761,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -785,8 +778,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -801,7 +794,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -810,12 +803,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa 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::Network::Mgmt::V2015_06_15::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -882,8 +876,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -897,8 +891,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -911,12 +905,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -970,8 +963,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -985,8 +978,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -999,12 +992,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1059,8 +1051,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1075,8 +1067,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1090,12 +1082,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1149,8 +1140,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1164,8 +1155,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1178,12 +1169,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1236,12 +1226,12 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1257,12 +1247,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1282,12 +1272,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1305,12 +1295,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb index 09abad8814..d07b25d7d8 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb @@ -176,9 +176,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? @@ -199,8 +196,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -215,8 +212,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -230,14 +227,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -289,7 +285,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2015_06_15::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2015_06_15::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_security_groups.rb index b2d7c27772..64f99af178 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_security_groups.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +227,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +312,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +325,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +386,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -405,8 +402,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -420,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +425,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +490,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +589,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +604,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +618,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +691,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +705,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +762,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +783,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/public_ipaddresses.rb index bc12d63977..c64ef519b0 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/public_ipaddresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, public_ip_address_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 @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa 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::Network::Mgmt::V2015_06_15::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/route_tables.rb index e6b3394907..1e47da0b48 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -223,8 +222,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -236,14 +235,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +294,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -309,8 +307,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -321,13 +319,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, route_table_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 @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete 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::Network::Mgmt::V2015_06_15::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -755,12 +750,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/routes.rb index 717539e565..53a9a48993 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, route_table_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 @@ -307,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na 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::Network::Mgmt::V2015_06_15::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -600,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/security_rules.rb index 6291cc266c..f1b9ac2801 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/security_rules.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -92,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -108,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -117,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -239,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -254,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -262,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -318,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -335,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -351,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -360,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -409,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -428,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -446,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -456,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2015_06_15::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -528,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -557,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -618,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/subnets.rb index 2af14b8fdb..e6e1febb94 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand: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(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -233,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -247,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +254,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -310,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -326,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -341,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -350,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -433,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -443,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn 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::Network::Mgmt::V2015_06_15::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -515,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/usages.rb index 56e7707c65..c86bc5ed67 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -149,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -208,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..37ed285886 --- /dev/null +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/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::Network::Mgmt::V2015_06_15 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 72d9e7a4ef..2cebc923e5 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -52,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -81,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -97,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust 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(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -189,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKeyResult] operation results. # - def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! response.body unless response.nil? end @@ -236,8 +235,8 @@ def get_shared_key(resource_group_name, connection_shared_key_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers:nil) - get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers = nil) + get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! end # @@ -253,7 +252,7 @@ def get_shared_key_with_http_info(resource_group_name, connection_shared_key_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'connection_shared_key_name is nil' if connection_shared_key_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -261,7 +260,6 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +314,8 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -331,8 +329,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -345,14 +343,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -414,8 +411,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -432,9 +429,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -466,8 +463,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -484,9 +481,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -516,8 +513,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,8 +532,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -553,7 +550,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -562,12 +559,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -634,8 +632,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -650,8 +648,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -665,7 +663,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -673,7 +671,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -725,8 +722,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -747,8 +744,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -768,7 +765,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -777,12 +774,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -845,8 +843,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -866,8 +864,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -886,7 +884,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -895,12 +893,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn 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::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -968,8 +967,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -984,8 +983,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -999,12 +998,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1059,12 +1057,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateways.rb index a5a62c8150..8edab8b5b3 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: 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(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -306,8 +304,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -323,9 +321,9 @@ def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -355,8 +353,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -374,8 +372,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -392,7 +390,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -401,12 +399,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ 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::Network::Mgmt::V2015_06_15::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -441,7 +440,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -473,8 +471,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -491,8 +489,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -508,7 +506,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -517,12 +515,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na 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::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -589,8 +588,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -605,8 +604,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -620,7 +619,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -628,7 +627,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -677,8 +675,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -696,8 +694,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -714,7 +712,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -723,12 +721,13 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet 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::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -785,8 +784,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -800,8 +799,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -814,12 +813,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -873,12 +871,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_networks.rb index a80ad5a7fe..acd5858d26 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para 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::Network::Mgmt::V2015_06_15::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/application_gateways.rb index 886a8f7ff5..3fe46b7eeb 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/application_gateways.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, application_gateway_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 @@ -167,8 +166,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +210,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,8 +299,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -328,13 +326,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -388,8 +385,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -402,9 +399,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -427,8 +424,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -441,9 +438,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -467,8 +464,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -483,8 +480,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -498,7 +495,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -506,7 +503,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -553,8 +549,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -570,8 +566,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -586,7 +582,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -595,12 +591,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, 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::Network::Mgmt::V2016_03_30::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -683,8 +680,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -698,7 +695,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -706,7 +703,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -751,8 +747,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -767,8 +763,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -782,7 +778,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -790,7 +786,6 @@ def begin_stop_async(resource_group_name, application_gateway_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 @@ -836,8 +831,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -852,8 +847,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -867,12 +862,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,8 +921,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -943,8 +937,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -958,12 +952,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1018,12 +1011,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1039,12 +1032,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 8b2e89ca9f..fb70431156 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_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 @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio 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::Network::Mgmt::V2016_03_30::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 3ee42d783e..1721adf0a4 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_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 @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name 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::Network::Mgmt::V2016_03_30::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuits.rb index a763c5e1d5..738a5e4c11 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuits.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, circuit_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 @@ -167,8 +166,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -231,9 +230,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -263,8 +262,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -279,9 +278,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -311,8 +310,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -327,9 +326,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -356,8 +355,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -372,8 +371,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -387,7 +386,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -395,7 +394,6 @@ def get_stats_async(resource_group_name, circuit_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 @@ -452,8 +450,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -469,8 +467,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -485,7 +483,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -494,7 +492,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -549,8 +546,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -564,8 +561,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -578,14 +575,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -639,8 +635,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -653,8 +649,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -666,13 +662,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -727,8 +722,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -743,8 +738,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -758,7 +753,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -766,7 +761,6 @@ def begin_delete_async(resource_group_name, circuit_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 @@ -813,8 +807,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -830,8 +824,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -846,7 +840,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -855,12 +849,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, 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::Network::Mgmt::V2016_03_30::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -931,8 +926,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -950,8 +945,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -968,7 +963,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -978,7 +973,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1037,8 +1031,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1056,8 +1050,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1074,7 +1068,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1084,7 +1078,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1143,8 +1136,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1162,8 +1155,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1180,7 +1173,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1190,7 +1183,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1246,8 +1238,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1262,8 +1254,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1277,12 +1269,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1337,8 +1328,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1353,8 +1344,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1368,12 +1359,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1428,12 +1418,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1449,12 +1439,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_service_providers.rb index 9569ad8660..49a7799a61 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_service_providers.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -44,8 +44,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 # @@ -57,13 +57,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -119,8 +118,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +134,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -150,12 +149,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -209,12 +207,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/load_balancers.rb index 86d767f988..84645b3d89 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +168,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +184,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -239,13 +238,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -329,14 +327,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -390,8 +387,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -405,8 +402,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -419,7 +416,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -427,7 +424,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -474,8 +470,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -491,8 +487,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -507,7 +503,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -516,12 +512,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame 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::Network::Mgmt::V2016_03_30::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -589,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -605,8 +602,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -620,12 +617,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -696,8 +692,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -711,12 +707,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -770,12 +765,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -792,12 +787,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/local_network_gateways.rb index 1163ae511b..64191fb66a 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/local_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -337,8 +335,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -356,7 +354,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -365,12 +363,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name 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::Network::Mgmt::V2016_03_30::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -438,8 +437,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -455,8 +454,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -471,7 +470,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +478,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -525,8 +523,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -541,8 +539,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -556,12 +554,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -616,12 +613,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/address_space.rb index 0207e31f30..0491435de1 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway.rb index 6c57f85ac0..46ddcaeb7a 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway.rb @@ -80,7 +80,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -96,7 +94,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -105,7 +102,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -114,7 +110,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -122,13 +117,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: { @@ -138,7 +131,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -147,7 +139,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -156,13 +147,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -173,13 +162,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -190,13 +177,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -207,13 +192,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -224,13 +207,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -241,13 +222,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -258,13 +237,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -275,13 +252,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -292,13 +267,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -309,13 +282,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -326,7 +297,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -334,7 +304,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -342,7 +311,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index b5b1df3197..1b60a38e99 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 6ab59bb4cd..7930b21f91 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -39,7 +39,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,13 +53,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -89,7 +83,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -105,7 +97,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 25bfaf0379..8e97ed5134 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -49,7 +49,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -89,7 +84,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 9a12af7440..bc036af2fd 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -47,7 +47,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 1b8c9a3b86..530f7bd347 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 4e31c22d3a..6edee6f9a0 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -54,7 +54,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -96,7 +91,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index eeb95823eb..3df12e2fd4 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 5a66b1a237..02aa1ec89d 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 795bd44ed3..3fd676ab00 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -42,7 +42,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,13 +56,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_probe.rb index 7df7f3eb13..3a284358e4 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -50,7 +50,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -130,7 +120,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index fc6561bb9f..297752d5dc 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -51,7 +51,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_sku.rb index 3aaa10fb37..739a99dea3 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -32,7 +32,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index 7d7a93e58a..09e95f5f98 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -40,7 +40,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index d5532b409e..b1b2bc6ea8 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -43,7 +43,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/authorization_list_result.rb index 38493bb512..5375dc31df 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 2a3e6b0838..553d18b3c7 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -33,7 +33,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb index 1c8bb008a0..7b616a7b78 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,13 +57,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -76,13 +72,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRule', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/bgp_settings.rb index 3a7696b8b2..0f3e1c0461 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/bgp_settings.rb @@ -31,7 +31,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 3c552b7a7c..bb80c7bb2f 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: false, serialized_name: 'keyLength', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key.rb index f111a87d22..7cca9c669c 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key_result.rb index e979e82ae1..2ad9d79d78 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key_result.rb @@ -22,7 +22,6 @@ class ConnectionSharedKeyResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKeyResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKeyResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb index f99e7633dd..8eafb181c4 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 106d4b7e99..00cd749add 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error.rb index fbb577935b..8567f8cfa2 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error_details.rb index da79aee84b..a4ae5f0894 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit.rb index 93d6a2c939..7e4b70b0fd 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -61,7 +61,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -136,7 +127,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -144,7 +134,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -152,13 +141,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -169,13 +156,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -186,7 +171,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -194,7 +178,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -202,7 +185,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -219,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 9701aa649f..2855023cf9 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 24b0182a99..3e42634fb1 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -38,7 +38,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index f4c567cd33..ae4730fd15 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 33cbda1f34..d5c2371da5 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -71,7 +71,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -79,7 +78,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -87,7 +85,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -95,7 +92,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -103,7 +99,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -111,7 +106,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -119,7 +113,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -127,7 +120,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -135,7 +127,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -143,7 +134,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -151,7 +141,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -159,7 +148,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -167,7 +155,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -176,7 +163,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -193,7 +178,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -201,7 +185,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 6a4da0a845..6e2e95592e 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index a9165a10a6..f2da566f7e 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 09284b3bf9..caf2a9deb8 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index c23efbafe0..badda23c66 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index e8d027cf7c..c0f95ececc 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 44d067da7b..279e7259a2 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -30,7 +30,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 52ca0f47bb..010a9a76b8 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 59923824a3..20aee6d5e1 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index fd39d18eda..ec078f89df 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index 5b07280c45..a88d74ebe8 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider.rb index cbf5cc85c7..a811e348d1 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index e8fe0066cf..53a60db84c 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index b1a83e1824..7197dac4fc 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index 1943a686a3..7aa3fa13a0 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -62,7 +62,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -70,7 +69,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -78,13 +76,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,13 +91,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -112,13 +106,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -129,13 +121,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -162,7 +150,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -180,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 79db380166..c83e259075 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -61,7 +61,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -94,7 +90,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -110,7 +104,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -118,7 +111,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb index d78a8a8ffb..54884b40fb 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -73,7 +73,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfiguration', type: { @@ -107,7 +103,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -115,7 +110,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -123,7 +117,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -131,7 +124,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -139,7 +131,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -147,7 +138,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -155,7 +145,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -163,7 +152,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb index d149d2602e..a9fe15a105 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -46,7 +46,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer.rb index 2eb09d6a06..297926f2d9 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer.rb @@ -54,7 +54,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,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: { @@ -112,13 +105,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -146,13 +135,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -163,13 +150,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -180,13 +165,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -197,13 +180,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -214,13 +195,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -231,7 +210,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -239,7 +217,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -247,7 +224,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer_list_result.rb index 677b095295..2ec9575c67 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancing_rule.rb index c9e05b932e..e567ec9933 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -80,7 +80,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -96,7 +94,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -105,7 +102,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -114,7 +110,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -131,7 +125,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -139,7 +132,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -147,7 +139,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -155,7 +146,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -163,7 +153,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -187,7 +174,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway.rb index b3b18c9ef6..00df012668 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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: false, 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() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -140,7 +128,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index a91770b7f6..d2471e6c56 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface.rb index 4eecbc6102..b92ef19404 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface.rb @@ -57,7 +57,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -99,13 +94,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: { @@ -115,7 +108,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -133,13 +124,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -159,7 +147,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -199,7 +182,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index ef9829d741..b120e3b36d 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -35,7 +35,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 70a1d74942..e703cafbd3 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -63,7 +63,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,13 +77,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -96,13 +92,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -113,13 +107,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -180,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb index e3d8df8c3d..f3c6fb98ab 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group.rb index e6235f36a6..2e275ce237 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,13 +127,11 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -155,13 +142,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -172,7 +157,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -180,7 +164,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -188,7 +171,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group_list_result.rb index 7d4bfe5365..16f9bd9aaf 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/outbound_nat_rule.rb index c5d42e9add..8b50af33ad 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -44,7 +44,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -68,13 +65,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/probe.rb index a157e92eb8..ee87378cd0 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,13 +78,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb index 7d97f81a5a..a4226987fe 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -52,7 +52,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,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: { @@ -110,7 +103,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfiguration', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -144,7 +133,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -152,7 +140,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -160,7 +147,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -168,7 +154,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -176,7 +161,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 0a5d2822d0..ecbaf6c3e5 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index 59f239543d..0dd421c40c 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/resource.rb index 81523f4a2d..e149ef1c29 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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_network/lib/2016-03-30/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route.rb index 6f93da4b46..8573c003ec 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_list_result.rb index 8aa052f60b..91f396cb46 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table.rb index 182c780700..197885f084 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table.rb @@ -33,7 +33,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -75,13 +70,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: { @@ -91,13 +84,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -108,13 +99,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -125,7 +114,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -133,7 +121,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table_list_result.rb index c27979d20a..eb0c4a0f50 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule.rb index 6b818e223a..81b281566a 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule.rb @@ -79,7 +79,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -119,7 +114,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -127,7 +121,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -135,7 +128,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -143,7 +135,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -167,7 +156,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +163,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -183,7 +170,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule_list_result.rb index e27341f404..9b06589a93 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/sub_resource.rb index 9bcd855fbf..6d38f3dce5 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet.rb index 9204c17426..97203b21ee 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet.rb @@ -46,7 +46,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet_list_result.rb index a4aac7c7b7..1f17bb178a 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage.rb index f9b51f6ea0..d00562ba0b 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage_name.rb index 7b6b0e985a..f0441fdc9c 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage_name.rb @@ -26,7 +26,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usages_list_result.rb index 041c0f1703..f9b21bfb79 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usages_list_result.rb @@ -22,7 +22,6 @@ class UsagesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network.rb index ef336926d4..c7c4a25c97 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network.rb @@ -43,7 +43,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -68,7 +65,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -77,7 +73,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -85,13 +80,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: { @@ -101,7 +94,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -119,13 +110,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -136,7 +125,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -144,7 +132,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -152,7 +139,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 8c6818a11f..f363c9bb9b 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -65,7 +65,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -90,7 +87,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -99,7 +95,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -107,13 +102,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: { @@ -123,13 +116,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -164,7 +152,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -173,7 +160,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -182,7 +168,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -200,7 +184,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -208,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -216,7 +198,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 7949eed49a..a7811ea2ee 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -71,7 +71,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -79,7 +78,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -87,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -96,7 +93,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -105,7 +101,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -113,13 +108,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: { @@ -129,7 +122,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -137,7 +129,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -146,7 +137,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -155,7 +145,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionType', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -188,7 +174,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionStatus', type: { @@ -196,7 +181,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.egressBytesTransferred', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.ingressBytesTransferred', type: { @@ -212,7 +195,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -229,7 +210,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -237,7 +217,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -245,7 +224,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index cbb0ba0645..f823d56afd 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 3b4912b26b..c89c0dab43 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -46,7 +46,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 412bcd29c7..c3e4238b2b 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index b444e78a76..0c8c1df912 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_list_result.rb index b90198146d..ef1640fd5c 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 07fcd9e7b9..90bd5ad5ac 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 6ff0bb6fa4..0d9b564d4a 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -23,7 +23,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'ProcessorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 6a2e82b19d..a07ee03644 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index a51b8ff942..197153f8a1 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -34,7 +34,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_interfaces.rb index 7b235a3f1b..95d089cf76 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_interfaces.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +168,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +184,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -216,8 +215,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -234,8 +233,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -251,7 +250,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -260,7 +259,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -334,8 +332,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -350,7 +348,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -358,7 +356,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -418,8 +415,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -438,8 +435,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -457,7 +454,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -467,7 +464,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -521,8 +517,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -535,8 +531,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -548,13 +544,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,8 +604,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -624,8 +619,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -638,14 +633,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -699,8 +693,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -714,8 +708,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -728,7 +722,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -736,7 +730,6 @@ def begin_delete_async(resource_group_name, network_interface_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 @@ -783,8 +776,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -800,8 +793,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -816,7 +809,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -825,12 +818,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa 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::Network::Mgmt::V2016_03_30::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -898,8 +892,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -914,8 +908,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -929,12 +923,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -989,8 +982,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1005,8 +998,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1020,12 +1013,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1080,8 +1072,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1096,8 +1088,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1111,12 +1103,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1171,8 +1162,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1187,8 +1178,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1202,12 +1193,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1265,12 +1255,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1279,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1310,12 +1300,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1332,12 +1322,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb index 2a1bbc7f39..04c5ad2f9f 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb @@ -176,9 +176,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? @@ -199,8 +196,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -215,8 +212,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -230,14 +227,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -289,7 +285,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2016_03_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2016_03_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_security_groups.rb index 894c728596..7f2b4768ae 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_security_groups.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +93,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -110,7 +110,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -118,7 +118,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +176,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -248,13 +247,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +307,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -324,8 +322,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -338,14 +336,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +398,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -418,8 +415,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -434,7 +431,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -442,7 +439,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -491,8 +487,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -510,8 +506,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -528,7 +524,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -537,12 +533,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2016_03_30::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -610,8 +607,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -626,8 +623,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -641,12 +638,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +697,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -717,8 +713,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -732,12 +728,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -791,12 +786,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -813,12 +808,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/public_ipaddresses.rb index 5ecb942457..a80d375de3 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/public_ipaddresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,8 +299,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -316,8 +314,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -330,14 +328,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -391,8 +388,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -406,8 +403,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -420,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +425,6 @@ def begin_delete_async(resource_group_name, public_ip_address_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 @@ -476,8 +472,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +490,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -511,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa 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::Network::Mgmt::V2016_03_30::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -593,8 +590,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -609,8 +606,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -624,12 +621,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +680,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -700,8 +696,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -715,12 +711,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -774,12 +769,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -796,12 +791,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/route_tables.rb index dd6f231879..98d4f8c497 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -313,8 +311,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -325,13 +323,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -385,8 +382,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -400,8 +397,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -414,7 +411,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -422,7 +419,6 @@ def begin_delete_async(resource_group_name, route_table_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 @@ -470,8 +466,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -488,8 +484,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -505,7 +501,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -514,12 +510,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete 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::Network::Mgmt::V2016_03_30::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -586,8 +583,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -601,8 +598,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -615,12 +612,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -674,8 +670,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -689,8 +685,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -703,12 +699,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -782,12 +777,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/routes.rb index e1792c6ca7..6b0f0ecd77 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: 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(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +218,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -250,7 +249,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +257,6 @@ def list_async(resource_group_name, route_table_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 @@ -313,8 +311,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -329,8 +327,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -344,7 +342,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -353,7 +351,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +398,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +416,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -436,7 +433,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -446,12 +443,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na 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::Network::Mgmt::V2016_03_30::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -519,8 +517,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -550,12 +548,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -610,12 +607,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/security_rules.rb index fa509ba772..9b41fc9e04 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/security_rules.rb @@ -32,8 +32,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -48,9 +48,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -77,8 +77,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +95,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -121,7 +121,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -181,8 +180,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -199,9 +198,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -229,8 +228,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -246,8 +245,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -262,7 +261,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -270,7 +269,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -327,8 +325,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -345,8 +343,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -362,7 +360,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -371,7 +369,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -421,8 +418,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -441,8 +438,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -460,7 +457,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -470,12 +467,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2016_03_30::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -543,8 +541,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -559,8 +557,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -574,12 +572,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -636,12 +633,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/subnets.rb index 8e936b7042..135c0ded28 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand: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(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -191,9 +190,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +218,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -234,8 +233,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -248,7 +247,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -256,7 +255,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -311,8 +309,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -327,8 +325,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -342,7 +340,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -351,7 +349,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -400,8 +397,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +416,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -437,7 +434,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -447,12 +444,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn 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::Network::Mgmt::V2016_03_30::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -519,8 +517,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -534,8 +532,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -548,12 +546,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -608,12 +605,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/usages.rb index 575f40874a..6d07bfe9b6 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsagesListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_network/lib/2016-03-30/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..f2380b9648 --- /dev/null +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/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::Network::Mgmt::V2016_03_30 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 2ab0630bb7..6923e27c33 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +55,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -86,8 +86,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -104,8 +104,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -121,7 +121,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -129,7 +129,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -184,8 +183,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -199,9 +198,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -228,8 +227,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKeyResult] operation results. # - def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! response.body unless response.nil? end @@ -246,8 +245,8 @@ def get_shared_key(resource_group_name, connection_shared_key_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers:nil) - get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers = nil) + get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! end # @@ -263,7 +262,7 @@ def get_shared_key_with_http_info(resource_group_name, connection_shared_key_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'connection_shared_key_name is nil' if connection_shared_key_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -271,7 +270,6 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -326,8 +324,8 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -341,8 +339,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -355,14 +353,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -424,8 +421,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -442,9 +439,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -476,8 +473,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,9 +491,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -528,8 +525,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -549,8 +546,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -569,7 +566,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -578,12 +575,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2016_03_30::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -651,8 +649,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -668,8 +666,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -684,7 +682,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -692,7 +690,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -744,8 +741,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -766,8 +763,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -787,7 +784,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -796,12 +793,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2016_03_30::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -864,8 +862,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -885,8 +883,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -905,7 +903,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -914,12 +912,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn 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::Network::Mgmt::V2016_03_30::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -987,8 +986,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1003,8 +1002,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1018,12 +1017,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1078,12 +1076,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateways.rb index a6980e1a23..5825b28daf 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -334,9 +332,9 @@ def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -368,8 +366,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -389,8 +387,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -409,7 +407,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -418,12 +416,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ 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::Network::Mgmt::V2016_03_30::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -458,7 +457,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -492,8 +490,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -512,8 +510,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -531,7 +529,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -540,12 +538,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na 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::Network::Mgmt::V2016_03_30::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -613,8 +612,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -630,8 +629,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -646,7 +645,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +653,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -704,8 +702,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -724,8 +722,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -743,7 +741,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -752,12 +750,13 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet 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::Network::Mgmt::V2016_03_30::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -815,8 +814,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -831,8 +830,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -846,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -906,12 +904,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_networks.rb index 2e6d7b781c..1bd28aaf4e 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -225,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -237,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -297,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -311,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -324,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -385,8 +382,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -400,8 +397,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -414,7 +411,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -422,7 +419,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -470,8 +466,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -488,8 +484,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -505,7 +501,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -514,12 +510,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para 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::Network::Mgmt::V2016_03_30::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -586,8 +583,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -601,8 +598,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -615,12 +612,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -674,8 +670,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -689,8 +685,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -703,12 +699,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -761,12 +756,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -782,12 +777,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/application_gateways.rb index 358aa09fe7..a0107e2771 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/application_gateways.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, application_gateway_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 @@ -167,8 +166,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +210,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,8 +299,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -328,13 +326,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -388,8 +385,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -402,9 +399,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -427,8 +424,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -441,9 +438,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -467,8 +464,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -483,8 +480,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -498,7 +495,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -506,7 +503,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -553,8 +549,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -570,8 +566,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -586,7 +582,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -595,12 +591,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, 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::Network::Mgmt::V2016_06_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -683,8 +680,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -698,7 +695,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -706,7 +703,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -751,8 +747,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -767,8 +763,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -782,7 +778,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -790,7 +786,6 @@ def begin_stop_async(resource_group_name, application_gateway_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 @@ -836,8 +831,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -852,8 +847,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -867,12 +862,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,8 +921,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -943,8 +937,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -958,12 +952,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1018,12 +1011,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1039,12 +1032,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 3ca8f13546..d28d4cdaf4 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_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 @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio 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::Network::Mgmt::V2016_06_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 3cd95961e6..2bca9fd951 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_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 @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name 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::Network::Mgmt::V2016_06_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuits.rb index 4ea0db7214..f816a3757c 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, circuit_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 @@ -167,8 +166,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -231,9 +230,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -263,8 +262,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -279,9 +278,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -311,8 +310,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -327,9 +326,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -356,8 +355,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -372,8 +371,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -387,7 +386,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -395,7 +394,6 @@ def get_stats_async(resource_group_name, circuit_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 @@ -452,8 +450,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -469,8 +467,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -485,7 +483,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -494,7 +492,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -549,8 +546,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -564,8 +561,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -578,14 +575,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -639,8 +635,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -653,8 +649,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -666,13 +662,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -727,8 +722,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -743,8 +738,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -758,7 +753,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -766,7 +761,6 @@ def begin_delete_async(resource_group_name, circuit_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 @@ -813,8 +807,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -830,8 +824,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -846,7 +840,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -855,12 +849,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, 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::Network::Mgmt::V2016_06_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -931,8 +926,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -950,8 +945,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -968,7 +963,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -978,7 +973,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1037,8 +1031,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1056,8 +1050,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1074,7 +1068,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1084,7 +1078,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1143,8 +1136,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1162,8 +1155,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1180,7 +1173,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1190,7 +1183,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1246,8 +1238,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1262,8 +1254,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1277,12 +1269,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1337,8 +1328,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1353,8 +1344,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1368,12 +1359,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1428,12 +1418,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1449,12 +1439,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_service_providers.rb index 52ffb0fccc..856eb9a265 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -44,8 +44,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 # @@ -57,13 +57,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -119,8 +118,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +134,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -150,12 +149,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -209,12 +207,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/load_balancers.rb index 7f7225f234..825c0a5870 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +168,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +184,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -239,13 +238,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -329,14 +327,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -390,8 +387,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -405,8 +402,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -419,7 +416,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -427,7 +424,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -474,8 +470,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -491,8 +487,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -507,7 +503,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -516,12 +512,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame 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::Network::Mgmt::V2016_06_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -589,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -605,8 +602,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -620,12 +617,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -696,8 +692,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -711,12 +707,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -770,12 +765,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -792,12 +787,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/local_network_gateways.rb index 8d0b32bb27..b6439b4c30 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -337,8 +335,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -356,7 +354,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -365,12 +363,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name 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::Network::Mgmt::V2016_06_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -438,8 +437,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -455,8 +454,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -471,7 +470,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +478,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -525,8 +523,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -541,8 +539,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -556,12 +554,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -616,12 +613,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/address_space.rb index cf593505d2..4257c9b515 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway.rb index 6923282b14..501da91b96 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -87,7 +87,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -112,7 +109,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -121,7 +117,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -129,13 +124,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: { @@ -145,7 +138,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -154,7 +146,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -172,13 +162,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -189,13 +177,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -206,13 +192,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -223,13 +207,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -240,13 +222,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -257,13 +237,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -274,13 +252,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -291,13 +267,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -308,13 +282,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -325,13 +297,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -342,13 +312,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -359,7 +327,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -367,7 +334,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -375,7 +341,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index 2c1762e2b5..f243ae9d6b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -35,7 +35,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 9992fb9c16..94fa0bd739 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 77657bd258..8434a2078d 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -38,7 +38,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 4ead6563a9..aa7dd0e4bf 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -52,7 +52,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -92,7 +87,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -100,7 +94,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -109,13 +102,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 72e7638104..92ae3d6755 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -46,7 +46,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 042189bdde..3174e97e95 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index ac1769186e..f180b7c8b1 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -51,7 +51,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index e0691e47e3..db5b341831 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -35,7 +35,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 64e350b11c..e54f534c80 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 621628b509..cb20d5f09e 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -40,7 +40,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,13 +54,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index f8dc90cccd..b61b27cb13 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -50,7 +50,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -130,7 +120,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 5e73b14bb8..22aacbb50a 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -48,7 +48,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 7d334758d6..a54c843326 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index 16c42ec59b..c4d8f87a80 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -40,7 +40,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 4318650d1e..7da99388eb 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -23,7 +23,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 4459c092c8..e9ad2d6630 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -43,7 +43,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 7b09b43418..fc7009c487 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 05c23e9817..60466a12ec 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -33,7 +33,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 892f586857..5b78683dac 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/bgp_settings.rb index 3bb7197614..8effabc653 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -31,7 +31,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 7f885d085e..7902cbd740 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: false, serialized_name: 'keyLength', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 4bc0f244ab..c0ee780d77 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key_result.rb index e18ccc16f5..e52ec54c07 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key_result.rb @@ -22,7 +22,6 @@ class ConnectionSharedKeyResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKeyResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKeyResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dhcp_options.rb index 6d8b2e90ad..e6a5462c1b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index bba3969975..e4f4c27bdc 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 825b0b4c5a..6ae904c46b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -30,7 +30,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -56,13 +53,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 0f0c5287cb..cefeb434b7 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index 187903e0b5..ca1e6c5895 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index e13af25475..ec3546f59c 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -56,7 +56,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -80,7 +77,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -96,7 +91,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -112,13 +105,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -128,13 +119,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -144,7 +133,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -152,7 +140,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -160,7 +147,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route.rb index 7cea9a63b3..1dd1042859 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route.rb @@ -45,7 +45,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index a774953764..2bf23450e1 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error.rb index 613232b7bd..69a2b6e040 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error_details.rb index 381e08883a..751003c22d 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 98de8c21ba..2a97546c64 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -64,7 +64,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,7 +78,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -89,7 +86,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -98,7 +94,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -106,13 +101,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: { @@ -122,7 +115,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -139,7 +130,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -147,7 +137,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -155,13 +144,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -172,13 +159,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -189,7 +174,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -197,7 +181,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -205,7 +188,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -214,7 +196,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -222,7 +203,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -230,7 +210,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 7fd92aa0dc..e6b801f455 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 796aaabd39..1cae5283f9 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -38,7 +38,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 5ee84447a8..5af005967b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 0c9dce2b39..0d230e9cad 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -78,7 +78,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -118,7 +113,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -126,7 +120,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -134,7 +127,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -142,7 +134,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -150,7 +141,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -158,7 +148,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -166,7 +155,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -174,7 +162,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -183,7 +170,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -192,7 +178,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -200,7 +185,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -208,7 +192,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -216,7 +199,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -224,7 +206,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 443c8dcda5..43755d50d0 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index d2e4ed4118..f39b8ccf6e 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index daac2e68be..5486e770d8 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 1d85a354de..32e79cb5ab 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index 86f1d5cc76..3fce9e8b01 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 920364daae..5b02235204 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -30,7 +30,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 4293a53b38..6d068b94dd 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 937ba57ff0..3b5d1eef07 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index f747f09f85..316ac6e984 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index 2632c57fad..b63b4270cd 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 521fab70ac..5bcc62b5c4 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 45e515a0b2..af0e2de3eb 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index c50e86514c..54dfc56170 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index b91845ce1f..b1e47d2adf 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -62,7 +62,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -70,7 +69,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -78,14 +76,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -96,14 +92,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -114,14 +108,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -132,14 +124,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -150,7 +140,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -158,7 +147,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -166,7 +154,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -184,7 +170,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -192,7 +177,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -200,7 +184,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 6d151175a7..f6aebc9572 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -61,7 +61,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -94,7 +90,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -110,7 +104,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -118,7 +111,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 6eac840839..aa39223acc 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -73,7 +73,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -108,7 +104,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index dacdde6eb2..73c395449a 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipconfiguration.rb index 081425a6dd..ea7f609a3c 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -46,7 +46,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer.rb index 38a335de9f..d7740e0b10 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -54,7 +54,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,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: { @@ -112,13 +105,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -146,13 +135,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -163,13 +150,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -180,13 +165,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -197,13 +180,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -214,13 +195,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -231,7 +210,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -239,7 +217,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -247,7 +224,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index 33db661d75..c8228c1021 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index c714d68ffb..597078aa70 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -80,7 +80,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -96,7 +94,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -105,7 +102,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -114,7 +110,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -131,7 +125,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -139,7 +132,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -147,7 +139,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -155,7 +146,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -163,7 +153,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -187,7 +174,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 0060194dcc..8d43aa6c06 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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: false, 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() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -140,7 +128,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 373aca992a..10a3b6ea59 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface.rb index d2786a670b..b92fc8bbc3 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface.rb @@ -57,7 +57,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -99,13 +94,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: { @@ -115,7 +108,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -133,13 +124,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -159,7 +147,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -199,7 +182,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index fe684a6342..fdb4326089 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -35,7 +35,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 496fc2b522..3cb6ebc6c4 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -63,7 +63,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,13 +77,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -96,13 +92,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -113,13 +107,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -180,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index bf61818aba..5696d531a0 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group.rb index 43c7c3919a..4f12dd3a29 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index a21176cddf..9d500aca29 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index 540087373e..f044bd0132 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -44,7 +44,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -68,13 +65,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/probe.rb index 0f353e7704..9a5f68920b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress.rb index e50371b2c3..241e08c705 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -52,7 +52,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,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: { @@ -110,7 +103,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -136,7 +126,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -177,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 578e737079..10ed9ba991 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index a616845ebf..b0b01ed27e 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource.rb index 1ba818b290..647844f278 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index ade450b8e1..6f893bc937 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route.rb index e0a9c0d388..56312b7dce 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_list_result.rb index 8e31726724..ad8e738d3a 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table.rb index babeda055e..75681f4d5f 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table.rb @@ -33,7 +33,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -75,13 +70,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: { @@ -91,13 +84,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -108,14 +99,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -126,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +122,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table_list_result.rb index 7a38d28e2a..9dfd972ab9 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule.rb index 204a5f30a1..cedf283352 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule.rb @@ -79,7 +79,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -119,7 +114,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -127,7 +121,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -135,7 +128,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -143,7 +135,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -167,7 +156,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +163,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -183,7 +170,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index 765698bb36..7d7ef24206 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/sub_resource.rb index 6eded2e0d1..079457e474 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet.rb index dc1d96597e..6910110f04 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet.rb @@ -49,7 +49,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -91,14 +86,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -109,13 +102,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 82697c71a2..1f88cf4283 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage.rb index 1834117162..82a6134fee 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage_name.rb index a42d6f2e76..5ae669f1e0 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage_name.rb @@ -26,7 +26,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usages_list_result.rb index 10677d0408..000537d56f 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network.rb index 3d5a41ff0e..b1489e2e56 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -47,7 +47,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -72,7 +69,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -81,7 +77,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -89,13 +84,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: { @@ -105,7 +98,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -123,13 +114,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -140,13 +129,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.VirtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -157,7 +144,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -165,7 +151,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -173,7 +158,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index a8497e94f0..ba754cea3e 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -68,7 +68,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -76,7 +75,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -84,7 +82,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -93,7 +90,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -102,7 +98,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -110,13 +105,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: { @@ -126,13 +119,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -143,7 +134,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -151,7 +141,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -159,7 +148,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -167,7 +155,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -184,7 +170,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -193,7 +178,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -202,7 +186,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -211,7 +194,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -219,7 +201,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -227,7 +208,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 912fc02908..0e2c564a5d 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -71,7 +71,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -79,7 +78,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -87,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -96,7 +93,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -105,7 +101,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -113,13 +108,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: { @@ -129,7 +122,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -137,7 +129,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -146,7 +137,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -155,7 +145,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionType', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -188,7 +174,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionStatus', type: { @@ -196,7 +181,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.egressBytesTransferred', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.ingressBytesTransferred', type: { @@ -212,7 +195,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -229,7 +210,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -237,7 +217,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -245,7 +224,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index c4d7aa3435..f455713735 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 0a5621448f..2ea9cd3831 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index b5f149d3e9..429e1b422e 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index f4e0fa2b7b..e5f8a96748 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 6a673999ed..20f49e8203 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index 845771e92b..8f1c559f1b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -60,7 +60,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -92,7 +88,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -100,7 +95,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -125,7 +117,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -133,7 +124,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -141,7 +131,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 6129c6e692..579d1cf68b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 461daeb274..3d70c5d914 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index c9ac7bd98e..a9dab20d0b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -23,7 +23,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'ProcessorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 26c32473bc..8f3ba37743 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index 3caffb6ca1..1a0ebb2baf 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -34,7 +34,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_interfaces.rb index df8b37694c..a4fbc0bc20 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_interfaces.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +168,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +184,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -216,8 +215,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -234,8 +233,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -251,7 +250,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -260,7 +259,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -334,8 +332,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -350,7 +348,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -358,7 +356,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -418,8 +415,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -438,8 +435,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -457,7 +454,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -467,7 +464,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -521,8 +517,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -535,8 +531,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -548,13 +544,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,8 +604,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -624,8 +619,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -638,14 +633,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +695,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -715,9 +709,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -744,8 +738,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -758,9 +752,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -785,8 +779,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -800,8 +794,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -814,7 +808,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -822,7 +816,6 @@ def begin_delete_async(resource_group_name, network_interface_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 @@ -869,8 +862,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -886,8 +879,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -902,7 +895,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -911,12 +904,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa 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::Network::Mgmt::V2016_06_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -984,8 +978,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -1000,8 +994,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -1015,7 +1009,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1023,7 +1017,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1079,8 +1072,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -1095,8 +1088,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -1110,7 +1103,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1118,7 +1111,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1174,8 +1166,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1190,8 +1182,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1205,12 +1197,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1265,8 +1256,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1281,8 +1272,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1296,12 +1287,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1356,8 +1346,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1372,8 +1362,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1387,12 +1377,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1447,8 +1436,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1463,8 +1452,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1478,12 +1467,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1541,12 +1529,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1565,12 +1553,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1586,12 +1574,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1608,12 +1596,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb index f38b6a9e5d..fef5938f10 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb @@ -180,9 +180,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? @@ -203,8 +200,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -219,8 +216,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -234,14 +231,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,7 +289,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2016_06_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2016_06_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_security_groups.rb index 982fd7f15a..16724c30ee 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_security_groups.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +93,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -110,7 +110,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -118,7 +118,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +176,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -248,13 +247,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +307,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -324,8 +322,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -338,14 +336,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +398,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -418,8 +415,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -434,7 +431,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -442,7 +439,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -491,8 +487,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -510,8 +506,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -528,7 +524,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -537,12 +533,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2016_06_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -610,8 +607,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -626,8 +623,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -641,12 +638,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +697,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -717,8 +713,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -732,12 +728,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -791,12 +786,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -813,12 +808,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/public_ipaddresses.rb index 3f6ad8b9c6..6069cdff99 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,8 +299,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -316,8 +314,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -330,14 +328,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -391,8 +388,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -406,8 +403,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -420,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +425,6 @@ def begin_delete_async(resource_group_name, public_ip_address_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 @@ -476,8 +472,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +490,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -511,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa 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::Network::Mgmt::V2016_06_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -593,8 +590,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -609,8 +606,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -624,12 +621,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +680,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -700,8 +696,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -715,12 +711,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -774,12 +769,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -796,12 +791,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/route_tables.rb index d1c7e85762..1064bb295c 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -313,8 +311,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -325,13 +323,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -385,8 +382,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -400,8 +397,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -414,7 +411,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -422,7 +419,6 @@ def begin_delete_async(resource_group_name, route_table_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 @@ -470,8 +466,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -488,8 +484,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -505,7 +501,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -514,12 +510,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete 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::Network::Mgmt::V2016_06_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -586,8 +583,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -601,8 +598,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -615,12 +612,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -674,8 +670,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -689,8 +685,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -703,12 +699,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -782,12 +777,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/routes.rb index ac14b5d270..96528628ed 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: 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(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +218,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -250,7 +249,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +257,6 @@ def list_async(resource_group_name, route_table_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 @@ -313,8 +311,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -329,8 +327,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -344,7 +342,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -353,7 +351,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +398,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +416,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -436,7 +433,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -446,12 +443,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na 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::Network::Mgmt::V2016_06_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -519,8 +517,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -550,12 +548,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -610,12 +607,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/security_rules.rb index 2c45b846d6..6cf2ef57ce 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/security_rules.rb @@ -32,8 +32,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -48,9 +48,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -77,8 +77,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +95,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -121,7 +121,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -181,8 +180,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -199,9 +198,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -229,8 +228,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -246,8 +245,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -262,7 +261,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -270,7 +269,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -327,8 +325,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -345,8 +343,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -362,7 +360,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -371,7 +369,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -421,8 +418,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -441,8 +438,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -460,7 +457,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -470,12 +467,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2016_06_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -543,8 +541,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -559,8 +557,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -574,12 +572,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -636,12 +633,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/subnets.rb index bf57f93136..4dff29bf10 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand: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(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -191,9 +190,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +218,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -234,8 +233,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -248,7 +247,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -256,7 +255,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -311,8 +309,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -327,8 +325,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -342,7 +340,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -351,7 +349,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -400,8 +397,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +416,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -437,7 +434,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -447,12 +444,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn 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::Network::Mgmt::V2016_06_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -519,8 +517,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -534,8 +532,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -548,12 +546,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -608,12 +605,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/usages.rb index eb70e9d4b8..2494a633cc 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -149,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -208,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..fc9006e907 --- /dev/null +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/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::Network::Mgmt::V2016_06_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 45a6cf6673..64a1973e2f 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +55,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -86,8 +86,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -104,8 +104,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -121,7 +121,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -129,7 +129,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -184,8 +183,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -199,9 +198,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -228,8 +227,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKeyResult] operation results. # - def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! response.body unless response.nil? end @@ -246,8 +245,8 @@ def get_shared_key(resource_group_name, connection_shared_key_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers:nil) - get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers = nil) + get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! end # @@ -263,7 +262,7 @@ def get_shared_key_with_http_info(resource_group_name, connection_shared_key_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'connection_shared_key_name is nil' if connection_shared_key_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -271,7 +270,6 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -326,8 +324,8 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -341,8 +339,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -355,14 +353,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -424,8 +421,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -442,9 +439,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -476,8 +473,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,9 +491,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -528,8 +525,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -549,8 +546,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -569,7 +566,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -578,12 +575,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2016_06_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -651,8 +649,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -668,8 +666,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -684,7 +682,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -692,7 +690,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -744,8 +741,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -766,8 +763,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -787,7 +784,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -796,12 +793,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2016_06_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -864,8 +862,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -885,8 +883,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -905,7 +903,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -914,12 +912,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn 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::Network::Mgmt::V2016_06_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -987,8 +986,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1003,8 +1002,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1018,12 +1017,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1078,12 +1076,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb index b5541debf8..0220555085 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -334,9 +332,9 @@ def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -368,8 +366,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -389,8 +387,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -409,7 +407,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -418,12 +416,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ 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::Network::Mgmt::V2016_06_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -458,7 +457,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -492,8 +490,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -512,8 +510,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -531,7 +529,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -540,12 +538,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na 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::Network::Mgmt::V2016_06_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -613,8 +612,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -630,8 +629,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -646,7 +645,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +653,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -704,8 +702,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -724,8 +722,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -743,7 +741,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -752,12 +750,13 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet 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::Network::Mgmt::V2016_06_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -815,8 +814,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -831,8 +830,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -846,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -906,12 +904,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_peerings.rb index 91b36138e3..b38e84faf2 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +76,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -94,8 +94,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +178,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -196,9 +195,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -225,8 +224,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -241,8 +240,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -256,7 +255,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -264,7 +263,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -320,8 +318,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -337,8 +335,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -353,7 +351,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -362,7 +360,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -411,8 +408,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -430,8 +427,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -448,7 +445,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -458,12 +455,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt 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::Network::Mgmt::V2016_06_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -531,8 +529,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -547,8 +545,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -562,12 +560,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -623,12 +620,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_networks.rb index f0c5dd055d..b351888817 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -225,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -237,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -297,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -311,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -324,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -387,8 +384,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -403,8 +400,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -418,7 +415,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -426,7 +423,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -480,8 +476,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -495,8 +491,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -509,7 +505,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -517,7 +513,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -565,8 +560,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -583,8 +578,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -600,7 +595,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -609,12 +604,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para 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::Network::Mgmt::V2016_06_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -681,8 +677,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -696,8 +692,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -710,12 +706,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -769,8 +764,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -784,8 +779,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -798,12 +793,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -856,12 +850,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -877,12 +871,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/application_gateways.rb index 2592b6f14d..d519e66a41 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/application_gateways.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, application_gateway_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 @@ -163,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -206,8 +205,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -220,8 +219,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -233,14 +232,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -306,8 +304,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -318,13 +316,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -377,8 +374,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -391,9 +388,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -415,8 +412,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -429,9 +426,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -458,8 +455,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -474,9 +471,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +498,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -516,8 +513,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -530,7 +527,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -538,7 +535,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -585,8 +581,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -602,8 +598,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -618,7 +614,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -627,12 +623,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, 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::Network::Mgmt::V2016_09_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -698,8 +695,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -713,8 +710,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -727,7 +724,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -735,7 +732,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -779,8 +775,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -794,8 +790,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -808,7 +804,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -816,7 +812,6 @@ def begin_stop_async(resource_group_name, application_gateway_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 @@ -864,8 +859,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -882,8 +877,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -899,7 +894,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -907,7 +902,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -962,8 +956,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -977,8 +971,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -991,12 +985,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1050,8 +1043,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1065,8 +1058,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1079,12 +1072,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1138,12 +1130,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1158,12 +1150,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index dc89be1fe2..c00d319759 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -171,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -232,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -246,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -254,7 +253,6 @@ def list_async(resource_group_name, circuit_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 @@ -309,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -325,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -349,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -417,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -435,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -445,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio 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::Network::Mgmt::V2016_09_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -517,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -532,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -546,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -606,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index c200585fc0..4e18d735cd 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, circuit_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 @@ -307,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name 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::Network::Mgmt::V2016_09_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -601,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuits.rb index 04122fff61..e3e33c79b3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, circuit_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 @@ -163,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -210,8 +209,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -226,9 +225,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +256,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -273,9 +272,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -304,8 +303,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -320,9 +319,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -348,8 +347,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -363,8 +362,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -377,7 +376,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -385,7 +384,6 @@ def get_stats_async(resource_group_name, circuit_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 @@ -441,8 +439,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -457,8 +455,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -472,7 +470,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -481,7 +479,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -535,8 +532,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -549,8 +546,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -562,14 +559,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -622,8 +618,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -635,8 +631,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -647,13 +643,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -707,8 +702,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -722,8 +717,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -736,7 +731,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -744,7 +739,6 @@ def begin_delete_async(resource_group_name, circuit_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 @@ -791,8 +785,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -808,8 +802,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -824,7 +818,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -833,12 +827,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, 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::Network::Mgmt::V2016_09_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -908,8 +903,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -926,8 +921,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -943,7 +938,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -953,7 +948,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1011,8 +1005,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1029,8 +1023,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1046,7 +1040,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1056,7 +1050,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1114,8 +1107,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1132,8 +1125,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1149,7 +1142,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1159,7 +1152,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1214,8 +1206,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1229,8 +1221,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1243,12 +1235,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1302,8 +1293,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1317,8 +1308,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1331,12 +1322,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1390,12 +1380,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1410,12 +1400,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_service_providers.rb index d0654ab138..8602132f2b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,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 # @@ -54,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/load_balancers.rb index 9ea6240a08..7f4636fe46 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame 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::Network::Mgmt::V2016_09_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/local_network_gateways.rb index b86daefad9..59dd5a9715 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni 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(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -305,8 +303,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -323,8 +321,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -349,12 +347,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name 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::Network::Mgmt::V2016_09_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -421,8 +420,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -437,8 +436,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -452,7 +451,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -460,7 +459,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -505,8 +503,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -520,8 +518,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -534,12 +532,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -593,12 +590,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/address_space.rb index 7382ec47bd..0e45ce264c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway.rb index 44a2010054..9dc41caa84 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -93,7 +93,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -101,7 +100,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -109,7 +107,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -118,7 +115,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -127,7 +123,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -135,13 +130,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: { @@ -151,7 +144,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -160,7 +152,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -169,7 +160,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -178,13 +168,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -195,13 +183,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -212,13 +198,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -229,13 +213,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -246,13 +228,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -263,13 +243,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -280,13 +258,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -297,13 +273,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -314,13 +288,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -331,13 +303,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -348,13 +318,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -365,7 +333,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -374,7 +341,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -382,7 +348,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -390,7 +355,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index b3827dd636..5dc484a818 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -35,7 +35,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 0e4e063253..696e4073e7 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index ed5710db58..5808c8c060 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -38,7 +38,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index 3adbad3c4c..9fae097c5c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index bbf50340dc..7018233024 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index ab903b7f22..085891f046 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index 09c57d2783..9656902785 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -30,7 +30,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 20a2b136f4..eaa603e107 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -55,7 +55,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -112,13 +105,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 1d6770da5a..8a7749b335 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -47,7 +47,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index a2c79428c9..722e927445 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 9827256ebb..6c84ab8384 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -53,7 +53,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 6e360af885..5e9a327ea8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index fe4987f9bf..68e2f64731 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index bac3f04f2c..93d46caccc 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -40,7 +40,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,13 +54,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index 6f1dd36fa1..e6777f8973 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -57,7 +57,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -89,7 +85,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -105,7 +99,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index b3e958f940..0a055bd364 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -51,7 +51,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 5e0fc0ffe9..ed461d2008 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -34,7 +34,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index af18dcc590..e8ea1258db 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -43,7 +43,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index bc33552213..63449c0a85 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -24,7 +24,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 2e56d10847..ff83a5f370 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -44,7 +44,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index e48f541040..b994af568b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -28,7 +28,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: false, serialized_name: 'firewallMode', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 3b36811b57..e9f6321650 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index c797c99614..f02c76a64e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb index bb705d74db..7b26a5429f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index d0bf8b907f..b676458ad7 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -45,7 +45,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -62,7 +60,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -71,7 +68,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -80,7 +76,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -89,7 +84,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -98,7 +92,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -107,7 +100,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -116,7 +108,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index d28710fb42..380462876b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_settings.rb index 88fbfb10d3..843ee19797 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -31,7 +31,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index a5e0ddedd1..a2b3c17b3d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 4300e0a5cc..5debb48e84 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dhcp_options.rb index f62ceb6f5d..e77f9470d8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index be6f8ce0d1..31b90ec0dc 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 9f0ccdfe21..035ff0809f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -29,7 +29,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 7a8d60c45f..416433e999 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index 1e712ec74b..94ec0d1ffd 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index 520c7b080d..6ab0d2beb9 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -59,7 +59,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -67,7 +66,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +73,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -91,7 +87,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -131,13 +122,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -155,7 +143,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route.rb index ad0b8b622a..855abd62c8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 44ca2d7926..dc8b1c04b0 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error.rb index a251531987..1fa9e0280a 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error_details.rb index 8bcc2eed47..9f446c7537 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 7e01c7074a..73a7c7010f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,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: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index e187b295c6..ff87159866 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 3f9c506f69..4b150abe4d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index a237172355..401df17516 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 7917746966..2d2240eb35 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -80,7 +80,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -96,7 +94,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -104,7 +101,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -112,7 +108,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -120,7 +115,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -128,7 +122,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -136,7 +129,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -144,7 +136,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -152,7 +143,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -160,7 +150,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -168,7 +157,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -176,7 +164,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -194,7 +180,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -202,7 +187,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -210,7 +194,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -218,7 +201,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -226,7 +208,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 3b26a7fff6..1ae0088e27 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index e7bcb9ea3f..7c1ee35bad 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 6fb1796c1f..a0ec2fa251 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 3d6570e9b2..41e58c6ff6 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index f517af4871..27ac7eabe8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index ffb1acd977..ac025ea7b4 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 58455fa45e..06b5a0de86 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 4c85dc4e0c..d2c030b73b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index c7cd18fac5..851023d068 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index b1d7e8f25f..16653456ff 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 4cb24cd8c2..498df3d4c7 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 7eec42ce64..b04e8ec1b0 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index 767dc5b34f..d4e934563b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_information.rb index 533f3c1dcb..677b5b9f2c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index 104e84e7cd..cb392c8db8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index c0ffa909ee..094572ec4e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -61,7 +61,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,14 +75,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,14 +91,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -113,14 +107,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -131,14 +123,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -165,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route.rb index 2aa0c4fc34..4fc756e091 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -41,7 +41,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -58,7 +56,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -67,7 +64,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -76,7 +72,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -85,7 +80,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -94,7 +88,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -103,7 +96,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index d2168369e0..dc7be42a40 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index aab348ebd0..9ff4127228 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -53,7 +53,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index caa6bbed3d..5cd404b845 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -66,7 +66,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,7 +80,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -91,7 +88,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -101,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -109,7 +104,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -117,7 +111,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -125,7 +118,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index 7215323895..80964247ed 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb index f83d541d42..e0e85fba26 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer.rb index 61d77e9b15..9a61b0362e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -69,7 +69,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -85,7 +83,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -94,7 +91,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -103,7 +99,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -111,13 +106,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: { @@ -127,13 +120,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -144,13 +135,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -161,13 +150,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -178,13 +165,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -195,13 +180,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -212,13 +195,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -229,13 +210,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -246,7 +225,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -254,7 +232,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -262,7 +239,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index 4cf75678aa..5cb6062dc3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index 3e1be7b8f4..7d8644abcc 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -73,7 +73,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -107,7 +103,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 4051719a35..48233b516c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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: false, 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() } }, local_network_address_space: { - client_side_validation: true, required: true, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 12834a2ea5..34208b07ca 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface.rb index b9d5beb95f..18d6591511 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_association.rb index e4897880be..bac2964a4c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 7589a778d7..0e8e072979 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index a9eac94e07..9bf7241eb0 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -66,7 +66,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,13 +80,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -99,13 +95,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -116,13 +110,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -166,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index eba9bb7907..e35af92d20 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group.rb index 6086594532..6d2cc74c14 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index eddf8e0835..42d54dbb10 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher.rb index f87cbf9ae1..faf7ba8412 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,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: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index 5f880c60c3..1fbfb98690 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index 2f7163cc82..b64ada040f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_result.rb index db06e1b4dc..4cf48b9d4a 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index a92ba73908..cf17877fd9 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture.rb index 7e991f9fb6..c7caef5deb 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index ece6bfac7a..f73ebbc8b3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 55e4ecc0a6..b4f265b7de 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index 3ebb5610ae..409db4cfc9 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index 59e9f56d23..3e297d5119 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb index bdbf215230..b9a0bc3c56 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index eec1925150..172cc20c68 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/probe.rb index 26a4cd90ec..668c2c83e8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 49e48005a3..4af35ba3bd 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -52,7 +52,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,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: { @@ -110,7 +103,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -136,7 +126,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -177,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 03ee78e3b7..49976f596b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index ad9bcf5767..4a0438f487 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index 908005d3c0..16b22f0309 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource.rb index f705c8b654..8ffd91d50d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index caeb03d3f4..1e14daba04 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index 0ee71a2224..50af2053b7 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route.rb index b88b47d694..86aa11ca6a 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_list_result.rb index 72ae99bd3f..96afcb6dd1 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table.rb index a81f3c4278..daea87a67d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,14 +100,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -135,7 +123,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb index b684fc6fa4..df15f1e4d3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index 43345d5af7..0c1e078558 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index 43d604294d..6282a70eee 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb index 277464d476..53b260e15e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule.rb index 466a6d4494..0f4047b462 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule.rb @@ -76,7 +76,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -84,7 +83,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -92,7 +90,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -100,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -108,7 +104,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 6aed5cc099..b458e0535d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index 72f7ea1f61..ab9f80c65e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/sub_resource.rb index 8122f3ffb5..8fe93b0c63 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet.rb index 0c8f927da9..ea9bad9a98 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet.rb @@ -48,7 +48,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -90,14 +85,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -133,7 +123,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -141,7 +130,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_association.rb index 0f0ab6a505..7a07ed2201 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb index aaeb4244f2..e30cf2aef0 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology.rb index fd0f18fb05..b8ca6a4ae3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_association.rb index f5a9d1a0e2..76b3bcb333 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_parameters.rb index b5a642ab20..5d3d93d324 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -23,7 +23,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: true, serialized_name: 'targetResourceGroupName', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_resource.rb index 8dd68e16ea..411ff4becd 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index 10ab99b1d5..fcc10394b3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index 5d832d263f..c8c5b5377c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index 4a1c74694b..bd0af808c1 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 5a12a2852d..5f4f5fb043 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index 9fc7daee94..10c43b9337 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage.rb index 54d0f12d1c..f1186a9d57 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage_name.rb index 29b6b5115b..7c9f616e1b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usages_list_result.rb index 15874209fd..364c5a8cc3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index ea7b912f48..9ee625edb1 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index 9623b5d2af..b1a2ec75c5 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network.rb index 00613247de..b4e92899da 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -46,7 +46,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,7 +97,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -122,13 +113,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -139,13 +128,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -164,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +157,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index cf634e9dd9..23d0499fcf 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,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: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: true, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: true, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 258f6ee1ed..1c9fadba8d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -78,7 +78,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -103,7 +100,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -112,7 +108,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -120,13 +115,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: { @@ -136,7 +129,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -144,7 +136,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -162,7 +152,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -187,7 +174,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -195,7 +181,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -204,14 +189,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -222,7 +205,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -231,7 +213,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -240,7 +221,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -249,7 +229,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -257,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -265,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -274,7 +251,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index ce974b0f95..131501a3ce 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 83d2b98620..8854b817f3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: true, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 9e3d97be2d..d34686222d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index b459b2c6a1..a30caf7041 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -34,7 +34,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: true, serialized_name: 'tier', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 7d955d8e8d..a054851964 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index 4d40f0903d..9d6879acdd 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -58,7 +58,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 22affb3c47..321e90a230 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 8ecf65ca56..1bab807171 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 489386f14c..0f7389e55b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -24,7 +24,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: true, serialized_name: 'ProcessorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 635ceeaabc..211160c95b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index 5f7eb02d18..6ed6a02b9e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_interfaces.rb index ccfb0fb070..68c17e5e28 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_interfaces.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -78,7 +78,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -134,8 +133,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -150,8 +149,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -165,7 +164,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -173,7 +172,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -232,8 +230,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -251,8 +249,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -269,7 +267,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -279,7 +277,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -332,8 +329,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -346,9 +343,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -373,8 +370,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -389,8 +386,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -404,7 +401,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -412,7 +409,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -469,8 +465,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,9 +481,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -511,8 +507,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -524,8 +520,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -536,13 +532,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -610,8 +605,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -623,14 +618,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -685,8 +679,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -699,9 +693,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -727,8 +721,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -741,9 +735,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -768,8 +762,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -783,8 +777,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -797,7 +791,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -805,7 +799,6 @@ def begin_delete_async(resource_group_name, network_interface_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 @@ -852,8 +845,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -869,8 +862,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -885,7 +878,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -894,12 +887,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa 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::Network::Mgmt::V2016_09_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -966,8 +960,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -981,8 +975,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -995,7 +989,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1003,7 +997,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1058,8 +1051,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -1073,8 +1066,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -1087,7 +1080,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1095,7 +1088,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1151,8 +1143,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1167,8 +1159,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1182,12 +1174,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1241,8 +1232,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1256,8 +1247,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1270,12 +1261,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1329,8 +1319,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1344,8 +1334,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1358,12 +1348,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1417,8 +1406,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1432,8 +1421,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1446,12 +1435,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1509,12 +1497,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1532,12 +1520,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1552,12 +1540,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1573,12 +1561,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb index 0235fd139b..766a0aa827 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb @@ -188,9 +188,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? @@ -211,8 +208,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -227,8 +224,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -242,14 +239,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,7 +297,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2016_09_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2016_09_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_security_groups.rb index a92b2b2a9d..5273cff670 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_security_groups.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +227,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +312,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +325,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +386,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -405,8 +402,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -420,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +425,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +490,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2016_09_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +589,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +604,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +618,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +691,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +705,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +762,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +783,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_watchers.rb index dc1903b2c3..eb8eb64f11 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_watchers.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2016_09_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -147,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -162,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -176,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -184,7 +185,6 @@ def get_async(resource_group_name, network_watcher_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 @@ -237,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -251,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -276,8 +276,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -290,8 +290,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -303,14 +303,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -363,8 +362,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -376,8 +375,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -388,13 +387,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -451,8 +449,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -468,8 +466,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -484,7 +482,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -493,12 +491,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, 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::Network::Mgmt::V2016_09_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -558,8 +557,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,9 +573,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -604,8 +603,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -620,9 +619,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -650,8 +649,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -666,9 +665,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -697,8 +696,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -714,9 +713,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -745,8 +744,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -762,9 +761,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -794,8 +793,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -812,9 +811,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -844,8 +843,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -862,9 +861,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -889,8 +888,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -904,8 +903,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -918,7 +917,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -926,7 +925,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +972,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -992,8 +990,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1009,7 +1007,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1018,12 +1016,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet 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::Network::Mgmt::V2016_09_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1092,8 +1091,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1109,8 +1108,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1125,7 +1124,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1134,12 +1133,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete 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::Network::Mgmt::V2016_09_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1208,8 +1208,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1225,8 +1225,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1241,7 +1241,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1250,12 +1250,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2016_09_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1325,8 +1326,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1343,8 +1344,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1360,7 +1361,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1369,12 +1370,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2016_09_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1444,8 +1446,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1462,8 +1464,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1479,7 +1481,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1488,12 +1490,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2016_09_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1564,8 +1567,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1583,8 +1586,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1601,7 +1604,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1610,12 +1613,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2016_09_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1686,8 +1690,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1705,8 +1709,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1723,7 +1727,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1732,12 +1736,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2016_09_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/packet_captures.rb index 0ee9dd07e6..38fe1ffb80 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/packet_captures.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu 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(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -189,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -214,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -229,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -275,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -304,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -320,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -335,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -343,7 +342,6 @@ def list_async(resource_group_name, network_watcher_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 @@ -401,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -436,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -446,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture 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::Network::Mgmt::V2016_09_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -508,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -524,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -539,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -548,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -593,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -609,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -624,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -633,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -681,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -699,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -716,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -725,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap 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_network/lib/2016-09-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/public_ipaddresses.rb index 6e4fcceb22..133a155acb 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, public_ip_address_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 @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa 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::Network::Mgmt::V2016_09_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/route_tables.rb index d95eb80158..f8ba1f6de0 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -223,8 +222,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -236,14 +235,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +294,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -309,8 +307,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -321,13 +319,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, route_table_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 @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete 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::Network::Mgmt::V2016_09_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -755,12 +750,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/routes.rb index baa45c8e04..5910189a8f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, route_table_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 @@ -307,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na 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::Network::Mgmt::V2016_09_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -600,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/security_rules.rb index 1371740ce6..598ddd462f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/security_rules.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -92,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -108,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -117,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -239,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -254,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -262,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -318,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -335,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -351,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -360,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -409,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -428,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -446,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -456,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2016_09_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -528,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -557,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -618,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/subnets.rb index ccc645382a..9c7157ae59 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand: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(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -233,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -247,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +254,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -310,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -326,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -341,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -350,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -433,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -443,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn 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::Network::Mgmt::V2016_09_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -515,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/usages.rb index a666633309..2c87c5e316 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -149,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -208,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..7de6ba0bb5 --- /dev/null +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/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::Network::Mgmt::V2016_09_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 01cdcc65e0..3c1f59f5d1 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -52,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -81,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -97,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust 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(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -189,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -239,9 +238,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -270,8 +269,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -288,8 +287,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -305,7 +304,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -313,7 +312,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -368,8 +366,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -383,8 +381,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -397,14 +395,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -466,8 +463,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -484,9 +481,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -516,8 +513,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,8 +532,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -553,7 +550,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -562,12 +559,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2016_09_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -634,8 +632,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -650,8 +648,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -665,7 +663,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -673,7 +671,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -724,8 +721,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -745,8 +742,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -765,7 +762,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -774,12 +771,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn 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::Network::Mgmt::V2016_09_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -853,8 +851,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -875,8 +873,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -896,7 +894,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -905,12 +903,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2016_09_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -968,8 +967,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -984,8 +983,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -999,12 +998,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1059,12 +1057,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb index af926ce274..898c38ebeb 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: 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(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -306,8 +304,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -323,9 +321,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -355,8 +353,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -374,8 +372,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -392,7 +390,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -401,12 +399,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ 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::Network::Mgmt::V2016_09_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -441,7 +440,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -472,8 +470,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -488,9 +486,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -518,8 +516,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -533,9 +531,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -564,8 +562,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -580,9 +578,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -611,8 +609,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -629,8 +627,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -646,7 +644,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -655,12 +653,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na 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::Network::Mgmt::V2016_09_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -727,8 +726,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -743,8 +742,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -758,7 +757,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -766,7 +765,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -815,8 +813,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -834,8 +832,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -852,7 +850,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -860,7 +858,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -917,8 +914,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -934,8 +931,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -950,7 +947,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -958,7 +955,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1015,8 +1011,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1032,8 +1028,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1048,7 +1044,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1056,7 +1052,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1114,8 +1109,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1132,8 +1127,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1149,7 +1144,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -1158,7 +1153,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1213,8 +1207,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1228,8 +1222,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1242,12 +1236,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1301,12 +1294,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb index d958478498..73eadd6b8f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -92,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -108,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -117,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -249,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +256,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -313,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -330,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -346,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -355,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -403,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -421,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -438,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -448,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt 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::Network::Mgmt::V2016_09_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -520,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_networks.rb index 8505661282..ca06fefce3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -383,8 +380,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -399,8 +396,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -414,7 +411,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -422,7 +419,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -491,8 +487,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -505,7 +501,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -513,7 +509,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +555,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +572,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -593,7 +588,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +597,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para 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::Network::Mgmt::V2016_09_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -674,8 +670,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -689,8 +685,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -703,12 +699,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,8 +757,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -777,8 +772,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -791,12 +786,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -849,12 +843,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -870,12 +864,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/application_gateways.rb index 036600380e..87339c028b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/application_gateways.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, application_gateway_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 @@ -163,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -206,8 +205,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -220,8 +219,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -233,14 +232,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -306,8 +304,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -318,13 +316,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -377,8 +374,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -391,9 +388,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -415,8 +412,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -429,9 +426,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -458,8 +455,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -474,9 +471,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +498,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -516,8 +513,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -530,7 +527,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -538,7 +535,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -585,8 +581,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -602,8 +598,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -618,7 +614,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -627,12 +623,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, 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::Network::Mgmt::V2016_12_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -698,8 +695,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -713,8 +710,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -727,7 +724,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -735,7 +732,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -779,8 +775,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -794,8 +790,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -808,7 +804,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -816,7 +812,6 @@ def begin_stop_async(resource_group_name, application_gateway_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 @@ -864,8 +859,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -882,8 +877,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -899,7 +894,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -907,7 +902,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -962,8 +956,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -977,8 +971,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -991,12 +985,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1050,8 +1043,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1065,8 +1058,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1079,12 +1072,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1138,12 +1130,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1158,12 +1150,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/bgp_service_communities.rb index 47918ea322..300ceda180 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,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 # @@ -54,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index a8bc34f81c..b3034f3270 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -171,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -232,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -246,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -254,7 +253,6 @@ def list_async(resource_group_name, circuit_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 @@ -309,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -325,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -349,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -417,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -435,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -445,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio 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::Network::Mgmt::V2016_12_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -517,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -532,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -546,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -606,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index d33a9cf1b3..46fab6739b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, circuit_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 @@ -307,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name 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::Network::Mgmt::V2016_12_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -601,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuits.rb index 67eb404b52..fd204636b2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, circuit_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 @@ -163,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -210,8 +209,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -226,9 +225,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +256,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -273,9 +272,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -304,8 +303,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -320,9 +319,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -348,8 +347,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -363,8 +362,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -377,7 +376,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -385,7 +384,6 @@ def get_stats_async(resource_group_name, circuit_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 @@ -441,8 +439,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -457,8 +455,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -472,7 +470,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -481,7 +479,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -535,8 +532,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -549,8 +546,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -562,14 +559,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -622,8 +618,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -635,8 +631,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -647,13 +643,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -707,8 +702,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -722,8 +717,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -736,7 +731,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -744,7 +739,6 @@ def begin_delete_async(resource_group_name, circuit_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 @@ -791,8 +785,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -808,8 +802,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -824,7 +818,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -833,12 +827,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, 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::Network::Mgmt::V2016_12_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -908,8 +903,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -926,8 +921,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -943,7 +938,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -953,7 +948,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1011,8 +1005,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1029,8 +1023,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1046,7 +1040,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1056,7 +1050,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1114,8 +1107,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1132,8 +1125,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1149,7 +1142,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1159,7 +1152,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1214,8 +1206,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1229,8 +1221,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1243,12 +1235,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1302,8 +1293,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1317,8 +1308,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1331,12 +1322,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1390,12 +1380,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1410,12 +1400,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_service_providers.rb index 06b792184a..f32e8fba60 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,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 # @@ -54,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/load_balancers.rb index b4da88b875..834b42fc82 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame 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::Network::Mgmt::V2016_12_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/local_network_gateways.rb index 90920e3a92..db86a0a9fb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni 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(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -305,8 +303,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -323,8 +321,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -349,12 +347,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name 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::Network::Mgmt::V2016_12_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -421,8 +420,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -437,8 +436,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -452,7 +451,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -460,7 +459,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -505,8 +503,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -520,8 +518,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -534,12 +532,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -593,12 +590,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/address_space.rb index e78daa2a3f..fd42454709 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway.rb index bd4c93331c..b90c85965c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -93,7 +93,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -101,7 +100,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -109,7 +107,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -118,7 +115,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -127,7 +123,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -135,13 +130,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: { @@ -151,7 +144,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -160,7 +152,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -169,7 +160,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -178,13 +168,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -195,13 +183,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -212,13 +198,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -229,13 +213,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -246,13 +228,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -263,13 +243,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -280,13 +258,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -297,13 +273,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -314,13 +288,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -331,13 +303,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -348,13 +318,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -365,7 +333,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -374,7 +341,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -382,7 +348,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -390,7 +355,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index e80238a7c6..d8b3317cdd 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -35,7 +35,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 83c6b051c4..8242a81641 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 23aac3790b..414844d896 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -38,7 +38,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index 9bbb9b2da5..cca0cb14cb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index 44cc5bc7c9..2a09d2cde2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index c16ce2fefd..4aa0df82c7 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index ab12284e65..8d6c512f0c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -30,7 +30,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 160a351e93..9a3442b951 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -59,7 +59,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -67,7 +66,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -75,7 +73,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -91,7 +87,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -116,13 +109,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -133,7 +124,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -141,7 +131,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -158,7 +146,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 4ea179a5fe..57d282cfc3 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index d2e7f32276..4f3442920b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -47,7 +47,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 6fc538d3b3..cf44562f2f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 1d77bc1a60..7d68ff4e97 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -53,7 +53,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 0b7f010cd3..1c0a78f396 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 3591594de3..be72358ab1 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 9e9e6201b6..cb0822821b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -40,7 +40,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,13 +54,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index c334a97081..c31ba42fe8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -57,7 +57,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -89,7 +85,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -105,7 +99,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 4fda7c57f6..b9db982d97 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -51,7 +51,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index e2e3888438..f98ab1167b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -34,7 +34,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index a1b229b9e5..c25dfd4406 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -43,7 +43,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 3b214697aa..66cee87330 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -24,7 +24,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index c51da8726e..27c3a57d1d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -44,7 +44,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index 84db4b1038..34c3576e3c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -29,7 +29,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: false, serialized_name: 'firewallMode', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 261e64eb01..b9e4046969 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 387d93626c..50413c7ca8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 4974a81b90..e3922be799 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index fcc3ff8f2c..661dd24a0a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -45,7 +45,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -62,7 +60,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -71,7 +68,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -80,7 +76,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -89,7 +84,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -98,7 +92,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -107,7 +100,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -116,7 +108,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 9aa200898e..e0a63628ef 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community.rb index da565903d3..d0b953550f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,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: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index 83007ff55a..444f89c266 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb index 63f1ddc3a3..97caa2a581 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -31,7 +31,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgpcommunity.rb index af8a5d28b5..232a5d0053 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -34,7 +34,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 7580c3260b..39029b0089 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 53c503718f..45fb404655 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dhcp_options.rb index fa2fdf65d1..c790f754f6 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 11ce1a7df1..92c8c6f560 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 808f9e32ab..bbd2203e38 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -29,7 +29,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 0a545caddc..bf8affd816 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index fa15f63cd0..4e845f6f53 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index 2016badffa..1df01e0850 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -59,7 +59,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -67,7 +66,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +73,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -91,7 +87,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -131,13 +122,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -155,7 +143,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route.rb index 49821b06f3..b1ed8dfa6d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 1da4e0177f..e7c1c69c30 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error.rb index ae3617260d..efac449ec1 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error_details.rb index 2bd72eb661..05c4a786cf 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 566308807e..caa9fd229b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,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: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 56e436c476..b6cf414d7b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 05b1f110c0..aa0e49c754 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index fc7a220d04..f42b9e3ad4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index aaa97c14ab..d2943b0501 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -83,7 +83,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -91,7 +90,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -99,7 +97,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -107,7 +104,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -115,7 +111,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -131,7 +125,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -139,7 +132,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -147,7 +139,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -155,7 +146,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -163,7 +153,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -188,7 +175,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -197,7 +183,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -205,7 +190,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -213,7 +197,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -221,7 +204,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -230,7 +212,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -238,7 +219,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index de66befb96..f34b406837 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index b62ccb936e..7f5e0e8c02 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 35402d3abe..7b8a1994cb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 038cabf4b1..2f5fdcd98b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index 657bf7c9f5..729e2b6b5d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 7c0ae6381c..463f31966d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 5aaf51d26e..f33e669ae4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 7511f866c3..5257330058 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 9170e1d5a2..4cbc759ce8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index fb53102502..b35dfeb9be 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 62222c4b42..21fd4d51cb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 74329e7904..bbe08994f8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index 30d4e88834..f687278d6b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb index 3a77d10e58..1d80408c13 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index 0de9edd6d1..054fbbaa16 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index e613cf1e53..e3f14b7c6b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -61,7 +61,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,14 +75,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,14 +91,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -113,14 +107,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -131,14 +123,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -165,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route.rb index f2bf66eb22..3e66803f30 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -41,7 +41,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -58,7 +56,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -67,7 +64,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -76,7 +72,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -85,7 +80,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -94,7 +88,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -103,7 +96,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index 36f32f4f12..9c2978df1d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index aad69c4c13..34abd11cb2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -53,7 +53,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 2de9d1c07e..ac370522a4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -66,7 +66,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,7 +80,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -91,7 +88,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -101,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -109,7 +104,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -117,7 +111,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -125,7 +118,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index 3cb6390777..8902c86947 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipconfiguration.rb index ad7f78cd2f..8b4f4df3d4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer.rb index 425f31369b..edc186dcad 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -69,7 +69,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -85,7 +83,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -94,7 +91,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -103,7 +99,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -111,13 +106,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: { @@ -127,13 +120,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -144,13 +135,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -161,13 +150,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -178,13 +165,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -195,13 +180,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -212,13 +195,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -229,13 +210,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -246,7 +225,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -254,7 +232,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -262,7 +239,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index c6875120be..4647813cd2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index 92d550ce7b..31e3a92afe 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -73,7 +73,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -107,7 +103,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 6b07ba304e..c54bd459b4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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: false, 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() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 0cd276de94..7a2f35b590 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface.rb index 6f8835a52c..4319c19a4f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_association.rb index f86acd3cec..dde289f091 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index daf486cf66..8b5225912a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 2ccfa0ffad..24d6bffc70 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -66,7 +66,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,13 +80,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -99,13 +95,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -116,13 +110,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -166,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 1e0a4cb031..3cca3b1ae8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group.rb index 18c1dc84ca..2825c07243 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index 770abafb10..a64255f3a6 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher.rb index 78130014fa..e4f83d12a5 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,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: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index ef0ca4bd54..bf913be3fb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index c3f50fa6d4..4da466c8db 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_result.rb index 0d0bb28a4b..e5b677e3d8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index cd13a25b68..5ce3d08598 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture.rb index a8fbdd5a8d..421e7e6859 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index fd1d029098..7ea41cf033 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 7ce5456836..69138f2d19 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index dba5a198e6..316c914b4b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index 73ae2365bd..f75d2f617c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_result.rb index 87118ab9d8..0284778655 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index 6bf9100456..cd1cc435b4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter.rb index 5b81b06991..0a4c9681b6 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,14 +74,12 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -132,13 +122,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_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index 9fcaf77d92..9b362964de 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -46,7 +46,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,13 +114,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_network/lib/2016-12-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/probe.rb index 1c1b8e8bf0..d2ab678c51 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 5f743aa109..3bd48e14a6 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -52,7 +52,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,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: { @@ -110,7 +103,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -136,7 +126,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -177,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 878a763d6b..efb9522558 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index c82c1fc818..69d4865fb7 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index bfd0fefaf3..e7a0867fea 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource.rb index 165db08bac..ea52616e52 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index 9dfe45ec21..649cfee975 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index 36d3a7fedf..2bf923132c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route.rb index e4e9daa852..f9df5b6e8a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter.rb index daaab0c33d..877a20c3e8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,14 +101,12 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -128,7 +117,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -137,7 +125,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index 2fccc5280b..829dab407c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule.rb index 9842f90587..92a18ec9c0 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -49,7 +49,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -83,13 +79,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -108,7 +101,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -117,7 +109,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -134,13 +124,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_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index 64079bcd90..9e5c7fcb11 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_list_result.rb index 05304d45b5..faccc1e90f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table.rb index 5e2897ad06..048880fcb0 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,14 +100,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -135,7 +123,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table_list_result.rb index c43045c426..45c244b551 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index 245535bd8b..ddf15074b1 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index 5a9d242084..40026b69a5 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_result.rb index 3ab0534e76..1a786fe2c7 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule.rb index 22d3fbf813..c89a9971a1 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule.rb @@ -76,7 +76,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -84,7 +83,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -92,7 +90,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -100,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -108,7 +104,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 618e3c6640..6d55b5562a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index 4d08555427..2497f0d2a2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/sub_resource.rb index 19bced2aa9..edc815ab7b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet.rb index 5e5a96ff59..0b3d17a44b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet.rb @@ -48,7 +48,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -90,14 +85,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -133,7 +123,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -141,7 +130,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb index abe69763f3..4fc85f8b5d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 987fdb7945..f6865e0c56 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology.rb index 70ccd2e72f..b35737660e 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_association.rb index cb1ca90b4d..f643ef493e 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_parameters.rb index 0ffd6e1889..de7820fdec 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -23,7 +23,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: true, serialized_name: 'targetResourceGroupName', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_resource.rb index 2c63b2ef24..c6cc80c1b0 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index 971f713233..6b8f7ed10a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index b343ae591e..77fdd35d91 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index 4e6a9b56b3..ecaa3d32fb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 24a8ec9346..fe74675e73 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index 72dd36c3a0..005e2f77b1 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage.rb index 51a05c66fe..516a619ce3 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage_name.rb index 485ac3fbeb..1df66b955f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usages_list_result.rb index dca127bf6c..7ebd8ae831 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index bb75c63a5b..40125ff4e2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index 06288d1b56..741cd1c2b5 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network.rb index 7f0c648f82..af2ecf61ed 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -46,7 +46,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,7 +97,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -122,13 +113,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -139,13 +128,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -164,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +157,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index bb013570be..f99797dbff 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,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: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 8087bff4e8..81e0870265 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -78,7 +78,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -103,7 +100,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -112,7 +108,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -120,13 +115,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: { @@ -136,7 +129,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -144,7 +136,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -162,7 +152,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -187,7 +174,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -195,7 +181,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -204,14 +189,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -222,7 +205,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -231,7 +213,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -240,7 +221,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -249,7 +229,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -257,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -265,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -274,7 +251,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index 638ccbb4a2..1afe621660 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 41aceffe92..94478ca39f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 1aa85113e2..85ec1d7dae 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index e66d8ca5f3..bbe613b683 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -34,7 +34,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 492e6aa20f..cbea92fad8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index 95e74a5b9b..e02914ebf2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -58,7 +58,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 1740679536..18d8ea8a5d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 3d884fda1d..305484390b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 13faddb7b6..cde5c07412 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -24,7 +24,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: true, serialized_name: 'ProcessorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 9ff855513e..dea50eb5c8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index ce9a99d2c6..604fefc868 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_interfaces.rb index b10add98ed..1ca70d77c8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_interfaces.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -78,7 +78,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -134,8 +133,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -150,8 +149,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -165,7 +164,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? api_version = '2016-09-01' @@ -173,7 +172,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -232,8 +230,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -251,8 +249,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -269,7 +267,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -279,7 +277,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -332,8 +329,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -346,9 +343,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -373,8 +370,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -389,8 +386,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -404,7 +401,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -412,7 +409,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -469,8 +465,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,9 +481,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -511,8 +507,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -524,8 +520,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -536,13 +532,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -610,8 +605,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -623,14 +618,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -685,8 +679,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -699,9 +693,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -727,8 +721,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -741,9 +735,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -768,8 +762,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -783,8 +777,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -797,7 +791,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -805,7 +799,6 @@ def begin_delete_async(resource_group_name, network_interface_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 @@ -852,8 +845,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -869,8 +862,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -885,7 +878,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -894,12 +887,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa 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::Network::Mgmt::V2016_12_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -966,8 +960,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -981,8 +975,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -995,7 +989,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1003,7 +997,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1058,8 +1051,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -1073,8 +1066,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -1087,7 +1080,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1095,7 +1088,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1151,8 +1143,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1167,8 +1159,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1182,12 +1174,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1241,8 +1232,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1256,8 +1247,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1270,12 +1261,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1329,8 +1319,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1344,8 +1334,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1358,12 +1348,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1417,8 +1406,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1432,8 +1421,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1446,12 +1435,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1509,12 +1497,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1532,12 +1520,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1552,12 +1540,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1573,12 +1561,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb index fa3f255165..53699a6c09 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb @@ -200,9 +200,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? @@ -223,8 +220,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -239,8 +236,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -254,14 +251,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,7 +309,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2016_12_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2016_12_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_security_groups.rb index 035f38e15a..7987b47112 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_security_groups.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +227,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +312,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +325,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +386,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -405,8 +402,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -420,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +425,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +490,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2016_12_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +589,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +604,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +618,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +691,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +705,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +762,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +783,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_watchers.rb index f395216c71..18097b6a95 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_watchers.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2016_12_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -147,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -162,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -176,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -184,7 +185,6 @@ def get_async(resource_group_name, network_watcher_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 @@ -237,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -251,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -276,8 +276,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -290,8 +290,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -303,14 +303,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -363,8 +362,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -376,8 +375,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -388,13 +387,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -451,8 +449,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -468,8 +466,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -484,7 +482,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -493,12 +491,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, 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::Network::Mgmt::V2016_12_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -558,8 +557,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,9 +573,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -604,8 +603,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -620,9 +619,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -650,8 +649,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -666,9 +665,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -697,8 +696,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -714,9 +713,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -745,8 +744,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -762,9 +761,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -794,8 +793,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -812,9 +811,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -844,8 +843,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -862,9 +861,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -889,8 +888,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -904,8 +903,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -918,7 +917,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -926,7 +925,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +972,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -992,8 +990,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1009,7 +1007,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1018,12 +1016,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet 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::Network::Mgmt::V2016_12_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1092,8 +1091,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1109,8 +1108,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1125,7 +1124,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1134,12 +1133,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete 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::Network::Mgmt::V2016_12_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1208,8 +1208,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1225,8 +1225,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1241,7 +1241,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1250,12 +1250,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2016_12_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1325,8 +1326,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1343,8 +1344,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1360,7 +1361,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1369,12 +1370,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2016_12_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1444,8 +1446,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1462,8 +1464,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1479,7 +1481,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1488,12 +1490,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2016_12_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1564,8 +1567,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1583,8 +1586,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1601,7 +1604,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1610,12 +1613,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2016_12_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1686,8 +1690,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1705,8 +1709,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1723,7 +1727,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1732,12 +1736,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2016_12_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/packet_captures.rb index 2bd1f9eebd..63096ffc2b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/packet_captures.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu 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(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -189,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -214,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -229,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -275,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -304,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -320,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -335,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -343,7 +342,6 @@ def list_async(resource_group_name, network_watcher_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 @@ -401,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -436,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -446,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture 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::Network::Mgmt::V2016_12_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -508,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -524,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -539,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -548,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -593,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -609,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -624,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -633,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -681,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -699,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -716,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -725,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap 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_network/lib/2016-12-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/public_ipaddresses.rb index 2edd9ccf13..2bab8b54b5 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, public_ip_address_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 @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa 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::Network::Mgmt::V2016_12_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filter_rules.rb index d0cf75c34a..429a3240c8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -235,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -263,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -278,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -292,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -300,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -355,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -371,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -386,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -395,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -461,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -478,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -488,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na 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::Network::Mgmt::V2016_12_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -563,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -581,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -598,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -608,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ 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::Network::Mgmt::V2016_12_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -670,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -685,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -699,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -759,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filters.rb index be872b1b27..2a5c7af766 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filters.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -272,8 +271,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 # @@ -285,14 +284,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -345,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -358,8 +356,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 # @@ -370,13 +368,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -445,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -459,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -547,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -556,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f 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::Network::Mgmt::V2016_12_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -630,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -663,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -672,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para 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::Network::Mgmt::V2016_12_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -734,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -930,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_tables.rb index d996a148c9..caa910716e 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -223,8 +222,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -236,14 +235,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +294,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -309,8 +307,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -321,13 +319,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, route_table_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 @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete 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::Network::Mgmt::V2016_12_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -755,12 +750,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/routes.rb index 7f92df601a..133b9ca28c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, route_table_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 @@ -307,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na 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::Network::Mgmt::V2016_12_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -600,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/security_rules.rb index b963196d56..1f2b3181b3 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/security_rules.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -92,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -108,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -117,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -239,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -254,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -262,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -318,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -335,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -351,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -360,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -409,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -428,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -446,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -456,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2016_12_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -528,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -557,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -618,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/subnets.rb index d5996206ad..b1b6e4620e 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand: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(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -233,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -247,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +254,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -310,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -326,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -341,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -350,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -433,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -443,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn 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::Network::Mgmt::V2016_12_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -515,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/usages.rb index 30cbd0f78e..459a088121 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -149,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -208,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..c76ae4386e --- /dev/null +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/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::Network::Mgmt::V2016_12_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 9657da13fa..662cc473ae 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -52,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -81,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -97,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust 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(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -189,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -239,9 +238,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -270,8 +269,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -288,8 +287,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -305,7 +304,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -313,7 +312,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -368,8 +366,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -383,8 +381,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -397,14 +395,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -466,8 +463,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -484,9 +481,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -516,8 +513,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,8 +532,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -553,7 +550,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -562,12 +559,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2016_12_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -634,8 +632,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -650,8 +648,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -665,7 +663,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -673,7 +671,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -724,8 +721,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -745,8 +742,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -765,7 +762,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -774,12 +771,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn 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::Network::Mgmt::V2016_12_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -853,8 +851,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -875,8 +873,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -896,7 +894,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -905,12 +903,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2016_12_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -968,8 +967,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -984,8 +983,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -999,12 +998,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1059,12 +1057,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb index cba7a05523..7a7003404a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: 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(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -306,8 +304,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -323,9 +321,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -355,8 +353,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -374,8 +372,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -392,7 +390,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -401,12 +399,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ 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::Network::Mgmt::V2016_12_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -441,7 +440,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -472,8 +470,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -488,9 +486,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -518,8 +516,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -533,9 +531,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -564,8 +562,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -580,9 +578,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -611,8 +609,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -629,8 +627,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -646,7 +644,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -655,12 +653,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na 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::Network::Mgmt::V2016_12_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -727,8 +726,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -743,8 +742,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -758,7 +757,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -766,7 +765,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -815,8 +813,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -834,8 +832,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -852,7 +850,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -860,7 +858,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -917,8 +914,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -934,8 +931,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -950,7 +947,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -958,7 +955,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1015,8 +1011,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1032,8 +1028,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1048,7 +1044,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1056,7 +1052,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1114,8 +1109,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1132,8 +1127,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1149,7 +1144,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -1158,7 +1153,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1213,8 +1207,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1228,8 +1222,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1242,12 +1236,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1301,12 +1294,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb index 66f3c43ad8..6b0f434fa4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -92,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -108,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -117,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -249,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +256,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -313,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -330,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -346,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -355,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -403,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -421,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -438,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -448,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt 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::Network::Mgmt::V2016_12_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -520,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_networks.rb index 06fb87f22d..cf3eb9d124 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -383,8 +380,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -399,8 +396,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -414,7 +411,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -422,7 +419,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -491,8 +487,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -505,7 +501,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -513,7 +509,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +555,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +572,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -593,7 +588,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +597,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para 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::Network::Mgmt::V2016_12_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -674,8 +670,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -689,8 +685,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -703,12 +699,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,8 +757,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -777,8 +772,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -791,12 +786,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -849,12 +843,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -870,12 +864,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/application_gateways.rb index f35d76a4cb..ab9cf7a847 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/application_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationGateways include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, application_gateway_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 @@ -166,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +205,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -223,8 +219,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -236,14 +232,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +291,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -309,8 +304,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -321,13 +316,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -380,8 +374,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -394,9 +388,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -418,8 +412,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -432,9 +426,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -461,8 +455,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -477,9 +471,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -503,8 +497,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # # @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results. # - def list_available_waf_rule_sets(custom_headers:nil) - response = list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets(custom_headers = nil) + response = list_available_waf_rule_sets_async(custom_headers).value! response.body unless response.nil? end @@ -516,8 +510,8 @@ def list_available_waf_rule_sets(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_waf_rule_sets_with_http_info(custom_headers:nil) - list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets_with_http_info(custom_headers = nil) + list_available_waf_rule_sets_async(custom_headers).value! end # @@ -528,13 +522,12 @@ def list_available_waf_rule_sets_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_waf_rule_sets_async(custom_headers:nil) + def list_available_waf_rule_sets_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -588,8 +581,8 @@ def list_available_waf_rule_sets_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -603,8 +596,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -617,7 +610,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -625,7 +618,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -672,8 +664,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -689,8 +681,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -705,7 +697,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -714,12 +706,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, 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::Network::Mgmt::V2017_03_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -785,8 +778,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -800,8 +793,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -814,7 +807,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -822,7 +815,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -866,8 +858,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -881,8 +873,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -895,7 +887,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -903,7 +895,6 @@ def begin_stop_async(resource_group_name, application_gateway_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 @@ -951,8 +942,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -969,8 +960,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -986,7 +977,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -994,7 +985,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1049,8 +1039,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1064,8 +1054,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1078,12 +1068,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1137,8 +1126,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1152,8 +1141,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1166,12 +1155,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1225,12 +1213,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1245,12 +1233,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/bgp_service_communities.rb index 83b9f41436..4f84e468b2 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class BgpServiceCommunities include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index f9d85b67d5..b4ac7ff9a4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitAuthorizations include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -235,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -249,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +253,6 @@ def list_async(resource_group_name, circuit_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 @@ -312,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -328,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -343,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -352,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -420,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -438,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -448,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio 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::Network::Mgmt::V2017_03_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -520,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 62799c1495..ac23062dac 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitPeerings include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, circuit_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 @@ -310,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name 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::Network::Mgmt::V2017_03_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuits.rb index 115c67548a..a45a4639a8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuits include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, circuit_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 @@ -166,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +209,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -229,9 +225,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -260,8 +256,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -276,9 +272,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -323,9 +319,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -351,8 +347,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -366,8 +362,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -380,7 +376,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -388,7 +384,6 @@ def get_stats_async(resource_group_name, circuit_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 @@ -444,8 +439,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -460,8 +455,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -475,7 +470,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -484,7 +479,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -538,8 +532,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -552,8 +546,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -565,14 +559,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -625,8 +618,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -638,8 +631,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -650,13 +643,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -710,8 +702,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -725,8 +717,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -739,7 +731,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -747,7 +739,6 @@ def begin_delete_async(resource_group_name, circuit_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 @@ -794,8 +785,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -811,8 +802,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -827,7 +818,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -836,12 +827,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, 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::Network::Mgmt::V2017_03_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -911,8 +903,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -929,8 +921,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -946,7 +938,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -956,7 +948,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1014,8 +1005,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1032,8 +1023,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1049,7 +1040,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1059,7 +1050,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1117,8 +1107,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1135,8 +1125,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1152,7 +1142,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1162,7 +1152,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1217,8 +1206,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1232,8 +1221,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1246,12 +1235,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1305,8 +1293,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1320,8 +1308,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1334,12 +1322,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1393,12 +1380,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1413,12 +1400,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_service_providers.rb index ac80576303..c58d71f3eb 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteServiceProviders include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/load_balancers.rb index 6d76e078ac..243d1d3d27 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancers include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +207,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -224,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -236,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -310,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -323,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -384,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -399,8 +393,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -413,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -421,7 +415,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -468,8 +461,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,8 +478,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -501,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -510,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame 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::Network::Mgmt::V2017_03_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -582,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -597,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -611,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -670,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -685,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -699,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -778,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/local_network_gateways.rb index 7dc38c81ad..a4a909a4d6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LocalNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -114,16 +111,14 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -192,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +212,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -231,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -244,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +303,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -327,8 +321,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -344,22 +338,22 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -426,8 +420,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -442,8 +436,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -457,16 +451,14 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -511,8 +503,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -526,8 +518,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -540,12 +532,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -599,12 +590,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/address_space.rb index 7a36232c5e..1ed40ad127 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway.rb index 9e957ea507..ba9651998d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -92,7 +92,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -100,7 +99,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -108,7 +106,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -117,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -126,7 +122,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -134,13 +129,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: { @@ -150,7 +143,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -159,7 +151,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -168,7 +159,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -177,13 +167,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -211,13 +197,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -228,13 +212,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -245,13 +227,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -262,13 +242,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -279,13 +257,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -296,13 +272,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -313,13 +287,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -330,13 +302,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -347,13 +317,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -364,7 +332,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -373,7 +340,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -381,7 +347,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -389,7 +354,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index 995c4a8ec1..215d6281c6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -35,7 +35,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb index fa259a1cee..d765c4d3b7 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb @@ -24,7 +24,6 @@ class ApplicationGatewayAvailableWafRuleSetsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableWafRuleSetsResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableWafRuleSetsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSetElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 08ebd1e95e..5407b549f7 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 92fcd7f75c..24f1bfe1a1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -38,7 +38,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index 3b00fc261b..183c0c8482 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index 314a57975f..d21bbb92f4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index 166b72207b..f088902dd4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index b3b2d1492e..791a2c5ab1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -30,7 +30,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 8ed8289ffd..58537544a6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -58,7 +58,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -132,7 +123,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -140,7 +130,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -149,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -157,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 748ac30507..ffc6b01f84 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb index f09a4c575f..14a4cd3446 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb @@ -27,7 +27,6 @@ class ApplicationGatewayFirewallDisabledRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallDisabledRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -43,13 +41,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb index 315b95bb07..45c8a5db44 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb @@ -25,7 +25,6 @@ class ApplicationGatewayFirewallRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRule', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRule', model_properties: { rule_id: { - client_side_validation: true, required: true, serialized_name: 'ruleId', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb index 4af51af992..d31a7014d2 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb @@ -30,7 +30,6 @@ class ApplicationGatewayFirewallRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb index 129e8b6cb9..b87c877917 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFirewallRuleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSet', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleSet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetType', type: { @@ -108,7 +99,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetVersion', type: { @@ -116,13 +106,11 @@ def self.mapper() } }, rule_groups: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index b4bb8f10a4..c2c3275519 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -46,7 +46,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 960dfe0357..0cd7c8ba7a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index ac1975a0d0..2ebdaaee22 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -53,7 +53,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 8fa5fa3ae2..7a5fb0bad4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index b31d2b7663..bcce0288e8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 0d1f7e832f..57cf048141 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -40,7 +40,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,13 +54,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index 45efb75b8d..fca042fb7b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -57,7 +57,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -89,7 +85,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -105,7 +99,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index ee31b825a3..1a13af7e28 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -50,7 +50,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -92,7 +87,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 84d0774f0c..43cf6b7879 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index a16f036a68..678f75dd11 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -43,7 +43,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 14d31c50a3..2b273f75b6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -23,7 +23,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 09bcd64b07..131c447655 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -44,7 +44,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index b9d07106b9..52b19dce9c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: true, serialized_name: 'firewallMode', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'ruleSetType', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'ruleSetVersion', type: { @@ -79,13 +74,11 @@ def self.mapper() } }, disabled_rule_groups: { - client_side_validation: true, required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 4b52c50aa0..f350c96f3e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index c1aeff46a8..2f85611da3 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 09c1c57d55..8f4b56c711 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index a3bc1a6426..ab218a0f6b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -44,7 +44,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -61,7 +59,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -70,7 +67,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -79,7 +75,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -88,7 +83,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -97,7 +91,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -106,7 +99,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -115,7 +107,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 78aae532dc..12d5403c77 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community.rb index a17dab9df2..7c3ea92009 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,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: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index 84c842a8e9..f8fb3db99d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_settings.rb index 4ac19afa45..31bf203200 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -30,7 +30,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb index 0912cef14a..bca14fe5d2 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -34,7 +34,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 94cd341288..dcc043ed7a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -23,7 +23,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 08bfe12fff..7f984fe94b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb index 0adc857375..35acaf13d6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb @@ -30,7 +30,6 @@ class ConnectivityDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectivityDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_hop.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_hop.rb index 44f0bb4475..c71f8a69cd 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_hop.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_hop.rb @@ -37,7 +37,6 @@ class ConnectivityHop # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHop', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectivityHop', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,7 +52,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +60,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'address', @@ -72,7 +68,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', @@ -81,14 +76,12 @@ def self.mapper() } }, next_hop_ids: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHopIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,14 +91,12 @@ def self.mapper() } }, issues: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'issues', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssueElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb index 96df83d2e1..4462b29958 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb @@ -42,7 +42,6 @@ class ConnectivityInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityInformation', type: { @@ -50,14 +49,12 @@ def self.mapper() class_name: 'ConnectivityInformation', model_properties: { hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -77,7 +73,6 @@ def self.mapper() } }, avg_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'avgLatencyInMs', @@ -86,7 +81,6 @@ def self.mapper() } }, min_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minLatencyInMs', @@ -95,7 +89,6 @@ def self.mapper() } }, max_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maxLatencyInMs', @@ -104,7 +97,6 @@ def self.mapper() } }, probes_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesSent', @@ -113,7 +105,6 @@ def self.mapper() } }, probes_failed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesFailed', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_issue.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_issue.rb index dcc0aaa35e..80edb29d88 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_issue.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_issue.rb @@ -38,7 +38,6 @@ class ConnectivityIssue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectivityIssue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'severity', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,20 +69,17 @@ def self.mapper() } }, context: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'context', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HashElementType', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_parameters.rb index 181aee3899..0848443f58 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_parameters.rb @@ -25,7 +25,6 @@ class ConnectivityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ConnectivityParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_source.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_source.rb index cb5b56943f..b66f11d7f2 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_source.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_source.rb @@ -27,7 +27,6 @@ class ConnectivitySource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivitySource', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ConnectivitySource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dhcp_options.rb index 9ab06e3f82..92926b86e6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 6eef5698bd..92758923aa 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 4a0c79a127..d953087fc5 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -29,7 +29,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 7336448295..53753bd946 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index 08afbbe4a4..cf07c23ebc 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index eb8071c0d0..f766b3b4db 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -59,7 +59,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -67,7 +66,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +73,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -91,7 +87,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -131,13 +122,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -155,7 +143,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route.rb index 93dd794bee..db2d71c7c6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 7c1db7fe30..2131fdef58 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error.rb index 664ebed06f..18bffb210a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error_details.rb index 3e39b7a076..6dcc05b4a6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 1806a3ed30..b6e1ba4f54 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,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: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 47d60c3c0d..0cc1858af3 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index b396c6b396..9134e34990 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index f69b29ce05..2edbe256d2 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index a9e8f3f064..2294273370 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -87,7 +87,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -111,7 +108,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -119,7 +115,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -127,7 +122,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -143,7 +136,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -151,7 +143,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -159,7 +150,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -167,7 +157,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -175,7 +164,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -183,7 +171,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -192,7 +179,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -201,7 +187,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +194,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -217,7 +201,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -225,7 +208,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -234,7 +216,6 @@ def self.mapper() } }, ipv6peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { @@ -243,7 +224,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -251,7 +231,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 5ad9e6724d..0d6d1ac410 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index 5abf2063b1..1b8536d92c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 94403f7bbb..c7c9b4ecea 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 62d7efcef3..7caf99a2a7 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index a69105d91d..f322c56b74 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index f89eb74bbb..6c44481ce4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index e2a175d266..c0ec6c7794 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 78ead8a769..3e1d41e00e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 1f569b90ec..c858e8f522 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index 46a8196336..1d0431c9fe 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 781077f1c1..efe9ff111c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index fa74479ba9..795649e3fc 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index f7151f1166..41ed4db32e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_information.rb index 87eb857abc..82983a4d94 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index ee08a3f1dd..b7bc4e0101 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index e918d9857f..6f19f32f45 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -61,7 +61,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,14 +75,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,14 +91,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -113,14 +107,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -131,14 +123,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -165,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route.rb index 1a418db70d..b0a203870b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -40,7 +40,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -57,7 +55,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -66,7 +63,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -75,7 +71,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -84,7 +79,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -93,7 +87,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -102,7 +95,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index 64ebf6dbba..647230af26 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 1028b8fec2..db3e29943d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -53,7 +53,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 74ab27344a..847bee491a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -66,7 +66,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,7 +80,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -91,7 +88,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -101,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -109,7 +104,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -117,7 +111,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -125,7 +118,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index 9a43c47b29..d3362ff50c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipconfiguration.rb index b83f9bce2f..3258ddc84c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipsec_policy.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipsec_policy.rb index 2f0e9692ba..c58fe588e3 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipsec_policy.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipsec_policy.rb @@ -55,7 +55,6 @@ class IpsecPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicy', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'IpsecPolicy', model_properties: { sa_life_time_seconds: { - client_side_validation: true, required: true, serialized_name: 'saLifeTimeSeconds', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, sa_data_size_kilobytes: { - client_side_validation: true, required: true, serialized_name: 'saDataSizeKilobytes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, ipsec_encryption: { - client_side_validation: true, required: true, serialized_name: 'ipsecEncryption', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipsec_integrity: { - client_side_validation: true, required: true, serialized_name: 'ipsecIntegrity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, ike_encryption: { - client_side_validation: true, required: true, serialized_name: 'ikeEncryption', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ike_integrity: { - client_side_validation: true, required: true, serialized_name: 'ikeIntegrity', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, dh_group: { - client_side_validation: true, required: true, serialized_name: 'dhGroup', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, pfs_group: { - client_side_validation: true, required: true, serialized_name: 'pfsGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb index 7a712c5cd4..609accb95f 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb @@ -37,7 +37,6 @@ class Ipv6ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Ipv6ExpressRouteCircuitPeeringConfig', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Ipv6ExpressRouteCircuitPeeringConfig', model_properties: { primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'primaryPeerAddressPrefix', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'secondaryPeerAddressPrefix', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'microsoftPeeringConfig', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'routeFilter', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer.rb index ac9d87ea54..9d0c6d1eb9 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -69,7 +69,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -85,7 +83,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -94,7 +91,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -103,7 +99,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -111,13 +106,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: { @@ -127,13 +120,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -144,13 +135,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -161,13 +150,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -178,13 +165,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -195,13 +180,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -212,13 +195,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -229,13 +210,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -246,7 +225,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -254,7 +232,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -262,7 +239,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index 99f286d081..b52371217b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index 1ea110ce0d..91e4319917 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -73,7 +73,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -107,7 +103,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 5323a558b4..9c240e052d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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: false, 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() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 9085027ac4..87c4e7494a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface.rb index 040f0cd6bf..c82cb1cf2b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_association.rb index 300962484b..378a7133c3 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 67ca8a4360..b5ca8081fc 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 70d83d27af..7d3fdb1ed7 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -66,7 +66,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,13 +80,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -99,13 +95,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -116,13 +110,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -166,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 394b00e54b..eaa5bc9370 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group.rb index ed3d22aeb9..7a2136f8bb 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index 3f55a43050..cef88cfd43 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher.rb index 1cb12456f9..754c1632bb 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,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: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index b77051a972..027ba4ba16 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index f31a35cb1d..7d267e0274 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_result.rb index 2e1efd7a59..110b418511 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index 867de46d13..cce179ca2b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture.rb index bfef1a6cb6..3cc9564714 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index 12b8221c7d..4c4b954156 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 6876ed105b..b65076ac28 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index 8fc9a30a43..5354ba45b9 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index c69a9240cd..56c105ffa9 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_result.rb index 2c31d2968e..37fabae173 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index cdc7c854b5..4e80cdcff9 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter.rb index aac23c6d56..6c9596c645 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,14 +74,12 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -132,13 +122,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_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index e8ad08cddc..5151d0e274 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -46,7 +46,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,13 +114,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_network/lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb index cbae3ef284..7237f1c7dd 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress.rb index b35b8bf783..7c04afe89a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -52,7 +52,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,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: { @@ -110,7 +103,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -136,7 +126,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -177,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 103fefedc2..7cce1207ad 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index b27e11ee36..98ef877f9f 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index 25eebed876..496870f715 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource.rb index 4f6eb93025..e2819e01f5 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index 61fe892117..04ed730e0d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index 8ea6cec9fa..ff8ad277c8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route.rb index be89932467..d72ce01a8e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter.rb index 08e0ba3a9b..74eb7d9672 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,14 +101,12 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -128,7 +117,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -137,7 +125,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index fc41c1cefa..6dcaab32d4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule.rb index 003fdaefac..56276ad5f4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -49,7 +49,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -83,13 +79,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -108,7 +101,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -117,7 +109,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -134,13 +124,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_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index a57efd17e5..4780d894e3 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_list_result.rb index 00b7a86c03..ff36d9a87d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table.rb index 01cca1a856..988d82485f 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,14 +100,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -135,7 +123,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table_list_result.rb index b733c1b5ae..d3c83031d8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index 44c57f1622..55fbcafe5d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index 841faa8fbd..584fc546d1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_result.rb index 568ba50513..f187cbb437 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule.rb index 8cdc8712f8..01e71c6911 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule.rb @@ -76,7 +76,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -84,7 +83,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -92,7 +90,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -100,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -108,7 +104,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_associations.rb index d288468809..b88d53e01a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index bf143d93f3..dae86e232d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/sub_resource.rb index f80166f1b7..2856498b8b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet.rb index b763d4f503..f94ad8a148 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet.rb @@ -48,7 +48,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -90,14 +85,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -133,7 +123,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -141,7 +130,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_association.rb index 8021509563..0b1dd6a08d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 6bdbb8ada2..87ad8c7605 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology.rb index cbb3df4e96..879758c574 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_association.rb index 413d5f7cc2..50544949b8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_parameters.rb index 25f9dd80c5..dcb7790425 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -23,7 +23,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: true, serialized_name: 'targetResourceGroupName', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_resource.rb index f31b6c45d8..4a38ea11ef 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index d878b0b64c..cd4e390f97 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index 7e7b7a4055..0d0c8e0d8e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index 1479d4895d..9b0e6dfdff 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 53630deed4..2298ea8f5f 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index 3c2ed2180e..d1b9f346e1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage.rb index 2618cf17e5..e405ebabe1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage_name.rb index ab2a623969..df515a9233 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usages_list_result.rb index 1d3abe959a..e5f17f4e6d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index 0b326af8ec..55d1bee451 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index aee2e6b643..f3bcb7aeef 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network.rb index ebcdf43a3a..92826b2be6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -46,7 +46,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,7 +97,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -122,13 +113,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -139,13 +128,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -164,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +157,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 4317f2ea8a..da610f5c98 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,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: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 3788556996..576ee19f59 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -85,7 +85,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -93,7 +92,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -101,7 +99,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -110,7 +107,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -119,7 +115,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -127,13 +122,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: { @@ -143,7 +136,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -151,7 +143,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -160,7 +151,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -169,7 +159,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -178,7 +167,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -186,7 +174,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -194,7 +181,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -202,7 +188,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -211,14 +196,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -229,7 +212,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -238,7 +220,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -247,7 +228,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -256,7 +236,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -264,7 +243,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -272,13 +250,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -289,7 +265,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -297,7 +272,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -306,7 +280,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index f4167966e7..8fc885b7ab 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 991ab6558b..de7cc61534 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 9478d7fd07..28bc7c873f 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index 7b00917e25..60acff7080 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 5838a06999..128ab47e81 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb index 09ce0bb0c1..8ff7b17dc6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListUsageResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'VirtualNetworkListUsageResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index bc9d4f7b56..f8298bafd4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -58,7 +58,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index c75b3b215a..4d691dcaae 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage.rb index e7dc29d754..11eb9a3071 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage.rb @@ -35,7 +35,6 @@ class VirtualNetworkUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualNetworkUsage', model_properties: { current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -52,7 +50,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +58,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +75,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb index 92f139c3d2..06ff2a359a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb @@ -25,7 +25,6 @@ class VirtualNetworkUsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualNetworkUsageName', model_properties: { localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index e88e26da2d..a586ddae67 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 1edb3d25fe..ba18c9aef0 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -24,7 +24,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: true, serialized_name: 'processorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 6ff7f3d44a..0abfb74992 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index 16964137e0..108efb8ae0 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_interfaces.rb index 23878b07bb..e37ce197f6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +207,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -224,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -236,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -310,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -323,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -385,8 +379,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -399,9 +393,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -427,8 +421,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -441,9 +435,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -468,8 +462,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -483,8 +477,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -497,7 +491,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -505,7 +499,6 @@ def begin_delete_async(resource_group_name, network_interface_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 @@ -552,8 +545,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -569,8 +562,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -585,7 +578,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -594,12 +587,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa 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::Network::Mgmt::V2017_03_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -666,8 +660,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -681,8 +675,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -695,7 +689,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -703,7 +697,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -758,8 +751,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -773,8 +766,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -787,7 +780,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -795,7 +788,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -850,8 +842,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -865,8 +857,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -879,12 +871,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -938,8 +929,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -953,8 +944,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -967,12 +958,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1025,12 +1015,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1046,12 +1036,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb index c51c2f7c2c..fec0d11653 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb @@ -200,9 +200,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? @@ -223,8 +220,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -239,8 +236,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -254,14 +251,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,7 +309,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2017_03_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2017_03_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_security_groups.rb index cf7569618a..446b279502 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -117,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -231,8 +227,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -243,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -303,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -317,8 +312,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -330,14 +325,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -392,8 +386,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -408,8 +402,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -423,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -431,7 +425,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -479,8 +472,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -497,8 +490,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -514,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -523,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2017_03_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -595,8 +589,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -610,8 +604,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -624,12 +618,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -683,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -698,8 +691,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -712,12 +705,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -770,12 +762,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -791,12 +783,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_watchers.rb index 57a9f643ba..3741d710b8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_watchers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkWatchers include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -53,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -69,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -78,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2017_03_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -150,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -165,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -179,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -187,7 +185,6 @@ def get_async(resource_group_name, network_watcher_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 @@ -240,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -254,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -279,8 +276,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -293,8 +290,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -306,14 +303,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -366,8 +362,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -379,8 +375,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -391,13 +387,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -454,8 +449,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -471,8 +466,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -487,7 +482,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -496,12 +491,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, 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::Network::Mgmt::V2017_03_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -561,8 +557,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,9 +573,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -607,8 +603,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -623,9 +619,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -653,8 +649,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -669,9 +665,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -700,8 +696,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -717,9 +713,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -748,8 +744,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -765,9 +761,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -797,8 +793,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -815,9 +811,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -847,8 +843,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -865,9 +861,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -899,8 +895,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # # @return [ConnectivityInformation] operation results. # - def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -917,9 +913,9 @@ def check_connectivity(resource_group_name, network_watcher_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -944,8 +940,8 @@ def check_connectivity_async(resource_group_name, network_watcher_name, paramete # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -959,8 +955,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -973,7 +969,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -981,7 +977,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1029,8 +1024,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1047,8 +1042,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1064,7 +1059,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1073,12 +1068,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet 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::Network::Mgmt::V2017_03_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1147,8 +1143,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1164,8 +1160,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1180,7 +1176,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1189,12 +1185,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete 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::Network::Mgmt::V2017_03_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1263,8 +1260,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1280,8 +1277,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1296,7 +1293,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1305,12 +1302,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2017_03_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1380,8 +1378,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1398,8 +1396,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1415,7 +1413,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1424,12 +1422,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2017_03_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1499,8 +1498,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1517,8 +1516,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1534,7 +1533,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1543,12 +1542,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2017_03_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1619,8 +1619,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1638,8 +1638,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1656,7 +1656,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1665,12 +1665,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2017_03_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1741,8 +1742,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1760,8 +1761,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1778,7 +1779,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1787,12 +1788,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2017_03_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1865,8 +1867,8 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p # # @return [ConnectivityInformation] operation results. # - def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1886,8 +1888,8 @@ def begin_check_connectivity(resource_group_name, network_watcher_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1906,7 +1908,7 @@ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1915,12 +1917,13 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa 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::Network::Mgmt::V2017_03_01::Models::ConnectivityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/packet_captures.rb index 06fd1c051c..0f4c0ca3c1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/packet_captures.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PacketCaptures include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -232,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -278,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -323,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -338,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -346,7 +342,6 @@ def list_async(resource_group_name, network_watcher_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 @@ -404,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -422,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -439,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -449,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture 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::Network::Mgmt::V2017_03_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -511,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -527,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -542,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -551,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -612,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -627,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -636,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -702,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -719,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -728,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap 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_network/lib/2017-03-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/public_ipaddresses.rb index edda12ee3e..49ba11f644 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +207,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -224,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -236,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -310,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -323,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -384,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -399,8 +393,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -413,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -421,7 +415,6 @@ def begin_delete_async(resource_group_name, public_ip_address_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 @@ -468,8 +461,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,8 +478,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -501,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -510,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa 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::Network::Mgmt::V2017_03_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -582,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -597,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -611,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -670,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -685,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -699,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -778,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filter_rules.rb index 83902837fb..4cc3ac6ff6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilterRules include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -281,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -358,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -374,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -389,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -398,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -446,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -481,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -491,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na 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::Network::Mgmt::V2017_03_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -566,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -584,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -601,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -611,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ 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::Network::Mgmt::V2017_03_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -673,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -688,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -702,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filters.rb index 87975a3341..8018c08ff6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filters.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilters include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -107,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -234,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -275,8 +271,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 # @@ -288,14 +284,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -348,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +356,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 # @@ -373,13 +368,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -433,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -448,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -462,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -470,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -534,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -550,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -559,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f 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::Network::Mgmt::V2017_03_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -633,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -650,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -666,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -675,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para 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::Network::Mgmt::V2017_03_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -737,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -752,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -766,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -825,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -840,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -854,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -913,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -933,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_tables.rb index 2477ddae74..56c8ddd3bc 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_tables.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteTables include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -226,8 +222,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -239,14 +235,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -299,8 +294,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -312,8 +307,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -324,13 +319,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -384,8 +378,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -399,8 +393,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -413,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -421,7 +415,6 @@ def begin_delete_async(resource_group_name, route_table_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 @@ -468,8 +461,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,8 +478,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -501,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -510,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete 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::Network::Mgmt::V2017_03_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -582,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -597,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -611,12 +605,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -670,8 +663,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -685,8 +678,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -699,12 +692,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -758,12 +750,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -778,12 +770,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/routes.rb index 26d90407b2..dbaa59fa08 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/routes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Routes include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, route_table_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 @@ -310,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na 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::Network::Mgmt::V2017_03_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/security_rules.rb index 012b12668f..0512e0af5c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class SecurityRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -197,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -226,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -242,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -257,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -265,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -338,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -354,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -363,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -431,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -449,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -459,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2017_03_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -531,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -546,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -560,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -621,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/subnets.rb index dcd710a667..950ef0b33e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/subnets.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Subnets include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -118,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -193,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -236,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -250,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +254,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -313,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn 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::Network::Mgmt::V2017_03_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/usages.rb index 86d144a063..5cc76965dd 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/usages.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Usages include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -123,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -138,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -152,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..3383425687 --- /dev/null +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/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::Network::Mgmt::V2017_03_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 5e54642416..2f28f83f86 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGatewayConnections include MsRestAzure @@ -38,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -100,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -115,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -224,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -242,9 +238,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -273,8 +269,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -291,8 +287,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -308,7 +304,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -316,7 +312,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -371,8 +366,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -386,8 +381,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -400,14 +395,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -469,8 +463,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -487,9 +481,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -519,8 +513,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -538,8 +532,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -556,7 +550,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -565,12 +559,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2017_03_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -637,8 +632,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -653,8 +648,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -668,7 +663,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -676,7 +671,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -727,8 +721,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -748,8 +742,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -768,7 +762,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -777,12 +771,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn 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::Network::Mgmt::V2017_03_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -856,8 +851,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -878,8 +873,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -899,7 +894,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -908,12 +903,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2017_03_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -971,8 +967,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -987,8 +983,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1002,12 +998,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1062,12 +1057,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb index eb51491492..ae2662cda9 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -122,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -191,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -216,8 +212,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -230,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -243,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +304,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -326,9 +321,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -358,8 +353,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -377,8 +372,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -395,7 +390,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -404,12 +399,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ 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::Network::Mgmt::V2017_03_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -444,7 +440,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -475,8 +470,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -491,9 +486,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -521,8 +516,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -536,9 +531,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -567,8 +562,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -583,9 +578,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -614,8 +609,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -632,8 +627,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -649,7 +644,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -658,12 +653,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na 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::Network::Mgmt::V2017_03_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -730,8 +726,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -746,8 +742,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -761,7 +757,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -769,7 +765,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -818,8 +813,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -837,8 +832,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -855,7 +850,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -863,7 +858,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -920,8 +914,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -937,8 +931,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -953,7 +947,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -961,7 +955,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1018,8 +1011,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1035,8 +1028,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1051,7 +1044,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1059,7 +1052,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1117,8 +1109,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1135,8 +1127,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1152,7 +1144,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -1161,7 +1153,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1216,8 +1207,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1231,8 +1222,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1245,12 +1236,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1304,12 +1294,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb index c36586581f..3c1f97dd2b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkPeerings include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -178,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -195,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -238,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -252,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +256,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -316,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -333,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -349,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -358,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -406,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -424,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -441,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -451,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt 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::Network::Mgmt::V2017_03_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -523,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -538,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -552,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -612,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_networks.rb index eca1b1a69a..064b473989 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_networks.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworks include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +207,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -224,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -236,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -310,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -323,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -386,8 +380,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -402,8 +396,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -417,7 +411,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -425,7 +419,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -480,8 +473,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # # @return [Array] operation results. # - def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list_usage(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -495,8 +488,8 @@ def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -509,7 +502,7 @@ def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_usage_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -517,7 +510,6 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -571,8 +563,8 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -586,8 +578,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -600,7 +592,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -608,7 +600,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -655,8 +646,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -672,8 +663,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -688,7 +679,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -697,12 +688,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para 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::Network::Mgmt::V2017_03_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -769,8 +761,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -784,8 +776,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -798,12 +790,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -857,8 +848,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -872,8 +863,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -886,12 +877,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -945,8 +935,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListUsageResult] operation results. # - def list_usage_next(next_page_link, custom_headers:nil) - response = list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next(next_page_link, custom_headers = nil) + response = list_usage_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -960,8 +950,8 @@ def list_usage_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_next_with_http_info(next_page_link, custom_headers:nil) - list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next_with_http_info(next_page_link, custom_headers = nil) + list_usage_next_async(next_page_link, custom_headers).value! end # @@ -974,12 +964,11 @@ def list_usage_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_next_async(next_page_link, custom_headers:nil) + def list_usage_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1032,12 +1021,12 @@ def list_usage_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1053,12 +1042,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1075,12 +1064,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkListUsageResult] which provide lazy access to pages of # the response. # - def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_usage_next_async(next_page_link, custom_headers:custom_headers) + list_usage_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 0037fc6cbe..1a11a60df9 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 9466630241..4c424707fb 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -41,7 +41,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -57,13 +55,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -74,13 +70,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_security_group.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_security_group.rb index 0b4c36670f..f5b077d2ce 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_security_group.rb @@ -34,7 +34,6 @@ class ApplicationSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,7 +85,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', @@ -101,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -110,7 +101,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb index d7f0673002..9bd16ebac4 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb index c1470b25f6..f87099122d 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -65,7 +65,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -90,7 +87,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb index d81d374917..c96ae66391 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface.rb index 47756c84ae..7172ac0658 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 3946051717..155c60d8fd 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 74abbbef62..0e8467c6df 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -73,7 +73,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,13 +87,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -106,13 +102,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -123,13 +117,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -223,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb index d0f2ad30de..ce90c9c7a3 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb index e794f8f731..3b99f14f0e 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_security_group.rb index 1d2c48a74b..796ae467a8 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb index 5034398c6f..3500763d3a 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -61,7 +61,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -136,7 +127,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -144,7 +134,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -203,13 +186,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index a79c16fc03..5c0560aff5 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index eeb8d141d2..3d478c1854 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_sku.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_sku.rb index 2ea86e414b..9e46cafdfc 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_sku.rb @@ -23,7 +23,6 @@ class PublicIPAddressSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'PublicIPAddressSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource.rb index bc258da60c..ceea91d122 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource_navigation_link.rb index 1da6029c12..932d3845ac 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route.rb index b85c1c99ee..8d240598e6 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route_table.rb index bc011e2193..493bcc4bbb 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,14 +100,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -135,7 +123,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/security_rule.rb index a6cef6d77c..c6fda66a65 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/security_rule.rb @@ -97,7 +97,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -105,7 +104,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -113,7 +111,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -121,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +125,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -137,7 +132,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -145,7 +139,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -153,13 +146,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -169,13 +160,11 @@ def self.mapper() } }, source_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -186,7 +175,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -210,13 +196,11 @@ def self.mapper() } }, destination_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -227,13 +211,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -243,13 +225,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -275,7 +253,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -283,7 +260,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -291,7 +267,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -299,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb index f4ac9a5aba..aeab060664 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb @@ -28,7 +28,6 @@ class ServiceEndpointPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormat', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ServiceEndpointPropertiesFormat', model_properties: { service: { - client_side_validation: true, required: false, serialized_name: 'service', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -60,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/sub_resource.rb index b904114110..600054ce00 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb index cf7bd39a2b..d32cd45ae0 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb @@ -52,7 +52,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, service_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormatElementType', type: { @@ -111,14 +104,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +149,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_interfaces.rb index fcae7c1be7..27289890c9 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_30 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -55,8 +52,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -72,7 +69,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -81,7 +78,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -137,8 +133,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -153,8 +149,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -168,7 +164,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? api_version = '2017-03-30' @@ -176,7 +172,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -235,8 +230,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -254,8 +249,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -272,7 +267,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -282,7 +277,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +336,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # # @return [Array] operation results. # - def list_virtual_machine_scale_set_ip_configurations(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - first_page = list_virtual_machine_scale_set_ip_configurations_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers) + def list_virtual_machine_scale_set_ip_configurations(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + first_page = list_virtual_machine_scale_set_ip_configurations_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers) first_page.get_all_items end @@ -362,8 +356,8 @@ def list_virtual_machine_scale_set_ip_configurations(resource_group_name, virtua # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_ip_configurations_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_ip_configurations_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -381,7 +375,7 @@ def list_virtual_machine_scale_set_ip_configurations_with_http_info(resource_gro # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -391,7 +385,6 @@ def list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +445,8 @@ def list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, # # @return [NetworkInterfaceIPConfiguration] operation results. # - def get_virtual_machine_scale_set_ip_configuration(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_ip_configuration(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand, custom_headers).value! response.body unless response.nil? end @@ -473,8 +466,8 @@ def get_virtual_machine_scale_set_ip_configuration(resource_group_name, virtual_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_ip_configuration_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_ip_configuration_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand, custom_headers).value! end # @@ -493,7 +486,7 @@ def get_virtual_machine_scale_set_ip_configuration_with_http_info(resource_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -504,7 +497,6 @@ def get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, vi request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +552,8 @@ def get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, vi # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -576,8 +568,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -591,12 +583,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -650,8 +641,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -665,8 +656,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -679,12 +670,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -739,8 +729,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceIPConfigurationListResult] operation results. # - def list_virtual_machine_scale_set_ip_configurations_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_ip_configurations_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -755,8 +745,8 @@ def list_virtual_machine_scale_set_ip_configurations_next(next_page_link, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_ip_configurations_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_ip_configurations_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers).value! end # @@ -770,12 +760,11 @@ def list_virtual_machine_scale_set_ip_configurations_next_with_http_info(next_pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -833,12 +822,12 @@ def list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -856,12 +845,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -883,12 +872,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceIPConfigurationListResult] which provide lazy access # to pages of the response. # - def list_virtual_machine_scale_set_ip_configurations_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_ip_configurations_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb index 8f3f8caf02..c42a0461c1 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb @@ -106,9 +106,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? @@ -125,7 +122,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2017_03_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2017_03_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/public_ipaddresses.rb index 3d195e1e1f..9a80d73710 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_30 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_virtual_machine_scale_set_public_ipaddresses(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_public_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_public_ipaddresses(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_public_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -53,8 +50,8 @@ def list_virtual_machine_scale_set_public_ipaddresses(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_public_ipaddresses_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_public_ipaddresses_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -69,7 +66,7 @@ def list_virtual_machine_scale_set_public_ipaddresses_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? api_version = '2017-03-30' @@ -77,7 +74,6 @@ def list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -137,8 +133,8 @@ def list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmpublic_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmpublic_ipaddresses(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmpublic_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers) first_page.get_all_items end @@ -157,8 +153,8 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:nil) - list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmpublic_ipaddresses_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers = nil) + list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers).value! end # @@ -176,7 +172,7 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:nil) + def list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -187,7 +183,6 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -248,8 +243,8 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_nam # # @return [PublicIPAddress] operation results. # - def get_virtual_machine_scale_set_public_ipaddress(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_public_ipaddress(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -269,8 +264,8 @@ def get_virtual_machine_scale_set_public_ipaddress(resource_group_name, virtual_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_public_ipaddress_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_public_ipaddress_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand, custom_headers).value! end # @@ -289,7 +284,7 @@ def get_virtual_machine_scale_set_public_ipaddress_with_http_info(resource_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -301,7 +296,6 @@ def get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, vi request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -357,8 +351,8 @@ def get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, vi # # @return [PublicIPAddressListResult] operation results. # - def list_virtual_machine_scale_set_public_ipaddresses_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_public_ipaddresses_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -373,8 +367,8 @@ def list_virtual_machine_scale_set_public_ipaddresses_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_public_ipaddresses_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_public_ipaddresses_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers).value! end # @@ -388,12 +382,11 @@ def list_virtual_machine_scale_set_public_ipaddresses_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -448,8 +441,8 @@ def list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, # # @return [PublicIPAddressListResult] operation results. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmpublic_ipaddresses_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -464,8 +457,8 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers).value! end # @@ -479,12 +472,11 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -541,12 +533,12 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_lin # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_virtual_machine_scale_set_public_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_public_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers) end page end @@ -568,12 +560,12 @@ def list_virtual_machine_scale_set_public_ipaddresses_as_lazy(resource_group_nam # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:nil) - response = list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmpublic_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers = nil) + response = list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..3408e9ccef --- /dev/null +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/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::Network::Mgmt::V2017_03_30 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network.rb index 9cd0589406..cc157977f2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network.rb @@ -46,9 +46,9 @@ module Azure::Network::Mgmt::V2017_09_01 autoload :PublicIPAddresses, '2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb' autoload :RouteFilters, '2017-09-01/generated/azure_mgmt_network/route_filters.rb' autoload :RouteFilterRules, '2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb' - autoload :BgpServiceCommunities, '2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb' autoload :RouteTables, '2017-09-01/generated/azure_mgmt_network/route_tables.rb' autoload :Routes, '2017-09-01/generated/azure_mgmt_network/routes.rb' + autoload :BgpServiceCommunities, '2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb' autoload :Usages, '2017-09-01/generated/azure_mgmt_network/usages.rb' autoload :VirtualNetworks, '2017-09-01/generated/azure_mgmt_network/virtual_networks.rb' autoload :Subnets, '2017-09-01/generated/azure_mgmt_network/subnets.rb' @@ -119,9 +119,9 @@ module Models autoload :EndpointServicesListResult, '2017-09-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb' autoload :AuthorizationListResult, '2017-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb' autoload :NetworkWatcherListResult, '2017-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb' - autoload :BgpServiceCommunityListResult, '2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb' + autoload :BGPCommunity, '2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb' autoload :TopologyParameters, '2017-09-01/generated/azure_mgmt_network/models/topology_parameters.rb' - autoload :VirtualNetworkConnectionGatewayReference, '2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb' + autoload :RouteListResult, '2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb' autoload :TopologyAssociation, '2017-09-01/generated/azure_mgmt_network/models/topology_association.rb' autoload :Ipv6ExpressRouteCircuitPeeringConfig, '2017-09-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb' autoload :TopologyResource, '2017-09-01/generated/azure_mgmt_network/models/topology_resource.rb' @@ -163,11 +163,11 @@ module Models autoload :PacketCaptureQueryStatusResult, '2017-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb' autoload :ApplicationGatewayAvailableSslPredefinedPolicies, '2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb' autoload :TroubleshootingParameters, '2017-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb' - autoload :RouteListResult, '2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb' + autoload :BgpServiceCommunityListResult, '2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb' autoload :QueryTroubleshootingParameters, '2017-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb' autoload :ExpressRouteCircuitPeeringConfig, '2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb' autoload :TroubleshootingRecommendedActions, '2017-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb' - autoload :BGPCommunity, '2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb' + autoload :RouteTableListResult, '2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb' autoload :TroubleshootingDetails, '2017-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb' autoload :ExpressRouteCircuitServiceProviderProperties, '2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb' autoload :TroubleshootingResult, '2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb' @@ -209,7 +209,7 @@ module Models autoload :AvailableProvidersListCountry, '2017-09-01/generated/azure_mgmt_network/models/available_providers_list_country.rb' autoload :ExpressRouteCircuitRoutesTableSummary, '2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb' autoload :AvailableProvidersList, '2017-09-01/generated/azure_mgmt_network/models/available_providers_list.rb' - autoload :RouteTableListResult, '2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb' + autoload :VirtualNetworkConnectionGatewayReference, '2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb' autoload :OperationDisplay, '2017-09-01/generated/azure_mgmt_network/models/operation_display.rb' autoload :ApplicationGatewayBackendHealthHttpSettings, '2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb' autoload :Availability, '2017-09-01/generated/azure_mgmt_network/models/availability.rb' diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb index 1530e35643..77cac76acc 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationGateways include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, application_gateway_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 @@ -166,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [ApplicationGateway] operation results. # - def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, application_gateway_name, parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -255,8 +251,8 @@ def update_tags_async(resource_group_name, application_gateway_name, parameters, # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -269,8 +265,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -282,14 +278,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -355,8 +350,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -367,13 +362,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -426,8 +420,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -440,9 +434,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -464,8 +458,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -478,9 +472,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +501,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -523,9 +517,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -549,8 +543,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # # @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results. # - def list_available_waf_rule_sets(custom_headers:nil) - response = list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets(custom_headers = nil) + response = list_available_waf_rule_sets_async(custom_headers).value! response.body unless response.nil? end @@ -562,8 +556,8 @@ def list_available_waf_rule_sets(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_waf_rule_sets_with_http_info(custom_headers:nil) - list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets_with_http_info(custom_headers = nil) + list_available_waf_rule_sets_async(custom_headers).value! end # @@ -574,13 +568,12 @@ def list_available_waf_rule_sets_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_waf_rule_sets_async(custom_headers:nil) + def list_available_waf_rule_sets_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -633,8 +626,8 @@ def list_available_waf_rule_sets_async(custom_headers:nil) # # @return [ApplicationGatewayAvailableSslOptions] operation results. # - def list_available_ssl_options(custom_headers:nil) - response = list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options(custom_headers = nil) + response = list_available_ssl_options_async(custom_headers).value! response.body unless response.nil? end @@ -646,8 +639,8 @@ def list_available_ssl_options(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_options_with_http_info(custom_headers:nil) - list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options_with_http_info(custom_headers = nil) + list_available_ssl_options_async(custom_headers).value! end # @@ -658,13 +651,12 @@ def list_available_ssl_options_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_options_async(custom_headers:nil) + def list_available_ssl_options_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -717,8 +709,8 @@ def list_available_ssl_options_async(custom_headers:nil) # # @return [Array] operation results. # - def list_available_ssl_predefined_policies(custom_headers:nil) - first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers:custom_headers) + def list_available_ssl_predefined_policies(custom_headers = nil) + first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers) first_page.get_all_items end @@ -730,8 +722,8 @@ def list_available_ssl_predefined_policies(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) - list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_with_http_info(custom_headers = nil) + list_available_ssl_predefined_policies_async(custom_headers).value! end # @@ -742,13 +734,12 @@ def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_async(custom_headers:nil) + def list_available_ssl_predefined_policies_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -802,8 +793,8 @@ def list_available_ssl_predefined_policies_async(custom_headers:nil) # # @return [ApplicationGatewaySslPredefinedPolicy] operation results. # - def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) - response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy(predefined_policy_name, custom_headers = nil) + response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! response.body unless response.nil? end @@ -816,8 +807,8 @@ def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers:nil) - get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers = nil) + get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! end # @@ -829,14 +820,13 @@ def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) + def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'predefined_policy_name is nil' if predefined_policy_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -890,8 +880,8 @@ def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -905,8 +895,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -919,7 +909,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -927,7 +917,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +963,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -991,8 +980,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1007,7 +996,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1016,12 +1005,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, 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::Network::Mgmt::V2017_09_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1090,8 +1080,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # # @return [ApplicationGateway] operation results. # - def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1107,8 +1097,8 @@ def begin_update_tags(resource_group_name, application_gateway_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1123,7 +1113,7 @@ def begin_update_tags_with_http_info(resource_group_name, application_gateway_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1132,12 +1122,13 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param 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::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1193,8 +1184,8 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1208,8 +1199,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1222,7 +1213,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1230,7 +1221,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1274,8 +1264,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1289,8 +1279,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1303,7 +1293,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1311,7 +1301,6 @@ def begin_stop_async(resource_group_name, application_gateway_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 @@ -1359,8 +1348,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -1377,8 +1366,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -1394,7 +1383,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1402,7 +1391,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1445,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1460,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1474,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,8 +1532,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1560,8 +1547,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1574,12 +1561,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1633,8 +1619,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayAvailableSslPredefinedPolicies] operation results. # - def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:nil) - response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next(next_page_link, custom_headers = nil) + response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1648,8 +1634,8 @@ def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers:nil) - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers = nil) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! end # @@ -1662,12 +1648,11 @@ def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:nil) + def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1721,12 +1706,12 @@ def list_available_ssl_predefined_policies_next_async(next_page_link, custom_hea # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1741,12 +1726,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1761,12 +1746,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationGatewayAvailableSslPredefinedPolicies] which provide lazy # access to pages of the response. # - def list_available_ssl_predefined_policies_as_lazy(custom_headers:nil) - response = list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_as_lazy(custom_headers = nil) + response = list_available_ssl_predefined_policies_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_security_groups.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_security_groups.rb index 846fc68414..f3cb98deb2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, application_security_group_name, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, application_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, application_security_group_name, custom_he # # @return [ApplicationSecurityGroup] operation results. # - def get(resource_group_name, application_security_group_name, custom_headers:nil) - response = get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_security_group_name, custom_headers = nil) + response = get_async(resource_group_name, application_security_group_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, application_security_group_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + get_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, application_security_group_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_security_group_name, custom_headers:nil) + def get_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +111,6 @@ def get_async(resource_group_name, application_security_group_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 @@ -172,8 +168,8 @@ def get_async(resource_group_name, application_security_group_name, custom_heade # # @return [ApplicationSecurityGroup] operation results. # - def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +185,9 @@ def create_or_update(resource_group_name, application_security_group_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, application_security_group_name, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +383,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -405,8 +399,8 @@ def begin_delete(resource_group_name, application_security_group_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -420,7 +414,7 @@ def begin_delete_with_http_info(resource_group_name, application_security_group_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +422,6 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +469,8 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus # # @return [ApplicationSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +487,8 @@ def begin_create_or_update(resource_group_name, application_security_group_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +504,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_secur # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +513,13 @@ def begin_create_or_update_async(resource_group_name, application_security_group 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::Network::Mgmt::V2017_09_01::Models::ApplicationSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, application_security_group # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +601,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +615,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +673,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +688,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +702,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +759,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +780,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/available_endpoint_services.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/available_endpoint_services.rb index 9495defb32..0af7de1fb2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/available_endpoint_services.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/available_endpoint_services.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class AvailableEndpointServices include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -122,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [EndpointServicesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -137,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -151,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -210,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [EndpointServicesListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb index 2f1d732d5a..86e510df0c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class BgpServiceCommunities include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/default_security_rules.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/default_security_rules.rb index 63113bb465..93aef3a9de 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/default_security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/default_security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class DefaultSecurityRules include MsRestAzure @@ -35,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -51,8 +48,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -66,7 +63,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +71,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +128,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +146,8 @@ def get(resource_group_name, network_security_group_name, default_security_rule_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! end # @@ -167,7 +163,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, default # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'default_security_rule_name is nil' if default_security_rule_name.nil? @@ -176,7 +172,6 @@ def get_async(resource_group_name, network_security_group_name, default_security request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +226,8 @@ def get_async(resource_group_name, network_security_group_name, default_security # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -246,8 +241,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -260,12 +255,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,12 +315,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 03e20a1c86..a8404bfecf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitAuthorizations include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -235,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -249,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +253,6 @@ def list_async(resource_group_name, circuit_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 @@ -312,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -328,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -343,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -352,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -420,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -438,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -448,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio 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::Network::Mgmt::V2017_09_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -520,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 66d5bc6898..84cf9d6da1 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitPeerings include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, circuit_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 @@ -310,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name 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::Network::Mgmt::V2017_09_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuits.rb index 7cd614e07e..076a420527 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuits include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, circuit_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 @@ -166,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuit] operation results. # - def update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, circuit_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +255,8 @@ def update_tags_async(resource_group_name, circuit_name, parameters, custom_head # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -275,9 +271,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -306,8 +302,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -322,9 +318,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -353,8 +349,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -369,9 +365,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -397,8 +393,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -412,8 +408,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -426,7 +422,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -434,7 +430,6 @@ def get_stats_async(resource_group_name, circuit_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 @@ -490,8 +485,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -506,8 +501,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -521,7 +516,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -530,7 +525,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -584,8 +578,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -598,8 +592,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -611,14 +605,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +664,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -684,8 +677,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -696,13 +689,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -756,8 +748,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -771,8 +763,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -785,7 +777,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -793,7 +785,6 @@ def begin_delete_async(resource_group_name, circuit_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 @@ -840,8 +831,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -857,8 +848,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -873,7 +864,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -882,12 +873,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, 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::Network::Mgmt::V2017_09_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -956,8 +948,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuit] operation results. # - def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -973,8 +965,8 @@ def begin_update_tags(resource_group_name, circuit_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -989,7 +981,7 @@ def begin_update_tags_with_http_info(resource_group_name, circuit_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -998,12 +990,13 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo 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::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1063,8 +1056,8 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1081,8 +1074,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1098,7 +1091,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1108,7 +1101,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1166,8 +1158,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1184,8 +1176,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1201,7 +1193,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1211,7 +1203,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1269,8 +1260,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1287,8 +1278,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1304,7 +1295,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1314,7 +1305,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1369,8 +1359,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1384,8 +1374,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1398,12 +1388,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1446,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1461,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1475,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,12 +1533,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1565,12 +1553,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_service_providers.rb index 9e38f9ff0d..89056e7900 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteServiceProviders include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/inbound_nat_rules.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/inbound_nat_rules.rb index aefcf6baae..9ad464c25a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/inbound_nat_rules.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/inbound_nat_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class InboundNatRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -125,8 +121,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -140,9 +136,9 @@ def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +164,8 @@ def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [InboundNatRule] operation results. # - def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! response.body unless response.nil? end @@ -185,8 +181,8 @@ def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! end # @@ -201,7 +197,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -210,7 +206,6 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -268,8 +263,8 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex # # @return [InboundNatRule] operation results. # - def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -285,9 +280,9 @@ def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -313,8 +308,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_ # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [InboundNatRule] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun 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::Network::Mgmt::V2017_09_01::Models::InboundNatRule.mapper() request_content = @client.serialize(request_mapper, inbound_nat_rule_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun # # @return [InboundNatRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [InboundNatRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb index 38e53050bc..4899b34fde 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerBackendAddressPools include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [BackendAddressPool] operation results. # - def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, backend_address_pool_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, backend_address_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'backend_address_pool_name is nil' if backend_address_pool_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name # # @return [LoadBalancerBackendAddressPoolListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerBackendAddressPoolListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb index 9bf360503b..ce24a1379a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerFrontendIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [FrontendIPConfiguration] operation results. # - def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'frontend_ipconfiguration_name is nil' if frontend_ipconfiguration_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ # # @return [LoadBalancerFrontendIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerFrontendIPConfigurationListResult] which provide lazy # access to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb index ef340d653a..90e1d7f478 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerLoadBalancingRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancingRule] operation results. # - def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_r # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'load_balancing_rule_name is nil' if load_balancing_rule_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, # # @return [LoadBalancerLoadBalancingRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerLoadBalancingRuleListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb index 7746692547..fff337061c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerNetworkInterfaces include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -126,8 +122,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_probes.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_probes.rb index 1ff8a871a4..c514a36ed7 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_probes.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_probes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerProbes include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [Probe] operation results. # - def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, probe_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'probe_name is nil' if probe_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, probe_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 @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header # # @return [LoadBalancerProbeListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerProbeListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancers.rb index 6b7bed19c4..6c987cf792 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancers include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancer] operation results. # - def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, load_balancer_name, parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, load_balancer_name, parameters, custo # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame 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::Network::Mgmt::V2017_09_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancer] operation results. # - def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, load_balancer_name, parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, 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::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/local_network_gateways.rb index 695fe3892b..6125b4d7c7 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LocalNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -114,16 +111,14 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -192,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +216,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [LocalNetworkGateway] operation results. # - def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +233,9 @@ def update_tags(resource_group_name, local_network_gateway_name, parameters, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -265,8 +260,8 @@ def update_tags_async(resource_group_name, local_network_gateway_name, parameter # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -279,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -292,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -357,8 +351,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -375,8 +369,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -392,22 +386,22 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -474,8 +468,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -490,8 +484,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -505,16 +499,14 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -562,8 +554,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -580,8 +572,8 @@ def begin_update_tags(resource_group_name, local_network_gateway_name, parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -597,22 +589,22 @@ def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -669,8 +661,8 @@ def begin_update_tags_async(resource_group_name, local_network_gateway_name, par # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -684,8 +676,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -698,12 +690,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +748,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/address_space.rb index d9cadc7b1a..a057b13470 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway.rb index 6b79b95802..2aed7da36d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -96,7 +96,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -112,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -121,7 +118,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -130,7 +126,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -138,13 +133,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: { @@ -154,7 +147,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -163,7 +155,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -172,7 +163,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -181,13 +171,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -198,13 +186,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -215,13 +201,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -232,13 +216,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -249,13 +231,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -266,13 +246,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -283,13 +261,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -300,13 +276,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -317,13 +291,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -334,13 +306,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -351,13 +321,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -368,13 +336,11 @@ def self.mapper() } }, redirect_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfigurationElementType', type: { @@ -385,7 +351,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -394,7 +359,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -402,7 +366,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -410,7 +373,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index 6b6c87dc66..8c84a45805 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -38,7 +38,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb index a6d2f96112..599d05a1f6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb @@ -36,7 +36,6 @@ class ApplicationGatewayAvailableSslOptions < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslOptions', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslOptions', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,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: { @@ -94,13 +87,11 @@ def self.mapper() } }, predefined_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.predefinedPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, default_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultPolicy', type: { @@ -119,13 +109,11 @@ def self.mapper() } }, available_cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.availableCipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -135,13 +123,11 @@ def self.mapper() } }, available_protocols: { - client_side_validation: true, required: false, serialized_name: 'properties.availableProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb index f108b766d7..bbfbec5fde 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicyElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb index 705544ce54..744f34f2bc 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb @@ -24,7 +24,6 @@ class ApplicationGatewayAvailableWafRuleSetsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableWafRuleSetsResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableWafRuleSetsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSetElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index c84cc10ac4..76e6ddc7c9 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index a48b289242..24e52a2fce 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -41,7 +41,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -57,13 +55,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -74,13 +70,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index a824f87732..6215a473da 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index 18b4aaabdd..366a9ebe2c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index 0fb2ea39c9..f5b3631df2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index a133465bf7..7b89729fba 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -31,7 +31,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index bcbc825afc..cc3cc79762 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -78,7 +78,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -118,7 +113,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -126,7 +120,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -152,7 +143,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, pick_host_name_from_backend_address: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendAddress', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, affinity_cookie_name: { - client_side_validation: true, required: false, serialized_name: 'properties.affinityCookieName', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, probe_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.probeEnabled', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -201,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +193,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -217,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -225,7 +207,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 52bd7a4c97..56ced2e7b9 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb index 0bd3698299..3842e201a6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb @@ -27,7 +27,6 @@ class ApplicationGatewayFirewallDisabledRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallDisabledRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -43,13 +41,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb index 8463b70b37..731c81b967 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb @@ -25,7 +25,6 @@ class ApplicationGatewayFirewallRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRule', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRule', model_properties: { rule_id: { - client_side_validation: true, required: true, serialized_name: 'ruleId', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb index 67f141609b..0d79592ab9 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb @@ -30,7 +30,6 @@ class ApplicationGatewayFirewallRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb index 523bbe8bee..bb61781f89 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFirewallRuleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSet', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleSet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetType', type: { @@ -108,7 +99,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetVersion', type: { @@ -116,13 +106,11 @@ def self.mapper() } }, rule_groups: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 8263a2c17d..2b0a976190 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -49,7 +49,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 46853e7eac..4362f63a05 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -37,7 +37,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 7fbe7c59de..6d60beefcb 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -56,7 +56,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 23a151c684..1d9ab07a0c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 3a58576e2d..4f156c1f50 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 1f3a9eaaf0..4f9b1dc5e6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -49,7 +49,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,13 +63,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -132,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index 85d4ea8567..f16a52f18f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -72,7 +72,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -96,7 +93,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -104,7 +100,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -120,7 +114,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -128,7 +121,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -136,7 +128,6 @@ def self.mapper() } }, pick_host_name_from_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendHttpSettings', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, min_servers: { - client_side_validation: true, required: false, serialized_name: 'properties.minServers', type: { @@ -152,7 +142,6 @@ def self.mapper() } }, match: { - client_side_validation: true, required: false, serialized_name: 'properties.match', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb index 9125416f7b..97493b2d4a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb @@ -28,7 +28,6 @@ class ApplicationGatewayProbeHealthResponseMatch # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeHealthResponseMatch', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbeHealthResponseMatch', model_properties: { body: { - client_side_validation: true, required: false, serialized_name: 'body', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, status_codes: { - client_side_validation: true, required: false, serialized_name: 'statusCodes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb index 292b26c4a1..373a4c5527 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb @@ -60,7 +60,6 @@ class ApplicationGatewayRedirectConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfiguration', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'ApplicationGatewayRedirectConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, redirect_type: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, target_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.targetListener', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, target_url: { - client_side_validation: true, required: false, serialized_name: 'properties.targetUrl', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, include_path: { - client_side_validation: true, required: false, serialized_name: 'properties.includePath', type: { @@ -109,7 +103,6 @@ def self.mapper() } }, include_query_string: { - client_side_validation: true, required: false, serialized_name: 'properties.includeQueryString', type: { @@ -117,13 +110,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,13 +125,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -151,13 +140,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 7448f5c219..ac294b27de 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -57,7 +57,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 83f0405ada..428f15b805 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index e59be52788..5a4532c112 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -46,7 +46,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 8ec748419e..0b2716384d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -41,7 +41,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, policy_type: { - client_side_validation: true, required: false, serialized_name: 'policyType', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, policy_name: { - client_side_validation: true, required: false, serialized_name: 'policyName', type: { @@ -81,13 +76,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb index 86549d714d..75ea4bd143 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySslPredefinedPolicy < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicy', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslPredefinedPolicy', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'properties.minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 52968069e1..e438661c7c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -51,7 +51,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, default_redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultRedirectConfiguration', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index 1e0bbf0a10..f0c7e379f3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: true, serialized_name: 'firewallMode', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'ruleSetType', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'ruleSetVersion', type: { @@ -79,13 +74,11 @@ def self.mapper() } }, disabled_rule_groups: { - client_side_validation: true, required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group.rb index f730ea6dee..dea032cf32 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group.rb @@ -34,7 +34,6 @@ class ApplicationSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,7 +85,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', @@ -101,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -110,7 +101,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb index b3b4606cae..16300c794f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb index c2526adc22..2e8817dced 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/availability.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/availability.rb index b71a9566e5..d3f70eb256 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/availability.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/availability.rb @@ -28,7 +28,6 @@ class Availability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Availability', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Availability', model_properties: { time_grain: { - client_side_validation: true, required: false, serialized_name: 'timeGrain', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, retention: { - client_side_validation: true, required: false, serialized_name: 'retention', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list.rb index c9dc6f0859..30b7370fc1 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list.rb @@ -23,7 +23,6 @@ class AvailableProvidersList # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersList', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'AvailableProvidersList', model_properties: { countries: { - client_side_validation: true, required: true, serialized_name: 'countries', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountryElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_city.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_city.rb index 6c0530889c..e58c2d0b83 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_city.rb @@ -25,7 +25,6 @@ class AvailableProvidersListCity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'AvailableProvidersListCity', model_properties: { city_name: { - client_side_validation: true, required: false, serialized_name: 'cityName', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_country.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_country.rb index e460b03427..83bf9ee7ba 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_country.rb @@ -29,7 +29,6 @@ class AvailableProvidersListCountry # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountry', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListCountry', model_properties: { country_name: { - client_side_validation: true, required: false, serialized_name: 'countryName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListStateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb index 6de00da989..9fbd82dbcf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb @@ -32,7 +32,6 @@ class AvailableProvidersListParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListParameters', type: { @@ -40,13 +39,11 @@ def self.mapper() class_name: 'AvailableProvidersListParameters', model_properties: { azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, country: { - client_side_validation: true, required: false, serialized_name: 'country', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_state.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_state.rb index d025a601bd..b6524998a1 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_state.rb @@ -29,7 +29,6 @@ class AvailableProvidersListState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListState', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListState', model_properties: { state_name: { - client_side_validation: true, required: false, serialized_name: 'stateName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, cities: { - client_side_validation: true, required: false, serialized_name: 'cities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 10d780dd46..0e9f563e97 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report.rb index 180a1e2311..5943f8362d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report.rb @@ -30,7 +30,6 @@ class AzureReachabilityReport # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReport', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'AzureReachabilityReport', model_properties: { aggregation_level: { - client_side_validation: true, required: true, serialized_name: 'aggregationLevel', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, reachability_report: { - client_side_validation: true, required: true, serialized_name: 'reachabilityReport', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItemElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb index 9500ec978c..41bb7f0860 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb @@ -29,7 +29,6 @@ class AzureReachabilityReportItem # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItem', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AzureReachabilityReportItem', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, azure_location: { - client_side_validation: true, required: false, serialized_name: 'azureLocation', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, latencies: { - client_side_validation: true, required: false, serialized_name: 'latencies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfoElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb index 9663a06185..bb007ce17c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb @@ -26,7 +26,6 @@ class AzureReachabilityReportLatencyInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfo', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLatencyInfo', model_properties: { time_stamp: { - client_side_validation: true, required: false, serialized_name: 'timeStamp', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, score: { - client_side_validation: true, required: false, serialized_name: 'score', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb index 86fd4b12e0..09ac48d976 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb @@ -28,7 +28,6 @@ class AzureReachabilityReportLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLocation', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLocation', model_properties: { country: { - client_side_validation: true, required: true, serialized_name: 'country', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb index 88c0c19356..649dff2fd5 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb @@ -34,7 +34,6 @@ class AzureReachabilityReportParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureReachabilityReportParameters', model_properties: { provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -51,13 +49,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: true, serialized_name: 'startTime', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: true, serialized_name: 'endTime', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 9bed2f461d..d4447e4217 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index a1ebfdf024..a549bb90fd 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -44,7 +44,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -61,7 +59,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -70,7 +67,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -79,7 +75,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -88,7 +83,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -97,7 +91,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -106,7 +99,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -115,7 +107,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 787e2bbb4f..98300f1c10 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community.rb index 51f86ea903..b8e7392c75 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,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: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index 362f777020..5b2f3d67da 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_settings.rb index c37dfd37f5..8acc1f4041 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -30,7 +30,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb index 7fd12ab03f..a55712b45f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -40,7 +40,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, is_authorized_to_use: { - client_side_validation: true, required: false, serialized_name: 'isAuthorizedToUse', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, service_group: { - client_side_validation: true, required: false, serialized_name: 'serviceGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index e6da952e3f..70ee313d28 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -23,7 +23,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb index f39bfbdd4f..2d4712c4f0 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_destination.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_destination.rb index 9ececb75cd..9e504d6a5f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_destination.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_destination.rb @@ -30,7 +30,6 @@ class ConnectivityDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectivityDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb index 6ce79bd026..1817e0ae4f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb @@ -37,7 +37,6 @@ class ConnectivityHop # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHop', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectivityHop', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,7 +52,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +60,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'address', @@ -72,7 +68,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', @@ -81,14 +76,12 @@ def self.mapper() } }, next_hop_ids: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHopIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,14 +91,12 @@ def self.mapper() } }, issues: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'issues', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssueElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_information.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_information.rb index 4837e88746..8467cb24af 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_information.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_information.rb @@ -42,7 +42,6 @@ class ConnectivityInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityInformation', type: { @@ -50,14 +49,12 @@ def self.mapper() class_name: 'ConnectivityInformation', model_properties: { hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -77,7 +73,6 @@ def self.mapper() } }, avg_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'avgLatencyInMs', @@ -86,7 +81,6 @@ def self.mapper() } }, min_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minLatencyInMs', @@ -95,7 +89,6 @@ def self.mapper() } }, max_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maxLatencyInMs', @@ -104,7 +97,6 @@ def self.mapper() } }, probes_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesSent', @@ -113,7 +105,6 @@ def self.mapper() } }, probes_failed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesFailed', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_issue.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_issue.rb index 52bdebece9..3e0b04eefa 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_issue.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_issue.rb @@ -38,7 +38,6 @@ class ConnectivityIssue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectivityIssue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'severity', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,20 +69,17 @@ def self.mapper() } }, context: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'context', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HashElementType', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_parameters.rb index b3ebace4f0..864ba8b475 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_parameters.rb @@ -25,7 +25,6 @@ class ConnectivityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ConnectivityParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_source.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_source.rb index 0e9158bf6f..9cd699fbb6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_source.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_source.rb @@ -27,7 +27,6 @@ class ConnectivitySource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivitySource', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ConnectivitySource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dhcp_options.rb index 84dd706b26..d79e11e304 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dimension.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dimension.rb index f962cf5cdc..cb526dfe11 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dimension.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dimension.rb @@ -28,7 +28,6 @@ class Dimension # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Dimension', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Dimension', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, internal_name: { - client_side_validation: true, required: false, serialized_name: 'internalName', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 2003a2d0fa..0a5bcf323a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 6142ea029d..6b0b4143aa 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -34,7 +34,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -60,13 +57,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { @@ -77,19 +72,16 @@ def self.mapper() } }, tag_map: { - client_side_validation: true, required: false, serialized_name: 'tagMap', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'ArrayElementType', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 132705f728..ccfc2514b8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index b63f9be1eb..75818d30a8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index 69b4f93771..f68ddd419d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -79,7 +79,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -119,13 +114,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -167,13 +156,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -183,13 +170,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -199,13 +184,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -215,13 +198,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -231,7 +212,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -239,7 +219,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -247,7 +226,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route.rb index 0ce856f6a6..789d6d7ed9 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 76af1e7baf..cbebce0730 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_service_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_service_result.rb index 991aab6a84..b84a7bb910 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_service_result.rb @@ -25,7 +25,6 @@ class EndpointServiceResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResult', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EndpointServiceResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb index b9e0e771f9..ed1a9a87c6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServicesListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'EndpointServicesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResultElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error.rb index f4ea8c89f2..32653056de 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error_details.rb index 9de1a9ce18..aaa85cd5f5 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 9601fc6b90..d0c85e200c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,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: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 5db14022d0..f890550156 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index b615f9f1da..6593b53874 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index b5964e20c3..a98c8b418e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 38f161e5ec..cfe91dcb4f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -87,7 +87,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -111,7 +108,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -119,7 +115,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -127,7 +122,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -143,7 +136,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -151,7 +143,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -159,7 +150,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -167,7 +157,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -175,7 +164,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -183,7 +171,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -192,7 +179,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -201,7 +187,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +194,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -217,7 +201,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -225,7 +208,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -234,7 +216,6 @@ def self.mapper() } }, ipv6peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { @@ -243,7 +224,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -251,7 +231,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index f8dc64f369..9d713cf5a2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -42,7 +42,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -50,13 +49,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, advertised_communities: { - client_side_validation: true, required: false, serialized_name: 'advertisedCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, legacy_mode: { - client_side_validation: true, required: false, serialized_name: 'legacyMode', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index 7c97248630..a26b828f2b 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 67601f23e8..48688d3e65 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index eb6dab39a9..fee131f30a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index c7eee871b1..398cdb92fe 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 96d91e5f08..87dba74d76 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 63dba79b45..3a3e12284b 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 43e27091ff..9a594d6936 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index dce7afbb87..49d8aee99c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index fbdd688454..5cd531bc13 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index c7d39a5650..883e39588f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 0ed8d55c19..4e4944bb01 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index 415a03c133..519909a53f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_information.rb index a66cf4aecc..76e93f8e36 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index 32df3b081e..0c96c200cb 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index d17307168d..c742aae192 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -65,7 +65,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,14 +79,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -99,14 +95,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -117,14 +111,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -135,14 +127,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -178,7 +165,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -187,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -203,7 +187,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -211,13 +194,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route.rb index 1ae417c3bc..560da01bc8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -40,7 +40,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -57,7 +55,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -66,7 +63,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -75,7 +71,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -84,7 +79,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -93,7 +87,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -102,7 +95,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index 53767afc86..4b753801e3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 7d4636e589..267709da51 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -52,7 +52,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index bef2603f80..f06f50e2cd 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -65,7 +65,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -90,7 +87,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb index 4c69307b13..e8ba7e7ce2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'InboundNatRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index aa493de565..631e9d5305 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb index bf412cff44..b8bd547955 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipsec_policy.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipsec_policy.rb index 781a1ca5ab..9f6f6e5cec 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipsec_policy.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipsec_policy.rb @@ -55,7 +55,6 @@ class IpsecPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicy', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'IpsecPolicy', model_properties: { sa_life_time_seconds: { - client_side_validation: true, required: true, serialized_name: 'saLifeTimeSeconds', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, sa_data_size_kilobytes: { - client_side_validation: true, required: true, serialized_name: 'saDataSizeKilobytes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, ipsec_encryption: { - client_side_validation: true, required: true, serialized_name: 'ipsecEncryption', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipsec_integrity: { - client_side_validation: true, required: true, serialized_name: 'ipsecIntegrity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, ike_encryption: { - client_side_validation: true, required: true, serialized_name: 'ikeEncryption', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ike_integrity: { - client_side_validation: true, required: true, serialized_name: 'ikeIntegrity', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, dh_group: { - client_side_validation: true, required: true, serialized_name: 'dhGroup', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, pfs_group: { - client_side_validation: true, required: true, serialized_name: 'pfsGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb index 75264710b6..fd2c796ef0 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb @@ -37,7 +37,6 @@ class Ipv6ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Ipv6ExpressRouteCircuitPeeringConfig', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Ipv6ExpressRouteCircuitPeeringConfig', model_properties: { primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'primaryPeerAddressPrefix', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'secondaryPeerAddressPrefix', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'microsoftPeeringConfig', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'routeFilter', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer.rb index 539d159c8f..330bbdc1e6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -72,7 +72,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -97,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -106,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -114,13 +109,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: { @@ -130,7 +123,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -139,13 +131,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -156,13 +146,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -173,13 +161,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -207,13 +191,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -224,13 +206,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -241,13 +221,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -258,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -266,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -274,7 +250,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb index 51475fcbba..7d6d135b4a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerBackendAddressPoolListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerBackendAddressPoolListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb index 26242d8619..4405525017 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerFrontendIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'LoadBalancerFrontendIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index 1191337dfc..14f2b401fe 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb index 07012d977d..cf1bd0cf9f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerLoadBalancingRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerLoadBalancingRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb index 43b95d86d5..cef9019db3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerProbeListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'LoadBalancerProbeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_sku.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_sku.rb index 65ba070e8e..97a29c7d59 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_sku.rb @@ -23,7 +23,6 @@ class LoadBalancerSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'LoadBalancerSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index 908d63005a..e631322db7 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -78,7 +78,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -112,7 +108,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -121,7 +116,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +123,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -137,7 +130,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -145,7 +137,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, disable_outbound_snat: { - client_side_validation: true, required: false, serialized_name: 'properties.disableOutboundSnat', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb index c181b2a3f3..8636969a9e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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: false, 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() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index fd42bc934b..b3b1942c23 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/log_specification.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/log_specification.rb index d536d5b02d..91f52d296a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/log_specification.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/log_specification.rb @@ -28,7 +28,6 @@ class LogSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogSpecification', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'LogSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/metric_specification.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/metric_specification.rb index 2a6c3d6df4..790a3343c1 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/metric_specification.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/metric_specification.rb @@ -61,7 +61,6 @@ class MetricSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'MetricSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, display_description: { - client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, aggregation_type: { - client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { @@ -109,13 +103,11 @@ def self.mapper() } }, availabilities: { - client_side_validation: true, required: false, serialized_name: 'availabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilityElementType', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, enable_regional_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'enableRegionalMdmAccount', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, fill_gap_with_zero: { - client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, metric_filter_pattern: { - client_side_validation: true, required: false, serialized_name: 'metricFilterPattern', type: { @@ -150,13 +139,11 @@ def self.mapper() } }, dimensions: { - client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, is_internal: { - client_side_validation: true, required: false, serialized_name: 'isInternal', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, source_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmAccount', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, source_mdm_namespace: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmNamespace', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, resource_id_dimension_name_override: { - client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface.rb index c31796aff2..139a60e285 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_association.rb index 5790385063..8cdc1e5e0f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index fd25204506..94dd910e1d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 6a4d8754b1..81d9f5e89c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -73,7 +73,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,13 +87,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -106,13 +102,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -123,13 +117,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -223,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb index deeb1ae812..8563658c29 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 49e6767326..87e45771b3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb index 6baf5db892..44468deffb 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceLoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceLoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group.rb index 5509c78821..a6a5c87707 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index 0cc2fb378d..93d267e075 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher.rb index a9e5d2e5b1..69b6544470 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,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: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index 470d594bf3..e539e97303 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index 43807bd525..0dc858216f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb index eb009c78c4..57735911ad 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation.rb index d98597ae39..82e9076c64 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation.rb @@ -33,7 +33,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, service_specification: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_display.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_display.rb index 81a0401c15..7ec2b14008 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_display.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', 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_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_list_result.rb index 184543c608..4738c6360b 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'OperationListResult', 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: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb index 2adea4b583..57dea9e158 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb @@ -26,7 +26,6 @@ class OperationPropertiesFormatServiceSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationPropertiesFormat_serviceSpecification', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationPropertiesFormatServiceSpecification', model_properties: { metric_specifications: { - client_side_validation: true, required: false, serialized_name: 'metricSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricSpecificationElementType', type: { @@ -51,13 +48,11 @@ def self.mapper() } }, log_specifications: { - client_side_validation: true, required: false, serialized_name: 'logSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LogSpecificationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index ee50175de0..675c6357c8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture.rb index bb07312dc3..fa219da5dd 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index 1ec25d3604..86e5a1d3b7 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 0214bdec52..ed655e26d4 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index 28d42375b7..d248778aad 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index b5522f9e9c..3f0b78f72e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb index fd917671fc..8305cd19f7 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index bb7b04156c..f32419a648 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter.rb index ba72896787..734a22abe5 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -122,7 +113,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,13 +121,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_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index 3bba00fbd6..b55b928fc4 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -46,7 +46,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,13 +114,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_network/lib/2017-09-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/probe.rb index 177aac2378..f7bc3c7977 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 275bf3ba26..1e421d6b1b 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -61,7 +61,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -136,7 +127,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -144,7 +134,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -203,13 +186,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 8e5c2b409e..51820c2ce6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index cdecf9777d..7081ab98a0 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb index b8be9c0bd7..d43e9cc4ac 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb @@ -23,7 +23,6 @@ class PublicIPAddressSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'PublicIPAddressSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index e962d813fd..84601f6ba2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource.rb index fee2ba955d..f53fa5f35f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index 4f1419a6dc..7123a4f544 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index ee151c2980..fc8b60bef4 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route.rb index 5f6a806867..ff005eda01 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter.rb index 53d91c71d1..e1d635758f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,13 +101,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -136,7 +124,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index 194e397c74..10e228b5cf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule.rb index 2bde24dd39..7e7ba7798d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -49,7 +49,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -83,13 +79,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -108,7 +101,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -133,13 +123,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_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index ca671aa14e..28dfa17958 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb index 6ef4b4ca3a..df366dc74d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table.rb index eebaef423e..9c0ed6cc6f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,14 +100,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -135,7 +123,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb index 18c855af39..ec325a0524 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index b270f2e96c..3c3600c451 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index 75ac3569c9..aec984a8b3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb index c7ab3a7e95..b4ea03b306 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule.rb index 6a25bd106c..054961dc94 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule.rb @@ -97,7 +97,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -105,7 +104,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -113,7 +111,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -121,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +125,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -137,7 +132,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -145,7 +139,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -153,13 +146,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -169,13 +160,11 @@ def self.mapper() } }, source_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -186,7 +175,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -210,13 +196,11 @@ def self.mapper() } }, destination_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -227,13 +211,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -243,13 +225,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -275,7 +253,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -283,7 +260,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -291,7 +267,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -299,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 220d0464fe..42f24f2553 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index dacc955a3e..b2307bcbbb 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb index 395b668493..c72582afcd 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb @@ -28,7 +28,6 @@ class ServiceEndpointPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormat', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ServiceEndpointPropertiesFormat', model_properties: { service: { - client_side_validation: true, required: false, serialized_name: 'service', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -60,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/sub_resource.rb index dd43e0464f..c47e11fdc0 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet.rb index 86cec2d690..c812a7cdaa 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet.rb @@ -52,7 +52,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, service_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormatElementType', type: { @@ -111,14 +104,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +149,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_association.rb index 0ffcb69b1c..5ab737bdb3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 895c9e2dfa..c0ccccb1dd 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tags_object.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tags_object.rb index f159163f7f..5b4a0dafa3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tags_object.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tags_object.rb @@ -22,7 +22,6 @@ class TagsObject # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TagsObject', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TagsObject', 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_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology.rb index 3e077ad9d3..2710b9d85a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_association.rb index 72f40e5ec4..c16e8ef1a2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_parameters.rb index ecf14d8ac0..b2106bff22 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -23,7 +23,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: true, serialized_name: 'targetResourceGroupName', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_resource.rb index 56ed041314..3b36f066e4 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index 5a0eab2fa2..1278805906 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index d8fdc3ac0f..88f9d27410 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index fb6b2f1efe..7e8895cc1f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 15af81710f..226cffb807 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index e143d2f2e5..87e8bdbcb8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage.rb index 4475ed457b..fe2fa7d452 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -62,7 +59,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage_name.rb index 8fbb8a91e6..4ed79a75e2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usages_list_result.rb index 1e4152132e..cc6b9765e0 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index c99f36f09a..a6b74ad0a8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index 53757a3350..df07bfdd93 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network.rb index 39dff90584..e7042fa1fe 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -54,7 +54,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,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: { @@ -112,7 +105,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -180,7 +165,6 @@ def self.mapper() } }, enable_ddos_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableDdosProtection', type: { @@ -188,7 +172,6 @@ def self.mapper() } }, enable_vm_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableVmProtection', type: { @@ -196,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb index 982f63addd..b51d2a138e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb @@ -23,7 +23,6 @@ class VirtualNetworkConnectionGatewayReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkConnectionGatewayReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VirtualNetworkConnectionGatewayReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 73a0a8863b..6f2f66fabf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,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: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index c83cab49e9..7a25049762 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -88,7 +88,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -96,7 +95,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -104,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +110,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -122,7 +118,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -130,13 +125,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: { @@ -146,7 +139,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -154,7 +146,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -172,7 +162,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -181,7 +170,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -189,7 +177,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -197,7 +184,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -214,14 +199,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -232,7 +215,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -241,7 +223,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -250,7 +231,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -275,13 +253,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -292,7 +268,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -300,7 +275,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -309,7 +283,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb index 4dee9f8f68..5623e9a804 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb @@ -89,7 +89,6 @@ class VirtualNetworkGatewayConnectionListEntity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntity', type: { @@ -97,7 +96,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListEntity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -105,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +111,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -123,7 +119,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -131,13 +126,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: { @@ -147,7 +140,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -164,7 +155,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -173,7 +163,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -182,7 +171,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -190,7 +178,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -198,7 +185,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -206,7 +192,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -215,14 +200,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -233,7 +216,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -242,7 +224,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -251,7 +232,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -260,7 +240,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -268,7 +247,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -276,13 +254,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -293,7 +269,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -301,7 +276,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -310,7 +284,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index a38085932d..e823947278 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 131f418889..b442748ac4 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb index d6cbce65b0..e4d1685dc1 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListConnectionsResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListConnectionsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntityElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 7c182cee6f..298fe21e47 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index 425aa8595f..d134fb6d73 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 6bb24d7a09..6f97bc66df 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb index 513b725c7d..39275fb3bc 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListUsageResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'VirtualNetworkListUsageResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index a6c89cd91e..659d81e970 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -65,7 +65,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, remote_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteAddressSpace', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -139,7 +130,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +137,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -155,7 +144,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 97c0585d79..21ac514201 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage.rb index 4dec5395e6..b55f91648e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage.rb @@ -35,7 +35,6 @@ class VirtualNetworkUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualNetworkUsage', model_properties: { current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -52,7 +50,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +58,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +75,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb index 3ea736f1e4..d127d36c52 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb @@ -25,7 +25,6 @@ class VirtualNetworkUsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualNetworkUsageName', model_properties: { localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 8f20cd195f..9514ae93de 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -43,7 +43,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -60,13 +58,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { @@ -94,13 +88,11 @@ def self.mapper() } }, vpn_client_protocols: { - client_side_validation: true, required: false, serialized_name: 'vpnClientProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientProtocolElementType', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, radius_server_address: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAddress', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, radius_server_secret: { - client_side_validation: true, required: false, serialized_name: 'radiusServerSecret', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 15ba7854f7..f4652293aa 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -40,7 +40,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'processorArchitecture', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, authentication_method: { - client_side_validation: true, required: false, serialized_name: 'authenticationMethod', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, radius_server_auth_certificate: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAuthCertificate', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'clientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 18a707ed66..aec35b71e5 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index c9e32035dd..f22a424c9c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb index 3fc5905a6d..fad912cb6c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb @@ -28,7 +28,6 @@ class VpnDeviceScriptParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnDeviceScriptParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VpnDeviceScriptParameters', model_properties: { vendor: { - client_side_validation: true, required: false, serialized_name: 'vendor', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, device_family: { - client_side_validation: true, required: false, serialized_name: 'deviceFamily', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, firmware_version: { - client_side_validation: true, required: false, serialized_name: 'firmwareVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb index e4d652b312..caa9988a57 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceIPConfiguration] operation results. # - def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, network_interface_name, ip_configuration_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, network_interface_name, ip_configura # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'ip_configuration_name is nil' if ip_configuration_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name # # @return [NetworkInterfaceIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceIPConfigurationListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_load_balancers.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_load_balancers.rb index 4635730b38..6b268f7a41 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceLoadBalancers include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_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 @@ -126,8 +122,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceLoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceLoadBalancerListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interfaces.rb index f7f609b1f1..9e891d4f30 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [NetworkInterface] operation results. # - def update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, network_interface_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, network_interface_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -431,8 +425,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -445,9 +439,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -473,8 +467,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -487,9 +481,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -514,8 +508,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -529,8 +523,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -543,7 +537,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -551,7 +545,6 @@ def begin_delete_async(resource_group_name, network_interface_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 @@ -598,8 +591,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -615,8 +608,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -631,7 +624,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -640,12 +633,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa 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::Network::Mgmt::V2017_09_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -714,8 +708,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterface] operation results. # - def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -731,8 +725,8 @@ def begin_update_tags(resource_group_name, network_interface_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -747,7 +741,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_interface_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -756,12 +750,13 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet 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::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -818,8 +813,8 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -833,8 +828,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -847,7 +842,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -855,7 +850,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,8 +904,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -925,8 +919,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -939,7 +933,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -947,7 +941,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1002,8 +995,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1017,8 +1010,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1031,12 +1024,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1090,8 +1082,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1105,8 +1097,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1119,12 +1111,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1177,12 +1168,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1198,12 +1189,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb index aa9bed42af..fcce35470c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb @@ -119,15 +119,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [RouteFilterRules] route_filter_rules attr_reader :route_filter_rules - # @return [BgpServiceCommunities] bgp_service_communities - attr_reader :bgp_service_communities - # @return [RouteTables] route_tables attr_reader :route_tables # @return [Routes] routes attr_reader :routes + # @return [BgpServiceCommunities] bgp_service_communities + attr_reader :bgp_service_communities + # @return [Usages] usages attr_reader :usages @@ -189,9 +189,9 @@ def initialize(credentials = nil, base_url = nil, options = nil) @public_ipaddresses = PublicIPAddresses.new(self) @route_filters = RouteFilters.new(self) @route_filter_rules = RouteFilterRules.new(self) - @bgp_service_communities = BgpServiceCommunities.new(self) @route_tables = RouteTables.new(self) @routes = Routes.new(self) + @bgp_service_communities = BgpServiceCommunities.new(self) @usages = Usages.new(self) @virtual_networks = VirtualNetworks.new(self) @subnets = Subnets.new(self) @@ -252,9 +252,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? @@ -276,8 +273,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -293,8 +290,8 @@ def check_dns_name_availability(location, domain_name_label, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -309,7 +306,7 @@ def check_dns_name_availability_with_http_info(location, domain_name_label, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? @@ -317,7 +314,6 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -369,7 +365,9 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2017_09_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2017_09_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_security_groups.rb index 40d15ca952..189986ec12 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -117,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [NetworkSecurityGroup] operation results. # - def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -240,9 +236,9 @@ def update_tags(resource_group_name, network_security_group_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_tags_async(resource_group_name, network_security_group_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -279,8 +275,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -291,13 +287,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -351,8 +346,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -365,8 +360,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -378,14 +373,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -440,8 +434,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -456,8 +450,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -471,7 +465,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +473,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -527,8 +520,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -545,8 +538,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -562,7 +555,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -571,12 +564,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2017_09_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -646,8 +640,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroup] operation results. # - def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -664,8 +658,8 @@ def begin_update_tags(resource_group_name, network_security_group_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -681,7 +675,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_security_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -690,12 +684,13 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa 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::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -752,8 +747,8 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -767,8 +762,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -781,12 +776,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +834,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -855,8 +849,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -869,12 +863,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,12 +920,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -948,12 +941,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_watchers.rb index 67386842bb..1908f91c55 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_watchers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkWatchers include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -53,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -69,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -78,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2017_09_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -150,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -165,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -179,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -187,7 +185,6 @@ def get_async(resource_group_name, network_watcher_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 @@ -240,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -254,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -282,8 +279,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcher] operation results. # - def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -299,8 +296,8 @@ def update_tags(resource_group_name, network_watcher_name, parameters, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -315,7 +312,7 @@ def update_tags_with_http_info(resource_group_name, network_watcher_name, parame # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -324,12 +321,13 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus 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::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -385,8 +383,8 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -399,8 +397,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -412,14 +410,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -472,8 +469,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -485,8 +482,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -497,13 +494,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +556,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +573,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -593,7 +589,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +598,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, 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::Network::Mgmt::V2017_09_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -683,9 +680,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -713,8 +710,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -729,9 +726,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -759,8 +756,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -775,9 +772,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -806,8 +803,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -823,9 +820,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -854,8 +851,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -871,9 +868,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -903,8 +900,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -921,9 +918,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -953,8 +950,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -971,9 +968,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1005,8 +1002,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # # @return [ConnectivityInformation] operation results. # - def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1023,9 +1020,9 @@ def check_connectivity(resource_group_name, network_watcher_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1056,8 +1053,8 @@ def check_connectivity_async(resource_group_name, network_watcher_name, paramete # # @return [AzureReachabilityReport] operation results. # - def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1074,9 +1071,9 @@ def get_azure_reachability_report(resource_group_name, network_watcher_name, par # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1106,8 +1103,8 @@ def get_azure_reachability_report_async(resource_group_name, network_watcher_nam # # @return [AvailableProvidersList] operation results. # - def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1124,9 +1121,9 @@ def list_available_providers(resource_group_name, network_watcher_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1151,8 +1148,8 @@ def list_available_providers_async(resource_group_name, network_watcher_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -1166,8 +1163,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -1180,7 +1177,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1188,7 +1185,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1236,8 +1232,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1254,8 +1250,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1271,7 +1267,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1280,12 +1276,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet 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::Network::Mgmt::V2017_09_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1354,8 +1351,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1371,8 +1368,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1387,7 +1384,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1396,12 +1393,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete 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::Network::Mgmt::V2017_09_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1470,8 +1468,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1487,8 +1485,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1503,7 +1501,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1512,12 +1510,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2017_09_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1587,8 +1586,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1605,8 +1604,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1622,7 +1621,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1631,12 +1630,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2017_09_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1706,8 +1706,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1724,8 +1724,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1741,7 +1741,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1750,12 +1750,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2017_09_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1826,8 +1827,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1845,8 +1846,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1863,7 +1864,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1872,12 +1873,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2017_09_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1948,8 +1950,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1967,8 +1969,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1985,7 +1987,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1994,12 +1996,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2017_09_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2072,8 +2075,8 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p # # @return [ConnectivityInformation] operation results. # - def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2093,8 +2096,8 @@ def begin_check_connectivity(resource_group_name, network_watcher_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2113,7 +2116,7 @@ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2122,12 +2125,13 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa 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::Network::Mgmt::V2017_09_01::Models::ConnectivityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2199,8 +2203,8 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa # # @return [AzureReachabilityReport] operation results. # - def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2219,8 +2223,8 @@ def begin_get_azure_reachability_report(resource_group_name, network_watcher_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2238,7 +2242,7 @@ def begin_get_azure_reachability_report_with_http_info(resource_group_name, netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2247,12 +2251,13 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch 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::Network::Mgmt::V2017_09_01::Models::AzureReachabilityReportParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2323,8 +2328,8 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch # # @return [AvailableProvidersList] operation results. # - def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2342,8 +2347,8 @@ def begin_list_available_providers(resource_group_name, network_watcher_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2360,7 +2365,7 @@ def begin_list_available_providers_with_http_info(resource_group_name, network_w # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2369,12 +2374,13 @@ def begin_list_available_providers_async(resource_group_name, network_watcher_na 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::Network::Mgmt::V2017_09_01::Models::AvailableProvidersListParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/operations.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/operations.rb index eb419436a4..38aae0b2cf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/operations.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/operations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Operations include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,12 +54,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 @@ -116,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -131,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -145,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/packet_captures.rb index 25d196526c..2dcb4d8838 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/packet_captures.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PacketCaptures include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -232,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -278,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -323,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -338,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -346,7 +342,6 @@ def list_async(resource_group_name, network_watcher_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 @@ -404,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -422,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -439,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -449,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture 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::Network::Mgmt::V2017_09_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -511,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -527,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -542,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -551,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -612,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -627,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -636,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -702,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -719,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -728,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap 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_network/lib/2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb index 884bee3b9c..68dc48f6ac 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [PublicIPAddress] operation results. # - def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, public_ip_address_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, public_ip_address_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, public_ip_address_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 @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa 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::Network::Mgmt::V2017_09_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddress] operation results. # - def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, public_ip_address_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet 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::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb index 1daf289145..cfcbed8342 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilterRules include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -281,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -358,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -374,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -389,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -398,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -446,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -481,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -491,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na 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::Network::Mgmt::V2017_09_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -566,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -584,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -601,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -611,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ 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::Network::Mgmt::V2017_09_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -673,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -688,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -702,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filters.rb index a10e6719b6..96729a1e19 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filters.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilters include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -107,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -234,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -275,8 +271,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 # @@ -288,14 +284,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -348,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +356,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 # @@ -373,13 +368,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -433,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -448,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -462,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -470,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -534,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -550,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -559,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f 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::Network::Mgmt::V2017_09_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -633,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -650,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -666,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -675,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para 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::Network::Mgmt::V2017_09_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -737,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -752,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -766,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -825,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -840,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -854,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -913,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -933,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_tables.rb index f9ee47c852..e8f08ce364 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_tables.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteTables include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [RouteTable] operation results. # - def update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, route_table_name, parameters, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +254,8 @@ def update_tags_async(resource_group_name, route_table_name, parameters, custom_ # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -272,8 +268,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -285,14 +281,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -345,8 +340,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -358,8 +353,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -370,13 +365,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, route_table_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 @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete 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::Network::Mgmt::V2017_09_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTable] operation results. # - def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, route_table_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, route_table_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c 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::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,12 +903,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/routes.rb index c1ebc64da2..c8ce75e2bf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/routes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Routes include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, route_table_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 @@ -310,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na 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::Network::Mgmt::V2017_09_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/security_rules.rb index acdff925ee..b94330cf41 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class SecurityRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -197,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -226,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -242,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -257,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -265,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -338,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -354,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -363,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -431,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -449,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -459,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2017_09_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -531,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -546,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -560,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -621,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/subnets.rb index fa1293b1c1..6134850000 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/subnets.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Subnets include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -118,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -193,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -236,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -250,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +254,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -313,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn 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::Network::Mgmt::V2017_09_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/usages.rb index 531d78596e..8a5c9d291f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/usages.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Usages include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._ ]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._ ]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -123,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -138,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -152,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..c3c03ad51f --- /dev/null +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/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::Network::Mgmt::V2017_09_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index a242a155cf..4a5f8d3536 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGatewayConnections include MsRestAzure @@ -38,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -100,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -115,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update_tags(resource_group_name, virtual_network_gateway_connection_name, pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +268,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_connection_na # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -290,9 +286,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -321,8 +317,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -339,8 +335,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -356,7 +352,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -364,7 +360,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -419,8 +414,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -434,8 +429,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -448,14 +443,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +511,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,9 +529,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -567,8 +561,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -586,8 +580,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -604,7 +598,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -613,12 +607,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2017_09_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -685,8 +680,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -701,8 +696,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -716,7 +711,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -724,7 +719,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -772,8 +766,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -790,8 +784,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_connection_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -807,7 +801,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -816,12 +810,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect 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::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -884,8 +879,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -905,8 +900,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -925,7 +920,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -934,12 +929,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn 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::Network::Mgmt::V2017_09_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1013,8 +1009,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1035,8 +1031,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -1056,7 +1052,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1065,12 +1061,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2017_09_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1128,8 +1125,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1144,8 +1141,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1159,12 +1156,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1219,12 +1215,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb index 8723ade5d3..6361fd551e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -122,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -191,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [VirtualNetworkGateway] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -237,9 +233,9 @@ def update_tags(resource_group_name, virtual_network_gateway_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -264,8 +260,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -278,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -291,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -354,8 +349,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers) first_page.get_all_items end @@ -370,8 +365,8 @@ def list_connections(resource_group_name, virtual_network_gateway_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -385,7 +380,7 @@ def list_connections_with_http_info(resource_group_name, virtual_network_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -393,7 +388,6 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +446,8 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -469,9 +463,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +495,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -518,15 +512,14 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -557,8 +550,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [String] operation results. # - def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,15 +567,14 @@ def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -612,8 +604,8 @@ def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name # # @return [String] operation results. # - def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -627,15 +619,14 @@ def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -664,8 +655,8 @@ def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gatew # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -680,9 +671,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -709,8 +700,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [String] operation results. # - def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -725,8 +716,8 @@ def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -740,7 +731,7 @@ def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_ga # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -748,7 +739,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,7 +771,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -812,8 +801,8 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -827,9 +816,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -858,8 +847,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -874,9 +863,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -906,8 +895,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [String] operation results. # - def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -925,8 +914,8 @@ def vpn_device_configuration_script(resource_group_name, virtual_network_gateway # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -943,7 +932,7 @@ def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -952,12 +941,13 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g 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::Network::Mgmt::V2017_09_01::Models::VpnDeviceScriptParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -992,7 +982,6 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1024,8 +1013,8 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1042,8 +1031,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1059,7 +1048,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1068,12 +1057,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na 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::Network::Mgmt::V2017_09_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1140,8 +1130,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -1156,8 +1146,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1171,7 +1161,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1179,7 +1169,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1227,8 +1216,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1245,8 +1234,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1262,7 +1251,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1271,12 +1260,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p 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::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1337,8 +1327,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -1356,8 +1346,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -1374,7 +1364,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1382,7 +1372,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1441,8 +1430,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [String] operation results. # - def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1460,8 +1449,8 @@ def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1478,7 +1467,7 @@ def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1487,12 +1476,13 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga 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::Network::Mgmt::V2017_09_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1527,7 +1517,6 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1560,8 +1549,8 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga # # @return [String] operation results. # - def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1579,8 +1568,8 @@ def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1597,7 +1586,7 @@ def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_netwo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1606,12 +1595,13 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa 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::Network::Mgmt::V2017_09_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1646,7 +1636,6 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1678,8 +1667,8 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa # # @return [String] operation results. # - def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1696,8 +1685,8 @@ def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gatew # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1713,7 +1702,7 @@ def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtua # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1721,7 +1710,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1754,7 +1742,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1785,8 +1772,8 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1802,8 +1789,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1818,7 +1805,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1826,7 +1813,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1883,8 +1869,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1900,8 +1886,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1916,7 +1902,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1924,7 +1910,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1982,8 +1967,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -2000,8 +1985,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -2017,7 +2002,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -2026,7 +2011,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2081,8 +2065,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2096,8 +2080,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2110,12 +2094,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2169,8 +2152,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkGatewayListConnectionsResult] operation results. # - def list_connections_next(next_page_link, custom_headers:nil) - response = list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next(next_page_link, custom_headers = nil) + response = list_connections_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2184,8 +2167,8 @@ def list_connections_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_next_with_http_info(next_page_link, custom_headers:nil) - list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next_with_http_info(next_page_link, custom_headers = nil) + list_connections_next_async(next_page_link, custom_headers).value! end # @@ -2198,12 +2181,11 @@ def list_connections_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_next_async(next_page_link, custom_headers:nil) + def list_connections_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2257,12 +2239,12 @@ def list_connections_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2280,12 +2262,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkGatewayListConnectionsResult] which provide lazy # access to pages of the response. # - def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_connections_next_async(next_page_link, custom_headers:custom_headers) + list_connections_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb index 11c1f3e4c2..7a6511c54b 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkPeerings include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -178,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -195,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -238,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -252,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +256,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -316,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -333,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -349,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -358,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -406,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -424,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -441,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -451,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt 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::Network::Mgmt::V2017_09_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -523,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -538,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -552,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -612,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_networks.rb index 1ef2b11999..d2d1b6d550 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_networks.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworks include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [VirtualNetwork] operation results. # - def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, virtual_network_name, parameters, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, virtual_network_name, parameters, cus # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -432,8 +426,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -448,8 +442,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -463,7 +457,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -471,7 +465,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -526,8 +519,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # # @return [Array] operation results. # - def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list_usage(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -541,8 +534,8 @@ def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -555,7 +548,7 @@ def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_usage_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -563,7 +556,6 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -617,8 +609,8 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -632,8 +624,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -646,7 +638,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +646,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +692,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -718,8 +709,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -734,7 +725,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -743,12 +734,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para 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::Network::Mgmt::V2017_09_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -817,8 +809,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetwork] operation results. # - def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -834,8 +826,8 @@ def begin_update_tags(resource_group_name, virtual_network_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -850,7 +842,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -859,12 +851,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, 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::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -921,8 +914,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -936,8 +929,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -950,12 +943,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1009,8 +1001,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1024,8 +1016,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1038,12 +1030,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1097,8 +1088,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListUsageResult] operation results. # - def list_usage_next(next_page_link, custom_headers:nil) - response = list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next(next_page_link, custom_headers = nil) + response = list_usage_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1112,8 +1103,8 @@ def list_usage_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_next_with_http_info(next_page_link, custom_headers:nil) - list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next_with_http_info(next_page_link, custom_headers = nil) + list_usage_next_async(next_page_link, custom_headers).value! end # @@ -1126,12 +1117,11 @@ def list_usage_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_next_async(next_page_link, custom_headers:nil) + def list_usage_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1184,12 +1174,12 @@ def list_usage_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1205,12 +1195,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1227,12 +1217,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkListUsageResult] which provide lazy access to pages of # the response. # - def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_usage_next_async(next_page_link, custom_headers:custom_headers) + list_usage_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_gateways.rb index f2a993b045..e055bf9a32 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationGateways include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, application_gateway_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 @@ -166,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [ApplicationGateway] operation results. # - def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, application_gateway_name, parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -255,8 +251,8 @@ def update_tags_async(resource_group_name, application_gateway_name, parameters, # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -269,8 +265,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -282,14 +278,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -355,8 +350,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -367,13 +362,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -426,8 +420,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -440,9 +434,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -464,8 +458,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -478,9 +472,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +501,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -523,9 +517,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -549,8 +543,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # # @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results. # - def list_available_waf_rule_sets(custom_headers:nil) - response = list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets(custom_headers = nil) + response = list_available_waf_rule_sets_async(custom_headers).value! response.body unless response.nil? end @@ -562,8 +556,8 @@ def list_available_waf_rule_sets(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_waf_rule_sets_with_http_info(custom_headers:nil) - list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets_with_http_info(custom_headers = nil) + list_available_waf_rule_sets_async(custom_headers).value! end # @@ -574,13 +568,12 @@ def list_available_waf_rule_sets_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_waf_rule_sets_async(custom_headers:nil) + def list_available_waf_rule_sets_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -633,8 +626,8 @@ def list_available_waf_rule_sets_async(custom_headers:nil) # # @return [ApplicationGatewayAvailableSslOptions] operation results. # - def list_available_ssl_options(custom_headers:nil) - response = list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options(custom_headers = nil) + response = list_available_ssl_options_async(custom_headers).value! response.body unless response.nil? end @@ -646,8 +639,8 @@ def list_available_ssl_options(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_options_with_http_info(custom_headers:nil) - list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options_with_http_info(custom_headers = nil) + list_available_ssl_options_async(custom_headers).value! end # @@ -658,13 +651,12 @@ def list_available_ssl_options_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_options_async(custom_headers:nil) + def list_available_ssl_options_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -717,8 +709,8 @@ def list_available_ssl_options_async(custom_headers:nil) # # @return [Array] operation results. # - def list_available_ssl_predefined_policies(custom_headers:nil) - first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers:custom_headers) + def list_available_ssl_predefined_policies(custom_headers = nil) + first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers) first_page.get_all_items end @@ -730,8 +722,8 @@ def list_available_ssl_predefined_policies(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) - list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_with_http_info(custom_headers = nil) + list_available_ssl_predefined_policies_async(custom_headers).value! end # @@ -742,13 +734,12 @@ def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_async(custom_headers:nil) + def list_available_ssl_predefined_policies_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -802,8 +793,8 @@ def list_available_ssl_predefined_policies_async(custom_headers:nil) # # @return [ApplicationGatewaySslPredefinedPolicy] operation results. # - def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) - response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy(predefined_policy_name, custom_headers = nil) + response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! response.body unless response.nil? end @@ -816,8 +807,8 @@ def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers:nil) - get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers = nil) + get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! end # @@ -829,14 +820,13 @@ def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) + def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'predefined_policy_name is nil' if predefined_policy_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -890,8 +880,8 @@ def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -905,8 +895,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -919,7 +909,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -927,7 +917,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +963,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -991,8 +980,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1007,7 +996,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1016,12 +1005,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, 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::Network::Mgmt::V2017_10_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1090,8 +1080,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # # @return [ApplicationGateway] operation results. # - def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1107,8 +1097,8 @@ def begin_update_tags(resource_group_name, application_gateway_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1123,7 +1113,7 @@ def begin_update_tags_with_http_info(resource_group_name, application_gateway_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1132,12 +1122,13 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param 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::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1193,8 +1184,8 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1208,8 +1199,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1222,7 +1213,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1230,7 +1221,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1274,8 +1264,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1289,8 +1279,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1303,7 +1293,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1311,7 +1301,6 @@ def begin_stop_async(resource_group_name, application_gateway_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 @@ -1359,8 +1348,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -1377,8 +1366,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -1394,7 +1383,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1402,7 +1391,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1445,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1460,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1474,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,8 +1532,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1560,8 +1547,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1574,12 +1561,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1633,8 +1619,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayAvailableSslPredefinedPolicies] operation results. # - def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:nil) - response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next(next_page_link, custom_headers = nil) + response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1648,8 +1634,8 @@ def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers:nil) - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers = nil) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! end # @@ -1662,12 +1648,11 @@ def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:nil) + def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1721,12 +1706,12 @@ def list_available_ssl_predefined_policies_next_async(next_page_link, custom_hea # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1741,12 +1726,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1761,12 +1746,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationGatewayAvailableSslPredefinedPolicies] which provide lazy # access to pages of the response. # - def list_available_ssl_predefined_policies_as_lazy(custom_headers:nil) - response = list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_as_lazy(custom_headers = nil) + response = list_available_ssl_predefined_policies_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_security_groups.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_security_groups.rb index 656a2afe5e..b09ed9df75 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, application_security_group_name, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, application_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, application_security_group_name, custom_he # # @return [ApplicationSecurityGroup] operation results. # - def get(resource_group_name, application_security_group_name, custom_headers:nil) - response = get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_security_group_name, custom_headers = nil) + response = get_async(resource_group_name, application_security_group_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, application_security_group_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + get_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, application_security_group_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_security_group_name, custom_headers:nil) + def get_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +111,6 @@ def get_async(resource_group_name, application_security_group_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 @@ -172,8 +168,8 @@ def get_async(resource_group_name, application_security_group_name, custom_heade # # @return [ApplicationSecurityGroup] operation results. # - def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +185,9 @@ def create_or_update(resource_group_name, application_security_group_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, application_security_group_name, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +383,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -405,8 +399,8 @@ def begin_delete(resource_group_name, application_security_group_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -420,7 +414,7 @@ def begin_delete_with_http_info(resource_group_name, application_security_group_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +422,6 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +469,8 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus # # @return [ApplicationSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +487,8 @@ def begin_create_or_update(resource_group_name, application_security_group_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +504,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_secur # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +513,13 @@ def begin_create_or_update_async(resource_group_name, application_security_group 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::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, application_security_group # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +601,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +615,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +673,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +688,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +702,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +759,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +780,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/available_endpoint_services.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/available_endpoint_services.rb index 52e358391b..5661c466ff 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/available_endpoint_services.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/available_endpoint_services.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class AvailableEndpointServices include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -122,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [EndpointServicesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -137,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -151,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -210,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [EndpointServicesListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/bgp_service_communities.rb index 0d191e1821..f40064e5c9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class BgpServiceCommunities include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/connection_monitors.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/connection_monitors.rb index 9f7866d6e6..590e8d5904 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/connection_monitors.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/connection_monitors.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ConnectionMonitors include MsRestAzure @@ -39,8 +36,8 @@ def initialize(client) # # @return [ConnectionMonitorResult] operation results. # - def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -58,9 +55,9 @@ def create_or_update(resource_group_name, network_watcher_name, connection_monit # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -89,8 +86,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, connection # # @return [ConnectionMonitorResult] operation results. # - def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -107,8 +104,8 @@ def get(resource_group_name, network_watcher_name, connection_monitor_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -124,7 +121,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, connection_mon # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -133,7 +130,6 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -189,8 +185,8 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -206,9 +202,9 @@ def delete(resource_group_name, network_watcher_name, connection_monitor_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -233,8 +229,8 @@ def delete_async(resource_group_name, network_watcher_name, connection_monitor_n # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -250,9 +246,9 @@ def stop(resource_group_name, network_watcher_name, connection_monitor_name, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -277,8 +273,8 @@ def stop_async(resource_group_name, network_watcher_name, connection_monitor_nam # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -294,9 +290,9 @@ def start(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -324,8 +320,8 @@ def start_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorQueryResult] operation results. # - def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -342,9 +338,9 @@ def query(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -372,8 +368,8 @@ def query_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -389,8 +385,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -405,7 +401,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -413,7 +409,6 @@ def list_async(resource_group_name, network_watcher_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 @@ -473,8 +468,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [ConnectionMonitorResult] operation results. # - def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -493,8 +488,8 @@ def begin_create_or_update(resource_group_name, network_watcher_name, connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! end # @@ -512,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_watcher_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -522,12 +517,13 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn 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::Network::Mgmt::V2017_10_01::Models::ConnectionMonitor.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -596,8 +592,8 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -614,8 +610,8 @@ def begin_delete(resource_group_name, network_watcher_name, connection_monitor_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -631,7 +627,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, conne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -640,7 +636,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -687,8 +682,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -705,8 +700,8 @@ def begin_stop(resource_group_name, network_watcher_name, connection_monitor_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -722,7 +717,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, connect # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -731,7 +726,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -778,8 +772,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit # will be added to the HTTP request. # # - def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -796,8 +790,8 @@ def begin_start(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -813,7 +807,7 @@ def begin_start_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -822,7 +816,6 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -871,8 +864,8 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni # # @return [ConnectionMonitorQueryResult] operation results. # - def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -890,8 +883,8 @@ def begin_query(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -908,7 +901,7 @@ def begin_query_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -917,7 +910,6 @@ def begin_query_async(resource_group_name, network_watcher_name, connection_moni 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_network/lib/2017-10-01/generated/azure_mgmt_network/default_security_rules.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/default_security_rules.rb index bf40f0856c..5fc62905ff 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/default_security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/default_security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class DefaultSecurityRules include MsRestAzure @@ -35,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -51,8 +48,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -66,7 +63,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +71,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +128,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +146,8 @@ def get(resource_group_name, network_security_group_name, default_security_rule_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! end # @@ -167,7 +163,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, default # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'default_security_rule_name is nil' if default_security_rule_name.nil? @@ -176,7 +172,6 @@ def get_async(resource_group_name, network_security_group_name, default_security request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +226,8 @@ def get_async(resource_group_name, network_security_group_name, default_security # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -246,8 +241,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -260,12 +255,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,12 +315,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 6b29abd55c..55e826d168 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitAuthorizations include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -235,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -249,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +253,6 @@ def list_async(resource_group_name, circuit_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 @@ -312,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -328,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -343,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -352,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -420,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -438,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -448,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio 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::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -520,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 011ab21a3d..3596d7c93d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitPeerings include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, circuit_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 @@ -310,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name 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::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuits.rb index 4e7d726811..80053db82d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuits include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, circuit_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 @@ -166,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuit] operation results. # - def update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, circuit_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +255,8 @@ def update_tags_async(resource_group_name, circuit_name, parameters, custom_head # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -275,9 +271,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -306,8 +302,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -322,9 +318,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -353,8 +349,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -369,9 +365,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -397,8 +393,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -412,8 +408,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -426,7 +422,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -434,7 +430,6 @@ def get_stats_async(resource_group_name, circuit_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 @@ -490,8 +485,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -506,8 +501,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -521,7 +516,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -530,7 +525,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -584,8 +578,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -598,8 +592,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -611,14 +605,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +664,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -684,8 +677,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -696,13 +689,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -756,8 +748,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -771,8 +763,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -785,7 +777,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -793,7 +785,6 @@ def begin_delete_async(resource_group_name, circuit_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 @@ -840,8 +831,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -857,8 +848,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -873,7 +864,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -882,12 +873,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, 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::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -956,8 +948,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuit] operation results. # - def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -973,8 +965,8 @@ def begin_update_tags(resource_group_name, circuit_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -989,7 +981,7 @@ def begin_update_tags_with_http_info(resource_group_name, circuit_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -998,12 +990,13 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo 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::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1063,8 +1056,8 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1081,8 +1074,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1098,7 +1091,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1108,7 +1101,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1166,8 +1158,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1184,8 +1176,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1201,7 +1193,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1211,7 +1203,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1269,8 +1260,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1287,8 +1278,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1304,7 +1295,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1314,7 +1305,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1369,8 +1359,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1384,8 +1374,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1398,12 +1388,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1446,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1461,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1475,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,12 +1533,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1565,12 +1553,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_service_providers.rb index b43dc11494..fd295752d5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteServiceProviders include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/inbound_nat_rules.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/inbound_nat_rules.rb index 2f2dad94df..448ffd9f73 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/inbound_nat_rules.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/inbound_nat_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class InboundNatRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -125,8 +121,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -140,9 +136,9 @@ def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +164,8 @@ def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [InboundNatRule] operation results. # - def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! response.body unless response.nil? end @@ -185,8 +181,8 @@ def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! end # @@ -201,7 +197,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -210,7 +206,6 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -268,8 +263,8 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex # # @return [InboundNatRule] operation results. # - def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -285,9 +280,9 @@ def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -313,8 +308,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_ # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [InboundNatRule] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun 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::Network::Mgmt::V2017_10_01::Models::InboundNatRule.mapper() request_content = @client.serialize(request_mapper, inbound_nat_rule_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun # # @return [InboundNatRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [InboundNatRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb index c9f6340921..0b902fa047 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerBackendAddressPools include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [BackendAddressPool] operation results. # - def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, backend_address_pool_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, backend_address_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'backend_address_pool_name is nil' if backend_address_pool_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name # # @return [LoadBalancerBackendAddressPoolListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerBackendAddressPoolListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb index 063ee4a7a4..5e59e4b959 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerFrontendIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [FrontendIPConfiguration] operation results. # - def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'frontend_ipconfiguration_name is nil' if frontend_ipconfiguration_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ # # @return [LoadBalancerFrontendIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerFrontendIPConfigurationListResult] which provide lazy # access to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb index b5b8005ba7..4ab0e98be8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerLoadBalancingRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancingRule] operation results. # - def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_r # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'load_balancing_rule_name is nil' if load_balancing_rule_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, # # @return [LoadBalancerLoadBalancingRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerLoadBalancingRuleListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb index 29b760b589..a880e05ef4 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerNetworkInterfaces include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -126,8 +122,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_probes.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_probes.rb index 552c22875a..aa95de049d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_probes.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_probes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerProbes include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [Probe] operation results. # - def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, probe_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'probe_name is nil' if probe_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, probe_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 @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header # # @return [LoadBalancerProbeListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerProbeListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancers.rb index cb8c352eea..4a1cc3d5db 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancers include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancer] operation results. # - def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, load_balancer_name, parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, load_balancer_name, parameters, custo # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame 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::Network::Mgmt::V2017_10_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancer] operation results. # - def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, load_balancer_name, parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, 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::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/local_network_gateways.rb index 39bed0c835..27b13797a1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LocalNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -114,16 +111,14 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -192,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +216,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [LocalNetworkGateway] operation results. # - def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +233,9 @@ def update_tags(resource_group_name, local_network_gateway_name, parameters, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -265,8 +260,8 @@ def update_tags_async(resource_group_name, local_network_gateway_name, parameter # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -279,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -292,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -357,8 +351,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -375,8 +369,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -392,22 +386,22 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -474,8 +468,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -490,8 +484,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -505,16 +499,14 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -562,8 +554,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -580,8 +572,8 @@ def begin_update_tags(resource_group_name, local_network_gateway_name, parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -597,22 +589,22 @@ def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -669,8 +661,8 @@ def begin_update_tags_async(resource_group_name, local_network_gateway_name, par # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -684,8 +676,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -698,12 +690,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +748,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/address_space.rb index 07b117af8e..702aa4304c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway.rb index 4db11d117a..28b9cd156e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -100,7 +100,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -108,7 +107,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -116,7 +114,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -125,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -134,7 +130,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -142,13 +137,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: { @@ -158,7 +151,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -167,7 +159,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -176,7 +167,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -185,13 +175,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -202,13 +190,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -219,13 +205,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -236,13 +220,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -253,13 +235,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -270,13 +250,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -287,13 +265,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -304,13 +280,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -321,13 +295,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -338,13 +310,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -355,13 +325,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -372,13 +340,11 @@ def self.mapper() } }, redirect_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfigurationElementType', type: { @@ -389,7 +355,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -398,7 +363,6 @@ def self.mapper() } }, enable_http2: { - client_side_validation: true, required: false, serialized_name: 'properties.enableHttp2', type: { @@ -406,7 +370,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -414,7 +377,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -422,7 +384,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index e2e70b8bad..47d90a615b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -38,7 +38,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb index 53a46d2c57..2ac053b977 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb @@ -36,7 +36,6 @@ class ApplicationGatewayAvailableSslOptions < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslOptions', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslOptions', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,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: { @@ -94,13 +87,11 @@ def self.mapper() } }, predefined_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.predefinedPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, default_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultPolicy', type: { @@ -119,13 +109,11 @@ def self.mapper() } }, available_cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.availableCipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -135,13 +123,11 @@ def self.mapper() } }, available_protocols: { - client_side_validation: true, required: false, serialized_name: 'properties.availableProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb index bc416901f3..096b37c747 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicyElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb index 137555fbf2..4a9b39169a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb @@ -24,7 +24,6 @@ class ApplicationGatewayAvailableWafRuleSetsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableWafRuleSetsResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableWafRuleSetsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSetElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index db4a8216af..e42d339c53 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 911ab740b4..fb5da94a3b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -41,7 +41,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -57,13 +55,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -74,13 +70,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index afc5bfedac..03621dbe63 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index db3967534a..90a60052f4 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index 14cd78c5ac..b339f24127 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index 106bb4135d..38efcdf280 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -31,7 +31,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 29628932ff..82c3e7b36b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -78,7 +78,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -118,7 +113,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -126,7 +120,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -152,7 +143,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, pick_host_name_from_backend_address: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendAddress', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, affinity_cookie_name: { - client_side_validation: true, required: false, serialized_name: 'properties.affinityCookieName', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, probe_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.probeEnabled', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -201,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +193,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -217,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -225,7 +207,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 30f47e4f90..e3a7d466f1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb index 03a57f857f..8c540fff3e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb @@ -27,7 +27,6 @@ class ApplicationGatewayFirewallDisabledRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallDisabledRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -43,13 +41,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb index 1d8cda4ec9..5a7a7191be 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb @@ -25,7 +25,6 @@ class ApplicationGatewayFirewallRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRule', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRule', model_properties: { rule_id: { - client_side_validation: true, required: true, serialized_name: 'ruleId', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb index b6d09e13da..b4c7cf9b11 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb @@ -30,7 +30,6 @@ class ApplicationGatewayFirewallRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb index 672ef3f20a..696a67fa93 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFirewallRuleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSet', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleSet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetType', type: { @@ -108,7 +99,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetVersion', type: { @@ -116,13 +106,11 @@ def self.mapper() } }, rule_groups: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 153aec4c3a..0cbe76f01b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -49,7 +49,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 7e67eda34c..1ca38ea14e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -37,7 +37,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index d92cd2dbfc..6b6fcc338c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -56,7 +56,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 0eb7cce766..65d2c393cb 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 912a605c85..560f90ff1f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 78a3d936a6..5a0b062d56 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -49,7 +49,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,13 +63,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -132,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index a87240bcd8..a7a7acecdb 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -72,7 +72,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -96,7 +93,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -104,7 +100,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -120,7 +114,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -128,7 +121,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -136,7 +128,6 @@ def self.mapper() } }, pick_host_name_from_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendHttpSettings', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, min_servers: { - client_side_validation: true, required: false, serialized_name: 'properties.minServers', type: { @@ -152,7 +142,6 @@ def self.mapper() } }, match: { - client_side_validation: true, required: false, serialized_name: 'properties.match', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb index ee8bfa302b..6e29aefb36 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb @@ -28,7 +28,6 @@ class ApplicationGatewayProbeHealthResponseMatch # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeHealthResponseMatch', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbeHealthResponseMatch', model_properties: { body: { - client_side_validation: true, required: false, serialized_name: 'body', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, status_codes: { - client_side_validation: true, required: false, serialized_name: 'statusCodes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb index 2d1a73ce4b..635d66258e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb @@ -60,7 +60,6 @@ class ApplicationGatewayRedirectConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfiguration', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'ApplicationGatewayRedirectConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, redirect_type: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, target_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.targetListener', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, target_url: { - client_side_validation: true, required: false, serialized_name: 'properties.targetUrl', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, include_path: { - client_side_validation: true, required: false, serialized_name: 'properties.includePath', type: { @@ -109,7 +103,6 @@ def self.mapper() } }, include_query_string: { - client_side_validation: true, required: false, serialized_name: 'properties.includeQueryString', type: { @@ -117,13 +110,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,13 +125,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -151,13 +140,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index eecb537bd8..4b4403de0c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -57,7 +57,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 6baaca25a9..167bbc6ad0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index 84de7f002d..d313453717 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -46,7 +46,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index e85dc52ac2..6f832a73c9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -41,7 +41,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, policy_type: { - client_side_validation: true, required: false, serialized_name: 'policyType', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, policy_name: { - client_side_validation: true, required: false, serialized_name: 'policyName', type: { @@ -81,13 +76,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb index 07ba9ccb37..700c24949f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySslPredefinedPolicy < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicy', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslPredefinedPolicy', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'properties.minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 1e107ce524..226bf447d6 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -51,7 +51,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, default_redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultRedirectConfiguration', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index 24454e7473..69634bb9aa 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: true, serialized_name: 'firewallMode', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'ruleSetType', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'ruleSetVersion', type: { @@ -79,13 +74,11 @@ def self.mapper() } }, disabled_rule_groups: { - client_side_validation: true, required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group.rb index 7cecc6a22e..fc777d0d74 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group.rb @@ -34,7 +34,6 @@ class ApplicationSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,7 +85,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', @@ -101,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -110,7 +101,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb index 495aaee4a2..b9cfb0b209 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 4a84935fe8..9e696b385d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/availability.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/availability.rb index 148eeb4cf6..9ba0c4b5c5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/availability.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/availability.rb @@ -28,7 +28,6 @@ class Availability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Availability', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Availability', model_properties: { time_grain: { - client_side_validation: true, required: false, serialized_name: 'timeGrain', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, retention: { - client_side_validation: true, required: false, serialized_name: 'retention', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list.rb index bdbc761221..b5e5c68313 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list.rb @@ -23,7 +23,6 @@ class AvailableProvidersList # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersList', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'AvailableProvidersList', model_properties: { countries: { - client_side_validation: true, required: true, serialized_name: 'countries', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountryElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_city.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_city.rb index 7e83bb0c5c..2767806b74 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_city.rb @@ -25,7 +25,6 @@ class AvailableProvidersListCity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'AvailableProvidersListCity', model_properties: { city_name: { - client_side_validation: true, required: false, serialized_name: 'cityName', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_country.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_country.rb index af93eb7e2b..d9390922bf 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_country.rb @@ -29,7 +29,6 @@ class AvailableProvidersListCountry # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountry', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListCountry', model_properties: { country_name: { - client_side_validation: true, required: false, serialized_name: 'countryName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListStateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb index ff764202ba..5f4c99ef71 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb @@ -32,7 +32,6 @@ class AvailableProvidersListParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListParameters', type: { @@ -40,13 +39,11 @@ def self.mapper() class_name: 'AvailableProvidersListParameters', model_properties: { azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, country: { - client_side_validation: true, required: false, serialized_name: 'country', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_state.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_state.rb index 4e811e04c0..40d1001123 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_state.rb @@ -29,7 +29,6 @@ class AvailableProvidersListState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListState', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListState', model_properties: { state_name: { - client_side_validation: true, required: false, serialized_name: 'stateName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, cities: { - client_side_validation: true, required: false, serialized_name: 'cities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 605deb5120..00032c193e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report.rb index 111c162ca7..5d7ac02792 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report.rb @@ -30,7 +30,6 @@ class AzureReachabilityReport # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReport', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'AzureReachabilityReport', model_properties: { aggregation_level: { - client_side_validation: true, required: true, serialized_name: 'aggregationLevel', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, reachability_report: { - client_side_validation: true, required: true, serialized_name: 'reachabilityReport', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItemElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb index 1930ea3582..9bd6054e16 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb @@ -29,7 +29,6 @@ class AzureReachabilityReportItem # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItem', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AzureReachabilityReportItem', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, azure_location: { - client_side_validation: true, required: false, serialized_name: 'azureLocation', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, latencies: { - client_side_validation: true, required: false, serialized_name: 'latencies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfoElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb index 41964bc432..a6a6b16637 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb @@ -26,7 +26,6 @@ class AzureReachabilityReportLatencyInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfo', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLatencyInfo', model_properties: { time_stamp: { - client_side_validation: true, required: false, serialized_name: 'timeStamp', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, score: { - client_side_validation: true, required: false, serialized_name: 'score', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb index 035e855d8c..48d16e8068 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb @@ -28,7 +28,6 @@ class AzureReachabilityReportLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLocation', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLocation', model_properties: { country: { - client_side_validation: true, required: true, serialized_name: 'country', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb index 71b634e5f9..1df6d41047 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb @@ -34,7 +34,6 @@ class AzureReachabilityReportParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureReachabilityReportParameters', model_properties: { provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -51,13 +49,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: true, serialized_name: 'startTime', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: true, serialized_name: 'endTime', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 2cd42a7e61..29d43f558e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index 8bbf124c9d..57722e09e8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -44,7 +44,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -61,7 +59,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -70,7 +67,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -79,7 +75,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -88,7 +83,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -97,7 +91,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -106,7 +99,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -115,7 +107,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 9a0a71b0d1..76a6d1bc5d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community.rb index 872613b2ff..2c8e6b192d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,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: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index cc56e54511..5fb8bdcbac 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_settings.rb index 95ce96fd73..15cef87d9c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -30,7 +30,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgpcommunity.rb index 0aed296bcf..d3432d2e37 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -40,7 +40,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, is_authorized_to_use: { - client_side_validation: true, required: false, serialized_name: 'isAuthorizedToUse', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, service_group: { - client_side_validation: true, required: false, serialized_name: 'serviceGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor.rb index 71146c63a7..3fe872ade9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor.rb @@ -38,7 +38,6 @@ class ConnectionMonitor # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitor', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectionMonitor', model_properties: { location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -54,13 +52,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: { @@ -70,7 +66,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -97,7 +90,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb index 3e62089dcf..01691022b2 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb @@ -30,7 +30,6 @@ class ConnectionMonitorDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectionMonitorDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb index 957af748b7..c531e68c82 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb index c5672464a9..ba57c8ae7b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb @@ -32,7 +32,6 @@ class ConnectionMonitorParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorParameters', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ConnectionMonitorParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'autoStart', default_value: true, @@ -67,7 +63,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb index 6b6c20bdb8..7025799f83 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorQueryResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorQueryResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorQueryResult', model_properties: { states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshotElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_result.rb index 86adfc1029..8b5f3dd8cc 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_result.rb @@ -63,7 +63,6 @@ class ConnectionMonitorResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResult', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ConnectionMonitorResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +78,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -89,7 +86,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -98,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -107,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -115,13 +109,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: { @@ -131,7 +123,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -158,7 +147,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, @@ -167,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, monitoring_status: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringStatus', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_source.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_source.rb index 14a6056aff..bb729bccac 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_source.rb @@ -26,7 +26,6 @@ class ConnectionMonitorSource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorSource', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ConnectionMonitorSource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index da409f5e22..d893b7b79a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -23,7 +23,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 9592640088..c4b4ae9110 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb index 8ec071dc23..20107a77c9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb @@ -37,7 +37,6 @@ class ConnectionStateSnapshot # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshot', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectionStateSnapshot', model_properties: { connection_state: { - client_side_validation: true, required: false, serialized_name: 'connectionState', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, evaluation_state: { - client_side_validation: true, required: false, serialized_name: 'evaluationState', type: { @@ -77,14 +72,12 @@ def self.mapper() } }, hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_destination.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_destination.rb index fd0cc74b96..4d9e1a8d8c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_destination.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_destination.rb @@ -30,7 +30,6 @@ class ConnectivityDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectivityDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_hop.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_hop.rb index 13d9ea9751..7f613956bf 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_hop.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_hop.rb @@ -37,7 +37,6 @@ class ConnectivityHop # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHop', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectivityHop', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,7 +52,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +60,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'address', @@ -72,7 +68,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', @@ -81,14 +76,12 @@ def self.mapper() } }, next_hop_ids: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHopIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,14 +91,12 @@ def self.mapper() } }, issues: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'issues', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssueElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_information.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_information.rb index c1e7561d2d..e617a49357 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_information.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_information.rb @@ -42,7 +42,6 @@ class ConnectivityInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityInformation', type: { @@ -50,14 +49,12 @@ def self.mapper() class_name: 'ConnectivityInformation', model_properties: { hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -77,7 +73,6 @@ def self.mapper() } }, avg_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'avgLatencyInMs', @@ -86,7 +81,6 @@ def self.mapper() } }, min_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minLatencyInMs', @@ -95,7 +89,6 @@ def self.mapper() } }, max_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maxLatencyInMs', @@ -104,7 +97,6 @@ def self.mapper() } }, probes_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesSent', @@ -113,7 +105,6 @@ def self.mapper() } }, probes_failed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesFailed', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_issue.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_issue.rb index e6d7dfb31b..1c070b3db1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_issue.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_issue.rb @@ -38,7 +38,6 @@ class ConnectivityIssue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectivityIssue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'severity', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,20 +69,17 @@ def self.mapper() } }, context: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'context', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HashElementType', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb index 9eecba8817..c3d30632f7 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb @@ -25,7 +25,6 @@ class ConnectivityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ConnectivityParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_source.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_source.rb index 0bda6e74c4..56aa6ba605 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_source.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_source.rb @@ -27,7 +27,6 @@ class ConnectivitySource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivitySource', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ConnectivitySource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dhcp_options.rb index 371205d8fa..726768c197 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dimension.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dimension.rb index f60ab778fa..09355ef738 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dimension.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dimension.rb @@ -28,7 +28,6 @@ class Dimension # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Dimension', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Dimension', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, internal_name: { - client_side_validation: true, required: false, serialized_name: 'internalName', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 0cd74c833c..0aac0667e9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index a76927631f..e9621d937c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -34,7 +34,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -60,13 +57,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { @@ -77,19 +72,16 @@ def self.mapper() } }, tag_map: { - client_side_validation: true, required: false, serialized_name: 'tagMap', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'ArrayElementType', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 82aea48e8e..d3561a0fe1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index c8e9709ff4..ba47365cec 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index c6758db974..24f42acb48 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -79,7 +79,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -119,13 +114,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -167,13 +156,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -183,13 +170,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -199,13 +184,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -215,13 +198,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -231,7 +212,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -239,7 +219,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -247,7 +226,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route.rb index 173166d6f3..55a94a9c48 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index aa83c85188..57a7b1827d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_service_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_service_result.rb index b1416660b2..d7960234ad 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_service_result.rb @@ -25,7 +25,6 @@ class EndpointServiceResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResult', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EndpointServiceResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb index cf7ad86659..8adc868e07 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServicesListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'EndpointServicesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResultElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error.rb index b91154ebeb..445c3a4799 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error_details.rb index fa8b4ca7b8..11be698117 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit.rb index a1d83edae5..77767c390a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,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: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 9ec6e4bf8c..be678c4a9f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 1c15e5edc8..ce55bc4ff8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 5a0190b153..f7b17d30a5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 73b33f01ff..54a1b59603 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -87,7 +87,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -111,7 +108,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -119,7 +115,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -127,7 +122,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', constraints: { @@ -139,7 +133,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -147,7 +140,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -171,7 +161,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -179,7 +168,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -187,7 +175,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -196,7 +183,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -213,7 +198,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -221,7 +205,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -229,7 +212,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -238,7 +220,6 @@ def self.mapper() } }, ipv6peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { @@ -247,7 +228,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -255,7 +235,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 0ed787a07e..a87093bde5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -42,7 +42,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -50,13 +49,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, advertised_communities: { - client_side_validation: true, required: false, serialized_name: 'advertisedCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, legacy_mode: { - client_side_validation: true, required: false, serialized_name: 'legacyMode', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index 85ec8c38bf..cef4e24cb0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index d68767a280..43c3508b9e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 5cdf350cb0..7bef32ee9d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index d978f1d3a7..98bfe9a8c8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index e9292a1b39..2c55d2c3f5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index ead2588ebf..16fcd0ea16 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index f9ba4c6d85..57bc74d652 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 31e50ae8be..1fc0912d2f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index db4a5ad5d3..216811f3ad 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index f801ad7cf5..62ab3142d6 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 6f7a907a88..b75cfa7243 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index c07c17194f..33dd8575de 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_information.rb index 0b0e5ba12d..551fd61d58 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index d574d54893..8894409e5d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index b1bbd4f470..e63ae8cef0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -65,7 +65,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,14 +79,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -99,14 +95,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -117,14 +111,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -135,14 +127,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -178,7 +165,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -187,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -203,7 +187,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -211,13 +194,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route.rb index ea99921c93..5aeb97dbdd 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -40,7 +40,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -57,7 +55,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -66,7 +63,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -75,7 +71,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -84,7 +79,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -93,7 +87,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -102,7 +95,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index e08864a897..66dc333f77 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index ab669358a0..48f5f678dc 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -52,7 +52,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 8347134e5d..083a3b96ea 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -65,7 +65,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -90,7 +87,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb index 5e7e2e5d2f..ac1219c8d0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'InboundNatRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index 089d935adb..b97d036241 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipconfiguration.rb index 673fb36073..66f753f2b2 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipsec_policy.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipsec_policy.rb index d9d4c07d4d..4c8ff60fd4 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipsec_policy.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipsec_policy.rb @@ -55,7 +55,6 @@ class IpsecPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicy', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'IpsecPolicy', model_properties: { sa_life_time_seconds: { - client_side_validation: true, required: true, serialized_name: 'saLifeTimeSeconds', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, sa_data_size_kilobytes: { - client_side_validation: true, required: true, serialized_name: 'saDataSizeKilobytes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, ipsec_encryption: { - client_side_validation: true, required: true, serialized_name: 'ipsecEncryption', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipsec_integrity: { - client_side_validation: true, required: true, serialized_name: 'ipsecIntegrity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, ike_encryption: { - client_side_validation: true, required: true, serialized_name: 'ikeEncryption', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ike_integrity: { - client_side_validation: true, required: true, serialized_name: 'ikeIntegrity', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, dh_group: { - client_side_validation: true, required: true, serialized_name: 'dhGroup', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, pfs_group: { - client_side_validation: true, required: true, serialized_name: 'pfsGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb index 03aef17196..8495200a4f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb @@ -37,7 +37,6 @@ class Ipv6ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Ipv6ExpressRouteCircuitPeeringConfig', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Ipv6ExpressRouteCircuitPeeringConfig', model_properties: { primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'primaryPeerAddressPrefix', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'secondaryPeerAddressPrefix', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'microsoftPeeringConfig', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'routeFilter', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer.rb index 733ac945b4..04341aee2a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -72,7 +72,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -97,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -106,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -114,13 +109,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: { @@ -130,7 +123,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -139,13 +131,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -156,13 +146,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -173,13 +161,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -207,13 +191,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -224,13 +206,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -241,13 +221,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -258,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -266,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -274,7 +250,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb index d8979c4324..a5721cb720 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerBackendAddressPoolListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerBackendAddressPoolListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb index 643651fb8e..bea989b7f9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerFrontendIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'LoadBalancerFrontendIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index b3db587d11..13e78bbf0a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb index 92439d3542..ef3e5a20be 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerLoadBalancingRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerLoadBalancingRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb index 83287030f3..2effe81ee2 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerProbeListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'LoadBalancerProbeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_sku.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_sku.rb index 4f33c6d80e..7ea5e7520d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_sku.rb @@ -23,7 +23,6 @@ class LoadBalancerSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'LoadBalancerSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index a3a98b3134..49c1763d9a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -78,7 +78,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -112,7 +108,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -121,7 +116,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +123,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -137,7 +130,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -145,7 +137,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, disable_outbound_snat: { - client_side_validation: true, required: false, serialized_name: 'properties.disableOutboundSnat', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 2931af54c0..36793b2a24 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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: false, 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() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index f9f41773de..83a78e8676 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/log_specification.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/log_specification.rb index 18d41bf38d..4d8a49ee3a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/log_specification.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/log_specification.rb @@ -28,7 +28,6 @@ class LogSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogSpecification', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'LogSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/metric_specification.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/metric_specification.rb index 5dbcc4e871..d7e8298966 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/metric_specification.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/metric_specification.rb @@ -61,7 +61,6 @@ class MetricSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'MetricSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, display_description: { - client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, aggregation_type: { - client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { @@ -109,13 +103,11 @@ def self.mapper() } }, availabilities: { - client_side_validation: true, required: false, serialized_name: 'availabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilityElementType', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, enable_regional_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'enableRegionalMdmAccount', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, fill_gap_with_zero: { - client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, metric_filter_pattern: { - client_side_validation: true, required: false, serialized_name: 'metricFilterPattern', type: { @@ -150,13 +139,11 @@ def self.mapper() } }, dimensions: { - client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, is_internal: { - client_side_validation: true, required: false, serialized_name: 'isInternal', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, source_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmAccount', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, source_mdm_namespace: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmNamespace', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, resource_id_dimension_name_override: { - client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface.rb index 6966c697d9..1b8bacc518 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_association.rb index 74600f66c8..3412d6b567 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 67eebf8528..831be763eb 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index f3b3d84777..c5cd06bbae 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -73,7 +73,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,13 +87,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -106,13 +102,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -123,13 +117,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -223,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb index 769ba0d992..5bf97d2456 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 344245d9af..e76f5ddfd9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb index da24eeffeb..87090fd9ce 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceLoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceLoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group.rb index 3de5a5f9b2..d44a07d8ab 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index 2b5bc42aa7..07b4d34379 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher.rb index 68a4870f53..03536befda 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,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: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index eb3645f016..cfcbe3ee18 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index f01e3727c1..6f68a2f240 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_result.rb index 3e492a0803..89093ef777 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation.rb index 6da20e114a..4d0450491c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation.rb @@ -33,7 +33,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, service_specification: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_display.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_display.rb index 33742c516a..50b26d5ad8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_display.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', 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_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_list_result.rb index dc4bfd67a7..9ac9b174c8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'OperationListResult', 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: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb index b924462fa3..038b16b6c2 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb @@ -26,7 +26,6 @@ class OperationPropertiesFormatServiceSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationPropertiesFormat_serviceSpecification', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationPropertiesFormatServiceSpecification', model_properties: { metric_specifications: { - client_side_validation: true, required: false, serialized_name: 'metricSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricSpecificationElementType', type: { @@ -51,13 +48,11 @@ def self.mapper() } }, log_specifications: { - client_side_validation: true, required: false, serialized_name: 'logSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LogSpecificationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index b6c828d1d9..3b7f4a885d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture.rb index c9ee18ba1b..7a27da7bf0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index 7ee1fc12fa..0eb1e3f19e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 9bcb37fb4c..55404ee1f3 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index 0df77338d2..e11d5d11e7 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index 734fe23993..badebe480c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_result.rb index c78b3b6323..546ede2e51 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index b660ba746a..c4d9716f88 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter.rb index db11abed8a..e7dad67ee4 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -122,7 +113,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,13 +121,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_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index d4feb21739..833098e11c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -46,7 +46,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,13 +114,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_network/lib/2017-10-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/probe.rb index f34cce52ec..59047d9408 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 73d6381a26..06cb49871f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -61,7 +61,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -136,7 +127,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -144,7 +134,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -203,13 +186,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 8a707dc3ac..3d0490dc07 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index c3d694474b..d1adab0353 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb index dd1c6aebde..cc99a2b46e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb @@ -23,7 +23,6 @@ class PublicIPAddressSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'PublicIPAddressSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index ec806faad2..0d67327b2b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource.rb index d6ca906b9e..e52aa2214c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index ce767a834b..a250a2aed0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index 05f3bc179d..d5a4da9a07 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route.rb index 1cb0d85cf7..ed190284eb 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter.rb index 8e1bca12bc..e38d62f914 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,13 +101,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -136,7 +124,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index e17dadac63..167d36a576 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule.rb index dc7ffd4338..db466b72d7 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -49,7 +49,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -83,13 +79,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -108,7 +101,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -133,13 +123,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_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index 1f8a953abc..e8b1b55666 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_list_result.rb index 65526023e4..aec948520b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table.rb index b74b17cf0e..ef37a5a98a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table.rb @@ -38,7 +38,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -80,13 +75,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: { @@ -96,13 +89,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -113,14 +104,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -131,7 +120,6 @@ def self.mapper() } }, disable_bgp_route_propagation: { - client_side_validation: true, required: false, serialized_name: 'properties.disableBgpRoutePropagation', type: { @@ -139,7 +127,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +134,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table_list_result.rb index f610b4a189..9020eb1885 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index 5aee5d13da..8ffdcf7f91 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index 8ea296e3e8..103ea8a11a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_result.rb index 6f7018a76b..46676e06ba 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule.rb index fc6dd1ce2b..56ccc9fed7 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule.rb @@ -97,7 +97,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -105,7 +104,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -113,7 +111,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -121,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +125,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -137,7 +132,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -145,7 +139,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -153,13 +146,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -169,13 +160,11 @@ def self.mapper() } }, source_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -186,7 +175,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -210,13 +196,11 @@ def self.mapper() } }, destination_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -227,13 +211,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -243,13 +225,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -275,7 +253,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -283,7 +260,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -291,7 +267,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -299,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 6ec33edd35..22a1facb71 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index 1c7214216c..f3df586ddf 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb index 30cffd1365..9fbd40f2af 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb @@ -28,7 +28,6 @@ class ServiceEndpointPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormat', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ServiceEndpointPropertiesFormat', model_properties: { service: { - client_side_validation: true, required: false, serialized_name: 'service', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -60,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/sub_resource.rb index d241260597..c1e511e7d1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet.rb index d38c66320b..5f8756b64a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet.rb @@ -52,7 +52,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, service_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormatElementType', type: { @@ -111,14 +104,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +149,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_association.rb index 5e67e70e24..949b818e07 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 946393c363..83109b46df 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tags_object.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tags_object.rb index 4a7065001f..8c632fc6c1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tags_object.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tags_object.rb @@ -22,7 +22,6 @@ class TagsObject # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TagsObject', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TagsObject', 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_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology.rb index 463738f073..b3625b3ce8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_association.rb index 9847169bd0..3654d65514 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_parameters.rb index 1667dd467f..fe437abe8e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -29,7 +29,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: false, serialized_name: 'targetResourceGroupName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'targetVirtualNetwork', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, target_subnet: { - client_side_validation: true, required: false, serialized_name: 'targetSubnet', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_resource.rb index c45b12b1bd..aa5dce0be5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index ce1aeb492e..3ee3fd4803 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index bebf4e55b6..0334bb0c3d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index df2a33bfa5..9288fce426 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 348fdc3ade..6987266068 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index 2c6e7effa1..644160afbd 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage.rb index 5ad883b92a..29d0f81629 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -62,7 +59,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage_name.rb index c9abce80fc..d893f564f2 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usages_list_result.rb index 77fb0941a7..2d82dca035 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index 1c8c7eb124..32e99bd1d6 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index b6d4cf2e1a..25c098c659 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network.rb index b044a4792d..e1af67061b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -54,7 +54,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,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: { @@ -112,7 +105,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -180,7 +165,6 @@ def self.mapper() } }, enable_ddos_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableDdosProtection', type: { @@ -188,7 +172,6 @@ def self.mapper() } }, enable_vm_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableVmProtection', type: { @@ -196,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb index 17d0b10f98..f9e49f305a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb @@ -23,7 +23,6 @@ class VirtualNetworkConnectionGatewayReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkConnectionGatewayReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VirtualNetworkConnectionGatewayReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 6f8f7ba29e..4a852cf404 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,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: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index b6fedb0a7f..8a69de6424 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -88,7 +88,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -96,7 +95,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -104,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +110,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -122,7 +118,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -130,13 +125,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: { @@ -146,7 +139,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -154,7 +146,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -172,7 +162,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -181,7 +170,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -189,7 +177,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -197,7 +184,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -214,14 +199,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -232,7 +215,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -241,7 +223,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -250,7 +231,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -275,13 +253,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -292,7 +268,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -300,7 +275,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -309,7 +283,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb index 545fe0c433..a859d259dd 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb @@ -89,7 +89,6 @@ class VirtualNetworkGatewayConnectionListEntity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntity', type: { @@ -97,7 +96,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListEntity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -105,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +111,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -123,7 +119,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -131,13 +126,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: { @@ -147,7 +140,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -164,7 +155,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -173,7 +163,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -182,7 +171,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -190,7 +178,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -198,7 +185,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -206,7 +192,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -215,14 +200,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -233,7 +216,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -242,7 +224,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -251,7 +232,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -260,7 +240,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -268,7 +247,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -276,13 +254,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -293,7 +269,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -301,7 +276,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -310,7 +284,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index 5b29985737..f13feb103e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index c4e2226629..446dea733a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb index a5ed8d4d79..4391697e37 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListConnectionsResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListConnectionsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntityElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 3fbb6c9c93..92deac5120 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index 49305f1a13..ea5f676e86 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 47059d480c..6673c36a5e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb index 3c9f69fd97..530d788f17 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListUsageResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'VirtualNetworkListUsageResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index fe15808568..33227c8204 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -65,7 +65,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, remote_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteAddressSpace', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -139,7 +130,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +137,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -155,7 +144,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 913206c189..637ab84466 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage.rb index a8e345b4f4..1821be7c7a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage.rb @@ -35,7 +35,6 @@ class VirtualNetworkUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualNetworkUsage', model_properties: { current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -52,7 +50,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +58,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +75,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb index 133a5beff5..e6591e1429 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb @@ -25,7 +25,6 @@ class VirtualNetworkUsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualNetworkUsageName', model_properties: { localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 4ec6f4f52b..3fe035c48f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -43,7 +43,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -60,13 +58,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { @@ -94,13 +88,11 @@ def self.mapper() } }, vpn_client_protocols: { - client_side_validation: true, required: false, serialized_name: 'vpnClientProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientProtocolElementType', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, radius_server_address: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAddress', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, radius_server_secret: { - client_side_validation: true, required: false, serialized_name: 'radiusServerSecret', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 72d075237d..e31d8744bc 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -40,7 +40,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'processorArchitecture', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, authentication_method: { - client_side_validation: true, required: false, serialized_name: 'authenticationMethod', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, radius_server_auth_certificate: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAuthCertificate', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'clientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 323127255c..b64d70e689 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index abf01f9424..0bfa69cff9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb index 31736e4050..54b622c3ae 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb @@ -28,7 +28,6 @@ class VpnDeviceScriptParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnDeviceScriptParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VpnDeviceScriptParameters', model_properties: { vendor: { - client_side_validation: true, required: false, serialized_name: 'vendor', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, device_family: { - client_side_validation: true, required: false, serialized_name: 'deviceFamily', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, firmware_version: { - client_side_validation: true, required: false, serialized_name: 'firmwareVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb index 6b5a044434..3705eaca27 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceIPConfiguration] operation results. # - def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, network_interface_name, ip_configuration_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, network_interface_name, ip_configura # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'ip_configuration_name is nil' if ip_configuration_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name # # @return [NetworkInterfaceIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceIPConfigurationListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_load_balancers.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_load_balancers.rb index cf101efb40..ad02b904f1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceLoadBalancers include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_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 @@ -126,8 +122,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceLoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceLoadBalancerListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interfaces.rb index ae1aec3141..6f2bcf89b1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [NetworkInterface] operation results. # - def update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, network_interface_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, network_interface_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -431,8 +425,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -445,9 +439,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -473,8 +467,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -487,9 +481,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -514,8 +508,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -529,8 +523,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -543,7 +537,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -551,7 +545,6 @@ def begin_delete_async(resource_group_name, network_interface_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 @@ -598,8 +591,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -615,8 +608,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -631,7 +624,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -640,12 +633,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa 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::Network::Mgmt::V2017_10_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -714,8 +708,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterface] operation results. # - def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -731,8 +725,8 @@ def begin_update_tags(resource_group_name, network_interface_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -747,7 +741,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_interface_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -756,12 +750,13 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet 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::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -818,8 +813,8 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -833,8 +828,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -847,7 +842,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -855,7 +850,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,8 +904,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -925,8 +919,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -939,7 +933,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -947,7 +941,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1002,8 +995,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1017,8 +1010,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1031,12 +1024,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1090,8 +1082,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1105,8 +1097,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1119,12 +1111,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1177,12 +1168,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1198,12 +1189,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb index 9aadf4334b..aead7d6cb7 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb @@ -256,9 +256,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? @@ -280,8 +277,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -297,8 +294,8 @@ def check_dns_name_availability(location, domain_name_label, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -313,7 +310,7 @@ def check_dns_name_availability_with_http_info(location, domain_name_label, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? @@ -321,7 +318,6 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -373,7 +369,9 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2017_10_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2017_10_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_security_groups.rb index 77ecb14cd6..c68ba87ee4 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -117,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [NetworkSecurityGroup] operation results. # - def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -240,9 +236,9 @@ def update_tags(resource_group_name, network_security_group_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_tags_async(resource_group_name, network_security_group_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -279,8 +275,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -291,13 +287,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -351,8 +346,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -365,8 +360,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -378,14 +373,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -440,8 +434,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -456,8 +450,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -471,7 +465,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +473,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -527,8 +520,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -545,8 +538,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -562,7 +555,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -571,12 +564,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -646,8 +640,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroup] operation results. # - def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -664,8 +658,8 @@ def begin_update_tags(resource_group_name, network_security_group_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -681,7 +675,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_security_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -690,12 +684,13 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa 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::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -752,8 +747,8 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -767,8 +762,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -781,12 +776,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +834,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -855,8 +849,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -869,12 +863,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,12 +920,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -948,12 +941,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_watchers.rb index 86e1baf7a9..ff1391059e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_watchers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkWatchers include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -53,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -69,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -78,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2017_10_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -150,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -165,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -179,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -187,7 +185,6 @@ def get_async(resource_group_name, network_watcher_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 @@ -240,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -254,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -282,8 +279,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcher] operation results. # - def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -299,8 +296,8 @@ def update_tags(resource_group_name, network_watcher_name, parameters, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -315,7 +312,7 @@ def update_tags_with_http_info(resource_group_name, network_watcher_name, parame # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -324,12 +321,13 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus 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::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -385,8 +383,8 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -399,8 +397,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -412,14 +410,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -472,8 +469,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -485,8 +482,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -497,13 +494,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +556,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +573,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -593,7 +589,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +598,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, 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::Network::Mgmt::V2017_10_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -683,9 +680,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -713,8 +710,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -729,9 +726,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -759,8 +756,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -775,9 +772,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -806,8 +803,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -823,9 +820,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -854,8 +851,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -871,9 +868,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -903,8 +900,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -921,9 +918,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -953,8 +950,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -971,9 +968,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1005,8 +1002,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # # @return [ConnectivityInformation] operation results. # - def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1023,9 +1020,9 @@ def check_connectivity(resource_group_name, network_watcher_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1056,8 +1053,8 @@ def check_connectivity_async(resource_group_name, network_watcher_name, paramete # # @return [AzureReachabilityReport] operation results. # - def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1074,9 +1071,9 @@ def get_azure_reachability_report(resource_group_name, network_watcher_name, par # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1106,8 +1103,8 @@ def get_azure_reachability_report_async(resource_group_name, network_watcher_nam # # @return [AvailableProvidersList] operation results. # - def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1124,9 +1121,9 @@ def list_available_providers(resource_group_name, network_watcher_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1151,8 +1148,8 @@ def list_available_providers_async(resource_group_name, network_watcher_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -1166,8 +1163,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -1180,7 +1177,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1188,7 +1185,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1236,8 +1232,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1254,8 +1250,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1271,7 +1267,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1280,12 +1276,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet 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::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1354,8 +1351,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1371,8 +1368,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1387,7 +1384,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1396,12 +1393,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete 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::Network::Mgmt::V2017_10_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1470,8 +1468,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1487,8 +1485,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1503,7 +1501,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1512,12 +1510,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1587,8 +1586,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1605,8 +1604,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1622,7 +1621,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1631,12 +1630,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2017_10_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1706,8 +1706,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1724,8 +1724,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1741,7 +1741,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1750,12 +1750,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2017_10_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1826,8 +1827,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1845,8 +1846,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1863,7 +1864,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1872,12 +1873,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2017_10_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1948,8 +1950,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1967,8 +1969,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1985,7 +1987,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1994,12 +1996,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2017_10_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2072,8 +2075,8 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p # # @return [ConnectivityInformation] operation results. # - def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2093,8 +2096,8 @@ def begin_check_connectivity(resource_group_name, network_watcher_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2113,7 +2116,7 @@ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2122,12 +2125,13 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa 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::Network::Mgmt::V2017_10_01::Models::ConnectivityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2199,8 +2203,8 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa # # @return [AzureReachabilityReport] operation results. # - def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2219,8 +2223,8 @@ def begin_get_azure_reachability_report(resource_group_name, network_watcher_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2238,7 +2242,7 @@ def begin_get_azure_reachability_report_with_http_info(resource_group_name, netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2247,12 +2251,13 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch 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::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReportParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2323,8 +2328,8 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch # # @return [AvailableProvidersList] operation results. # - def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2342,8 +2347,8 @@ def begin_list_available_providers(resource_group_name, network_watcher_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2360,7 +2365,7 @@ def begin_list_available_providers_with_http_info(resource_group_name, network_w # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2369,12 +2374,13 @@ def begin_list_available_providers_async(resource_group_name, network_watcher_na 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::Network::Mgmt::V2017_10_01::Models::AvailableProvidersListParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/operations.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/operations.rb index 15eea23948..b86ca704b0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/operations.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/operations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Operations include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,12 +54,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 @@ -116,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -131,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -145,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/packet_captures.rb index a816f9dac3..d8428b49b5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/packet_captures.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PacketCaptures include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -232,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -278,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -323,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -338,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -346,7 +342,6 @@ def list_async(resource_group_name, network_watcher_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 @@ -404,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -422,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -439,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -449,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture 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::Network::Mgmt::V2017_10_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -511,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -527,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -542,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -551,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -612,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -627,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -636,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -702,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -719,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -728,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap 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_network/lib/2017-10-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/public_ipaddresses.rb index 484216e6cb..ee2fbf2872 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [PublicIPAddress] operation results. # - def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, public_ip_address_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, public_ip_address_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, public_ip_address_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 @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa 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::Network::Mgmt::V2017_10_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddress] operation results. # - def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, public_ip_address_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet 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::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filter_rules.rb index 8fd5858f11..1ede6e0641 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilterRules include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -281,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -358,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -374,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -389,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -398,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -446,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -481,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -491,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na 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::Network::Mgmt::V2017_10_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -566,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -584,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -601,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -611,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ 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::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -673,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -688,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -702,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filters.rb index edc982523c..50b4ee8e93 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filters.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilters include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -107,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -234,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -275,8 +271,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 # @@ -288,14 +284,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -348,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +356,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 # @@ -373,13 +368,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -433,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -448,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -462,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -470,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -534,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -550,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -559,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f 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::Network::Mgmt::V2017_10_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -633,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -650,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -666,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -675,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para 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::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -737,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -752,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -766,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -825,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -840,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -854,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -913,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -933,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_tables.rb index 429f79811d..5d8d1f1a1f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_tables.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteTables include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [RouteTable] operation results. # - def update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, route_table_name, parameters, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +254,8 @@ def update_tags_async(resource_group_name, route_table_name, parameters, custom_ # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -272,8 +268,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -285,14 +281,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -345,8 +340,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -358,8 +353,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -370,13 +365,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, route_table_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 @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete 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::Network::Mgmt::V2017_10_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTable] operation results. # - def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, route_table_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, route_table_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c 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::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,12 +903,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/routes.rb index ccc7f7ee23..a9da0e9686 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/routes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Routes include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, route_table_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 @@ -310,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na 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::Network::Mgmt::V2017_10_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/security_rules.rb index 489e16bc36..017848c9c8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class SecurityRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -197,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -226,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -242,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -257,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -265,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -338,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -354,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -363,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -431,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -449,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -459,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2017_10_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -531,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -546,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -560,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -621,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/subnets.rb index 0f52a837fe..6cf69632d5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/subnets.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Subnets include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -118,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -193,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -236,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -250,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +254,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -313,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn 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::Network::Mgmt::V2017_10_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/usages.rb index 8bac3bed22..4ff7b305e6 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/usages.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Usages include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -123,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -138,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -152,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..4062474809 --- /dev/null +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/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::Network::Mgmt::V2017_10_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 270e567ed3..38e888ba4e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGatewayConnections include MsRestAzure @@ -38,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -100,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -115,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update_tags(resource_group_name, virtual_network_gateway_connection_name, pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +268,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_connection_na # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -290,9 +286,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -321,8 +317,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -339,8 +335,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -356,7 +352,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -364,7 +360,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -419,8 +414,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -434,8 +429,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -448,14 +443,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +511,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,9 +529,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -567,8 +561,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -586,8 +580,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -604,7 +598,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -613,12 +607,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -685,8 +680,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -701,8 +696,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -716,7 +711,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -724,7 +719,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -772,8 +766,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -790,8 +784,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_connection_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -807,7 +801,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -816,12 +810,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect 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::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -884,8 +879,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -905,8 +900,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -925,7 +920,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -934,12 +929,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn 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::Network::Mgmt::V2017_10_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1013,8 +1009,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1035,8 +1031,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -1056,7 +1052,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1065,12 +1061,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2017_10_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1128,8 +1125,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1144,8 +1141,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1159,12 +1156,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1219,12 +1215,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb index 23695cf347..4eedf42c85 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -122,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -191,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [VirtualNetworkGateway] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -237,9 +233,9 @@ def update_tags(resource_group_name, virtual_network_gateway_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -264,8 +260,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -278,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -291,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -354,8 +349,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers) first_page.get_all_items end @@ -370,8 +365,8 @@ def list_connections(resource_group_name, virtual_network_gateway_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -385,7 +380,7 @@ def list_connections_with_http_info(resource_group_name, virtual_network_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -393,7 +388,6 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +446,8 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -469,9 +463,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +495,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -518,15 +512,14 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -557,8 +550,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [String] operation results. # - def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,15 +567,14 @@ def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -612,8 +604,8 @@ def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name # # @return [String] operation results. # - def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -627,15 +619,14 @@ def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -664,8 +655,8 @@ def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gatew # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -680,9 +671,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -709,8 +700,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [String] operation results. # - def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -725,8 +716,8 @@ def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -740,7 +731,7 @@ def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_ga # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -748,7 +739,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,7 +771,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -812,8 +801,8 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -827,9 +816,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -858,8 +847,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -874,9 +863,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -906,8 +895,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [String] operation results. # - def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -925,8 +914,8 @@ def vpn_device_configuration_script(resource_group_name, virtual_network_gateway # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -943,7 +932,7 @@ def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -952,12 +941,13 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g 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::Network::Mgmt::V2017_10_01::Models::VpnDeviceScriptParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -992,7 +982,6 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1024,8 +1013,8 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1042,8 +1031,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1059,7 +1048,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1068,12 +1057,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na 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::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1140,8 +1130,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -1156,8 +1146,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1171,7 +1161,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1179,7 +1169,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1227,8 +1216,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1245,8 +1234,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1262,7 +1251,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1271,12 +1260,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p 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::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1337,8 +1327,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -1356,8 +1346,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -1374,7 +1364,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1382,7 +1372,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1441,8 +1430,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [String] operation results. # - def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1460,8 +1449,8 @@ def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1478,7 +1467,7 @@ def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1487,12 +1476,13 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga 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::Network::Mgmt::V2017_10_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1527,7 +1517,6 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1560,8 +1549,8 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga # # @return [String] operation results. # - def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1579,8 +1568,8 @@ def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1597,7 +1586,7 @@ def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_netwo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1606,12 +1595,13 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa 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::Network::Mgmt::V2017_10_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1646,7 +1636,6 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1678,8 +1667,8 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa # # @return [String] operation results. # - def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1696,8 +1685,8 @@ def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gatew # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1713,7 +1702,7 @@ def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtua # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1721,7 +1710,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1754,7 +1742,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1785,8 +1772,8 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1802,8 +1789,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1818,7 +1805,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1826,7 +1813,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1883,8 +1869,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1900,8 +1886,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1916,7 +1902,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1924,7 +1910,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1982,8 +1967,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -2000,8 +1985,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -2017,7 +2002,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -2026,7 +2011,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2081,8 +2065,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2096,8 +2080,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2110,12 +2094,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2169,8 +2152,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkGatewayListConnectionsResult] operation results. # - def list_connections_next(next_page_link, custom_headers:nil) - response = list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next(next_page_link, custom_headers = nil) + response = list_connections_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2184,8 +2167,8 @@ def list_connections_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_next_with_http_info(next_page_link, custom_headers:nil) - list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next_with_http_info(next_page_link, custom_headers = nil) + list_connections_next_async(next_page_link, custom_headers).value! end # @@ -2198,12 +2181,11 @@ def list_connections_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_next_async(next_page_link, custom_headers:nil) + def list_connections_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2257,12 +2239,12 @@ def list_connections_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2280,12 +2262,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkGatewayListConnectionsResult] which provide lazy # access to pages of the response. # - def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_connections_next_async(next_page_link, custom_headers:custom_headers) + list_connections_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_peerings.rb index 8d080947f4..29c204b167 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkPeerings include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -178,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -195,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -238,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -252,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +256,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -316,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -333,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -349,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -358,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -406,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -424,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -441,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -451,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt 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::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -523,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -538,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -552,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -612,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_networks.rb index 6d52e453e7..ede9023125 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_networks.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworks include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [VirtualNetwork] operation results. # - def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, virtual_network_name, parameters, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, virtual_network_name, parameters, cus # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -432,8 +426,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -448,8 +442,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -463,7 +457,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -471,7 +465,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -526,8 +519,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # # @return [Array] operation results. # - def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list_usage(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -541,8 +534,8 @@ def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -555,7 +548,7 @@ def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_usage_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -563,7 +556,6 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -617,8 +609,8 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -632,8 +624,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -646,7 +638,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +646,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +692,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -718,8 +709,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -734,7 +725,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -743,12 +734,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para 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::Network::Mgmt::V2017_10_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -817,8 +809,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetwork] operation results. # - def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -834,8 +826,8 @@ def begin_update_tags(resource_group_name, virtual_network_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -850,7 +842,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -859,12 +851,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, 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::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -921,8 +914,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -936,8 +929,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -950,12 +943,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1009,8 +1001,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1024,8 +1016,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1038,12 +1030,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1097,8 +1088,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListUsageResult] operation results. # - def list_usage_next(next_page_link, custom_headers:nil) - response = list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next(next_page_link, custom_headers = nil) + response = list_usage_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1112,8 +1103,8 @@ def list_usage_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_next_with_http_info(next_page_link, custom_headers:nil) - list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next_with_http_info(next_page_link, custom_headers = nil) + list_usage_next_async(next_page_link, custom_headers).value! end # @@ -1126,12 +1117,11 @@ def list_usage_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_next_async(next_page_link, custom_headers:nil) + def list_usage_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1184,12 +1174,12 @@ def list_usage_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1205,12 +1195,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1227,12 +1217,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkListUsageResult] which provide lazy access to pages of # the response. # - def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_usage_next_async(next_page_link, custom_headers:custom_headers) + list_usage_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_gateways.rb index 07dc3ea57d..ece7bdfd4d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationGateways include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, application_gateway_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 @@ -166,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [ApplicationGateway] operation results. # - def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, application_gateway_name, parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -255,8 +251,8 @@ def update_tags_async(resource_group_name, application_gateway_name, parameters, # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -269,8 +265,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -282,14 +278,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -355,8 +350,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -367,13 +362,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -426,8 +420,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -440,9 +434,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -464,8 +458,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -478,9 +472,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +501,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -523,9 +517,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -549,8 +543,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # # @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results. # - def list_available_waf_rule_sets(custom_headers:nil) - response = list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets(custom_headers = nil) + response = list_available_waf_rule_sets_async(custom_headers).value! response.body unless response.nil? end @@ -562,8 +556,8 @@ def list_available_waf_rule_sets(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_waf_rule_sets_with_http_info(custom_headers:nil) - list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets_with_http_info(custom_headers = nil) + list_available_waf_rule_sets_async(custom_headers).value! end # @@ -574,13 +568,12 @@ def list_available_waf_rule_sets_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_waf_rule_sets_async(custom_headers:nil) + def list_available_waf_rule_sets_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -633,8 +626,8 @@ def list_available_waf_rule_sets_async(custom_headers:nil) # # @return [ApplicationGatewayAvailableSslOptions] operation results. # - def list_available_ssl_options(custom_headers:nil) - response = list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options(custom_headers = nil) + response = list_available_ssl_options_async(custom_headers).value! response.body unless response.nil? end @@ -646,8 +639,8 @@ def list_available_ssl_options(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_options_with_http_info(custom_headers:nil) - list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options_with_http_info(custom_headers = nil) + list_available_ssl_options_async(custom_headers).value! end # @@ -658,13 +651,12 @@ def list_available_ssl_options_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_options_async(custom_headers:nil) + def list_available_ssl_options_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -717,8 +709,8 @@ def list_available_ssl_options_async(custom_headers:nil) # # @return [Array] operation results. # - def list_available_ssl_predefined_policies(custom_headers:nil) - first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers:custom_headers) + def list_available_ssl_predefined_policies(custom_headers = nil) + first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers) first_page.get_all_items end @@ -730,8 +722,8 @@ def list_available_ssl_predefined_policies(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) - list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_with_http_info(custom_headers = nil) + list_available_ssl_predefined_policies_async(custom_headers).value! end # @@ -742,13 +734,12 @@ def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_async(custom_headers:nil) + def list_available_ssl_predefined_policies_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -802,8 +793,8 @@ def list_available_ssl_predefined_policies_async(custom_headers:nil) # # @return [ApplicationGatewaySslPredefinedPolicy] operation results. # - def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) - response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy(predefined_policy_name, custom_headers = nil) + response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! response.body unless response.nil? end @@ -816,8 +807,8 @@ def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers:nil) - get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers = nil) + get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! end # @@ -829,14 +820,13 @@ def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) + def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'predefined_policy_name is nil' if predefined_policy_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -890,8 +880,8 @@ def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -905,8 +895,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -919,7 +909,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -927,7 +917,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +963,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -991,8 +980,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1007,7 +996,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1016,12 +1005,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, 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::Network::Mgmt::V2017_11_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1090,8 +1080,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # # @return [ApplicationGateway] operation results. # - def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1107,8 +1097,8 @@ def begin_update_tags(resource_group_name, application_gateway_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1123,7 +1113,7 @@ def begin_update_tags_with_http_info(resource_group_name, application_gateway_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1132,12 +1122,13 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param 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::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1193,8 +1184,8 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1208,8 +1199,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1222,7 +1213,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1230,7 +1221,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1274,8 +1264,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1289,8 +1279,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1303,7 +1293,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1311,7 +1301,6 @@ def begin_stop_async(resource_group_name, application_gateway_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 @@ -1359,8 +1348,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -1377,8 +1366,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -1394,7 +1383,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1402,7 +1391,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1445,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1460,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1474,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,8 +1532,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1560,8 +1547,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1574,12 +1561,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1633,8 +1619,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayAvailableSslPredefinedPolicies] operation results. # - def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:nil) - response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next(next_page_link, custom_headers = nil) + response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1648,8 +1634,8 @@ def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers:nil) - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers = nil) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! end # @@ -1662,12 +1648,11 @@ def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:nil) + def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1721,12 +1706,12 @@ def list_available_ssl_predefined_policies_next_async(next_page_link, custom_hea # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1741,12 +1726,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1761,12 +1746,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationGatewayAvailableSslPredefinedPolicies] which provide lazy # access to pages of the response. # - def list_available_ssl_predefined_policies_as_lazy(custom_headers:nil) - response = list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_as_lazy(custom_headers = nil) + response = list_available_ssl_predefined_policies_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_security_groups.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_security_groups.rb index b820000304..db78bcb2e3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, application_security_group_name, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, application_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, application_security_group_name, custom_he # # @return [ApplicationSecurityGroup] operation results. # - def get(resource_group_name, application_security_group_name, custom_headers:nil) - response = get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_security_group_name, custom_headers = nil) + response = get_async(resource_group_name, application_security_group_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, application_security_group_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + get_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, application_security_group_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_security_group_name, custom_headers:nil) + def get_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +111,6 @@ def get_async(resource_group_name, application_security_group_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 @@ -172,8 +168,8 @@ def get_async(resource_group_name, application_security_group_name, custom_heade # # @return [ApplicationSecurityGroup] operation results. # - def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +185,9 @@ def create_or_update(resource_group_name, application_security_group_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, application_security_group_name, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +383,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -405,8 +399,8 @@ def begin_delete(resource_group_name, application_security_group_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -420,7 +414,7 @@ def begin_delete_with_http_info(resource_group_name, application_security_group_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +422,6 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +469,8 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus # # @return [ApplicationSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +487,8 @@ def begin_create_or_update(resource_group_name, application_security_group_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +504,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_secur # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +513,13 @@ def begin_create_or_update_async(resource_group_name, application_security_group 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::Network::Mgmt::V2017_11_01::Models::ApplicationSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, application_security_group # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +601,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +615,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +673,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +688,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +702,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +759,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +780,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/available_endpoint_services.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/available_endpoint_services.rb index 8311814c7d..9390a18acb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/available_endpoint_services.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/available_endpoint_services.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class AvailableEndpointServices include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -122,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [EndpointServicesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -137,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -151,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -210,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [EndpointServicesListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/bgp_service_communities.rb index 0998512af9..ebe24696df 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class BgpServiceCommunities include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/connection_monitors.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/connection_monitors.rb index 098ebfe2ef..f3de5479e1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/connection_monitors.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/connection_monitors.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ConnectionMonitors include MsRestAzure @@ -39,8 +36,8 @@ def initialize(client) # # @return [ConnectionMonitorResult] operation results. # - def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -58,9 +55,9 @@ def create_or_update(resource_group_name, network_watcher_name, connection_monit # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -89,8 +86,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, connection # # @return [ConnectionMonitorResult] operation results. # - def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -107,8 +104,8 @@ def get(resource_group_name, network_watcher_name, connection_monitor_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -124,7 +121,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, connection_mon # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -133,7 +130,6 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -189,8 +185,8 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -206,9 +202,9 @@ def delete(resource_group_name, network_watcher_name, connection_monitor_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -233,8 +229,8 @@ def delete_async(resource_group_name, network_watcher_name, connection_monitor_n # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -250,9 +246,9 @@ def stop(resource_group_name, network_watcher_name, connection_monitor_name, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -277,8 +273,8 @@ def stop_async(resource_group_name, network_watcher_name, connection_monitor_nam # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -294,9 +290,9 @@ def start(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -324,8 +320,8 @@ def start_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorQueryResult] operation results. # - def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -342,9 +338,9 @@ def query(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -372,8 +368,8 @@ def query_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -389,8 +385,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -405,7 +401,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -413,7 +409,6 @@ def list_async(resource_group_name, network_watcher_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 @@ -473,8 +468,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [ConnectionMonitorResult] operation results. # - def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -493,8 +488,8 @@ def begin_create_or_update(resource_group_name, network_watcher_name, connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! end # @@ -512,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_watcher_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -522,12 +517,13 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn 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::Network::Mgmt::V2017_11_01::Models::ConnectionMonitor.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -596,8 +592,8 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -614,8 +610,8 @@ def begin_delete(resource_group_name, network_watcher_name, connection_monitor_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -631,7 +627,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, conne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -640,7 +636,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -687,8 +682,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -705,8 +700,8 @@ def begin_stop(resource_group_name, network_watcher_name, connection_monitor_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -722,7 +717,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, connect # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -731,7 +726,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -778,8 +772,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit # will be added to the HTTP request. # # - def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -796,8 +790,8 @@ def begin_start(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -813,7 +807,7 @@ def begin_start_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -822,7 +816,6 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -871,8 +864,8 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni # # @return [ConnectionMonitorQueryResult] operation results. # - def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -890,8 +883,8 @@ def begin_query(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -908,7 +901,7 @@ def begin_query_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -917,7 +910,6 @@ def begin_query_async(resource_group_name, network_watcher_name, connection_moni 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_network/lib/2017-11-01/generated/azure_mgmt_network/default_security_rules.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/default_security_rules.rb index c241d60c45..22465a5875 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/default_security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/default_security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class DefaultSecurityRules include MsRestAzure @@ -35,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -51,8 +48,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -66,7 +63,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +71,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +128,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +146,8 @@ def get(resource_group_name, network_security_group_name, default_security_rule_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! end # @@ -167,7 +163,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, default # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'default_security_rule_name is nil' if default_security_rule_name.nil? @@ -176,7 +172,6 @@ def get_async(resource_group_name, network_security_group_name, default_security request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +226,8 @@ def get_async(resource_group_name, network_security_group_name, default_security # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -246,8 +241,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -260,12 +255,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,12 +315,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 551aae254c..1b7a1fe078 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitAuthorizations include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -235,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -249,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +253,6 @@ def list_async(resource_group_name, circuit_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 @@ -312,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -328,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -343,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -352,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -420,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -438,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -448,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio 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::Network::Mgmt::V2017_11_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -520,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 0b1a911adf..32b620e7c1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitPeerings include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, circuit_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 @@ -310,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name 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::Network::Mgmt::V2017_11_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuits.rb index a1cc58c695..9efaf7e94d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuits include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, circuit_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 @@ -166,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuit] operation results. # - def update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, circuit_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +255,8 @@ def update_tags_async(resource_group_name, circuit_name, parameters, custom_head # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -275,9 +271,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -306,8 +302,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -322,9 +318,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -353,8 +349,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -369,9 +365,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -397,8 +393,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -412,8 +408,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -426,7 +422,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -434,7 +430,6 @@ def get_stats_async(resource_group_name, circuit_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 @@ -490,8 +485,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -506,8 +501,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -521,7 +516,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -530,7 +525,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -584,8 +578,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -598,8 +592,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -611,14 +605,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +664,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -684,8 +677,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -696,13 +689,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -756,8 +748,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -771,8 +763,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -785,7 +777,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -793,7 +785,6 @@ def begin_delete_async(resource_group_name, circuit_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 @@ -840,8 +831,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -857,8 +848,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -873,7 +864,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -882,12 +873,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, 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::Network::Mgmt::V2017_11_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -956,8 +948,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuit] operation results. # - def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -973,8 +965,8 @@ def begin_update_tags(resource_group_name, circuit_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -989,7 +981,7 @@ def begin_update_tags_with_http_info(resource_group_name, circuit_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -998,12 +990,13 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo 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::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1063,8 +1056,8 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1081,8 +1074,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1098,7 +1091,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1108,7 +1101,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1166,8 +1158,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1184,8 +1176,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1201,7 +1193,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1211,7 +1203,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1269,8 +1260,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1287,8 +1278,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1304,7 +1295,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1314,7 +1305,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1369,8 +1359,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1384,8 +1374,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1398,12 +1388,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1446,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1461,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1475,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,12 +1533,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1565,12 +1553,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_service_providers.rb index 07ccc925ee..d4adf297ba 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteServiceProviders include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/inbound_nat_rules.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/inbound_nat_rules.rb index 9fbb7dc509..dab25bfb5c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/inbound_nat_rules.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/inbound_nat_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class InboundNatRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -125,8 +121,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -140,9 +136,9 @@ def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +164,8 @@ def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [InboundNatRule] operation results. # - def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! response.body unless response.nil? end @@ -185,8 +181,8 @@ def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! end # @@ -201,7 +197,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -210,7 +206,6 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -268,8 +263,8 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex # # @return [InboundNatRule] operation results. # - def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -285,9 +280,9 @@ def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -313,8 +308,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_ # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [InboundNatRule] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun 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::Network::Mgmt::V2017_11_01::Models::InboundNatRule.mapper() request_content = @client.serialize(request_mapper, inbound_nat_rule_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun # # @return [InboundNatRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [InboundNatRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb index 4ef5657626..c2eb766a7f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerBackendAddressPools include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [BackendAddressPool] operation results. # - def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, backend_address_pool_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, backend_address_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'backend_address_pool_name is nil' if backend_address_pool_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name # # @return [LoadBalancerBackendAddressPoolListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerBackendAddressPoolListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb index 36c113d846..219c87ef6b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerFrontendIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [FrontendIPConfiguration] operation results. # - def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'frontend_ipconfiguration_name is nil' if frontend_ipconfiguration_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ # # @return [LoadBalancerFrontendIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerFrontendIPConfigurationListResult] which provide lazy # access to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb index e1a270371f..657719fd72 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerLoadBalancingRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancingRule] operation results. # - def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_r # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'load_balancing_rule_name is nil' if load_balancing_rule_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, # # @return [LoadBalancerLoadBalancingRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerLoadBalancingRuleListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb index edbc99975b..b42b3a26f0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerNetworkInterfaces include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -126,8 +122,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_probes.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_probes.rb index ff7c101375..7a2a0bfac6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_probes.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_probes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerProbes include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [Probe] operation results. # - def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, probe_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'probe_name is nil' if probe_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, probe_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 @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header # # @return [LoadBalancerProbeListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerProbeListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancers.rb index f3b8934cca..da6cdcb25c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancers include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancer] operation results. # - def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, load_balancer_name, parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, load_balancer_name, parameters, custo # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame 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::Network::Mgmt::V2017_11_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancer] operation results. # - def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, load_balancer_name, parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, 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::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/local_network_gateways.rb index 468e343c8e..aae0b5a115 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LocalNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -114,16 +111,14 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -192,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +216,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [LocalNetworkGateway] operation results. # - def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +233,9 @@ def update_tags(resource_group_name, local_network_gateway_name, parameters, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -265,8 +260,8 @@ def update_tags_async(resource_group_name, local_network_gateway_name, parameter # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -279,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -292,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -357,8 +351,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -375,8 +369,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -392,22 +386,22 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -474,8 +468,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -490,8 +484,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -505,16 +499,14 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -562,8 +554,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -580,8 +572,8 @@ def begin_update_tags(resource_group_name, local_network_gateway_name, parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -597,22 +589,22 @@ def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -669,8 +661,8 @@ def begin_update_tags_async(resource_group_name, local_network_gateway_name, par # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -684,8 +676,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -698,12 +690,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +748,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/address_space.rb index b85459c230..c16e07920e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway.rb index 606456bee7..19e8d2e2a3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -100,7 +100,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -108,7 +107,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -116,7 +114,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -125,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -134,7 +130,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -142,13 +137,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: { @@ -158,7 +151,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -167,7 +159,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -176,7 +167,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -185,13 +175,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -202,13 +190,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -219,13 +205,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -236,13 +220,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -253,13 +235,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -270,13 +250,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -287,13 +265,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -304,13 +280,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -321,13 +295,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -338,13 +310,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -355,13 +325,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -372,13 +340,11 @@ def self.mapper() } }, redirect_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfigurationElementType', type: { @@ -389,7 +355,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -398,7 +363,6 @@ def self.mapper() } }, enable_http2: { - client_side_validation: true, required: false, serialized_name: 'properties.enableHttp2', type: { @@ -406,7 +370,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -414,7 +377,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -422,7 +384,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index 288f1ea130..285acc97a6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -38,7 +38,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb index 175adef542..0e1522d7de 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb @@ -36,7 +36,6 @@ class ApplicationGatewayAvailableSslOptions < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslOptions', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslOptions', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,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: { @@ -94,13 +87,11 @@ def self.mapper() } }, predefined_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.predefinedPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, default_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultPolicy', type: { @@ -119,13 +109,11 @@ def self.mapper() } }, available_cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.availableCipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -135,13 +123,11 @@ def self.mapper() } }, available_protocols: { - client_side_validation: true, required: false, serialized_name: 'properties.availableProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb index 2618c32b1b..f059508b88 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicyElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb index 36af506264..05d7be3ea9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb @@ -24,7 +24,6 @@ class ApplicationGatewayAvailableWafRuleSetsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableWafRuleSetsResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableWafRuleSetsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSetElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 074fc3e35b..65b73d2e2f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 329d75b4b6..bb38d0f15e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -41,7 +41,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -57,13 +55,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -74,13 +70,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index e0565a7e7f..8f448c364b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index 6ff7081352..f58a00e150 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index 1d81bd7a10..c348180631 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index 8ae97d3768..8ccc7cc85c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -31,7 +31,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 843e316f65..51eb9c5446 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -78,7 +78,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -118,7 +113,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -126,7 +120,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -152,7 +143,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, pick_host_name_from_backend_address: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendAddress', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, affinity_cookie_name: { - client_side_validation: true, required: false, serialized_name: 'properties.affinityCookieName', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, probe_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.probeEnabled', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -201,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +193,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -217,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -225,7 +207,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 588ceddaf4..e3164606fe 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb index be52014370..dbdf03b2f8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb @@ -27,7 +27,6 @@ class ApplicationGatewayFirewallDisabledRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallDisabledRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -43,13 +41,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb index 28817e0fab..5bda10d038 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb @@ -25,7 +25,6 @@ class ApplicationGatewayFirewallRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRule', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRule', model_properties: { rule_id: { - client_side_validation: true, required: true, serialized_name: 'ruleId', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb index b98e80afb9..7c0fb55d3c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb @@ -30,7 +30,6 @@ class ApplicationGatewayFirewallRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb index c8c6d614fd..4cc859dd11 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFirewallRuleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSet', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleSet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetType', type: { @@ -108,7 +99,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetVersion', type: { @@ -116,13 +106,11 @@ def self.mapper() } }, rule_groups: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 4ed883506e..3e6478ddcd 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -49,7 +49,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index c0428a31bf..2c828ed5d9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -37,7 +37,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 463a85e2d0..77252feaf1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -56,7 +56,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 503456866a..25d6fa3e26 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index b2ff93e427..b24c28e4b1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index c853a76ea0..1bb3b2aeda 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -49,7 +49,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,13 +63,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -132,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index 759956e5c2..d4031f10db 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -72,7 +72,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -96,7 +93,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -104,7 +100,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -120,7 +114,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -128,7 +121,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -136,7 +128,6 @@ def self.mapper() } }, pick_host_name_from_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendHttpSettings', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, min_servers: { - client_side_validation: true, required: false, serialized_name: 'properties.minServers', type: { @@ -152,7 +142,6 @@ def self.mapper() } }, match: { - client_side_validation: true, required: false, serialized_name: 'properties.match', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb index 5b4ff61b98..53bce65db3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb @@ -28,7 +28,6 @@ class ApplicationGatewayProbeHealthResponseMatch # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeHealthResponseMatch', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbeHealthResponseMatch', model_properties: { body: { - client_side_validation: true, required: false, serialized_name: 'body', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, status_codes: { - client_side_validation: true, required: false, serialized_name: 'statusCodes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb index b0ed0d710d..7ad5f42f7e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb @@ -60,7 +60,6 @@ class ApplicationGatewayRedirectConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfiguration', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'ApplicationGatewayRedirectConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, redirect_type: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, target_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.targetListener', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, target_url: { - client_side_validation: true, required: false, serialized_name: 'properties.targetUrl', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, include_path: { - client_side_validation: true, required: false, serialized_name: 'properties.includePath', type: { @@ -109,7 +103,6 @@ def self.mapper() } }, include_query_string: { - client_side_validation: true, required: false, serialized_name: 'properties.includeQueryString', type: { @@ -117,13 +110,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,13 +125,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -151,13 +140,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 9ab7ce1a71..0bef7d6e99 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -57,7 +57,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 7877b30bc1..a3dea958f9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index 0f04ccf888..2fc572dda6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -46,7 +46,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 0890ad42e3..f79c60bfe9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -41,7 +41,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, policy_type: { - client_side_validation: true, required: false, serialized_name: 'policyType', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, policy_name: { - client_side_validation: true, required: false, serialized_name: 'policyName', type: { @@ -81,13 +76,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb index 5631b6fc47..8087ccf65a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySslPredefinedPolicy < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicy', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslPredefinedPolicy', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'properties.minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 9934bebc53..0f02da8256 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -51,7 +51,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, default_redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultRedirectConfiguration', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index 8e7868c937..94b0385576 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: true, serialized_name: 'firewallMode', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'ruleSetType', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'ruleSetVersion', type: { @@ -79,13 +74,11 @@ def self.mapper() } }, disabled_rule_groups: { - client_side_validation: true, required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group.rb index 2ea5f31eb6..3471d7153c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group.rb @@ -34,7 +34,6 @@ class ApplicationSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,7 +85,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', @@ -101,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -110,7 +101,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb index e1f8858d89..13b367cc69 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/authorization_list_result.rb index c86a003805..5cfb16442c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/availability.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/availability.rb index 86c649cb58..7d4753e99a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/availability.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/availability.rb @@ -28,7 +28,6 @@ class Availability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Availability', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Availability', model_properties: { time_grain: { - client_side_validation: true, required: false, serialized_name: 'timeGrain', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, retention: { - client_side_validation: true, required: false, serialized_name: 'retention', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list.rb index 5ff5ab5450..62fa3b22a5 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list.rb @@ -23,7 +23,6 @@ class AvailableProvidersList # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersList', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'AvailableProvidersList', model_properties: { countries: { - client_side_validation: true, required: true, serialized_name: 'countries', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountryElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_city.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_city.rb index 64ccf0a34f..a3f472c033 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_city.rb @@ -25,7 +25,6 @@ class AvailableProvidersListCity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'AvailableProvidersListCity', model_properties: { city_name: { - client_side_validation: true, required: false, serialized_name: 'cityName', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_country.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_country.rb index 18e6cd2db0..18d3a15fea 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_country.rb @@ -29,7 +29,6 @@ class AvailableProvidersListCountry # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountry', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListCountry', model_properties: { country_name: { - client_side_validation: true, required: false, serialized_name: 'countryName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListStateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb index c18177e160..6fc4b99400 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb @@ -32,7 +32,6 @@ class AvailableProvidersListParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListParameters', type: { @@ -40,13 +39,11 @@ def self.mapper() class_name: 'AvailableProvidersListParameters', model_properties: { azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, country: { - client_side_validation: true, required: false, serialized_name: 'country', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_state.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_state.rb index 3bc1dd305e..24903c6838 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_state.rb @@ -29,7 +29,6 @@ class AvailableProvidersListState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListState', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListState', model_properties: { state_name: { - client_side_validation: true, required: false, serialized_name: 'stateName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, cities: { - client_side_validation: true, required: false, serialized_name: 'cities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 3e736040f3..0fc5a43af2 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report.rb index 08163179aa..8c9ebe93e7 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report.rb @@ -30,7 +30,6 @@ class AzureReachabilityReport # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReport', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'AzureReachabilityReport', model_properties: { aggregation_level: { - client_side_validation: true, required: true, serialized_name: 'aggregationLevel', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, reachability_report: { - client_side_validation: true, required: true, serialized_name: 'reachabilityReport', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItemElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb index df7bf99ac8..2eef033913 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb @@ -29,7 +29,6 @@ class AzureReachabilityReportItem # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItem', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AzureReachabilityReportItem', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, azure_location: { - client_side_validation: true, required: false, serialized_name: 'azureLocation', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, latencies: { - client_side_validation: true, required: false, serialized_name: 'latencies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfoElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb index 3795de2f08..73aa987fe2 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb @@ -26,7 +26,6 @@ class AzureReachabilityReportLatencyInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfo', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLatencyInfo', model_properties: { time_stamp: { - client_side_validation: true, required: false, serialized_name: 'timeStamp', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, score: { - client_side_validation: true, required: false, serialized_name: 'score', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb index 0013b77f7c..6796ed1ae2 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb @@ -28,7 +28,6 @@ class AzureReachabilityReportLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLocation', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLocation', model_properties: { country: { - client_side_validation: true, required: true, serialized_name: 'country', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb index c7d385f2d9..53023883ac 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb @@ -34,7 +34,6 @@ class AzureReachabilityReportParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureReachabilityReportParameters', model_properties: { provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -51,13 +49,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: true, serialized_name: 'startTime', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: true, serialized_name: 'endTime', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 0d861502b4..576eb7708d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index c3ebdfbb42..cd2da746df 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -44,7 +44,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -61,7 +59,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -70,7 +67,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -79,7 +75,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -88,7 +83,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -97,7 +91,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -106,7 +99,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -115,7 +107,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 79737e0a5a..f173670386 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community.rb index eb6d3a1bf9..c4b6d8d7ff 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,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: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index ea7f36e7ae..9beabe4dcf 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_settings.rb index 58e80767ed..b16f31c8e1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -30,7 +30,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgpcommunity.rb index 3ac792cd1a..ea24a6e72c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -40,7 +40,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, is_authorized_to_use: { - client_side_validation: true, required: false, serialized_name: 'isAuthorizedToUse', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, service_group: { - client_side_validation: true, required: false, serialized_name: 'serviceGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor.rb index 741da85662..d7f497b14f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor.rb @@ -38,7 +38,6 @@ class ConnectionMonitor # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitor', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectionMonitor', model_properties: { location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -54,13 +52,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: { @@ -70,7 +66,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -97,7 +90,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb index 2ce71543e5..70ed886538 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb @@ -30,7 +30,6 @@ class ConnectionMonitorDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectionMonitorDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb index dea062ce11..702008a442 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb index 7fb30bec67..ac9c71b97f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb @@ -32,7 +32,6 @@ class ConnectionMonitorParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorParameters', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ConnectionMonitorParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'autoStart', default_value: true, @@ -67,7 +63,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb index 3c114d2f4c..effcca7370 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorQueryResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorQueryResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorQueryResult', model_properties: { states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshotElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_result.rb index 98e26a3fdf..fec5b7de61 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_result.rb @@ -63,7 +63,6 @@ class ConnectionMonitorResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResult', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ConnectionMonitorResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +78,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -89,7 +86,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -98,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -107,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -115,13 +109,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: { @@ -131,7 +123,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -158,7 +147,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, @@ -167,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, monitoring_status: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringStatus', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_source.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_source.rb index e59a26b41f..e8cba9db71 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_source.rb @@ -26,7 +26,6 @@ class ConnectionMonitorSource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorSource', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ConnectionMonitorSource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 229093f8d9..474088bb03 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -23,7 +23,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 2b200bde64..563428aa57 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb index da1d1592a5..6ac68b0f4e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb @@ -37,7 +37,6 @@ class ConnectionStateSnapshot # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshot', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectionStateSnapshot', model_properties: { connection_state: { - client_side_validation: true, required: false, serialized_name: 'connectionState', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, evaluation_state: { - client_side_validation: true, required: false, serialized_name: 'evaluationState', type: { @@ -77,14 +72,12 @@ def self.mapper() } }, hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_destination.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_destination.rb index 68a8e0600f..4d7a715c24 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_destination.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_destination.rb @@ -30,7 +30,6 @@ class ConnectivityDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectivityDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_hop.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_hop.rb index e44a391ff3..e9e0029fbc 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_hop.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_hop.rb @@ -37,7 +37,6 @@ class ConnectivityHop # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHop', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectivityHop', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,7 +52,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +60,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'address', @@ -72,7 +68,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', @@ -81,14 +76,12 @@ def self.mapper() } }, next_hop_ids: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHopIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,14 +91,12 @@ def self.mapper() } }, issues: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'issues', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssueElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_information.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_information.rb index 02df3b9f63..55db209c8b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_information.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_information.rb @@ -42,7 +42,6 @@ class ConnectivityInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityInformation', type: { @@ -50,14 +49,12 @@ def self.mapper() class_name: 'ConnectivityInformation', model_properties: { hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -77,7 +73,6 @@ def self.mapper() } }, avg_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'avgLatencyInMs', @@ -86,7 +81,6 @@ def self.mapper() } }, min_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minLatencyInMs', @@ -95,7 +89,6 @@ def self.mapper() } }, max_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maxLatencyInMs', @@ -104,7 +97,6 @@ def self.mapper() } }, probes_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesSent', @@ -113,7 +105,6 @@ def self.mapper() } }, probes_failed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesFailed', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_issue.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_issue.rb index 0b6cb35e00..6894ef9734 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_issue.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_issue.rb @@ -38,7 +38,6 @@ class ConnectivityIssue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectivityIssue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'severity', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,20 +69,17 @@ def self.mapper() } }, context: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'context', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HashElementType', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_parameters.rb index 5a98ad5d7b..a34b69aa25 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_parameters.rb @@ -25,7 +25,6 @@ class ConnectivityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ConnectivityParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_source.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_source.rb index 92fbb5dd33..19f38fe14e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_source.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_source.rb @@ -27,7 +27,6 @@ class ConnectivitySource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivitySource', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ConnectivitySource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb index 677ffb2bb5..8feab19749 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dimension.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dimension.rb index 23b1694561..0e8fa84e2a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dimension.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dimension.rb @@ -28,7 +28,6 @@ class Dimension # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Dimension', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Dimension', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, internal_name: { - client_side_validation: true, required: false, serialized_name: 'internalName', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 8d7f71c52b..1212fd402b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 2a940da14d..e2a31810bc 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -34,7 +34,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -60,13 +57,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { @@ -77,19 +72,16 @@ def self.mapper() } }, tag_map: { - client_side_validation: true, required: false, serialized_name: 'tagMap', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'ArrayElementType', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 73c31dcbd9..07b0b7b94a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index 75ed05a132..125256483c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index 87115fbad2..2875775e3d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -79,7 +79,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -119,13 +114,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -167,13 +156,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -183,13 +170,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -199,13 +184,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -215,13 +198,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -231,7 +212,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -239,7 +219,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -247,7 +226,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route.rb index 0185aa88ea..43e2d45c5c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 872f9bf901..5cc0557ede 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_service_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_service_result.rb index 15d6327595..49d48d6658 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_service_result.rb @@ -25,7 +25,6 @@ class EndpointServiceResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResult', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EndpointServiceResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb index cb64014c34..d9cc24f273 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServicesListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'EndpointServicesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResultElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error.rb index 6c1cf86032..6c106a21b3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error_details.rb index 1599904caf..d079fe7106 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 57f74c76d6..0e8e24c3b8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,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: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 448f35d591..a3bc241c81 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index fbe43b71c2..c57f2d3e73 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 372b652e89..6d76a39ef6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index fa2ffc2c8f..b54e959b59 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -87,7 +87,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -111,7 +108,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -119,7 +115,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -127,7 +122,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', constraints: { @@ -139,7 +133,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -147,7 +140,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -171,7 +161,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -179,7 +168,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -187,7 +175,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -196,7 +183,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -213,7 +198,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -221,7 +205,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -229,7 +212,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -238,7 +220,6 @@ def self.mapper() } }, ipv6peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { @@ -247,7 +228,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -255,7 +235,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 2654ddfcc0..cd105ff839 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -42,7 +42,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -50,13 +49,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, advertised_communities: { - client_side_validation: true, required: false, serialized_name: 'advertisedCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, legacy_mode: { - client_side_validation: true, required: false, serialized_name: 'legacyMode', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index e522253c13..68db0184a4 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 77c59a4e67..f4a545c135 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 48d49f9f41..7213476de1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index 5b4a680f6d..6c255d2b4d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 41750956a8..ce6f21a14e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index fd7decb0f0..db8c3c3ab0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index bfbdf6d4b2..f85765783c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index f0af4d99c0..5fb6478e65 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index 42fc8c5c1e..e2e3c5f2f5 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 5215a830e1..b8a486f44c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 57933e2663..81772f2cf1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index fdbd8acaa7..a268d8749c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_information.rb index dd2f313810..fe4c975dd6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index 17688667f6..c726819ffc 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index 78e282adb7..1ce444e894 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -65,7 +65,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,14 +79,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -99,14 +95,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -117,14 +111,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -135,14 +127,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -178,7 +165,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -187,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -203,7 +187,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -211,13 +194,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route.rb index 67ebdebc4e..fe9117287f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -40,7 +40,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -57,7 +55,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -66,7 +63,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -75,7 +71,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -84,7 +79,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -93,7 +87,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -102,7 +95,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index f9a65fc269..03d81bd134 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index b95a9585e5..acbe64888d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -64,7 +64,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,7 +78,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 426f6e9cb2..5e508b02e0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -65,7 +65,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -90,7 +87,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb index e750d74b2e..2e947c2c0a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'InboundNatRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ip_tag.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ip_tag.rb index ba838f9043..6ef2b1f850 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ip_tag.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ip_tag.rb @@ -26,7 +26,6 @@ class IpTag # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpTag', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IpTag', model_properties: { ip_tag_type: { - client_side_validation: true, required: false, serialized_name: 'ipTagType', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, tag: { - client_side_validation: true, required: false, serialized_name: 'tag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index 86a251f96e..5de609e153 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipconfiguration.rb index 6a1a9139c2..492adfb8f6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipsec_policy.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipsec_policy.rb index 8c9dc1946e..cc95da6714 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipsec_policy.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipsec_policy.rb @@ -55,7 +55,6 @@ class IpsecPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicy', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'IpsecPolicy', model_properties: { sa_life_time_seconds: { - client_side_validation: true, required: true, serialized_name: 'saLifeTimeSeconds', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, sa_data_size_kilobytes: { - client_side_validation: true, required: true, serialized_name: 'saDataSizeKilobytes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, ipsec_encryption: { - client_side_validation: true, required: true, serialized_name: 'ipsecEncryption', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipsec_integrity: { - client_side_validation: true, required: true, serialized_name: 'ipsecIntegrity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, ike_encryption: { - client_side_validation: true, required: true, serialized_name: 'ikeEncryption', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ike_integrity: { - client_side_validation: true, required: true, serialized_name: 'ikeIntegrity', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, dh_group: { - client_side_validation: true, required: true, serialized_name: 'dhGroup', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, pfs_group: { - client_side_validation: true, required: true, serialized_name: 'pfsGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb index b744fc6566..6da2e60a1c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb @@ -37,7 +37,6 @@ class Ipv6ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Ipv6ExpressRouteCircuitPeeringConfig', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Ipv6ExpressRouteCircuitPeeringConfig', model_properties: { primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'primaryPeerAddressPrefix', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'secondaryPeerAddressPrefix', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'microsoftPeeringConfig', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'routeFilter', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer.rb index 8c19d5fdc6..573c4705bf 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -72,7 +72,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -97,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -106,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -114,13 +109,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: { @@ -130,7 +123,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -139,13 +131,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -156,13 +146,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -173,13 +161,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -207,13 +191,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -224,13 +206,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -241,13 +221,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -258,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -266,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -274,7 +250,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb index 22a77c3635..85607841c0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerBackendAddressPoolListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerBackendAddressPoolListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb index 0fabae3c6e..b3d8420f8d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerFrontendIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'LoadBalancerFrontendIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index d95608b1ed..ac09c30675 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb index cbd72970e0..21155e55a4 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerLoadBalancingRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerLoadBalancingRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb index 901f156dda..1badea17e3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerProbeListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'LoadBalancerProbeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_sku.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_sku.rb index c37e1e28e7..c5743f8623 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_sku.rb @@ -23,7 +23,6 @@ class LoadBalancerSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'LoadBalancerSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index bed0e4c499..3ef2057b18 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -78,7 +78,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -112,7 +108,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -121,7 +116,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +123,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -137,7 +130,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -145,7 +137,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, disable_outbound_snat: { - client_side_validation: true, required: false, serialized_name: 'properties.disableOutboundSnat', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 2cb43a4264..d335aa4102 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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: false, 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() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index d96bbb3421..1a188d3b52 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/log_specification.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/log_specification.rb index 3a6e25dac7..9cc5f6c13a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/log_specification.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/log_specification.rb @@ -28,7 +28,6 @@ class LogSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogSpecification', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'LogSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/metric_specification.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/metric_specification.rb index 7238ffdc39..4978c26463 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/metric_specification.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/metric_specification.rb @@ -61,7 +61,6 @@ class MetricSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'MetricSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, display_description: { - client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, aggregation_type: { - client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { @@ -109,13 +103,11 @@ def self.mapper() } }, availabilities: { - client_side_validation: true, required: false, serialized_name: 'availabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilityElementType', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, enable_regional_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'enableRegionalMdmAccount', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, fill_gap_with_zero: { - client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, metric_filter_pattern: { - client_side_validation: true, required: false, serialized_name: 'metricFilterPattern', type: { @@ -150,13 +139,11 @@ def self.mapper() } }, dimensions: { - client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, is_internal: { - client_side_validation: true, required: false, serialized_name: 'isInternal', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, source_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmAccount', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, source_mdm_namespace: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmNamespace', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, resource_id_dimension_name_override: { - client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface.rb index 05bc5e211c..1ee3b304b3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_association.rb index e90676a1ce..4f958820a5 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 59e8a49591..4a40eee558 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 61cae274ea..b7b96a04ad 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -73,7 +73,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,13 +87,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -106,13 +102,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -123,13 +117,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -223,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb index d5418a2513..d4cb28cdaf 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 18d3ee6a7d..d856dd57a8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb index f78866585f..a9be212f48 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceLoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceLoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group.rb index 4bf942a84c..b79e12655a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index f94551856a..b6cb3bfe56 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher.rb index 2badd1daaf..ed8a5290e0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,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: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index 12c4628249..f2e1775e51 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index f4891c8bb4..66591688dd 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_result.rb index 8a47f92a43..d9d4b2990c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation.rb index 629fb526ea..440c34bcc0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation.rb @@ -33,7 +33,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, service_specification: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_display.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_display.rb index 0ea1db66b1..1ef4425ceb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_display.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', 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_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_list_result.rb index d63142be88..a6027b3914 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'OperationListResult', 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: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb index 68d9b57317..b14951adad 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb @@ -26,7 +26,6 @@ class OperationPropertiesFormatServiceSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationPropertiesFormat_serviceSpecification', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationPropertiesFormatServiceSpecification', model_properties: { metric_specifications: { - client_side_validation: true, required: false, serialized_name: 'metricSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricSpecificationElementType', type: { @@ -51,13 +48,11 @@ def self.mapper() } }, log_specifications: { - client_side_validation: true, required: false, serialized_name: 'logSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LogSpecificationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index e5bf8cd7eb..8571c47763 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture.rb index 894645c1ff..088d0279b5 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index 39839af913..94e4a665bb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index a263bb229d..b86e53ef1e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index fe672823b5..97f5df0919 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index 85db854eb2..7fd17c2a32 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_result.rb index 3f602a9468..1db6668387 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index bb9c918525..29d60e24a7 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter.rb index fac8eb112f..18acd08506 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -122,7 +113,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,13 +121,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_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index 4b74952088..51e20171e7 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -43,7 +43,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -77,13 +73,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/probe.rb index e09a127d1b..79118a3706 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 15d89f8053..e7b58b3213 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -65,7 +65,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -90,7 +87,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -99,7 +95,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -107,13 +102,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: { @@ -123,7 +116,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -158,7 +147,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -167,13 +155,11 @@ def self.mapper() } }, ip_tags: { - client_side_validation: true, required: false, serialized_name: 'properties.ipTags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpTagElementType', type: { @@ -184,7 +170,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -192,7 +177,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -200,7 +184,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -208,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -216,7 +198,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -224,13 +205,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index aec7feab18..29295b8fce 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index f0f106d342..9d29a35dc0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb index dd36cd9ef8..a5dc65aa09 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb @@ -23,7 +23,6 @@ class PublicIPAddressSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'PublicIPAddressSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index bb0c59d366..32356a0e51 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource.rb index 0ba7192e55..9b3167ebff 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index 804cf351c6..ef1d48b989 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index ca5db56292..c32f80390a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route.rb index 4e02e91101..fe7fd2c6b2 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter.rb index f38bd6e82e..98392572a9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,13 +101,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -136,7 +124,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index 7493c155ab..b9cf288eb6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule.rb index a673486669..4252d051eb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -46,7 +46,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index 365daaab0f..ee7596b87f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_list_result.rb index a10b3a9c01..84992555ea 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table.rb index f059a2afcb..7cbd0cf389 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table.rb @@ -38,7 +38,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -80,13 +75,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: { @@ -96,13 +89,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -113,14 +104,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -131,7 +120,6 @@ def self.mapper() } }, disable_bgp_route_propagation: { - client_side_validation: true, required: false, serialized_name: 'properties.disableBgpRoutePropagation', type: { @@ -139,7 +127,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +134,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table_list_result.rb index 3381077758..02f0a7df66 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index ce488b0b0e..1b8071e748 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index faa5ec3426..42395a04a1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_result.rb index e4b302e6b5..aafb877561 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule.rb index e51fd91059..9b20a3497a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule.rb @@ -97,7 +97,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -105,7 +104,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -113,7 +111,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -121,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +125,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -137,7 +132,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -145,7 +139,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -153,13 +146,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -169,13 +160,11 @@ def self.mapper() } }, source_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -186,7 +175,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -210,13 +196,11 @@ def self.mapper() } }, destination_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -227,13 +211,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -243,13 +225,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -275,7 +253,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -283,7 +260,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -291,7 +267,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -299,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 90ce5748cd..05fa82a860 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index 4a3c8f683d..e8d6c87089 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb index e2f9617349..34fa9e7879 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb @@ -28,7 +28,6 @@ class ServiceEndpointPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormat', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ServiceEndpointPropertiesFormat', model_properties: { service: { - client_side_validation: true, required: false, serialized_name: 'service', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -60,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/sub_resource.rb index b25d740283..35f0b3e7fa 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet.rb index 6a75645873..bd555a4c9b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet.rb @@ -52,7 +52,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, service_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormatElementType', type: { @@ -111,14 +104,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +149,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_association.rb index cccf5e8842..339613ebb6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 5bffddb669..4b30cb347b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tags_object.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tags_object.rb index 95939efdaf..1888f8f26b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tags_object.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tags_object.rb @@ -22,7 +22,6 @@ class TagsObject # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TagsObject', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TagsObject', 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_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology.rb index b02d07a4bb..284b9840de 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_association.rb index ead80748b8..4f4301160f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_parameters.rb index 8648c3d0df..d749f4c498 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -29,7 +29,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: false, serialized_name: 'targetResourceGroupName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'targetVirtualNetwork', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, target_subnet: { - client_side_validation: true, required: false, serialized_name: 'targetSubnet', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_resource.rb index 3ddc78d860..c9b2072a8c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index 4235112777..2b193e2cd8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index f0bfdd83f5..f8a16144c8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index bbf0c109f2..75ee64bc59 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 4d1a638c95..f0bfd31584 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index b43030b1da..1e6675a4b3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage.rb index 2acb34481e..9e2d71642b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -62,7 +59,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage_name.rb index 033d7142e3..807ebae28f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usages_list_result.rb index 8becf4bc6a..9d6631ac8d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index e858c8be35..76d814d5b7 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index 2e9143e3ca..779c9a5d91 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network.rb index 32531c8d15..17aee53832 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -54,7 +54,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,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: { @@ -112,7 +105,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -180,7 +165,6 @@ def self.mapper() } }, enable_ddos_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableDdosProtection', type: { @@ -188,7 +172,6 @@ def self.mapper() } }, enable_vm_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableVmProtection', type: { @@ -196,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb index 4eaec942d5..16ded77adb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb @@ -23,7 +23,6 @@ class VirtualNetworkConnectionGatewayReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkConnectionGatewayReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VirtualNetworkConnectionGatewayReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index f3fa0915ce..2e4dac2011 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,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: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index d6fc227156..cf906b9e17 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -88,7 +88,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -96,7 +95,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -104,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +110,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -122,7 +118,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -130,13 +125,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: { @@ -146,7 +139,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -154,7 +146,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -172,7 +162,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -181,7 +170,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -189,7 +177,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -197,7 +184,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -214,14 +199,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -232,7 +215,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -241,7 +223,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -250,7 +231,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -275,13 +253,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -292,7 +268,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -300,7 +275,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -309,7 +283,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb index f2c24a0f65..3d7920923e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb @@ -89,7 +89,6 @@ class VirtualNetworkGatewayConnectionListEntity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntity', type: { @@ -97,7 +96,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListEntity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -105,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +111,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -123,7 +119,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -131,13 +126,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: { @@ -147,7 +140,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -164,7 +155,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -173,7 +163,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -182,7 +171,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -190,7 +178,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -198,7 +185,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -206,7 +192,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -215,14 +200,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -233,7 +216,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -242,7 +224,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -251,7 +232,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -260,7 +240,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -268,7 +247,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -276,13 +254,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -293,7 +269,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -301,7 +276,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -310,7 +284,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index aa6ac0d585..81409dd730 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 6142520bcb..16577819ed 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb index 30ea68ec17..d74f10a8f7 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListConnectionsResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListConnectionsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntityElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index e6764cc882..e30c8a728f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index b821b2f236..102e164de1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index eedac81b8b..7f9f1908a4 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb index f6d84959c2..45526d4059 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListUsageResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'VirtualNetworkListUsageResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index b006b47462..fd92a293d2 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -65,7 +65,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, remote_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteAddressSpace', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -139,7 +130,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +137,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -155,7 +144,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 5ad085ab1d..c974f184a1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage.rb index 85589b158d..95a13f91de 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage.rb @@ -35,7 +35,6 @@ class VirtualNetworkUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualNetworkUsage', model_properties: { current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -52,7 +50,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +58,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +75,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb index 94705a6f58..550ae561e6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb @@ -25,7 +25,6 @@ class VirtualNetworkUsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualNetworkUsageName', model_properties: { localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 9fed39c18b..e1eb995a60 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -43,7 +43,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -60,13 +58,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { @@ -94,13 +88,11 @@ def self.mapper() } }, vpn_client_protocols: { - client_side_validation: true, required: false, serialized_name: 'vpnClientProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientProtocolElementType', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, radius_server_address: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAddress', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, radius_server_secret: { - client_side_validation: true, required: false, serialized_name: 'radiusServerSecret', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 03e5ffffd4..f1a36375ea 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -40,7 +40,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'processorArchitecture', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, authentication_method: { - client_side_validation: true, required: false, serialized_name: 'authenticationMethod', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, radius_server_auth_certificate: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAuthCertificate', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'clientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index d229530dfd..5d9511c3ee 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index f486a629e7..073a5f5971 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb index e37f304a39..c55c06faf1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb @@ -28,7 +28,6 @@ class VpnDeviceScriptParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnDeviceScriptParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VpnDeviceScriptParameters', model_properties: { vendor: { - client_side_validation: true, required: false, serialized_name: 'vendor', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, device_family: { - client_side_validation: true, required: false, serialized_name: 'deviceFamily', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, firmware_version: { - client_side_validation: true, required: false, serialized_name: 'firmwareVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb index c6574cc1e6..6ac6cd036c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceIPConfiguration] operation results. # - def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, network_interface_name, ip_configuration_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, network_interface_name, ip_configura # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'ip_configuration_name is nil' if ip_configuration_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name # # @return [NetworkInterfaceIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceIPConfigurationListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_load_balancers.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_load_balancers.rb index 864653d641..dd4d15fe80 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceLoadBalancers include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_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 @@ -126,8 +122,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceLoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceLoadBalancerListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interfaces.rb index b7265472a2..ff1164fcc9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [NetworkInterface] operation results. # - def update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, network_interface_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, network_interface_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -431,8 +425,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -445,9 +439,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -473,8 +467,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -487,9 +481,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -514,8 +508,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -529,8 +523,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -543,7 +537,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -551,7 +545,6 @@ def begin_delete_async(resource_group_name, network_interface_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 @@ -598,8 +591,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -615,8 +608,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -631,7 +624,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -640,12 +633,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa 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::Network::Mgmt::V2017_11_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -714,8 +708,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterface] operation results. # - def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -731,8 +725,8 @@ def begin_update_tags(resource_group_name, network_interface_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -747,7 +741,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_interface_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -756,12 +750,13 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet 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::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -818,8 +813,8 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -833,8 +828,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -847,7 +842,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -855,7 +850,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,8 +904,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -925,8 +919,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -939,7 +933,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -947,7 +941,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1002,8 +995,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1017,8 +1010,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1031,12 +1024,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1090,8 +1082,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1105,8 +1097,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1119,12 +1111,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1177,12 +1168,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1198,12 +1189,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb index a035bff92d..5dbe064adc 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb @@ -256,9 +256,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? @@ -280,8 +277,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -297,8 +294,8 @@ def check_dns_name_availability(location, domain_name_label, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -313,7 +310,7 @@ def check_dns_name_availability_with_http_info(location, domain_name_label, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? @@ -321,7 +318,6 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -373,7 +369,9 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2017_11_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2017_11_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_security_groups.rb index 8142de8d1f..5b87502970 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -117,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [NetworkSecurityGroup] operation results. # - def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -240,9 +236,9 @@ def update_tags(resource_group_name, network_security_group_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_tags_async(resource_group_name, network_security_group_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -279,8 +275,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -291,13 +287,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -351,8 +346,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -365,8 +360,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -378,14 +373,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -440,8 +434,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -456,8 +450,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -471,7 +465,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +473,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -527,8 +520,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -545,8 +538,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -562,7 +555,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -571,12 +564,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2017_11_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -646,8 +640,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroup] operation results. # - def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -664,8 +658,8 @@ def begin_update_tags(resource_group_name, network_security_group_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -681,7 +675,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_security_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -690,12 +684,13 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa 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::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -752,8 +747,8 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -767,8 +762,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -781,12 +776,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +834,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -855,8 +849,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -869,12 +863,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,12 +920,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -948,12 +941,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_watchers.rb index 34ec392f4a..648a8014a0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_watchers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkWatchers include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -53,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -69,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -78,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2017_11_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -150,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -165,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -179,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -187,7 +185,6 @@ def get_async(resource_group_name, network_watcher_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 @@ -240,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -254,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -282,8 +279,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcher] operation results. # - def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -299,8 +296,8 @@ def update_tags(resource_group_name, network_watcher_name, parameters, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -315,7 +312,7 @@ def update_tags_with_http_info(resource_group_name, network_watcher_name, parame # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -324,12 +321,13 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus 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::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -385,8 +383,8 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -399,8 +397,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -412,14 +410,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -472,8 +469,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -485,8 +482,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -497,13 +494,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +556,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +573,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -593,7 +589,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +598,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, 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::Network::Mgmt::V2017_11_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -683,9 +680,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -713,8 +710,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -729,9 +726,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -759,8 +756,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -775,9 +772,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -806,8 +803,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -823,9 +820,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -854,8 +851,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -871,9 +868,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -903,8 +900,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -921,9 +918,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -953,8 +950,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -971,9 +968,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1005,8 +1002,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # # @return [ConnectivityInformation] operation results. # - def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1023,9 +1020,9 @@ def check_connectivity(resource_group_name, network_watcher_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1056,8 +1053,8 @@ def check_connectivity_async(resource_group_name, network_watcher_name, paramete # # @return [AzureReachabilityReport] operation results. # - def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1074,9 +1071,9 @@ def get_azure_reachability_report(resource_group_name, network_watcher_name, par # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1106,8 +1103,8 @@ def get_azure_reachability_report_async(resource_group_name, network_watcher_nam # # @return [AvailableProvidersList] operation results. # - def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1124,9 +1121,9 @@ def list_available_providers(resource_group_name, network_watcher_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1151,8 +1148,8 @@ def list_available_providers_async(resource_group_name, network_watcher_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -1166,8 +1163,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -1180,7 +1177,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1188,7 +1185,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1236,8 +1232,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1254,8 +1250,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1271,7 +1267,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1280,12 +1276,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet 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::Network::Mgmt::V2017_11_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1354,8 +1351,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1371,8 +1368,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1387,7 +1384,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1396,12 +1393,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete 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::Network::Mgmt::V2017_11_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1470,8 +1468,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1487,8 +1485,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1503,7 +1501,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1512,12 +1510,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2017_11_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1587,8 +1586,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1605,8 +1604,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1622,7 +1621,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1631,12 +1630,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2017_11_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1706,8 +1706,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1724,8 +1724,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1741,7 +1741,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1750,12 +1750,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2017_11_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1826,8 +1827,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1845,8 +1846,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1863,7 +1864,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1872,12 +1873,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2017_11_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1948,8 +1950,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1967,8 +1969,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1985,7 +1987,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1994,12 +1996,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2017_11_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2072,8 +2075,8 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p # # @return [ConnectivityInformation] operation results. # - def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2093,8 +2096,8 @@ def begin_check_connectivity(resource_group_name, network_watcher_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2113,7 +2116,7 @@ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2122,12 +2125,13 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa 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::Network::Mgmt::V2017_11_01::Models::ConnectivityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2199,8 +2203,8 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa # # @return [AzureReachabilityReport] operation results. # - def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2219,8 +2223,8 @@ def begin_get_azure_reachability_report(resource_group_name, network_watcher_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2238,7 +2242,7 @@ def begin_get_azure_reachability_report_with_http_info(resource_group_name, netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2247,12 +2251,13 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch 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::Network::Mgmt::V2017_11_01::Models::AzureReachabilityReportParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2323,8 +2328,8 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch # # @return [AvailableProvidersList] operation results. # - def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2342,8 +2347,8 @@ def begin_list_available_providers(resource_group_name, network_watcher_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2360,7 +2365,7 @@ def begin_list_available_providers_with_http_info(resource_group_name, network_w # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2369,12 +2374,13 @@ def begin_list_available_providers_async(resource_group_name, network_watcher_na 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::Network::Mgmt::V2017_11_01::Models::AvailableProvidersListParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/operations.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/operations.rb index 682ae56360..9722bf240b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/operations.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/operations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Operations include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,12 +54,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 @@ -116,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -131,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -145,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/packet_captures.rb index 7e2a148e9c..845b667a95 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/packet_captures.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PacketCaptures include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -232,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -278,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -323,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -338,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -346,7 +342,6 @@ def list_async(resource_group_name, network_watcher_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 @@ -404,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -422,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -439,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -449,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture 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::Network::Mgmt::V2017_11_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -511,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -527,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -542,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -551,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -612,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -627,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -636,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -702,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -719,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -728,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap 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_network/lib/2017-11-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/public_ipaddresses.rb index 89b4b8fd9e..18fcd92401 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [PublicIPAddress] operation results. # - def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, public_ip_address_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, public_ip_address_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, public_ip_address_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 @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa 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::Network::Mgmt::V2017_11_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddress] operation results. # - def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, public_ip_address_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet 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::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filter_rules.rb index d232ca58d1..8d451bc559 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilterRules include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -281,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -358,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -374,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -389,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -398,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -446,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -481,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -491,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na 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::Network::Mgmt::V2017_11_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -566,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -584,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -601,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -611,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ 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::Network::Mgmt::V2017_11_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -673,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -688,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -702,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filters.rb index 631ab50a08..5cd5a6d7ef 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filters.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilters include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -107,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -234,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -275,8 +271,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 # @@ -288,14 +284,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -348,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +356,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 # @@ -373,13 +368,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -433,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -448,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -462,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -470,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -534,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -550,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -559,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f 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::Network::Mgmt::V2017_11_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -633,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -650,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -666,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -675,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para 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::Network::Mgmt::V2017_11_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -737,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -752,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -766,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -825,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -840,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -854,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -913,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -933,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_tables.rb index 35161a43be..7a0941635d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_tables.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteTables include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [RouteTable] operation results. # - def update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, route_table_name, parameters, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +254,8 @@ def update_tags_async(resource_group_name, route_table_name, parameters, custom_ # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -272,8 +268,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -285,14 +281,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -345,8 +340,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -358,8 +353,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -370,13 +365,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, route_table_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 @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete 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::Network::Mgmt::V2017_11_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTable] operation results. # - def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, route_table_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, route_table_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c 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::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,12 +903,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/routes.rb index 934f5a67fa..b1fcec438b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/routes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Routes include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, route_table_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 @@ -310,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na 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::Network::Mgmt::V2017_11_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/security_rules.rb index 3170d8965b..522e484692 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class SecurityRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -197,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -226,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -242,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -257,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -265,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -338,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -354,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -363,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -431,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -449,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -459,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2017_11_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -531,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -546,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -560,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -621,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/subnets.rb index 19ef019dbe..fd75eca5bd 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/subnets.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Subnets include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -118,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -193,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -236,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -250,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +254,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -313,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn 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::Network::Mgmt::V2017_11_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/usages.rb index a4a6182920..05f64fcc00 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/usages.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Usages include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -123,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -138,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -152,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..aaf5873064 --- /dev/null +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/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::Network::Mgmt::V2017_11_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index fd49a52129..472a681761 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGatewayConnections include MsRestAzure @@ -38,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -100,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -115,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update_tags(resource_group_name, virtual_network_gateway_connection_name, pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +268,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_connection_na # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -290,9 +286,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -321,8 +317,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -339,8 +335,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -356,7 +352,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -364,7 +360,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -419,8 +414,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -434,8 +429,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -448,14 +443,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +511,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,9 +529,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -567,8 +561,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -586,8 +580,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -604,7 +598,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -613,12 +607,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -685,8 +680,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -701,8 +696,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -716,7 +711,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -724,7 +719,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -772,8 +766,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -790,8 +784,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_connection_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -807,7 +801,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -816,12 +810,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect 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::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -884,8 +879,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -905,8 +900,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -925,7 +920,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -934,12 +929,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn 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::Network::Mgmt::V2017_11_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1013,8 +1009,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1035,8 +1031,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -1056,7 +1052,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1065,12 +1061,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2017_11_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1128,8 +1125,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1144,8 +1141,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1159,12 +1156,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1219,12 +1215,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb index 079c22db02..16926124eb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -122,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -191,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [VirtualNetworkGateway] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -237,9 +233,9 @@ def update_tags(resource_group_name, virtual_network_gateway_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -264,8 +260,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -278,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -291,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -354,8 +349,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers) first_page.get_all_items end @@ -370,8 +365,8 @@ def list_connections(resource_group_name, virtual_network_gateway_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -385,7 +380,7 @@ def list_connections_with_http_info(resource_group_name, virtual_network_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -393,7 +388,6 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +446,8 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -469,9 +463,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +495,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -518,15 +512,14 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -557,8 +550,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [String] operation results. # - def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,15 +567,14 @@ def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -612,8 +604,8 @@ def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name # # @return [String] operation results. # - def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -627,15 +619,14 @@ def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -664,8 +655,8 @@ def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gatew # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -680,9 +671,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -709,8 +700,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [String] operation results. # - def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -725,8 +716,8 @@ def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -740,7 +731,7 @@ def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_ga # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -748,7 +739,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,7 +771,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -812,8 +801,8 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -827,9 +816,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -858,8 +847,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -874,9 +863,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -906,8 +895,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [String] operation results. # - def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -925,8 +914,8 @@ def vpn_device_configuration_script(resource_group_name, virtual_network_gateway # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -943,7 +932,7 @@ def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -952,12 +941,13 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g 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::Network::Mgmt::V2017_11_01::Models::VpnDeviceScriptParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -992,7 +982,6 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1024,8 +1013,8 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1042,8 +1031,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1059,7 +1048,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1068,12 +1057,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na 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::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1140,8 +1130,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -1156,8 +1146,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1171,7 +1161,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1179,7 +1169,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1227,8 +1216,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1245,8 +1234,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1262,7 +1251,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1271,12 +1260,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p 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::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1337,8 +1327,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -1356,8 +1346,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -1374,7 +1364,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1382,7 +1372,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1441,8 +1430,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [String] operation results. # - def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1460,8 +1449,8 @@ def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1478,7 +1467,7 @@ def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1487,12 +1476,13 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga 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::Network::Mgmt::V2017_11_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1527,7 +1517,6 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1560,8 +1549,8 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga # # @return [String] operation results. # - def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1579,8 +1568,8 @@ def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1597,7 +1586,7 @@ def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_netwo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1606,12 +1595,13 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa 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::Network::Mgmt::V2017_11_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1646,7 +1636,6 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1678,8 +1667,8 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa # # @return [String] operation results. # - def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1696,8 +1685,8 @@ def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gatew # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1713,7 +1702,7 @@ def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtua # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1721,7 +1710,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1754,7 +1742,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1785,8 +1772,8 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1802,8 +1789,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1818,7 +1805,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1826,7 +1813,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1883,8 +1869,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1900,8 +1886,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1916,7 +1902,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1924,7 +1910,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1982,8 +1967,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -2000,8 +1985,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -2017,7 +2002,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -2026,7 +2011,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2081,8 +2065,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2096,8 +2080,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2110,12 +2094,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2169,8 +2152,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkGatewayListConnectionsResult] operation results. # - def list_connections_next(next_page_link, custom_headers:nil) - response = list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next(next_page_link, custom_headers = nil) + response = list_connections_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2184,8 +2167,8 @@ def list_connections_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_next_with_http_info(next_page_link, custom_headers:nil) - list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next_with_http_info(next_page_link, custom_headers = nil) + list_connections_next_async(next_page_link, custom_headers).value! end # @@ -2198,12 +2181,11 @@ def list_connections_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_next_async(next_page_link, custom_headers:nil) + def list_connections_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2257,12 +2239,12 @@ def list_connections_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2280,12 +2262,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkGatewayListConnectionsResult] which provide lazy # access to pages of the response. # - def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_connections_next_async(next_page_link, custom_headers:custom_headers) + list_connections_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_peerings.rb index e926147b74..5190e32404 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkPeerings include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -178,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -195,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -238,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -252,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +256,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -316,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -333,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -349,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -358,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -406,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -424,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -441,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -451,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt 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::Network::Mgmt::V2017_11_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -523,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -538,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -552,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -612,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_networks.rb index 1fa24ba20e..e27f1974c8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_networks.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworks include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [VirtualNetwork] operation results. # - def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, virtual_network_name, parameters, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, virtual_network_name, parameters, cus # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -432,8 +426,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -448,8 +442,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -463,7 +457,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -471,7 +465,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -526,8 +519,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # # @return [Array] operation results. # - def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list_usage(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -541,8 +534,8 @@ def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -555,7 +548,7 @@ def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_usage_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -563,7 +556,6 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -617,8 +609,8 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -632,8 +624,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -646,7 +638,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +646,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +692,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -718,8 +709,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -734,7 +725,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -743,12 +734,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para 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::Network::Mgmt::V2017_11_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -817,8 +809,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetwork] operation results. # - def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -834,8 +826,8 @@ def begin_update_tags(resource_group_name, virtual_network_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -850,7 +842,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -859,12 +851,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, 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::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -921,8 +914,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -936,8 +929,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -950,12 +943,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1009,8 +1001,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1024,8 +1016,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1038,12 +1030,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1097,8 +1088,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListUsageResult] operation results. # - def list_usage_next(next_page_link, custom_headers:nil) - response = list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next(next_page_link, custom_headers = nil) + response = list_usage_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1112,8 +1103,8 @@ def list_usage_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_next_with_http_info(next_page_link, custom_headers:nil) - list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next_with_http_info(next_page_link, custom_headers = nil) + list_usage_next_async(next_page_link, custom_headers).value! end # @@ -1126,12 +1117,11 @@ def list_usage_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_next_async(next_page_link, custom_headers:nil) + def list_usage_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1184,12 +1174,12 @@ def list_usage_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1205,12 +1195,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1227,12 +1217,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkListUsageResult] which provide lazy access to pages of # the response. # - def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_usage_next_async(next_page_link, custom_headers:custom_headers) + list_usage_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network.rb index d73a5be4ef..60df007ab9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network.rb @@ -60,149 +60,149 @@ module Azure::Network::Mgmt::V2018_01_01 autoload :NetworkManagementClient, '2018-01-01/generated/azure_mgmt_network/network_management_client.rb' module Models - autoload :TopologyParameters, '2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb' autoload :TopologyAssociation, '2018-01-01/generated/azure_mgmt_network/models/topology_association.rb' - autoload :PublicIPAddressListResult, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb' + autoload :SubResource, '2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb' + autoload :TopologyResource, '2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb' autoload :OperationListResult, '2018-01-01/generated/azure_mgmt_network/models/operation_list_result.rb' - autoload :VpnDeviceScriptParameters, '2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb' autoload :Operation, '2018-01-01/generated/azure_mgmt_network/models/operation.rb' autoload :NetworkInterfaceDnsSettings, '2018-01-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb' autoload :OperationPropertiesFormatServiceSpecification, '2018-01-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb' - autoload :LocalNetworkGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb' - autoload :LogSpecification, '2018-01-01/generated/azure_mgmt_network/models/log_specification.rb' - autoload :ConnectionResetSharedKey, '2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb' + autoload :VirtualNetworkConnectionGatewayReference, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb' autoload :LoadBalancerListResult, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb' - autoload :PublicIPAddressSku, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb' + autoload :ConnectionSharedKey, '2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb' autoload :InboundNatRuleListResult, '2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb' - autoload :IpTag, '2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb' + autoload :PublicIPAddressSku, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb' autoload :LoadBalancerBackendAddressPoolListResult, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb' - autoload :IpsecPolicy, '2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb' + autoload :IpTag, '2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb' autoload :LoadBalancerFrontendIPConfigurationListResult, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb' - autoload :GatewayRouteListResult, '2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb' + autoload :VirtualNetworkGatewayConnectionListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb' autoload :LoadBalancerLoadBalancingRuleListResult, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb' - autoload :ApplicationGatewayBackendAddress, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb' + autoload :TunnelConnectionHealth, '2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb' autoload :LoadBalancerProbeListResult, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb' - autoload :ApplicationGatewayConnectionDraining, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb' + autoload :ApplicationGatewayBackendAddress, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb' autoload :NetworkInterfaceListResult, '2018-01-01/generated/azure_mgmt_network/models/network_interface_list_result.rb' - autoload :ApplicationGatewayBackendHealthServer, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb' + autoload :ApplicationGatewayConnectionDraining, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb' autoload :ErrorDetails, '2018-01-01/generated/azure_mgmt_network/models/error_details.rb' - autoload :ApplicationGatewayBackendHealthPool, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb' + autoload :ApplicationGatewayBackendHealthServer, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb' autoload :Error, '2018-01-01/generated/azure_mgmt_network/models/error.rb' - autoload :ApplicationGatewaySku, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb' + autoload :ApplicationGatewayBackendHealthPool, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb' autoload :AzureAsyncOperationResult, '2018-01-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb' - autoload :GatewayRoute, '2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb' + autoload :ApplicationGatewaySku, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb' autoload :NetworkInterfaceIPConfigurationListResult, '2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb' - autoload :BgpSettings, '2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb' + autoload :VpnClientParameters, '2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb' autoload :NetworkInterfaceLoadBalancerListResult, '2018-01-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb' - autoload :VirtualNetworkGatewaySku, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb' + autoload :BgpPeerStatus, '2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb' autoload :EffectiveNetworkSecurityGroupAssociation, '2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb' - autoload :VirtualNetworkUsage, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb' + autoload :VpnClientConfiguration, '2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb' autoload :EffectiveNetworkSecurityRule, '2018-01-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb' - autoload :VirtualNetworkUsageName, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb' + autoload :VirtualNetworkListUsageResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb' autoload :EffectiveNetworkSecurityGroup, '2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group.rb' - autoload :VirtualNetworkListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb' + autoload :VirtualNetworkUsage, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb' autoload :EffectiveNetworkSecurityGroupListResult, '2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb' - autoload :ApplicationGatewayFirewallDisabledRuleGroup, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb' + autoload :IPAddressAvailabilityResult, '2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb' autoload :EffectiveRoute, '2018-01-01/generated/azure_mgmt_network/models/effective_route.rb' - autoload :VirtualNetworkPeeringListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb' + autoload :ApplicationGatewayFirewallDisabledRuleGroup, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb' autoload :EffectiveRouteListResult, '2018-01-01/generated/azure_mgmt_network/models/effective_route_list_result.rb' - autoload :ApplicationGatewayFirewallRule, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb' + autoload :DhcpOptions, '2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb' autoload :SecurityRuleListResult, '2018-01-01/generated/azure_mgmt_network/models/security_rule_list_result.rb' - autoload :SubnetListResult, '2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb' + autoload :ApplicationGatewayFirewallRule, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb' autoload :NetworkSecurityGroupListResult, '2018-01-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb' - autoload :AddressSpace, '2018-01-01/generated/azure_mgmt_network/models/address_space.rb' - autoload :MetricSpecification, '2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb' - autoload :ApplicationGatewayAvailableSslPredefinedPolicies, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb' + autoload :VirtualNetworkPeeringListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb' + autoload :LogSpecification, '2018-01-01/generated/azure_mgmt_network/models/log_specification.rb' + autoload :SubnetListResult, '2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb' autoload :NetworkWatcherListResult, '2018-01-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb' + autoload :ApplicationGatewayAvailableSslPredefinedPolicies, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb' + autoload :TopologyParameters, '2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb' autoload :TagsObject, '2018-01-01/generated/azure_mgmt_network/models/tags_object.rb' - autoload :SubResource, '2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb' - autoload :DnsNameAvailabilityResult, '2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb' + autoload :ApplicationSecurityGroupListResult, '2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb' autoload :Dimension, '2018-01-01/generated/azure_mgmt_network/models/dimension.rb' - autoload :EndpointServicesListResult, '2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb' - autoload :TopologyResource, '2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb' - autoload :AuthorizationListResult, '2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb' + autoload :UsagesListResult, '2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb' + autoload :MetricSpecification, '2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb' + autoload :Usage, '2018-01-01/generated/azure_mgmt_network/models/usage.rb' autoload :Topology, '2018-01-01/generated/azure_mgmt_network/models/topology.rb' - autoload :BgpServiceCommunityListResult, '2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb' + autoload :ExpressRouteCircuitPeeringConfig, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb' autoload :VerificationIPFlowParameters, '2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb' - autoload :BGPCommunity, '2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb' + autoload :ExpressRouteCircuitStats, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb' autoload :VerificationIPFlowResult, '2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb' - autoload :Ipv6ExpressRouteCircuitPeeringConfig, '2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb' + autoload :BGPCommunity, '2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb' autoload :NextHopParameters, '2018-01-01/generated/azure_mgmt_network/models/next_hop_parameters.rb' - autoload :ExpressRouteCircuitSku, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb' + autoload :ExpressRouteCircuitPeeringListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb' autoload :NextHopResult, '2018-01-01/generated/azure_mgmt_network/models/next_hop_result.rb' - autoload :RouteTableListResult, '2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb' + autoload :ExpressRouteCircuitServiceProviderProperties, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb' autoload :SecurityGroupViewParameters, '2018-01-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb' - autoload :ExpressRouteCircuitsArpTableListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb' + autoload :ExpressRouteCircuitArpTable, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb' autoload :NetworkInterfaceAssociation, '2018-01-01/generated/azure_mgmt_network/models/network_interface_association.rb' - autoload :ExpressRouteCircuitsRoutesTableListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb' + autoload :ExpressRouteCircuitRoutesTable, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb' autoload :SubnetAssociation, '2018-01-01/generated/azure_mgmt_network/models/subnet_association.rb' - autoload :ExpressRouteCircuitsRoutesTableSummaryListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb' + autoload :ExpressRouteCircuitRoutesTableSummary, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb' autoload :SecurityRuleAssociations, '2018-01-01/generated/azure_mgmt_network/models/security_rule_associations.rb' - autoload :ExpressRouteServiceProviderBandwidthsOffered, '2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb' + autoload :ExpressRouteCircuitListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb' autoload :SecurityGroupNetworkInterface, '2018-01-01/generated/azure_mgmt_network/models/security_group_network_interface.rb' - autoload :ExpressRouteServiceProviderListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb' + autoload :RouteTableListResult, '2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb' autoload :SecurityGroupViewResult, '2018-01-01/generated/azure_mgmt_network/models/security_group_view_result.rb' - autoload :RouteFilterListResult, '2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb' + autoload :LoadBalancerSku, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb' autoload :PacketCaptureStorageLocation, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb' - autoload :VirtualNetworkGatewayListConnectionsResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb' + autoload :RouteFilterListResult, '2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb' autoload :PacketCaptureFilter, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_filter.rb' - autoload :ConnectionSharedKey, '2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb' + autoload :VpnDeviceScriptParameters, '2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb' autoload :PacketCaptureParameters, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb' - autoload :PublicIPAddressDnsSettings, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb' + autoload :LocalNetworkGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb' autoload :PacketCapture, '2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb' - autoload :TunnelConnectionHealth, '2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb' + autoload :PublicIPAddressDnsSettings, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb' autoload :PacketCaptureResult, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb' - autoload :VirtualNetworkGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb' + autoload :IpsecPolicy, '2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb' autoload :PacketCaptureListResult, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb' - autoload :ApplicationGatewayBackendHealthHttpSettings, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb' + autoload :BgpPeerStatusListResult, '2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb' autoload :PacketCaptureQueryStatusResult, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb' - autoload :ApplicationGatewaySslPolicy, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb' + autoload :ApplicationGatewayBackendHealthHttpSettings, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb' autoload :TroubleshootingParameters, '2018-01-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb' - autoload :VpnClientConfiguration, '2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb' + autoload :ApplicationGatewaySslPolicy, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb' autoload :QueryTroubleshootingParameters, '2018-01-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb' - autoload :ApplicationGatewayProbeHealthResponseMatch, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb' + autoload :BgpSettings, '2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb' autoload :TroubleshootingRecommendedActions, '2018-01-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb' - autoload :DhcpOptions, '2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb' + autoload :ApplicationGatewayProbeHealthResponseMatch, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb' autoload :TroubleshootingDetails, '2018-01-01/generated/azure_mgmt_network/models/troubleshooting_details.rb' - autoload :ApplicationGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb' + autoload :VirtualNetworkListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb' autoload :TroubleshootingResult, '2018-01-01/generated/azure_mgmt_network/models/troubleshooting_result.rb' - autoload :ApplicationGatewayAvailableWafRuleSetsResult, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb' + autoload :ApplicationGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb' autoload :RetentionPolicyParameters, '2018-01-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb' + autoload :ApplicationGatewayAvailableWafRuleSetsResult, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb' + autoload :TrafficAnalyticsConfigurationProperties, '2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb' autoload :Resource, '2018-01-01/generated/azure_mgmt_network/models/resource.rb' autoload :FlowLogStatusParameters, '2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb' - autoload :Usage, '2018-01-01/generated/azure_mgmt_network/models/usage.rb' + autoload :EndpointServicesListResult, '2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb' autoload :FlowLogInformation, '2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb' - autoload :ExpressRouteCircuitPeeringConfig, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb' + autoload :UsageName, '2018-01-01/generated/azure_mgmt_network/models/usage_name.rb' autoload :ConnectivitySource, '2018-01-01/generated/azure_mgmt_network/models/connectivity_source.rb' - autoload :RouteListResult, '2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb' + autoload :Ipv6ExpressRouteCircuitPeeringConfig, '2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb' autoload :ConnectivityDestination, '2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb' - autoload :ExpressRouteCircuitServiceProviderProperties, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb' + autoload :RouteListResult, '2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb' autoload :ConnectivityParameters, '2018-01-01/generated/azure_mgmt_network/models/connectivity_parameters.rb' - autoload :ExpressRouteCircuitRoutesTable, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb' + autoload :ExpressRouteCircuitsRoutesTableListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb' autoload :ConnectivityIssue, '2018-01-01/generated/azure_mgmt_network/models/connectivity_issue.rb' - autoload :ExpressRouteCircuitListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb' + autoload :ExpressRouteServiceProviderBandwidthsOffered, '2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb' autoload :ConnectivityHop, '2018-01-01/generated/azure_mgmt_network/models/connectivity_hop.rb' - autoload :LoadBalancerSku, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb' + autoload :RouteFilterRuleListResult, '2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb' autoload :ConnectivityInformation, '2018-01-01/generated/azure_mgmt_network/models/connectivity_information.rb' - autoload :VirtualNetworkConnectionGatewayReference, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb' + autoload :VirtualNetworkGatewayListConnectionsResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb' autoload :AzureReachabilityReportLocation, '2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb' - autoload :VirtualNetworkGatewayConnectionListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb' + autoload :ConnectionResetSharedKey, '2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb' autoload :AzureReachabilityReportParameters, '2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb' - autoload :VpnClientParameters, '2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb' + autoload :VirtualNetworkGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb' autoload :AzureReachabilityReportLatencyInfo, '2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb' - autoload :BgpPeerStatus, '2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb' + autoload :GatewayRoute, '2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb' autoload :AzureReachabilityReportItem, '2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb' - autoload :IPAddressAvailabilityResult, '2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb' + autoload :VirtualNetworkUsageName, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb' autoload :AzureReachabilityReport, '2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report.rb' autoload :ApplicationGatewayFirewallRuleGroup, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb' autoload :AvailableProvidersListParameters, '2018-01-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb' - autoload :ApplicationSecurityGroupListResult, '2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb' + autoload :DnsNameAvailabilityResult, '2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb' autoload :AvailableProvidersListCity, '2018-01-01/generated/azure_mgmt_network/models/available_providers_list_city.rb' - autoload :ExpressRouteCircuitStats, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb' + autoload :BgpServiceCommunityListResult, '2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb' autoload :AvailableProvidersListState, '2018-01-01/generated/azure_mgmt_network/models/available_providers_list_state.rb' - autoload :ExpressRouteCircuitArpTable, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb' + autoload :ExpressRouteCircuitsArpTableListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb' autoload :AvailableProvidersListCountry, '2018-01-01/generated/azure_mgmt_network/models/available_providers_list_country.rb' - autoload :RouteFilterRuleListResult, '2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb' + autoload :ExpressRouteServiceProviderListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb' autoload :AvailableProvidersList, '2018-01-01/generated/azure_mgmt_network/models/available_providers_list.rb' autoload :ServiceEndpointPropertiesFormat, '2018-01-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb' autoload :ConnectionMonitorSource, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_source.rb' @@ -210,18 +210,19 @@ module Models autoload :ConnectionMonitorDestination, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb' autoload :ApplicationGatewayWebApplicationFirewallConfiguration, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb' autoload :ConnectionMonitorParameters, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb' - autoload :UsageName, '2018-01-01/generated/azure_mgmt_network/models/usage_name.rb' + autoload :AuthorizationListResult, '2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb' autoload :ConnectionMonitor, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor.rb' - autoload :ExpressRouteCircuitRoutesTableSummary, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb' + autoload :ExpressRouteCircuitsRoutesTableSummaryListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb' autoload :ConnectionMonitorResult, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_result.rb' - autoload :BgpPeerStatusListResult, '2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb' + autoload :GatewayRouteListResult, '2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb' autoload :ConnectionMonitorListResult, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb' - autoload :UsagesListResult, '2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb' + autoload :AddressSpace, '2018-01-01/generated/azure_mgmt_network/models/address_space.rb' autoload :ConnectionStateSnapshot, '2018-01-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb' + autoload :PublicIPAddressListResult, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb' autoload :ConnectionMonitorQueryResult, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb' - autoload :ExpressRouteCircuitPeeringListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb' + autoload :ExpressRouteCircuitSku, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb' autoload :OperationDisplay, '2018-01-01/generated/azure_mgmt_network/models/operation_display.rb' - autoload :VirtualNetworkListUsageResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb' + autoload :VirtualNetworkGatewaySku, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb' autoload :Availability, '2018-01-01/generated/azure_mgmt_network/models/availability.rb' autoload :BackendAddressPool, '2018-01-01/generated/azure_mgmt_network/models/backend_address_pool.rb' autoload :InboundNatRule, '2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb' diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb index f97b301686..40da73484e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationGateways include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, application_gateway_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 @@ -166,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [ApplicationGateway] operation results. # - def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, application_gateway_name, parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -255,8 +251,8 @@ def update_tags_async(resource_group_name, application_gateway_name, parameters, # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -269,8 +265,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -282,14 +278,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -355,8 +350,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -367,13 +362,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -426,8 +420,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -440,9 +434,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -464,8 +458,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -478,9 +472,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +501,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -523,9 +517,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -549,8 +543,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # # @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results. # - def list_available_waf_rule_sets(custom_headers:nil) - response = list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets(custom_headers = nil) + response = list_available_waf_rule_sets_async(custom_headers).value! response.body unless response.nil? end @@ -562,8 +556,8 @@ def list_available_waf_rule_sets(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_waf_rule_sets_with_http_info(custom_headers:nil) - list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets_with_http_info(custom_headers = nil) + list_available_waf_rule_sets_async(custom_headers).value! end # @@ -574,13 +568,12 @@ def list_available_waf_rule_sets_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_waf_rule_sets_async(custom_headers:nil) + def list_available_waf_rule_sets_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -633,8 +626,8 @@ def list_available_waf_rule_sets_async(custom_headers:nil) # # @return [ApplicationGatewayAvailableSslOptions] operation results. # - def list_available_ssl_options(custom_headers:nil) - response = list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options(custom_headers = nil) + response = list_available_ssl_options_async(custom_headers).value! response.body unless response.nil? end @@ -646,8 +639,8 @@ def list_available_ssl_options(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_options_with_http_info(custom_headers:nil) - list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options_with_http_info(custom_headers = nil) + list_available_ssl_options_async(custom_headers).value! end # @@ -658,13 +651,12 @@ def list_available_ssl_options_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_options_async(custom_headers:nil) + def list_available_ssl_options_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -717,8 +709,8 @@ def list_available_ssl_options_async(custom_headers:nil) # # @return [Array] operation results. # - def list_available_ssl_predefined_policies(custom_headers:nil) - first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers:custom_headers) + def list_available_ssl_predefined_policies(custom_headers = nil) + first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers) first_page.get_all_items end @@ -730,8 +722,8 @@ def list_available_ssl_predefined_policies(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) - list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_with_http_info(custom_headers = nil) + list_available_ssl_predefined_policies_async(custom_headers).value! end # @@ -742,13 +734,12 @@ def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_async(custom_headers:nil) + def list_available_ssl_predefined_policies_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -802,8 +793,8 @@ def list_available_ssl_predefined_policies_async(custom_headers:nil) # # @return [ApplicationGatewaySslPredefinedPolicy] operation results. # - def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) - response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy(predefined_policy_name, custom_headers = nil) + response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! response.body unless response.nil? end @@ -816,8 +807,8 @@ def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers:nil) - get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers = nil) + get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! end # @@ -829,14 +820,13 @@ def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) + def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'predefined_policy_name is nil' if predefined_policy_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -890,8 +880,8 @@ def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -905,8 +895,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -919,7 +909,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -927,7 +917,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +963,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -991,8 +980,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1007,7 +996,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1016,12 +1005,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, 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::Network::Mgmt::V2018_01_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1090,8 +1080,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # # @return [ApplicationGateway] operation results. # - def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1107,8 +1097,8 @@ def begin_update_tags(resource_group_name, application_gateway_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1123,7 +1113,7 @@ def begin_update_tags_with_http_info(resource_group_name, application_gateway_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1132,12 +1122,13 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param 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::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1193,8 +1184,8 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1208,8 +1199,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1222,7 +1213,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1230,7 +1221,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1274,8 +1264,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1289,8 +1279,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1303,7 +1293,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1311,7 +1301,6 @@ def begin_stop_async(resource_group_name, application_gateway_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 @@ -1359,8 +1348,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -1377,8 +1366,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -1394,7 +1383,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1402,7 +1391,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1445,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1460,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1474,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,8 +1532,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1560,8 +1547,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1574,12 +1561,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1633,8 +1619,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayAvailableSslPredefinedPolicies] operation results. # - def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:nil) - response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next(next_page_link, custom_headers = nil) + response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1648,8 +1634,8 @@ def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers:nil) - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers = nil) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! end # @@ -1662,12 +1648,11 @@ def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:nil) + def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1721,12 +1706,12 @@ def list_available_ssl_predefined_policies_next_async(next_page_link, custom_hea # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1741,12 +1726,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1761,12 +1746,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationGatewayAvailableSslPredefinedPolicies] which provide lazy # access to pages of the response. # - def list_available_ssl_predefined_policies_as_lazy(custom_headers:nil) - response = list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_as_lazy(custom_headers = nil) + response = list_available_ssl_predefined_policies_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_security_groups.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_security_groups.rb index 4e9e56c4d0..7cd26299d7 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_security_groups.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, application_security_group_name, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, application_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, application_security_group_name, custom_he # # @return [ApplicationSecurityGroup] operation results. # - def get(resource_group_name, application_security_group_name, custom_headers:nil) - response = get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_security_group_name, custom_headers = nil) + response = get_async(resource_group_name, application_security_group_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, application_security_group_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + get_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, application_security_group_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_security_group_name, custom_headers:nil) + def get_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +111,6 @@ def get_async(resource_group_name, application_security_group_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 @@ -172,8 +168,8 @@ def get_async(resource_group_name, application_security_group_name, custom_heade # # @return [ApplicationSecurityGroup] operation results. # - def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +185,9 @@ def create_or_update(resource_group_name, application_security_group_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, application_security_group_name, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +383,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -405,8 +399,8 @@ def begin_delete(resource_group_name, application_security_group_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -420,7 +414,7 @@ def begin_delete_with_http_info(resource_group_name, application_security_group_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +422,6 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +469,8 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus # # @return [ApplicationSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +487,8 @@ def begin_create_or_update(resource_group_name, application_security_group_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +504,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_secur # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +513,13 @@ def begin_create_or_update_async(resource_group_name, application_security_group 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::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, application_security_group # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +601,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +615,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +673,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +688,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +702,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +759,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +780,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/available_endpoint_services.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/available_endpoint_services.rb index 64a1cb261a..cca24190be 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/available_endpoint_services.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/available_endpoint_services.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class AvailableEndpointServices include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -122,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [EndpointServicesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -137,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -151,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -210,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [EndpointServicesListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/bgp_service_communities.rb index f4533ade25..b169b1bbb4 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class BgpServiceCommunities include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/connection_monitors.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/connection_monitors.rb index c820b4b8b1..030a88f9b7 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/connection_monitors.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/connection_monitors.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ConnectionMonitors include MsRestAzure @@ -39,8 +36,8 @@ def initialize(client) # # @return [ConnectionMonitorResult] operation results. # - def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -58,9 +55,9 @@ def create_or_update(resource_group_name, network_watcher_name, connection_monit # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -89,8 +86,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, connection # # @return [ConnectionMonitorResult] operation results. # - def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -107,8 +104,8 @@ def get(resource_group_name, network_watcher_name, connection_monitor_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -124,7 +121,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, connection_mon # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -133,7 +130,6 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -189,8 +185,8 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -206,9 +202,9 @@ def delete(resource_group_name, network_watcher_name, connection_monitor_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -233,8 +229,8 @@ def delete_async(resource_group_name, network_watcher_name, connection_monitor_n # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -250,9 +246,9 @@ def stop(resource_group_name, network_watcher_name, connection_monitor_name, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -277,8 +273,8 @@ def stop_async(resource_group_name, network_watcher_name, connection_monitor_nam # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -294,9 +290,9 @@ def start(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -324,8 +320,8 @@ def start_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorQueryResult] operation results. # - def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -342,9 +338,9 @@ def query(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -372,8 +368,8 @@ def query_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -389,8 +385,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -405,7 +401,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -413,7 +409,6 @@ def list_async(resource_group_name, network_watcher_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 @@ -473,8 +468,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [ConnectionMonitorResult] operation results. # - def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -493,8 +488,8 @@ def begin_create_or_update(resource_group_name, network_watcher_name, connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! end # @@ -512,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_watcher_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -522,12 +517,13 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn 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::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -596,8 +592,8 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -614,8 +610,8 @@ def begin_delete(resource_group_name, network_watcher_name, connection_monitor_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -631,7 +627,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, conne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -640,7 +636,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -687,8 +682,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -705,8 +700,8 @@ def begin_stop(resource_group_name, network_watcher_name, connection_monitor_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -722,7 +717,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, connect # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -731,7 +726,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -778,8 +772,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit # will be added to the HTTP request. # # - def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -796,8 +790,8 @@ def begin_start(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -813,7 +807,7 @@ def begin_start_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -822,7 +816,6 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -871,8 +864,8 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni # # @return [ConnectionMonitorQueryResult] operation results. # - def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -890,8 +883,8 @@ def begin_query(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -908,7 +901,7 @@ def begin_query_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -917,7 +910,6 @@ def begin_query_async(resource_group_name, network_watcher_name, connection_moni 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_network/lib/2018-01-01/generated/azure_mgmt_network/default_security_rules.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/default_security_rules.rb index 04564b88a6..32e18a2e56 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/default_security_rules.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/default_security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class DefaultSecurityRules include MsRestAzure @@ -35,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -51,8 +48,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -66,7 +63,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +71,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +128,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +146,8 @@ def get(resource_group_name, network_security_group_name, default_security_rule_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! end # @@ -167,7 +163,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, default # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'default_security_rule_name is nil' if default_security_rule_name.nil? @@ -176,7 +172,6 @@ def get_async(resource_group_name, network_security_group_name, default_security request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +226,8 @@ def get_async(resource_group_name, network_security_group_name, default_security # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -246,8 +241,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -260,12 +255,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,12 +315,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 2f32c618b2..264bfdaf8f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitAuthorizations include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -235,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -249,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +253,6 @@ def list_async(resource_group_name, circuit_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 @@ -312,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -328,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -343,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -352,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -420,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -438,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -448,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio 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::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -520,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index e6d4d6da86..cc9cadcf21 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitPeerings include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, circuit_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 @@ -310,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name 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::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuits.rb index 1d6d495fbf..aba95cab85 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuits include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, circuit_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 @@ -166,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuit] operation results. # - def update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, circuit_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +255,8 @@ def update_tags_async(resource_group_name, circuit_name, parameters, custom_head # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -275,9 +271,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -306,8 +302,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -322,9 +318,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -353,8 +349,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -369,9 +365,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -397,8 +393,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -412,8 +408,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -426,7 +422,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -434,7 +430,6 @@ def get_stats_async(resource_group_name, circuit_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 @@ -490,8 +485,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -506,8 +501,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -521,7 +516,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -530,7 +525,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -584,8 +578,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -598,8 +592,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -611,14 +605,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +664,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -684,8 +677,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -696,13 +689,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -756,8 +748,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -771,8 +763,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -785,7 +777,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -793,7 +785,6 @@ def begin_delete_async(resource_group_name, circuit_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 @@ -840,8 +831,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -857,8 +848,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -873,7 +864,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -882,12 +873,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, 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::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -956,8 +948,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuit] operation results. # - def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -973,8 +965,8 @@ def begin_update_tags(resource_group_name, circuit_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -989,7 +981,7 @@ def begin_update_tags_with_http_info(resource_group_name, circuit_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -998,12 +990,13 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo 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::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1063,8 +1056,8 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1081,8 +1074,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1098,7 +1091,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1108,7 +1101,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1166,8 +1158,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1184,8 +1176,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1201,7 +1193,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1211,7 +1203,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1269,8 +1260,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1287,8 +1278,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1304,7 +1295,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1314,7 +1305,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1369,8 +1359,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1384,8 +1374,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1398,12 +1388,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1446,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1461,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1475,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,12 +1533,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1565,12 +1553,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_service_providers.rb index 89e82e3f6d..fd1345e3f1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteServiceProviders include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,13 +54,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb index e66a07899a..bc4fbeb8bb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class InboundNatRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -125,8 +121,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -140,9 +136,9 @@ def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +164,8 @@ def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [InboundNatRule] operation results. # - def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! response.body unless response.nil? end @@ -185,8 +181,8 @@ def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! end # @@ -201,7 +197,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -210,7 +206,6 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -268,8 +263,8 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex # # @return [InboundNatRule] operation results. # - def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -285,9 +280,9 @@ def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -313,8 +308,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_ # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [InboundNatRule] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun 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::Network::Mgmt::V2018_01_01::Models::InboundNatRule.mapper() request_content = @client.serialize(request_mapper, inbound_nat_rule_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun # # @return [InboundNatRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [InboundNatRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb index 778615a20e..e71932b5db 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerBackendAddressPools include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [BackendAddressPool] operation results. # - def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, backend_address_pool_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, backend_address_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'backend_address_pool_name is nil' if backend_address_pool_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name # # @return [LoadBalancerBackendAddressPoolListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerBackendAddressPoolListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb index 530784af3f..3521e3a134 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerFrontendIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [FrontendIPConfiguration] operation results. # - def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'frontend_ipconfiguration_name is nil' if frontend_ipconfiguration_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ # # @return [LoadBalancerFrontendIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerFrontendIPConfigurationListResult] which provide lazy # access to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb index 465f03db6d..fc0b57b905 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerLoadBalancingRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancingRule] operation results. # - def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_r # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'load_balancing_rule_name is nil' if load_balancing_rule_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, # # @return [LoadBalancerLoadBalancingRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerLoadBalancingRuleListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb index d0b64e1b48..3a21ec5ba6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerNetworkInterfaces include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -126,8 +122,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_probes.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_probes.rb index 65b7e9c24c..e48d58fbee 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_probes.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_probes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerProbes include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [Probe] operation results. # - def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, probe_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'probe_name is nil' if probe_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, probe_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 @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header # # @return [LoadBalancerProbeListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerProbeListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancers.rb index e1018cc6d0..21a52771ad 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancers include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancer] operation results. # - def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, load_balancer_name, parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, load_balancer_name, parameters, custo # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame 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::Network::Mgmt::V2018_01_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancer] operation results. # - def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, load_balancer_name, parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, 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::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/local_network_gateways.rb index 720d38db65..aa525ff229 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LocalNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -114,16 +111,14 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -192,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +216,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [LocalNetworkGateway] operation results. # - def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +233,9 @@ def update_tags(resource_group_name, local_network_gateway_name, parameters, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -265,8 +260,8 @@ def update_tags_async(resource_group_name, local_network_gateway_name, parameter # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -279,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -292,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -357,8 +351,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -375,8 +369,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -392,22 +386,22 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -474,8 +468,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -490,8 +484,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -505,16 +499,14 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -562,8 +554,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -580,8 +572,8 @@ def begin_update_tags(resource_group_name, local_network_gateway_name, parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -597,22 +589,22 @@ def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -669,8 +661,8 @@ def begin_update_tags_async(resource_group_name, local_network_gateway_name, par # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -684,8 +676,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -698,12 +690,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +748,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/address_space.rb index 33753159b2..9455581e76 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway.rb index 83e55bfdba..d17acc63a9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -100,7 +100,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -108,7 +107,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -116,7 +114,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -125,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -134,7 +130,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -142,13 +137,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: { @@ -158,7 +151,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -167,7 +159,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -176,7 +167,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -185,13 +175,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -202,13 +190,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -219,13 +205,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -236,13 +220,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -253,13 +235,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -270,13 +250,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -287,13 +265,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -304,13 +280,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -321,13 +295,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -338,13 +310,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -355,13 +325,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -372,13 +340,11 @@ def self.mapper() } }, redirect_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfigurationElementType', type: { @@ -389,7 +355,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -398,7 +363,6 @@ def self.mapper() } }, enable_http2: { - client_side_validation: true, required: false, serialized_name: 'properties.enableHttp2', type: { @@ -406,7 +370,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -414,7 +377,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -422,7 +384,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index e012f5222b..4d2c31bb91 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -38,7 +38,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb index 4f5e68566b..b335842f0b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb @@ -36,7 +36,6 @@ class ApplicationGatewayAvailableSslOptions < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslOptions', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslOptions', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,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: { @@ -94,13 +87,11 @@ def self.mapper() } }, predefined_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.predefinedPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, default_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultPolicy', type: { @@ -119,13 +109,11 @@ def self.mapper() } }, available_cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.availableCipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -135,13 +123,11 @@ def self.mapper() } }, available_protocols: { - client_side_validation: true, required: false, serialized_name: 'properties.availableProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb index 45cdd675fb..717c31cafa 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicyElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb index 53d3fe37c3..eaee406766 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb @@ -24,7 +24,6 @@ class ApplicationGatewayAvailableWafRuleSetsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableWafRuleSetsResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableWafRuleSetsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSetElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 0e9025cb43..c2a7f236e1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 79c120675c..7edfc522f9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -41,7 +41,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -57,13 +55,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -74,13 +70,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index 55f34eab38..766c97c742 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index ba8eea8ca0..0bae131fee 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index 84f85c3480..cfba7340f6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index 5db4ff020c..ed48f02025 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -31,7 +31,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 67cdeb0921..b1a8da2356 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -78,7 +78,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -118,7 +113,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -126,7 +120,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -152,7 +143,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, pick_host_name_from_backend_address: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendAddress', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, affinity_cookie_name: { - client_side_validation: true, required: false, serialized_name: 'properties.affinityCookieName', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, probe_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.probeEnabled', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -201,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +193,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -217,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -225,7 +207,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 6d24145934..dc64081949 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb index 779804ef03..9b470593b3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb @@ -27,7 +27,6 @@ class ApplicationGatewayFirewallDisabledRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallDisabledRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -43,13 +41,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb index 0d6b1ac7c7..9568e7f894 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb @@ -25,7 +25,6 @@ class ApplicationGatewayFirewallRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRule', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRule', model_properties: { rule_id: { - client_side_validation: true, required: true, serialized_name: 'ruleId', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb index 40eb7376f9..24d5826a81 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb @@ -30,7 +30,6 @@ class ApplicationGatewayFirewallRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb index 8b9ef4315c..190ef7a359 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFirewallRuleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSet', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleSet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetType', type: { @@ -108,7 +99,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetVersion', type: { @@ -116,13 +106,11 @@ def self.mapper() } }, rule_groups: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 35232f6dee..77819c09b7 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -49,7 +49,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 633524185c..b0801e10d8 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -37,7 +37,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 5001ab489e..61220e3c7e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -56,7 +56,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 1f16569eee..aa61338d85 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 710c08ba24..562862bec0 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 12b97de1d9..c09fcd1e4f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -49,7 +49,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,13 +63,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -132,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index 950339ac05..32313a6b42 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -72,7 +72,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -96,7 +93,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -104,7 +100,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -120,7 +114,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -128,7 +121,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -136,7 +128,6 @@ def self.mapper() } }, pick_host_name_from_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendHttpSettings', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, min_servers: { - client_side_validation: true, required: false, serialized_name: 'properties.minServers', type: { @@ -152,7 +142,6 @@ def self.mapper() } }, match: { - client_side_validation: true, required: false, serialized_name: 'properties.match', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb index c4f07226ea..d83725aa03 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb @@ -28,7 +28,6 @@ class ApplicationGatewayProbeHealthResponseMatch # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeHealthResponseMatch', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbeHealthResponseMatch', model_properties: { body: { - client_side_validation: true, required: false, serialized_name: 'body', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, status_codes: { - client_side_validation: true, required: false, serialized_name: 'statusCodes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb index 0ac592b91e..3a8c20aaa8 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb @@ -60,7 +60,6 @@ class ApplicationGatewayRedirectConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfiguration', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'ApplicationGatewayRedirectConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, redirect_type: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, target_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.targetListener', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, target_url: { - client_side_validation: true, required: false, serialized_name: 'properties.targetUrl', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, include_path: { - client_side_validation: true, required: false, serialized_name: 'properties.includePath', type: { @@ -109,7 +103,6 @@ def self.mapper() } }, include_query_string: { - client_side_validation: true, required: false, serialized_name: 'properties.includeQueryString', type: { @@ -117,13 +110,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,13 +125,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -151,13 +140,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index f0a60fbd2f..7fa7efe720 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -57,7 +57,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index c83cdd1849..350f7c7afb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index 0c1fc28517..1b65e223e9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -46,7 +46,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 0952131018..ab35ac3127 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -41,7 +41,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, policy_type: { - client_side_validation: true, required: false, serialized_name: 'policyType', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, policy_name: { - client_side_validation: true, required: false, serialized_name: 'policyName', type: { @@ -81,13 +76,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb index 72f64e705c..7fb2bb506d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySslPredefinedPolicy < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicy', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslPredefinedPolicy', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'properties.minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 066e045a34..4a71dffb3e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -51,7 +51,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, default_redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultRedirectConfiguration', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index 26d8e3337b..ca011a5382 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -45,7 +45,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: true, serialized_name: 'firewallMode', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'ruleSetType', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'ruleSetVersion', type: { @@ -85,13 +80,11 @@ def self.mapper() } }, disabled_rule_groups: { - client_side_validation: true, required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, request_body_check: { - client_side_validation: true, required: false, serialized_name: 'requestBodyCheck', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, max_request_body_size: { - client_side_validation: true, required: false, serialized_name: 'maxRequestBodySize', constraints: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group.rb index 534fd9c250..ee2c590ef6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group.rb @@ -34,7 +34,6 @@ class ApplicationSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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: { @@ -92,7 +85,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', @@ -101,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -110,7 +101,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb index edd3d062bf..2046b6929b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 0e748d84a0..983ebd1f03 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb index 1c6e41a254..549dc89674 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb @@ -28,7 +28,6 @@ class Availability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Availability', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Availability', model_properties: { time_grain: { - client_side_validation: true, required: false, serialized_name: 'timeGrain', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, retention: { - client_side_validation: true, required: false, serialized_name: 'retention', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list.rb index 5b4d29b1c3..3080416057 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list.rb @@ -23,7 +23,6 @@ class AvailableProvidersList # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersList', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'AvailableProvidersList', model_properties: { countries: { - client_side_validation: true, required: true, serialized_name: 'countries', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountryElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_city.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_city.rb index 2920ea7acd..65afb18890 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_city.rb @@ -25,7 +25,6 @@ class AvailableProvidersListCity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'AvailableProvidersListCity', model_properties: { city_name: { - client_side_validation: true, required: false, serialized_name: 'cityName', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_country.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_country.rb index 36c4a98272..2bab5b8dc2 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_country.rb @@ -29,7 +29,6 @@ class AvailableProvidersListCountry # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountry', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListCountry', model_properties: { country_name: { - client_side_validation: true, required: false, serialized_name: 'countryName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListStateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb index 42bc8e3f6e..a8fffab3ff 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb @@ -32,7 +32,6 @@ class AvailableProvidersListParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListParameters', type: { @@ -40,13 +39,11 @@ def self.mapper() class_name: 'AvailableProvidersListParameters', model_properties: { azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, country: { - client_side_validation: true, required: false, serialized_name: 'country', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_state.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_state.rb index 76a9ff9019..21590ac0a5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_state.rb @@ -29,7 +29,6 @@ class AvailableProvidersListState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListState', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListState', model_properties: { state_name: { - client_side_validation: true, required: false, serialized_name: 'stateName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, cities: { - client_side_validation: true, required: false, serialized_name: 'cities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 169a8f527b..786deee1e8 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report.rb index e832c76be9..58b00ad926 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report.rb @@ -30,7 +30,6 @@ class AzureReachabilityReport # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReport', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'AzureReachabilityReport', model_properties: { aggregation_level: { - client_side_validation: true, required: true, serialized_name: 'aggregationLevel', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, reachability_report: { - client_side_validation: true, required: true, serialized_name: 'reachabilityReport', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItemElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb index 62e1f36b87..6076b07855 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb @@ -29,7 +29,6 @@ class AzureReachabilityReportItem # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItem', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AzureReachabilityReportItem', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, azure_location: { - client_side_validation: true, required: false, serialized_name: 'azureLocation', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, latencies: { - client_side_validation: true, required: false, serialized_name: 'latencies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfoElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb index 92cdbf6f2d..b348d9b978 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb @@ -26,7 +26,6 @@ class AzureReachabilityReportLatencyInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfo', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLatencyInfo', model_properties: { time_stamp: { - client_side_validation: true, required: false, serialized_name: 'timeStamp', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, score: { - client_side_validation: true, required: false, serialized_name: 'score', constraints: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb index dd8d8b91cf..8d8c952ed5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb @@ -28,7 +28,6 @@ class AzureReachabilityReportLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLocation', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLocation', model_properties: { country: { - client_side_validation: true, required: true, serialized_name: 'country', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb index b56570b263..66f76aef5c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb @@ -34,7 +34,6 @@ class AzureReachabilityReportParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureReachabilityReportParameters', model_properties: { provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -51,13 +49,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: true, serialized_name: 'startTime', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: true, serialized_name: 'endTime', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 53f222d1de..246206ac47 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index b9affc8e44..07c5e86a1d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -44,7 +44,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -61,7 +59,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -70,7 +67,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -79,7 +75,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -88,7 +83,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -97,7 +91,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -106,7 +99,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -115,7 +107,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 1e6051b76c..31ca51e31f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community.rb index 485fb0e441..b045d43703 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,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: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index e95d9bcfb5..7110c97192 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb index 3f2a1606d8..6c53049a75 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -30,7 +30,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb index 608fa26f6c..70cc46a438 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -40,7 +40,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, is_authorized_to_use: { - client_side_validation: true, required: false, serialized_name: 'isAuthorizedToUse', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, service_group: { - client_side_validation: true, required: false, serialized_name: 'serviceGroup', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor.rb index 6ebed3f752..b613659ddf 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor.rb @@ -38,7 +38,6 @@ class ConnectionMonitor # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitor', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectionMonitor', model_properties: { location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -54,13 +52,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: { @@ -70,7 +66,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -97,7 +90,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb index a110cd7c06..e522d2438f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb @@ -30,7 +30,6 @@ class ConnectionMonitorDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectionMonitorDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb index 9883763791..43eb9bfc08 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb index 7c978b1f33..66ca29455c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb @@ -32,7 +32,6 @@ class ConnectionMonitorParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorParameters', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ConnectionMonitorParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'autoStart', default_value: true, @@ -67,7 +63,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb index e38194648d..d902d4dae8 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorQueryResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorQueryResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorQueryResult', model_properties: { states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshotElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_result.rb index e14634dc84..f58047fa3a 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_result.rb @@ -63,7 +63,6 @@ class ConnectionMonitorResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResult', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ConnectionMonitorResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +78,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -89,7 +86,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -98,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -107,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -115,13 +109,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: { @@ -131,7 +123,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -158,7 +147,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, @@ -167,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, monitoring_status: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringStatus', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_source.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_source.rb index dfb7c78027..23b924b294 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_source.rb @@ -26,7 +26,6 @@ class ConnectionMonitorSource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorSource', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ConnectionMonitorSource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 12274ba95d..bce1084b3c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -23,7 +23,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 82afc261ae..3d5456ae29 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb index d29066ddd8..672ded5525 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb @@ -37,7 +37,6 @@ class ConnectionStateSnapshot # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshot', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectionStateSnapshot', model_properties: { connection_state: { - client_side_validation: true, required: false, serialized_name: 'connectionState', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, evaluation_state: { - client_side_validation: true, required: false, serialized_name: 'evaluationState', type: { @@ -77,14 +72,12 @@ def self.mapper() } }, hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb index 6726de0a5f..543a382848 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb @@ -30,7 +30,6 @@ class ConnectivityDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectivityDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_hop.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_hop.rb index a477c598b7..a139e81c68 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_hop.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_hop.rb @@ -37,7 +37,6 @@ class ConnectivityHop # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHop', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectivityHop', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,7 +52,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +60,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'address', @@ -72,7 +68,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', @@ -81,14 +76,12 @@ def self.mapper() } }, next_hop_ids: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHopIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,14 +91,12 @@ def self.mapper() } }, issues: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'issues', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssueElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_information.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_information.rb index 8ceb1a4f2d..c4e611e075 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_information.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_information.rb @@ -42,7 +42,6 @@ class ConnectivityInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityInformation', type: { @@ -50,14 +49,12 @@ def self.mapper() class_name: 'ConnectivityInformation', model_properties: { hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -77,7 +73,6 @@ def self.mapper() } }, avg_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'avgLatencyInMs', @@ -86,7 +81,6 @@ def self.mapper() } }, min_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minLatencyInMs', @@ -95,7 +89,6 @@ def self.mapper() } }, max_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maxLatencyInMs', @@ -104,7 +97,6 @@ def self.mapper() } }, probes_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesSent', @@ -113,7 +105,6 @@ def self.mapper() } }, probes_failed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesFailed', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_issue.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_issue.rb index da2cd3a3d3..98495f9680 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_issue.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_issue.rb @@ -38,7 +38,6 @@ class ConnectivityIssue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectivityIssue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'severity', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,20 +69,17 @@ def self.mapper() } }, context: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'context', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HashElementType', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_parameters.rb index 4c00fde76c..b72ac019bb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_parameters.rb @@ -25,7 +25,6 @@ class ConnectivityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ConnectivityParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_source.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_source.rb index ba775a14d1..5d8603150b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_source.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_source.rb @@ -27,7 +27,6 @@ class ConnectivitySource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivitySource', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ConnectivitySource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb index dea6a8de70..3409096f9d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dimension.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dimension.rb index 72f8fa39ad..a9a552aa7f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dimension.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dimension.rb @@ -28,7 +28,6 @@ class Dimension # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Dimension', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Dimension', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, internal_name: { - client_side_validation: true, required: false, serialized_name: 'internalName', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 88338441e2..62cf3ff68b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 653044d45d..2d7b6bf99a 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -34,7 +34,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -60,13 +57,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { @@ -77,19 +72,16 @@ def self.mapper() } }, tag_map: { - client_side_validation: true, required: false, serialized_name: 'tagMap', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'ArrayElementType', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 04c9499936..655aa473ef 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index 447a90fabc..2fb814979a 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index ce376cd299..a4a687d059 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -79,7 +79,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -119,13 +114,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -167,13 +156,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -183,13 +170,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -199,13 +184,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -215,13 +198,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -231,7 +212,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -239,7 +219,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -247,7 +226,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route.rb index cb109db813..c1ca6a2f2f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 14a6d13dc1..f035a89dc5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_service_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_service_result.rb index 411be15cb5..20f9e3cb91 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_service_result.rb @@ -25,7 +25,6 @@ class EndpointServiceResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResult', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EndpointServiceResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb index 481cd56b97..059db727eb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServicesListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'EndpointServicesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResultElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error.rb index 0b06899d5d..f0f4af93ea 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error_details.rb index eff631dd9a..f87aa4cfcf 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 082e8eb09e..2b2f7816ec 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,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: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 941fad4e95..a7e2b5a45c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 82f136e5c5..9f1afe1e12 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 383a701c80..4d193cc0e1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 2e08b6e12e..c5bff0184e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -87,7 +87,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -111,7 +108,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -119,7 +115,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -127,7 +122,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', constraints: { @@ -139,7 +133,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -147,7 +140,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -171,7 +161,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -179,7 +168,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -187,7 +175,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -196,7 +183,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -213,7 +198,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -221,7 +205,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -229,7 +212,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -238,7 +220,6 @@ def self.mapper() } }, ipv6peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { @@ -247,7 +228,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -255,7 +235,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index db175d2f2b..1d5c12efad 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -42,7 +42,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -50,13 +49,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, advertised_communities: { - client_side_validation: true, required: false, serialized_name: 'advertisedCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, legacy_mode: { - client_side_validation: true, required: false, serialized_name: 'legacyMode', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index c87f53bd30..c12a4d5371 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index e618eec165..bbaccc6a65 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 48122de6e2..5363103e0a 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index a3546addf0..35f80365e0 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index c15e1c5e64..f0c59d895e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 309cf9706e..db333bb647 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index ae05a88367..9eb1c944ca 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 2364e4e1d5..85b1f6e9d1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index 57b90838c8..6d95b1b76b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 5b0b9c526b..6a4287cb80 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 200c8bfaf7..c20b60a003 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index e70fb3fe39..4cd12026f0 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb index 4f2ab1debe..e37cfa9070 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -6,7 +6,8 @@ module Azure::Network::Mgmt::V2018_01_01 module Models # - # Information on the configuration of flow log. + # Information on the configuration of flow log and traffic analytics + # (optional). # class FlowLogInformation @@ -25,6 +26,9 @@ class FlowLogInformation # @return [RetentionPolicyParameters] attr_accessor :retention_policy + # @return [TrafficAnalyticsConfigurationProperties] + attr_accessor :network_watcher_flow_analytics_configuration + # # Mapper for FlowLogInformation class as Ruby Hash. @@ -32,7 +36,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +43,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +50,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +57,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,13 +64,20 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { name: 'Composite', class_name: 'RetentionPolicyParameters' } + }, + network_watcher_flow_analytics_configuration: { + required: true, + serialized_name: 'flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration', + type: { + name: 'Composite', + class_name: 'TrafficAnalyticsConfigurationProperties' + } } } } diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index ab35da2af7..467ae4689c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -6,14 +6,15 @@ module Azure::Network::Mgmt::V2018_01_01 module Models # - # Parameters that define a resource to query flow log status. + # Parameters that define a resource to query flow log and traffic analytics + # (optional) status. # class FlowLogStatusParameters include MsRestAzure - # @return [String] The target resource where getting the flow logging - # status. + # @return [String] The target resource where getting the flow logging and + # traffic analytics (optional) status. attr_accessor :target_resource_id @@ -23,7 +24,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +31,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index 01dc0ae7d9..32f07abc81 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -65,7 +65,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,14 +79,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -99,14 +95,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -117,14 +111,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -135,14 +127,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -178,7 +165,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -187,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -203,7 +187,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -211,13 +194,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb index f820bdda8d..f2d4259423 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -40,7 +40,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -57,7 +55,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -66,7 +63,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -75,7 +71,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -84,7 +79,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -93,7 +87,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -102,7 +95,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index 6b4747d551..51bb2e3079 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 04f4593e39..a28c58a47e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -64,7 +64,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,7 +78,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 5f1be8c55f..32acd70c54 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -65,7 +65,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -90,7 +87,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb index a011c082c3..f7d3fd2a7b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'InboundNatRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb index 4a3ab59b4a..85c6e65bc5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb @@ -26,7 +26,6 @@ class IpTag # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpTag', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IpTag', model_properties: { ip_tag_type: { - client_side_validation: true, required: false, serialized_name: 'ipTagType', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, tag: { - client_side_validation: true, required: false, serialized_name: 'tag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index bb7ebbe080..c21a7d2cd3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipconfiguration.rb index c1798d1657..c1763f3ed1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb index 038537433b..c3aaf29cd6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb @@ -55,7 +55,6 @@ class IpsecPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicy', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'IpsecPolicy', model_properties: { sa_life_time_seconds: { - client_side_validation: true, required: true, serialized_name: 'saLifeTimeSeconds', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, sa_data_size_kilobytes: { - client_side_validation: true, required: true, serialized_name: 'saDataSizeKilobytes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, ipsec_encryption: { - client_side_validation: true, required: true, serialized_name: 'ipsecEncryption', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipsec_integrity: { - client_side_validation: true, required: true, serialized_name: 'ipsecIntegrity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, ike_encryption: { - client_side_validation: true, required: true, serialized_name: 'ikeEncryption', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ike_integrity: { - client_side_validation: true, required: true, serialized_name: 'ikeIntegrity', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, dh_group: { - client_side_validation: true, required: true, serialized_name: 'dhGroup', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, pfs_group: { - client_side_validation: true, required: true, serialized_name: 'pfsGroup', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb index 5abf90763f..fc2fb99f0d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb @@ -37,7 +37,6 @@ class Ipv6ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Ipv6ExpressRouteCircuitPeeringConfig', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Ipv6ExpressRouteCircuitPeeringConfig', model_properties: { primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'primaryPeerAddressPrefix', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'secondaryPeerAddressPrefix', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'microsoftPeeringConfig', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'routeFilter', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer.rb index 84f2226a94..18c8120a3f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -72,7 +72,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -97,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -106,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -114,13 +109,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: { @@ -130,7 +123,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -139,13 +131,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -156,13 +146,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -173,13 +161,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -207,13 +191,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -224,13 +206,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -241,13 +221,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -258,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -266,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -274,7 +250,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb index 2163684f53..a180c5aff9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerBackendAddressPoolListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerBackendAddressPoolListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb index 329b4647b3..439aa9ba1e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerFrontendIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'LoadBalancerFrontendIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index aeea684d9e..9a97574ea1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb index 5519fb39af..85c1142ff6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerLoadBalancingRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerLoadBalancingRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb index 1e985b58d1..6bcc389a63 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerProbeListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'LoadBalancerProbeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb index 9a84fb7164..d69bbe49d3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb @@ -23,7 +23,6 @@ class LoadBalancerSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'LoadBalancerSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index 56b3cfe64d..ef926bdb62 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -78,7 +78,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -112,7 +108,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -121,7 +116,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +123,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -137,7 +130,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -145,7 +137,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, disable_outbound_snat: { - client_side_validation: true, required: false, serialized_name: 'properties.disableOutboundSnat', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 2038f5bb86..3120847da3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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: false, 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() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 4cebb98e3b..972d4cfcf1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/log_specification.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/log_specification.rb index 41f4a71da8..e34c32b0e7 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/log_specification.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/log_specification.rb @@ -28,7 +28,6 @@ class LogSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogSpecification', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'LogSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb index 3533541adb..59485c96ac 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb @@ -61,7 +61,6 @@ class MetricSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'MetricSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, display_description: { - client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, aggregation_type: { - client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { @@ -109,13 +103,11 @@ def self.mapper() } }, availabilities: { - client_side_validation: true, required: false, serialized_name: 'availabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilityElementType', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, enable_regional_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'enableRegionalMdmAccount', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, fill_gap_with_zero: { - client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, metric_filter_pattern: { - client_side_validation: true, required: false, serialized_name: 'metricFilterPattern', type: { @@ -150,13 +139,11 @@ def self.mapper() } }, dimensions: { - client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, is_internal: { - client_side_validation: true, required: false, serialized_name: 'isInternal', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, source_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmAccount', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, source_mdm_namespace: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmNamespace', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, resource_id_dimension_name_override: { - client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface.rb index 7c9f26cc96..aa73249e0e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,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: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_association.rb index 5211a6946b..599f18eacf 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 1ebfb75623..9e360283b4 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index e262bad5ae..78ff929785 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -73,7 +73,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,13 +87,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -106,13 +102,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -123,13 +117,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -223,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb index 670819e659..3e95bbb2fa 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 4458ba1bbe..2b33318584 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb index d87ac5b465..450f26e63d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceLoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceLoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group.rb index dec6d8059f..06d173127d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,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: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index ae1727d742..587f60b157 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher.rb index 9dc5fbf44d..e48e6e4081 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -12,8 +12,8 @@ class NetworkWatcher < Resource include MsRestAzure - # @return [String] A unique read-only string that changes whenever the - # resource is updated. + # @return [String] . Default value: 'A unique read-only string that + # changes whenever the resource is updated.' . attr_accessor :etag # @return [ProvisioningState] The provisioning state of the resource. @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,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: { @@ -85,15 +78,14 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', + default_value: 'A unique read-only string that changes whenever the resource is updated.', type: { name: 'String' } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index e44c3ee89f..486e9b7998 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index 35eab694a6..7710bfa690 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_result.rb index 3111ff03af..5883a60be5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation.rb index 5a3d800956..028dd99222 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation.rb @@ -33,7 +33,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, service_specification: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_display.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_display.rb index 4b2b7e1f07..724109984e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_display.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', 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_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_list_result.rb index 6913932348..3ba5bf935c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'OperationListResult', 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: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb index 0316adf6ca..6fff83a856 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb @@ -26,7 +26,6 @@ class OperationPropertiesFormatServiceSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationPropertiesFormat_serviceSpecification', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationPropertiesFormatServiceSpecification', model_properties: { metric_specifications: { - client_side_validation: true, required: false, serialized_name: 'metricSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricSpecificationElementType', type: { @@ -51,13 +48,11 @@ def self.mapper() } }, log_specifications: { - client_side_validation: true, required: false, serialized_name: 'logSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LogSpecificationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index 00f5163aa4..bdc9294b0d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb index f68517d498..ccbeae774c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -12,6 +12,15 @@ class PacketCapture include MsRestAzure + # @return [String] Name of the packet capture. + attr_accessor :name + + # @return [String] ID of the packet capture. + attr_accessor :id + + # @return [String] Packet capture type. + attr_accessor :type + # @return [String] The ID of the targeted resource, only VM is currently # supported. attr_accessor :target @@ -41,15 +50,37 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { name: 'Composite', class_name: 'PacketCapture', model_properties: { + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +88,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +96,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +104,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +112,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +120,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index 2f81141015..8aad4665c8 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 4e62f2856b..b0d940a9bc 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index 0d9b05fa6d..77880f7d49 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index 27f2068a0c..5af84b092f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb index b10e579c7a..68090edd91 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -12,12 +12,15 @@ class PacketCaptureResult include MsRestAzure - # @return [String] Name of the packet capture session. + # @return [String] Name of the packet capture. attr_accessor :name - # @return [String] ID of the packet capture operation. + # @return [String] ID of the packet capture. attr_accessor :id + # @return [String] Packet capture type. + attr_accessor :type + # @return [String] . Default value: 'A unique read-only string that # changes whenever the resource is updated.' . attr_accessor :etag @@ -56,7 +59,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +66,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +74,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -81,8 +81,15 @@ def self.mapper() name: 'String' } }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +98,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +105,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +113,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +121,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +129,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +137,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +152,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index 37b6aed4e4..3ad6edfee9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter.rb index 200c26451d..a413bf1794 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -122,7 +113,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,13 +121,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_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index 250a5bbc4c..6196a8420c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -43,7 +43,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -77,13 +73,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/probe.rb index a27112ba89..e7e527945e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 912d83a015..cae20e8e9e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -65,7 +65,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -90,7 +87,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -99,7 +95,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -107,13 +102,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: { @@ -123,7 +116,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -158,7 +147,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -167,13 +155,11 @@ def self.mapper() } }, ip_tags: { - client_side_validation: true, required: false, serialized_name: 'properties.ipTags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpTagElementType', type: { @@ -184,7 +170,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -192,7 +177,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -200,7 +184,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -208,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -216,7 +198,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -224,13 +205,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 404e826fd5..a6c011a3e0 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index a6f5915fa5..dd9dc363dd 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb index 42c450c235..ae9420c026 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb @@ -23,7 +23,6 @@ class PublicIPAddressSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'PublicIPAddressSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index 406b551059..146c4b6865 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource.rb index 918c51ea02..9898af7ccb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,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_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index 1b348c5a65..1a60c22c78 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index 8f4bd8a02b..8536b79825 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route.rb index 10b4908085..b90b7548d3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter.rb index 6c94d651e3..5eda21ae95 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,13 +101,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -136,7 +124,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index 03be486473..a41aa92e16 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule.rb index 0767b78f8f..de1e706b9d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -46,7 +46,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index c756a24cf0..228496292d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb index a0ea42d430..794ee02784 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table.rb index 81f958efe1..538f6ef667 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table.rb @@ -38,7 +38,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -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() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -80,13 +75,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: { @@ -96,13 +89,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -113,14 +104,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -131,7 +120,6 @@ def self.mapper() } }, disable_bgp_route_propagation: { - client_side_validation: true, required: false, serialized_name: 'properties.disableBgpRoutePropagation', type: { @@ -139,7 +127,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +134,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb index 045abc64bd..f21ecc3059 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index 01ec8e061a..f9879866fc 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index c65869737f..1da1e9e090 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_result.rb index 4a9e700f06..708b685d19 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule.rb index 0855a7e3b5..37c461fc17 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule.rb @@ -97,7 +97,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -105,7 +104,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -113,7 +111,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -121,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +125,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -137,7 +132,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -145,7 +139,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -153,13 +146,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -169,13 +160,11 @@ def self.mapper() } }, source_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -186,7 +175,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -210,13 +196,11 @@ def self.mapper() } }, destination_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -227,13 +211,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -243,13 +225,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -275,7 +253,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -283,7 +260,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -291,7 +267,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -299,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 6523a89c74..cd5e565e77 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index bd8f398545..bbe2b0c969 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb index d2338d4cb8..3dffd85b92 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb @@ -28,7 +28,6 @@ class ServiceEndpointPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormat', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ServiceEndpointPropertiesFormat', model_properties: { service: { - client_side_validation: true, required: false, serialized_name: 'service', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -60,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb index ff36c81f45..cc95dd1dea 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet.rb index 3417296a81..4aed621618 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet.rb @@ -52,7 +52,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, service_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormatElementType', type: { @@ -111,14 +104,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +149,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_association.rb index 8c19cac315..34f81af3e9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb index c22d60fad8..8023edba78 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tags_object.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tags_object.rb index bd8838243c..4e03dc2b4f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tags_object.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tags_object.rb @@ -22,7 +22,6 @@ class TagsObject # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TagsObject', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TagsObject', 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_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology.rb index eb342bfb9f..1abada6a96 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_association.rb index ad2efc902f..0d075f19e0 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb index 0e0ab8949b..31058273a6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -29,7 +29,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: false, serialized_name: 'targetResourceGroupName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'targetVirtualNetwork', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, target_subnet: { - client_side_validation: true, required: false, serialized_name: 'targetSubnet', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb index 41f481d91a..c8e29b4a94 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb new file mode 100644 index 0000000000..a867828b24 --- /dev/null +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.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::Network::Mgmt::V2018_01_01 + module Models + # + # Parameters that define the configuration of traffic analytics. + # + class TrafficAnalyticsConfigurationProperties + + include MsRestAzure + + # @return [Boolean] Flag to enable/disable traffic analytics. + attr_accessor :enabled + + # @return [String] The resource guid of the attached workspace + attr_accessor :workspace_id + + # @return [String] The location of the attached workspace + attr_accessor :workspace_region + + # @return [String] Resource Id of the attached workspace + attr_accessor :workspace_resource_id + + + # + # Mapper for TrafficAnalyticsConfigurationProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TrafficAnalyticsConfigurationProperties', + type: { + name: 'Composite', + class_name: 'TrafficAnalyticsConfigurationProperties', + model_properties: { + enabled: { + required: true, + serialized_name: 'enabled', + type: { + name: 'Boolean' + } + }, + workspace_id: { + required: true, + serialized_name: 'workspaceId', + type: { + name: 'String' + } + }, + workspace_region: { + required: true, + serialized_name: 'workspaceRegion', + type: { + name: 'String' + } + }, + workspace_resource_id: { + required: true, + serialized_name: 'workspaceResourceId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index be937531b5..914a7beb03 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index 7de8830043..f51c097c89 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index 5e4eab0952..cd3f163751 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 0f838f0c74..8fb136dfd3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index e508d576a2..9649969431 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage.rb index 1a8587a1f4..62654dd073 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -62,7 +59,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage_name.rb index e33fe31fd4..ff35e93be6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb index 53f6b037dd..6e4296abe7 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index 5222d80849..2456e00b92 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index 16f3efdb25..272c09c6d6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network.rb index a15f86014d..9a7cdc2292 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -54,7 +54,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,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: { @@ -112,7 +105,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -180,7 +165,6 @@ def self.mapper() } }, enable_ddos_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableDdosProtection', type: { @@ -188,7 +172,6 @@ def self.mapper() } }, enable_vm_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableVmProtection', type: { @@ -196,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb index 799ae75a98..a8060f40fa 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb @@ -23,7 +23,6 @@ class VirtualNetworkConnectionGatewayReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkConnectionGatewayReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VirtualNetworkConnectionGatewayReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index c3a3df31b8..8e57dcc1a4 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,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: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 84ec064635..2d807e5f4c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -88,7 +88,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -96,7 +95,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -104,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +110,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -122,7 +118,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -130,13 +125,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: { @@ -146,7 +139,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -154,7 +146,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -172,7 +162,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -181,7 +170,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -189,7 +177,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -197,7 +184,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -214,14 +199,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -232,7 +215,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -241,7 +223,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -250,7 +231,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -275,13 +253,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -292,7 +268,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -300,7 +275,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -309,7 +283,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb index 629d2929dc..bbba74ffb9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb @@ -89,7 +89,6 @@ class VirtualNetworkGatewayConnectionListEntity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntity', type: { @@ -97,7 +96,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListEntity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -105,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +111,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -123,7 +119,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -131,13 +126,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: { @@ -147,7 +140,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -164,7 +155,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -173,7 +163,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -182,7 +171,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -190,7 +178,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -198,7 +185,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -206,7 +192,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -215,14 +200,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -233,7 +216,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -242,7 +224,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -251,7 +232,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -260,7 +240,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -268,7 +247,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -276,13 +254,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -293,7 +269,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -301,7 +276,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -310,7 +284,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index ece4afda3f..e6cdd023d6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 68a9a2d85d..694a48a0fb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb index 5749b67ab7..67a3a2e973 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListConnectionsResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListConnectionsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntityElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index d55268b9c4..9b6d729844 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index 5d3c7b57de..2382454f2e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 8bb0aa977b..1c19263f23 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb index 61bfae483b..400fae1980 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListUsageResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'VirtualNetworkListUsageResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index 3c6bb4c9b2..287b4e20d1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -65,7 +65,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, remote_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteAddressSpace', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -139,7 +130,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +137,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -155,7 +144,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index c0e5e61dc6..c55a660a98 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb index 7aa347df50..00e2568333 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb @@ -35,7 +35,6 @@ class VirtualNetworkUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualNetworkUsage', model_properties: { current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -52,7 +50,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +58,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +75,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb index a66fb26661..b88fe8c77c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb @@ -25,7 +25,6 @@ class VirtualNetworkUsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualNetworkUsageName', model_properties: { localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 6a3e61f47f..689bf0277a 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -43,7 +43,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -60,13 +58,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { @@ -94,13 +88,11 @@ def self.mapper() } }, vpn_client_protocols: { - client_side_validation: true, required: false, serialized_name: 'vpnClientProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientProtocolElementType', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, radius_server_address: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAddress', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, radius_server_secret: { - client_side_validation: true, required: false, serialized_name: 'radiusServerSecret', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 616c98d9c3..1129540ffc 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -40,7 +40,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'processorArchitecture', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, authentication_method: { - client_side_validation: true, required: false, serialized_name: 'authenticationMethod', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, radius_server_auth_certificate: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAuthCertificate', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'clientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index c325cb06a4..64ca9c1a95 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index 06fce46793..a27cbee4cd 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb index 5d7fe15d80..cd8d63ac80 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb @@ -28,7 +28,6 @@ class VpnDeviceScriptParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnDeviceScriptParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VpnDeviceScriptParameters', model_properties: { vendor: { - client_side_validation: true, required: false, serialized_name: 'vendor', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, device_family: { - client_side_validation: true, required: false, serialized_name: 'deviceFamily', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, firmware_version: { - client_side_validation: true, required: false, serialized_name: 'firmwareVersion', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb index 5bf84acdb7..12e9097f1e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_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 @@ -127,8 +123,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceIPConfiguration] operation results. # - def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, network_interface_name, ip_configuration_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, network_interface_name, ip_configura # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'ip_configuration_name is nil' if ip_configuration_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name # # @return [NetworkInterfaceIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceIPConfigurationListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_load_balancers.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_load_balancers.rb index add22deea7..ba3fb9c3de 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceLoadBalancers include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_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 @@ -126,8 +122,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceLoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceLoadBalancerListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interfaces.rb index 4e26508f36..c9fb9f3475 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [NetworkInterface] operation results. # - def update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, network_interface_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, network_interface_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -431,8 +425,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -445,9 +439,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -473,8 +467,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -487,9 +481,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -514,8 +508,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -529,8 +523,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -543,7 +537,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -551,7 +545,6 @@ def begin_delete_async(resource_group_name, network_interface_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 @@ -598,8 +591,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -615,8 +608,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -631,7 +624,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -640,12 +633,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa 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::Network::Mgmt::V2018_01_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -714,8 +708,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterface] operation results. # - def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -731,8 +725,8 @@ def begin_update_tags(resource_group_name, network_interface_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -747,7 +741,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_interface_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -756,12 +750,13 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet 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::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -818,8 +813,8 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -833,8 +828,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -847,7 +842,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -855,7 +850,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,8 +904,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -925,8 +919,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -939,7 +933,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -947,7 +941,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1002,8 +995,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1017,8 +1010,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1031,12 +1024,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1090,8 +1082,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1105,8 +1097,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1119,12 +1111,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1177,12 +1168,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1198,12 +1189,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb index 272fd65610..966f0b0ec1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb @@ -256,9 +256,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? @@ -280,8 +277,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -297,8 +294,8 @@ def check_dns_name_availability(location, domain_name_label, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -313,7 +310,7 @@ def check_dns_name_availability_with_http_info(location, domain_name_label, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? @@ -321,7 +318,6 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -373,7 +369,9 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2018_01_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2018_01_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_security_groups.rb index cbc62fda2b..dcbd47d62b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -117,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [NetworkSecurityGroup] operation results. # - def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -240,9 +236,9 @@ def update_tags(resource_group_name, network_security_group_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_tags_async(resource_group_name, network_security_group_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -279,8 +275,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -291,13 +287,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -351,8 +346,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -365,8 +360,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -378,14 +373,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -440,8 +434,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -456,8 +450,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -471,7 +465,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +473,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -527,8 +520,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -545,8 +538,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -562,7 +555,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -571,12 +564,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -646,8 +640,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroup] operation results. # - def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -664,8 +658,8 @@ def begin_update_tags(resource_group_name, network_security_group_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -681,7 +675,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_security_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -690,12 +684,13 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa 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::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -752,8 +747,8 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -767,8 +762,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -781,12 +776,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +834,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -855,8 +849,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -869,12 +863,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,12 +920,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -948,12 +941,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_watchers.rb index 5d40dba555..d2e35b3dab 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_watchers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkWatchers include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -53,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -69,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -78,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2018_01_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -150,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -165,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -179,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -187,7 +185,6 @@ def get_async(resource_group_name, network_watcher_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 @@ -240,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -254,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -282,8 +279,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcher] operation results. # - def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -299,8 +296,8 @@ def update_tags(resource_group_name, network_watcher_name, parameters, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -315,7 +312,7 @@ def update_tags_with_http_info(resource_group_name, network_watcher_name, parame # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -324,12 +321,13 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus 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::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -385,8 +383,8 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -399,8 +397,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -412,14 +410,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -472,8 +469,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -485,8 +482,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -497,13 +494,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +556,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +573,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -593,7 +589,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +598,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, 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::Network::Mgmt::V2018_01_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -683,9 +680,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -713,8 +710,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -729,9 +726,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -759,8 +756,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -775,9 +772,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -806,8 +803,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -823,9 +820,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -854,8 +851,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -871,9 +868,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -890,7 +887,7 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, end # - # Configures flow log on a specified resource. + # Configures flow log and traffic analytics (optional) on a specified resource. # # @param resource_group_name [String] The name of the network watcher resource # group. @@ -903,8 +900,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -921,9 +918,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -940,21 +937,22 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, end # - # Queries status of flow log on a specified resource. + # Queries status of flow log and traffic analytics (optional) on a specified + # resource. # # @param resource_group_name [String] The name of the network watcher resource # group. # @param network_watcher_name [String] The name of the network watcher # resource. # @param parameters [FlowLogStatusParameters] Parameters that define a resource - # to query flow log status. + # to query flow log and traffic analytics (optional) status. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -964,16 +962,16 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @param network_watcher_name [String] The name of the network watcher # resource. # @param parameters [FlowLogStatusParameters] Parameters that define a resource - # to query flow log status. + # to query flow log and traffic analytics (optional) status. # @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 get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1005,8 +1003,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # # @return [ConnectivityInformation] operation results. # - def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1023,9 +1021,9 @@ def check_connectivity(resource_group_name, network_watcher_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1056,8 +1054,8 @@ def check_connectivity_async(resource_group_name, network_watcher_name, paramete # # @return [AzureReachabilityReport] operation results. # - def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1074,9 +1072,9 @@ def get_azure_reachability_report(resource_group_name, network_watcher_name, par # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1106,8 +1104,8 @@ def get_azure_reachability_report_async(resource_group_name, network_watcher_nam # # @return [AvailableProvidersList] operation results. # - def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1124,9 +1122,9 @@ def list_available_providers(resource_group_name, network_watcher_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1151,8 +1149,8 @@ def list_available_providers_async(resource_group_name, network_watcher_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -1166,8 +1164,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -1180,7 +1178,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1188,7 +1186,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1236,8 +1233,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1254,8 +1251,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1271,7 +1268,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1280,12 +1277,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet 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::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1354,8 +1352,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1371,8 +1369,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1387,7 +1385,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1396,12 +1394,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete 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::Network::Mgmt::V2018_01_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1470,8 +1469,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1487,8 +1486,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1503,7 +1502,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1512,12 +1511,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, 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::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1587,8 +1587,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1605,8 +1605,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1622,7 +1622,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1631,12 +1631,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1706,8 +1707,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1724,8 +1725,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1741,7 +1742,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1750,12 +1751,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1813,7 +1815,7 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ end # - # Configures flow log on a specified resource. + # Configures flow log and traffic analytics (optional) on a specified resource. # # @param resource_group_name [String] The name of the network watcher resource # group. @@ -1826,13 +1828,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end # - # Configures flow log on a specified resource. + # Configures flow log and traffic analytics (optional) on a specified resource. # # @param resource_group_name [String] The name of the network watcher resource # group. @@ -1845,12 +1847,12 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # - # Configures flow log on a specified resource. + # Configures flow log and traffic analytics (optional) on a specified resource. # # @param resource_group_name [String] The name of the network watcher resource # group. @@ -1863,7 +1865,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1872,12 +1874,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ 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::Network::Mgmt::V2018_01_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1935,57 +1938,60 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ end # - # Queries status of flow log on a specified resource. + # Queries status of flow log and traffic analytics (optional) on a specified + # resource. # # @param resource_group_name [String] The name of the network watcher resource # group. # @param network_watcher_name [String] The name of the network watcher # resource. # @param parameters [FlowLogStatusParameters] Parameters that define a resource - # to query flow log status. + # to query flow log and traffic analytics (optional) status. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end # - # Queries status of flow log on a specified resource. + # Queries status of flow log and traffic analytics (optional) on a specified + # resource. # # @param resource_group_name [String] The name of the network watcher resource # group. # @param network_watcher_name [String] The name of the network watcher # resource. # @param parameters [FlowLogStatusParameters] Parameters that define a resource - # to query flow log status. + # to query flow log and traffic analytics (optional) status. # @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_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # - # Queries status of flow log on a specified resource. + # Queries status of flow log and traffic analytics (optional) on a specified + # resource. # # @param resource_group_name [String] The name of the network watcher resource # group. # @param network_watcher_name [String] The name of the network watcher # resource. # @param parameters [FlowLogStatusParameters] Parameters that define a resource - # to query flow log status. + # to query flow log and traffic analytics (optional) status. # @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_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1994,12 +2000,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p 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::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2072,8 +2079,8 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p # # @return [ConnectivityInformation] operation results. # - def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2093,8 +2100,8 @@ def begin_check_connectivity(resource_group_name, network_watcher_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2113,7 +2120,7 @@ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2122,12 +2129,13 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa 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::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2199,8 +2207,8 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa # # @return [AzureReachabilityReport] operation results. # - def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2219,8 +2227,8 @@ def begin_get_azure_reachability_report(resource_group_name, network_watcher_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2238,7 +2246,7 @@ def begin_get_azure_reachability_report_with_http_info(resource_group_name, netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2247,12 +2255,13 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch 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::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2323,8 +2332,8 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch # # @return [AvailableProvidersList] operation results. # - def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2342,8 +2351,8 @@ def begin_list_available_providers(resource_group_name, network_watcher_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2360,7 +2369,7 @@ def begin_list_available_providers_with_http_info(resource_group_name, network_w # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2369,12 +2378,13 @@ def begin_list_available_providers_async(resource_group_name, network_watcher_na 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::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/operations.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/operations.rb index 08362d483b..78ba72f8dd 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/operations.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/operations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Operations include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,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 # @@ -57,12 +54,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 @@ -116,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -131,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -145,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/packet_captures.rb index ed51c64e33..dd110c228d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/packet_captures.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PacketCaptures include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -232,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -278,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -323,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -338,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -346,7 +342,6 @@ def list_async(resource_group_name, network_watcher_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 @@ -404,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -422,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -439,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -449,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture 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::Network::Mgmt::V2018_01_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -511,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -527,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -542,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -551,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -612,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -627,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -636,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -702,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -719,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -728,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap 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_network/lib/2018-01-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/public_ipaddresses.rb index 75d69f6bc6..9dd3aaa14b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [PublicIPAddress] operation results. # - def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, public_ip_address_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, public_ip_address_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, public_ip_address_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 @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa 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::Network::Mgmt::V2018_01_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddress] operation results. # - def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, public_ip_address_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet 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::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filter_rules.rb index 5c57779176..1bf3905d3d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilterRules include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -281,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -358,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -374,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -389,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -398,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -446,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -481,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -491,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na 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::Network::Mgmt::V2018_01_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -566,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -584,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -601,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -611,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ 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::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -673,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -688,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -702,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filters.rb index 0c5a75d6b6..bcf5e31adb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filters.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilters include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -107,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -234,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -275,8 +271,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 # @@ -288,14 +284,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -348,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +356,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 # @@ -373,13 +368,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -433,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -448,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -462,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -470,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -534,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -550,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -559,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f 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::Network::Mgmt::V2018_01_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -633,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -650,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -666,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -675,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para 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::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -737,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -752,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -766,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -825,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -840,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -854,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -913,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -933,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_tables.rb index e01955e01b..d33ae06de5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_tables.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteTables include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [RouteTable] operation results. # - def update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, route_table_name, parameters, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +254,8 @@ def update_tags_async(resource_group_name, route_table_name, parameters, custom_ # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -272,8 +268,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -285,14 +281,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -345,8 +340,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -358,8 +353,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -370,13 +365,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, route_table_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 @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete 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::Network::Mgmt::V2018_01_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTable] operation results. # - def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, route_table_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, route_table_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c 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::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,12 +903,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/routes.rb index e840683f18..2ab09baec1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/routes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Routes include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, route_table_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 @@ -310,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na 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::Network::Mgmt::V2018_01_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/security_rules.rb index 57eeaac33e..681b15fd57 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class SecurityRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -197,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -226,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -242,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -257,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -265,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -338,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -354,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -363,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -431,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -449,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -459,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam 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::Network::Mgmt::V2018_01_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -531,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -546,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -560,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -621,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/subnets.rb index 9cff131eb6..4d7659d19c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/subnets.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Subnets include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -118,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -193,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -236,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -250,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +254,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -313,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn 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::Network::Mgmt::V2018_01_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/usages.rb index 173cb1033a..02a5df4b6d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/usages.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Usages include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -123,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -138,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -152,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..8092838b8d --- /dev/null +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/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::Network::Mgmt::V2018_01_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index d0ac0087e2..b4fe932515 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGatewayConnections include MsRestAzure @@ -38,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -100,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -115,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update_tags(resource_group_name, virtual_network_gateway_connection_name, pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +268,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_connection_na # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -290,9 +286,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -321,8 +317,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -339,8 +335,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -356,7 +352,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -364,7 +360,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -419,8 +414,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -434,8 +429,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -448,14 +443,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +511,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,9 +529,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -567,8 +561,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -586,8 +580,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -604,7 +598,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -613,12 +607,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -685,8 +680,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -701,8 +696,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -716,7 +711,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -724,7 +719,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -772,8 +766,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -790,8 +784,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_connection_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -807,7 +801,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -816,12 +810,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect 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::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -884,8 +879,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -905,8 +900,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -925,7 +920,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -934,12 +929,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn 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::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1013,8 +1009,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1035,8 +1031,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -1056,7 +1052,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1065,12 +1061,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co 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::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1128,8 +1125,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1144,8 +1141,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1159,12 +1156,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1219,12 +1215,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb index 90f32612ba..c7dd16b983 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -122,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -191,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [VirtualNetworkGateway] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -237,9 +233,9 @@ def update_tags(resource_group_name, virtual_network_gateway_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -264,8 +260,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -278,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -291,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -354,8 +349,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers) first_page.get_all_items end @@ -370,8 +365,8 @@ def list_connections(resource_group_name, virtual_network_gateway_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -385,7 +380,7 @@ def list_connections_with_http_info(resource_group_name, virtual_network_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -393,7 +388,6 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +446,8 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -469,9 +463,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +495,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -518,15 +512,14 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -557,8 +550,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [String] operation results. # - def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,15 +567,14 @@ def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -612,8 +604,8 @@ def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name # # @return [String] operation results. # - def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -627,15 +619,14 @@ def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -664,8 +655,8 @@ def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gatew # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -680,9 +671,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -709,8 +700,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [String] operation results. # - def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -725,8 +716,8 @@ def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -740,7 +731,7 @@ def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_ga # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -748,7 +739,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,7 +771,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -812,8 +801,8 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -827,9 +816,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -858,8 +847,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -874,9 +863,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -906,8 +895,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [String] operation results. # - def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -925,8 +914,8 @@ def vpn_device_configuration_script(resource_group_name, virtual_network_gateway # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -943,7 +932,7 @@ def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -952,12 +941,13 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g 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::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -992,7 +982,6 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1024,8 +1013,8 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1042,8 +1031,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1059,7 +1048,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1068,12 +1057,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na 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::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1140,8 +1130,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -1156,8 +1146,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1171,7 +1161,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1179,7 +1169,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1227,8 +1216,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1245,8 +1234,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1262,7 +1251,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1271,12 +1260,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p 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::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1337,8 +1327,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -1356,8 +1346,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -1374,7 +1364,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1382,7 +1372,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1441,8 +1430,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [String] operation results. # - def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1460,8 +1449,8 @@ def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1478,7 +1467,7 @@ def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1487,12 +1476,13 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga 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::Network::Mgmt::V2018_01_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1527,7 +1517,6 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1560,8 +1549,8 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga # # @return [String] operation results. # - def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1579,8 +1568,8 @@ def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1597,7 +1586,7 @@ def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_netwo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1606,12 +1595,13 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa 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::Network::Mgmt::V2018_01_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1646,7 +1636,6 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1678,8 +1667,8 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa # # @return [String] operation results. # - def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1696,8 +1685,8 @@ def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gatew # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1713,7 +1702,7 @@ def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtua # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1721,7 +1710,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1754,7 +1742,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1785,8 +1772,8 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1802,8 +1789,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1818,7 +1805,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1826,7 +1813,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1883,8 +1869,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1900,8 +1886,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1916,7 +1902,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1924,7 +1910,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1982,8 +1967,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -2000,8 +1985,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -2017,7 +2002,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -2026,7 +2011,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2081,8 +2065,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2096,8 +2080,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2110,12 +2094,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2169,8 +2152,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkGatewayListConnectionsResult] operation results. # - def list_connections_next(next_page_link, custom_headers:nil) - response = list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next(next_page_link, custom_headers = nil) + response = list_connections_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2184,8 +2167,8 @@ def list_connections_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_next_with_http_info(next_page_link, custom_headers:nil) - list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next_with_http_info(next_page_link, custom_headers = nil) + list_connections_next_async(next_page_link, custom_headers).value! end # @@ -2198,12 +2181,11 @@ def list_connections_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_next_async(next_page_link, custom_headers:nil) + def list_connections_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2257,12 +2239,12 @@ def list_connections_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2280,12 +2262,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkGatewayListConnectionsResult] which provide lazy # access to pages of the response. # - def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_connections_next_async(next_page_link, custom_headers:custom_headers) + list_connections_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_peerings.rb index ba9bc3f7d2..1e4166bf92 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkPeerings include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -178,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -195,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -238,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -252,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +256,6 @@ def list_async(resource_group_name, virtual_network_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 @@ -316,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -333,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -349,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -358,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -406,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -424,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -441,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -451,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt 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::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -523,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -538,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -552,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -612,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_networks.rb index 28ec118398..3c7ee90777 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_networks.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworks include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [VirtualNetwork] operation results. # - def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, virtual_network_name, parameters, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, virtual_network_name, parameters, cus # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -432,8 +426,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -448,8 +442,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -463,7 +457,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -471,7 +465,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -526,8 +519,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # # @return [Array] operation results. # - def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list_usage(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -541,8 +534,8 @@ def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -555,7 +548,7 @@ def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_usage_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -563,7 +556,6 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -617,8 +609,8 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -632,8 +624,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -646,7 +638,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +646,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +692,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -718,8 +709,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -734,7 +725,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -743,12 +734,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para 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::Network::Mgmt::V2018_01_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -817,8 +809,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetwork] operation results. # - def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -834,8 +826,8 @@ def begin_update_tags(resource_group_name, virtual_network_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -850,7 +842,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -859,12 +851,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, 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::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -921,8 +914,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -936,8 +929,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -950,12 +943,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1009,8 +1001,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1024,8 +1016,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1038,12 +1030,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1097,8 +1088,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListUsageResult] operation results. # - def list_usage_next(next_page_link, custom_headers:nil) - response = list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next(next_page_link, custom_headers = nil) + response = list_usage_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1112,8 +1103,8 @@ def list_usage_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_next_with_http_info(next_page_link, custom_headers:nil) - list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next_with_http_info(next_page_link, custom_headers = nil) + list_usage_next_async(next_page_link, custom_headers).value! end # @@ -1126,12 +1117,11 @@ def list_usage_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_next_async(next_page_link, custom_headers:nil) + def list_usage_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1184,12 +1174,12 @@ def list_usage_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1205,12 +1195,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1227,12 +1217,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkListUsageResult] which provide lazy access to pages of # the response. # - def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_usage_next_async(next_page_link, custom_headers:custom_headers) + list_usage_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/profiles/latest/modules/network_profile_module.rb b/management/azure_mgmt_network/lib/profiles/latest/modules/network_profile_module.rb index 02519799a1..c5afcd8c75 100644 --- a/management/azure_mgmt_network/lib/profiles/latest/modules/network_profile_module.rb +++ b/management/azure_mgmt_network/lib/profiles/latest/modules/network_profile_module.rb @@ -45,149 +45,149 @@ module Mgmt LocalNetworkGateways = Azure::Network::Mgmt::V2018_01_01::LocalNetworkGateways module Models - TopologyParameters = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters TopologyAssociation = Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation - PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource + TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource OperationListResult = Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult - VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters Operation = Azure::Network::Mgmt::V2018_01_01::Models::Operation NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification - LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult - LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference LoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult - PublicIPAddressSku = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku + ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey InboundNatRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult - IpTag = Azure::Network::Mgmt::V2018_01_01::Models::IpTag + PublicIPAddressSku = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerBackendAddressPoolListResult - IpsecPolicy = Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy + IpTag = Azure::Network::Mgmt::V2018_01_01::Models::IpTag LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult - GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult - ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + TunnelConnectionHealth = Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult - ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining + ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult - ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer + ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining ErrorDetails = Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails - ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool + ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer Error = Azure::Network::Mgmt::V2018_01_01::Models::Error - ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult - GatewayRoute = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute + ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult - BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult - VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku + BgpPeerStatus = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation - VirtualNetworkUsage = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage + VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule - VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName + VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroup - VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + VirtualNetworkUsage = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupListResult - ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult EffectiveRoute = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute - VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup EffectiveRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult - ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule + DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions SecurityRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult - SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult - AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace - MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification - ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification + SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult NetworkWatcherListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult + ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + TopologyParameters = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters TagsObject = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject - SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource - DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult Dimension = Azure::Network::Mgmt::V2018_01_01::Models::Dimension - EndpointServicesListResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult - TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource - AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult + UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification + Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage Topology = Azure::Network::Mgmt::V2018_01_01::Models::Topology - BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult + ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters - BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity + ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats VerificationIPFlowResult = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult - Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig + BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity NextHopParameters = Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters - ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku + ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult NextHopResult = Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult - RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties SecurityGroupViewParameters = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters - ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable NetworkInterfaceAssociation = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation - ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable SubnetAssociation = Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation - ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary SecurityRuleAssociations = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface - ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult SecurityGroupViewResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult - RouteFilterListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult + LoadBalancerSku = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku PacketCaptureStorageLocation = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureStorageLocation - VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult + RouteFilterListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult PacketCaptureFilter = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureFilter - ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters PacketCaptureParameters = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult PacketCapture = Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture - TunnelConnectionHealth = Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings PacketCaptureResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + IpsecPolicy = Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy PacketCaptureListResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureListResult - ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings + BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult - ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy + ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings TroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters - VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy QueryTroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters - ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch + BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings TroubleshootingRecommendedActions = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions - DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch TroubleshootingDetails = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails - ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult TroubleshootingResult = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult - ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult RetentionPolicyParameters = Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters + ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + TrafficAnalyticsConfigurationProperties = Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties Resource = Azure::Network::Mgmt::V2018_01_01::Models::Resource FlowLogStatusParameters = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters - Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage + EndpointServicesListResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult FlowLogInformation = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation - ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName ConnectivitySource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource - RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig ConnectivityDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination - ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult ConnectivityParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters - ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult ConnectivityIssue = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue - ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered ConnectivityHop = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop - LoadBalancerSku = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku + RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult ConnectivityInformation = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityInformation - VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference + VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult AzureReachabilityReportLocation = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey AzureReachabilityReportParameters = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters - VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo - BgpPeerStatus = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus + GatewayRoute = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute AzureReachabilityReportItem = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportItem - IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult + VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName AzureReachabilityReport = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReport ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleGroup AvailableProvidersListParameters = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters - ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult + DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult AvailableProvidersListCity = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity - ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult AvailableProvidersListState = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable + ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult AvailableProvidersListCountry = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry - RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult AvailableProvidersList = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList ServiceEndpointPropertiesFormat = Azure::Network::Mgmt::V2018_01_01::Models::ServiceEndpointPropertiesFormat ConnectionMonitorSource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorSource @@ -195,18 +195,19 @@ module Models ConnectionMonitorDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorDestination ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters - UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName + AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult ConnectionMonitor = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor - ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary + ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult ConnectionMonitorResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult - BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult + GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult - UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace ConnectionStateSnapshot = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot + PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult - ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku OperationDisplay = Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay - VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult + VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku Availability = Azure::Network::Mgmt::V2018_01_01::Models::Availability BackendAddressPool = Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool InboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRule @@ -414,21 +415,18 @@ def method_missing(method, *args) end class ModelClasses - def topology_parameters - Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters - end def topology_association Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + def sub_resource + Azure::Network::Mgmt::V2018_01_01::Models::SubResource + end + def topology_resource + Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource end def operation_list_result Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult end - def vpn_device_script_parameters - Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters - end def operation Azure::Network::Mgmt::V2018_01_01::Models::Operation end @@ -438,380 +436,383 @@ def network_interface_dns_settings def operation_properties_format_service_specification Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification end - def local_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult - end - def log_specification - Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - end - def connection_reset_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + def virtual_network_connection_gateway_reference + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference end def load_balancer_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult end - def public_ipaddress_sku - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku + def connection_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey end def inbound_nat_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult end - def ip_tag - Azure::Network::Mgmt::V2018_01_01::Models::IpTag + def public_ipaddress_sku + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku end def load_balancer_backend_address_pool_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerBackendAddressPoolListResult end - def ipsec_policy - Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy + def ip_tag + Azure::Network::Mgmt::V2018_01_01::Models::IpTag end def load_balancer_frontend_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult end - def gateway_route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult end def load_balancer_load_balancing_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult end - def application_gateway_backend_address - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + def tunnel_connection_health + Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth end def load_balancer_probe_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult end - def application_gateway_connection_draining - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining + def application_gateway_backend_address + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress end def network_interface_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult end - def application_gateway_backend_health_server - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer + def application_gateway_connection_draining + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining end def error_details Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails end - def application_gateway_backend_health_pool - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool + def application_gateway_backend_health_server + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer end def error Azure::Network::Mgmt::V2018_01_01::Models::Error end - def application_gateway_sku - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + def application_gateway_backend_health_pool + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool end def azure_async_operation_result Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult end - def gateway_route - Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute + def application_gateway_sku + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku end def network_interface_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult end - def bgp_settings - Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + def vpn_client_parameters + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters end def network_interface_load_balancer_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult end - def virtual_network_gateway_sku - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku + def bgp_peer_status + Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus end def effective_network_security_group_association Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation end - def virtual_network_usage - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage + def vpn_client_configuration + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration end def effective_network_security_rule Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule end - def virtual_network_usage_name - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName + def virtual_network_list_usage_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult end def effective_network_security_group Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroup end - def virtual_network_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + def virtual_network_usage + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage end def effective_network_security_group_list_result Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupListResult end - def application_gateway_firewall_disabled_rule_group - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + def ipaddress_availability_result + Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult end def effective_route Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute end - def virtual_network_peering_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + def application_gateway_firewall_disabled_rule_group + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup end def effective_route_list_result Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult end - def application_gateway_firewall_rule - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule + def dhcp_options + Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions end def security_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult end - def subnet_list_result - Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + def application_gateway_firewall_rule + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule end def network_security_group_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult end - def address_space - Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace + def virtual_network_peering_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult end - def metric_specification - Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification + def log_specification + Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification end - def application_gateway_available_ssl_predefined_policies - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + def subnet_list_result + Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult end def network_watcher_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult end + def application_gateway_available_ssl_predefined_policies + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + end + def topology_parameters + Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters + end def tags_object Azure::Network::Mgmt::V2018_01_01::Models::TagsObject end - def sub_resource - Azure::Network::Mgmt::V2018_01_01::Models::SubResource - end - def dns_name_availability_result - Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + def application_security_group_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult end def dimension Azure::Network::Mgmt::V2018_01_01::Models::Dimension end - def endpoint_services_list_result - Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult + def usages_list_result + Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult end - def topology_resource - Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource + def metric_specification + Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification end - def authorization_list_result - Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult + def usage + Azure::Network::Mgmt::V2018_01_01::Models::Usage end def topology Azure::Network::Mgmt::V2018_01_01::Models::Topology end - def bgp_service_community_list_result - Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult + def express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig end def verification_ipflow_parameters Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters end - def bgpcommunity - Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity + def express_route_circuit_stats + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats end def verification_ipflow_result Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult end - def ipv6_express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig + def bgpcommunity + Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity end def next_hop_parameters Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters end - def express_route_circuit_sku - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku + def express_route_circuit_peering_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult end def next_hop_result Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult end - def route_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + def express_route_circuit_service_provider_properties + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties end def security_group_view_parameters Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters end - def express_route_circuits_arp_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult + def express_route_circuit_arp_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable end def network_interface_association Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation end - def express_route_circuits_routes_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + def express_route_circuit_routes_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable end def subnet_association Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation end - def express_route_circuits_routes_table_summary_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + def express_route_circuit_routes_table_summary + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary end def security_rule_associations Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + def express_route_circuit_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult end def security_group_network_interface Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + def route_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult end def security_group_view_result Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult end - def route_filter_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult + def load_balancer_sku + Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku end def packet_capture_storage_location Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureStorageLocation end - def virtual_network_gateway_list_connections_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult + def route_filter_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult end def packet_capture_filter Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureFilter end - def connection_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + def vpn_device_script_parameters + Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters end def packet_capture_parameters Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + def local_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult end def packet_capture Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture end - def tunnel_connection_health - Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings end def packet_capture_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + def ipsec_policy + Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy end def packet_capture_list_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureListResult end - def application_gateway_backend_health_http_settings - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings + def bgp_peer_status_list_result + Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult end def packet_capture_query_status_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult end - def application_gateway_ssl_policy - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy + def application_gateway_backend_health_http_settings + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings end def troubleshooting_parameters Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters end - def vpn_client_configuration - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + def application_gateway_ssl_policy + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy end def query_troubleshooting_parameters Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters end - def application_gateway_probe_health_response_match - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch + def bgp_settings + Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings end def troubleshooting_recommended_actions Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions end - def dhcp_options - Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + def application_gateway_probe_health_response_match + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch end def troubleshooting_details Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails end - def application_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + def virtual_network_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult end def troubleshooting_result Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult end - def application_gateway_available_waf_rule_sets_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + def application_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult end def retention_policy_parameters Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters end + def application_gateway_available_waf_rule_sets_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + end + def traffic_analytics_configuration_properties + Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties + end def resource Azure::Network::Mgmt::V2018_01_01::Models::Resource end def flow_log_status_parameters Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters end - def usage - Azure::Network::Mgmt::V2018_01_01::Models::Usage + def endpoint_services_list_result + Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult end def flow_log_information Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation end - def express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + def usage_name + Azure::Network::Mgmt::V2018_01_01::Models::UsageName end def connectivity_source Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource end - def route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + def ipv6_express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end def connectivity_destination Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination end - def express_route_circuit_service_provider_properties - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + def route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult end def connectivity_parameters Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters end - def express_route_circuit_routes_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + def express_route_circuits_routes_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult end def connectivity_issue Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue end - def express_route_circuit_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + def express_route_service_provider_bandwidths_offered + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered end def connectivity_hop Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop end - def load_balancer_sku - Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku + def route_filter_rule_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult end def connectivity_information Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityInformation end - def virtual_network_connection_gateway_reference - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference + def virtual_network_gateway_list_connections_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult end def azure_reachability_report_location Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + def connection_reset_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey end def azure_reachability_report_parameters Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters end - def vpn_client_parameters - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult end def azure_reachability_report_latency_info Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo end - def bgp_peer_status - Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus + def gateway_route + Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute end def azure_reachability_report_item Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportItem end - def ipaddress_availability_result - Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult + def virtual_network_usage_name + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName end def azure_reachability_report Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReport @@ -822,26 +823,26 @@ def application_gateway_firewall_rule_group def available_providers_list_parameters Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters end - def application_security_group_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult + def dns_name_availability_result + Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult end def available_providers_list_city Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity end - def express_route_circuit_stats - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + def bgp_service_community_list_result + Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult end def available_providers_list_state Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState end - def express_route_circuit_arp_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult end def available_providers_list_country Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry end - def route_filter_rule_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult end def available_providers_list Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList @@ -864,41 +865,44 @@ def application_gateway_web_application_firewall_configuration def connection_monitor_parameters Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters end - def usage_name - Azure::Network::Mgmt::V2018_01_01::Models::UsageName + def authorization_list_result + Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult end def connection_monitor Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor end - def express_route_circuit_routes_table_summary - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary + def express_route_circuits_routes_table_summary_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end def connection_monitor_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult end - def bgp_peer_status_list_result - Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult + def gateway_route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult end def connection_monitor_list_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult end - def usages_list_result - Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + def address_space + Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace end def connection_state_snapshot Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot end + def public_ipaddress_list_result + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + end def connection_monitor_query_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult end - def express_route_circuit_peering_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + def express_route_circuit_sku + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku end def operation_display Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay end - def virtual_network_list_usage_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult + def virtual_network_gateway_sku + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku end def availability Azure::Network::Mgmt::V2018_01_01::Models::Availability From 39594ee550cd49de4a7a481deb54a06a9c7a4cf0 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 14:40:04 -0700 Subject: [PATCH 12/22] Generated from 925983c22f5abe481e6168c9811e20e8cc44ec5c (#1320) (#1321) [Storage] modify as review comments --- .../models/check_name_availability_result.rb | 4 - .../models/custom_domain.rb | 3 - .../azure_mgmt_storage/models/endpoints.rb | 4 - .../azure_mgmt_storage/models/resource.rb | 7 - .../models/storage_account.rb | 18 -- ...ount_check_name_availability_parameters.rb | 3 - .../storage_account_create_parameters.rb | 8 - .../models/storage_account_keys.rb | 3 - .../models/storage_account_list_result.rb | 4 - ...orage_account_regenerate_key_parameters.rb | 2 - .../storage_account_update_parameters.rb | 9 - .../azure_mgmt_storage/models/sub_resource.rb | 2 - .../azure_mgmt_storage/models/usage.rb | 5 - .../models/usage_list_result.rb | 3 - .../azure_mgmt_storage/models/usage_name.rb | 3 - .../azure_mgmt_storage/storage_accounts.rb | 149 +++++------ .../storage_management_client.rb | 3 - .../azure_mgmt_storage/usage_operations.rb | 11 +- .../generated/azure_mgmt_storage/version.rb | 8 + .../models/check_name_availability_result.rb | 4 - .../models/custom_domain.rb | 3 - .../azure_mgmt_storage/models/endpoints.rb | 5 - .../azure_mgmt_storage/models/resource.rb | 7 - .../models/storage_account.rb | 18 -- ...ount_check_name_availability_parameters.rb | 3 - .../storage_account_create_parameters.rb | 5 - .../models/storage_account_keys.rb | 3 - .../models/storage_account_list_result.rb | 3 - ...orage_account_regenerate_key_parameters.rb | 2 - .../storage_account_update_parameters.rb | 5 - .../azure_mgmt_storage/models/usage.rb | 5 - .../models/usage_list_result.rb | 3 - .../azure_mgmt_storage/models/usage_name.rb | 3 - .../azure_mgmt_storage/storage_accounts.rb | 148 ++++------- .../storage_management_client.rb | 3 - .../azure_mgmt_storage/usage_operations.rb | 11 +- .../generated/azure_mgmt_storage/version.rb | 8 + .../models/check_name_availability_result.rb | 4 - .../models/custom_domain.rb | 3 - .../azure_mgmt_storage/models/encryption.rb | 3 - .../models/encryption_service.rb | 3 - .../models/encryption_services.rb | 2 - .../azure_mgmt_storage/models/endpoints.rb | 5 - .../azure_mgmt_storage/models/resource.rb | 7 - .../azure_mgmt_storage/models/sku.rb | 3 - .../models/storage_account.rb | 21 -- ...ount_check_name_availability_parameters.rb | 3 - .../storage_account_create_parameters.rb | 9 - .../models/storage_account_key.rb | 4 - .../storage_account_list_keys_result.rb | 3 - .../models/storage_account_list_result.rb | 3 - ...orage_account_regenerate_key_parameters.rb | 2 - .../storage_account_update_parameters.rb | 7 - .../azure_mgmt_storage/models/usage.rb | 5 - .../models/usage_list_result.rb | 3 - .../azure_mgmt_storage/models/usage_name.rb | 3 - .../azure_mgmt_storage/storage_accounts.rb | 127 ++++----- .../storage_management_client.rb | 3 - .../azure_mgmt_storage/usage_operations.rb | 11 +- .../generated/azure_mgmt_storage/version.rb | 8 + .../models/account_sas_parameters.rb | 9 - .../models/check_name_availability_result.rb | 4 - .../models/custom_domain.rb | 3 - .../azure_mgmt_storage/models/encryption.rb | 3 - .../models/encryption_service.rb | 3 - .../models/encryption_services.rb | 5 - .../azure_mgmt_storage/models/endpoints.rb | 5 - .../models/list_account_sas_response.rb | 2 - .../models/list_service_sas_response.rb | 2 - .../azure_mgmt_storage/models/resource.rb | 7 - .../models/service_sas_parameters.rb | 19 -- .../azure_mgmt_storage/models/sku.rb | 3 - .../models/storage_account.rb | 22 -- ...ount_check_name_availability_parameters.rb | 3 - .../storage_account_create_parameters.rb | 10 - .../models/storage_account_key.rb | 4 - .../storage_account_list_keys_result.rb | 3 - .../models/storage_account_list_result.rb | 3 - ...orage_account_regenerate_key_parameters.rb | 2 - .../storage_account_update_parameters.rb | 8 - .../azure_mgmt_storage/models/usage.rb | 5 - .../models/usage_list_result.rb | 3 - .../azure_mgmt_storage/models/usage_name.rb | 3 - .../azure_mgmt_storage/storage_accounts.rb | 184 +++++-------- .../storage_management_client.rb | 3 - .../azure_mgmt_storage/usage_operations.rb | 11 +- .../generated/azure_mgmt_storage/version.rb | 8 + .../models/account_sas_parameters.rb | 9 - .../models/check_name_availability_result.rb | 4 - .../models/custom_domain.rb | 3 - .../azure_mgmt_storage/models/dimension.rb | 3 - .../azure_mgmt_storage/models/encryption.rb | 4 - .../models/encryption_service.rb | 3 - .../models/encryption_services.rb | 5 - .../azure_mgmt_storage/models/endpoints.rb | 5 - .../azure_mgmt_storage/models/identity.rb | 4 - .../azure_mgmt_storage/models/iprule.rb | 3 - .../models/key_vault_properties.rb | 4 - .../models/list_account_sas_response.rb | 2 - .../models/list_service_sas_response.rb | 2 - .../models/metric_specification.rb | 11 - .../models/network_rule_set.rb | 7 - .../azure_mgmt_storage/models/operation.rb | 5 - .../models/operation_display.rb | 4 - .../models/operation_list_result.rb | 3 - .../azure_mgmt_storage/models/resource.rb | 7 - .../azure_mgmt_storage/models/restriction.rb | 5 - .../models/service_sas_parameters.rb | 19 -- .../models/service_specification.rb | 3 - .../azure_mgmt_storage/models/sku.rb | 11 - .../models/skucapability.rb | 3 - .../models/storage_account.rb | 24 -- ...ount_check_name_availability_parameters.rb | 3 - .../storage_account_create_parameters.rb | 12 - .../models/storage_account_key.rb | 4 - .../storage_account_list_keys_result.rb | 3 - .../models/storage_account_list_result.rb | 3 - ...orage_account_regenerate_key_parameters.rb | 2 - .../storage_account_update_parameters.rb | 10 - .../models/storage_sku_list_result.rb | 3 - .../azure_mgmt_storage/models/usage.rb | 5 - .../models/usage_list_result.rb | 3 - .../azure_mgmt_storage/models/usage_name.rb | 3 - .../models/virtual_network_rule.rb | 4 - .../azure_mgmt_storage/operations.rb | 11 +- .../generated/azure_mgmt_storage/skus.rb | 11 +- .../azure_mgmt_storage/storage_accounts.rb | 184 +++++-------- .../storage_management_client.rb | 3 - .../azure_mgmt_storage/usage_operations.rb | 11 +- .../generated/azure_mgmt_storage/version.rb | 8 + .../models/account_sas_parameters.rb | 9 - .../models/check_name_availability_result.rb | 4 - .../models/custom_domain.rb | 3 - .../azure_mgmt_storage/models/dimension.rb | 3 - .../azure_mgmt_storage/models/encryption.rb | 4 - .../models/encryption_service.rb | 3 - .../models/encryption_services.rb | 5 - .../azure_mgmt_storage/models/endpoints.rb | 5 - .../azure_mgmt_storage/models/identity.rb | 4 - .../azure_mgmt_storage/models/iprule.rb | 3 - .../models/key_vault_properties.rb | 4 - .../models/list_account_sas_response.rb | 2 - .../models/list_service_sas_response.rb | 2 - .../models/metric_specification.rb | 11 - .../models/network_rule_set.rb | 7 - .../azure_mgmt_storage/models/operation.rb | 5 - .../models/operation_display.rb | 4 - .../models/operation_list_result.rb | 3 - .../azure_mgmt_storage/models/resource.rb | 7 - .../azure_mgmt_storage/models/restriction.rb | 5 - .../models/service_sas_parameters.rb | 19 -- .../models/service_specification.rb | 3 - .../azure_mgmt_storage/models/sku.rb | 11 - .../models/skucapability.rb | 3 - .../models/storage_account.rb | 24 -- ...ount_check_name_availability_parameters.rb | 3 - .../storage_account_create_parameters.rb | 12 - .../models/storage_account_key.rb | 4 - .../storage_account_list_keys_result.rb | 3 - .../models/storage_account_list_result.rb | 3 - ...orage_account_regenerate_key_parameters.rb | 2 - .../storage_account_update_parameters.rb | 11 - .../models/storage_sku_list_result.rb | 3 - .../azure_mgmt_storage/models/usage.rb | 5 - .../models/usage_list_result.rb | 3 - .../azure_mgmt_storage/models/usage_name.rb | 3 - .../models/virtual_network_rule.rb | 4 - .../azure_mgmt_storage/operations.rb | 11 +- .../generated/azure_mgmt_storage/skus.rb | 11 +- .../azure_mgmt_storage/storage_accounts.rb | 184 +++++-------- .../storage_management_client.rb | 3 - .../azure_mgmt_storage/usage_operations.rb | 11 +- .../generated/azure_mgmt_storage/version.rb | 8 + .../azure_mgmt_storage/blob_containers.rb | 250 +++++------------- .../models/account_sas_parameters.rb | 9 - .../models/azure_entity_resource.rb | 5 - .../models/blob_container.rb | 16 -- .../models/check_name_availability_result.rb | 4 - .../models/custom_domain.rb | 3 - .../azure_mgmt_storage/models/dimension.rb | 3 - .../azure_mgmt_storage/models/encryption.rb | 4 - .../models/encryption_service.rb | 3 - .../models/encryption_services.rb | 5 - .../azure_mgmt_storage/models/endpoints.rb | 5 - .../azure_mgmt_storage/models/identity.rb | 4 - .../models/immutability_policy.rb | 7 - .../models/immutability_policy_properties.rb | 6 - .../azure_mgmt_storage/models/iprule.rb | 3 - .../models/key_vault_properties.rb | 4 - .../azure_mgmt_storage/models/legal_hold.rb | 4 - .../models/legal_hold_properties.rb | 4 - .../models/list_account_sas_response.rb | 2 - .../models/list_container_item.rb | 16 -- .../models/list_container_items.rb | 3 - .../models/list_service_sas_response.rb | 2 - .../models/metric_specification.rb | 11 - .../models/network_rule_set.rb | 7 - .../azure_mgmt_storage/models/operation.rb | 5 - .../models/operation_display.rb | 4 - .../models/operation_list_result.rb | 3 - .../models/proxy_resource.rb | 4 - .../azure_mgmt_storage/models/resource.rb | 4 - .../azure_mgmt_storage/models/restriction.rb | 5 - .../models/service_sas_parameters.rb | 19 -- .../models/service_specification.rb | 3 - .../azure_mgmt_storage/models/sku.rb | 11 - .../models/skucapability.rb | 3 - .../models/storage_account.rb | 24 -- ...ount_check_name_availability_parameters.rb | 3 - .../storage_account_create_parameters.rb | 12 - .../models/storage_account_key.rb | 4 - .../storage_account_list_keys_result.rb | 3 - .../models/storage_account_list_result.rb | 3 - ...orage_account_regenerate_key_parameters.rb | 2 - .../storage_account_update_parameters.rb | 11 - .../models/storage_sku_list_result.rb | 3 - .../azure_mgmt_storage/models/tag_property.rb | 6 - .../models/tracked_resource.rb | 7 - .../models/update_history_property.rb | 7 - .../azure_mgmt_storage/models/usage.rb | 5 - .../models/usage_list_result.rb | 3 - .../azure_mgmt_storage/models/usage_name.rb | 3 - .../models/virtual_network_rule.rb | 4 - .../azure_mgmt_storage/operations.rb | 12 +- .../generated/azure_mgmt_storage/skus.rb | 13 +- .../azure_mgmt_storage/storage_accounts.rb | 206 +++++---------- .../storage_management_client.rb | 7 +- .../azure_mgmt_storage/usage_operations.rb | 26 +- .../generated/azure_mgmt_storage/version.rb | 8 + .../lib/azure_mgmt_storage.rb | 10 +- 230 files changed, 677 insertions(+), 2086 deletions(-) create mode 100644 management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/version.rb create mode 100644 management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/version.rb create mode 100644 management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/version.rb create mode 100644 management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/version.rb create mode 100644 management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/version.rb create mode 100644 management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/version.rb create mode 100644 management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/version.rb diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/check_name_availability_result.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/check_name_availability_result.rb index 47c6c2ecc4..5a22541791 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/check_name_availability_result.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/check_name_availability_result.rb @@ -33,7 +33,6 @@ class CheckNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityResult', model_properties: { name_available: { - client_side_validation: true, required: false, serialized_name: 'nameAvailable', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, serialized_name: 'reason', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/custom_domain.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/custom_domain.rb index a2281d5adf..0611d8f924 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/custom_domain.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/custom_domain.rb @@ -28,7 +28,6 @@ class CustomDomain # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CustomDomain', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'CustomDomain', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, use_sub_domain: { - client_side_validation: true, required: false, serialized_name: 'useSubDomain', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/endpoints.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/endpoints.rb index b41510757d..7366cadba8 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/endpoints.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/endpoints.rb @@ -29,7 +29,6 @@ class Endpoints # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Endpoints', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Endpoints', model_properties: { blob: { - client_side_validation: true, required: false, serialized_name: 'blob', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, queue: { - client_side_validation: true, required: false, serialized_name: 'queue', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, serialized_name: 'table', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/resource.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/resource.rb index 68753b5b99..fe17cacacf 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/resource.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -78,13 +73,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_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account.rb index d19d1c6a88..3f2b921162 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account.rb @@ -75,7 +75,6 @@ class StorageAccount < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { @@ -83,7 +82,6 @@ def self.mapper() class_name: 'StorageAccount', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -92,7 +90,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -101,7 +98,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -110,7 +106,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -118,13 +113,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: { @@ -134,7 +127,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -143,7 +135,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -152,7 +143,6 @@ def self.mapper() } }, primary_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryEndpoints', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, primary_location: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryLocation', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, status_of_primary: { - client_side_validation: true, required: false, serialized_name: 'properties.statusOfPrimary', type: { @@ -178,7 +166,6 @@ def self.mapper() } }, last_geo_failover_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastGeoFailoverTime', type: { @@ -186,7 +173,6 @@ def self.mapper() } }, secondary_location: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryLocation', type: { @@ -194,7 +180,6 @@ def self.mapper() } }, status_of_secondary: { - client_side_validation: true, required: false, serialized_name: 'properties.statusOfSecondary', type: { @@ -203,7 +188,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { @@ -211,7 +195,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -220,7 +203,6 @@ def self.mapper() } }, secondary_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryEndpoints', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb index 91b5cbae33..ad3bd01344 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb @@ -27,7 +27,6 @@ class StorageAccountCheckNameAvailabilityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCheckNameAvailabilityParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'StorageAccountCheckNameAvailabilityParameters', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb index e8173866f5..115fdbbe5d 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb @@ -24,7 +24,6 @@ class StorageAccountCreateParameters < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCreateParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'StorageAccountCreateParameters', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -67,13 +62,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: { @@ -83,7 +76,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_keys.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_keys.rb index a248f46224..7f5b64dec4 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_keys.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_keys.rb @@ -25,7 +25,6 @@ class StorageAccountKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKeys', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'StorageAccountKeys', 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_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_list_result.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_list_result.rb index 78687ff0e8..82cc0fcbab 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_list_result.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'StorageAccountListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb index 53f4e1dee2..1a8ade34bf 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb @@ -23,7 +23,6 @@ class StorageAccountRegenerateKeyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountRegenerateKeyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'StorageAccountRegenerateKeyParameters', model_properties: { key_name: { - client_side_validation: true, required: false, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb index d9caeb7160..d5af8b4aa8 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb @@ -32,7 +32,6 @@ class StorageAccountUpdateParameters < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountUpdateParameters', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'StorageAccountUpdateParameters', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -75,13 +70,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: { @@ -91,7 +84,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/sub_resource.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/sub_resource.rb index 30a23a3c31..55f621b51d 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/sub_resource.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage.rb index 710bb2595a..03b0b10614 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, serialized_name: 'currentValue', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, serialized_name: 'limit', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_list_result.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_list_result.rb index a97d07d8d1..338f60eaed 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_list_result.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_list_result.rb @@ -22,7 +22,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_name.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_name.rb index b9b630a597..be1fc9d6d1 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_name.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_accounts.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_accounts.rb index dd6af902ca..b3fd130dd8 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_accounts.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_accounts.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [CheckNameAvailabilityResult] operation results. # - def check_name_availability(account_name, custom_headers:nil) - response = check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability(account_name, custom_headers = nil) + response = check_name_availability_async(account_name, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def check_name_availability(account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(account_name, custom_headers:nil) - check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(account_name, custom_headers = nil) + check_name_availability_async(account_name, custom_headers).value! end # @@ -66,19 +66,20 @@ def check_name_availability_with_http_info(account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(account_name, custom_headers:nil) + def check_name_availability_async(account_name, custom_headers = nil) fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2015_05_01_preview::Models::StorageAccountCheckNameAvailabilityParameters.mapper() request_content = @client.serialize(request_mapper, account_name) @@ -144,8 +145,8 @@ def check_name_availability_async(account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def create(resource_group_name, account_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -163,9 +164,9 @@ def create(resource_group_name, account_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def create_async(resource_group_name, account_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -193,8 +194,8 @@ def create_async(resource_group_name, account_name, parameters, custom_headers:n # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, custom_headers).value! nil end @@ -211,8 +212,8 @@ def delete(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) - delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, custom_headers = nil) + delete_async(resource_group_name, account_name, custom_headers).value! end # @@ -228,7 +229,7 @@ def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -236,7 +237,6 @@ def delete_async(resource_group_name, account_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 @@ -286,8 +286,8 @@ def delete_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def get_properties(resource_group_name, account_name, custom_headers:nil) - response = get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties(resource_group_name, account_name, custom_headers = nil) + response = get_properties_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -306,8 +306,8 @@ def get_properties(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_properties_with_http_info(resource_group_name, account_name, custom_headers:nil) - get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties_with_http_info(resource_group_name, account_name, custom_headers = nil) + get_properties_async(resource_group_name, account_name, custom_headers).value! end # @@ -325,7 +325,7 @@ def get_properties_with_http_info(resource_group_name, account_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_properties_async(resource_group_name, account_name, custom_headers:nil) + def get_properties_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -333,7 +333,6 @@ def get_properties_async(resource_group_name, account_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 @@ -402,8 +401,8 @@ def get_properties_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def update(resource_group_name, account_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -431,8 +430,8 @@ def update(resource_group_name, account_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -459,7 +458,7 @@ def update_with_http_info(resource_group_name, account_name, parameters, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -468,12 +467,13 @@ def update_async(resource_group_name, account_name, parameters, custom_headers:n 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::Storage::Mgmt::V2015_05_01_preview::Models::StorageAccountUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -530,8 +530,8 @@ def update_async(resource_group_name, account_name, parameters, custom_headers:n # # @return [StorageAccountKeys] operation results. # - def list_keys(resource_group_name, account_name, custom_headers:nil) - response = list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys(resource_group_name, account_name, custom_headers = nil) + response = list_keys_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -545,8 +545,8 @@ def list_keys(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_keys_with_http_info(resource_group_name, account_name, custom_headers:nil) - list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_keys_async(resource_group_name, account_name, custom_headers).value! end # @@ -559,7 +559,7 @@ def list_keys_with_http_info(resource_group_name, account_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_keys_async(resource_group_name, account_name, custom_headers:nil) + def list_keys_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -567,7 +567,6 @@ def list_keys_async(resource_group_name, account_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 @@ -621,8 +620,8 @@ def list_keys_async(resource_group_name, account_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -635,8 +634,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 # @@ -648,13 +647,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -710,8 +708,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -726,8 +724,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 # @@ -741,14 +739,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -808,8 +805,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [StorageAccountKeys] operation results. # - def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers:nil) - response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers = nil) + response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! response.body unless response.nil? end @@ -828,8 +825,8 @@ def regenerate_key(resource_group_name, account_name, regenerate_key, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers:nil) - regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers = nil) + regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! end # @@ -847,7 +844,7 @@ def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:nil) + def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, 'regenerate_key is nil' if regenerate_key.nil? @@ -856,12 +853,13 @@ def regenerate_key_async(resource_group_name, account_name, regenerate_key, cust 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::Storage::Mgmt::V2015_05_01_preview::Models::StorageAccountRegenerateKeyParameters.mapper() request_content = @client.serialize(request_mapper, regenerate_key) @@ -927,8 +925,8 @@ def regenerate_key_async(resource_group_name, account_name, regenerate_key, cust # # @return [StorageAccount] operation results. # - def begin_create(resource_group_name, account_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, account_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -951,8 +949,8 @@ def begin_create(resource_group_name, account_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -974,7 +972,7 @@ def begin_create_with_http_info(resource_group_name, account_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -983,12 +981,13 @@ def begin_create_async(resource_group_name, account_name, parameters, custom_hea 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::Storage::Mgmt::V2015_05_01_preview::Models::StorageAccountCreateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1046,8 +1045,8 @@ def begin_create_async(resource_group_name, account_name, parameters, custom_hea # # @return [StorageAccountListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1062,8 +1061,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1077,12 +1076,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1137,8 +1135,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [StorageAccountListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1153,8 +1151,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1168,12 +1166,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1227,12 +1224,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [StorageAccountListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1250,12 +1247,12 @@ def list_as_lazy(custom_headers:nil) # @return [StorageAccountListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb index 53e0f3d82c..c0d139a025 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb @@ -110,9 +110,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? diff --git a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/usage_operations.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/usage_operations.rb index ebabe3d6c2..9d85fca041 100644 --- a/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/usage_operations.rb +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/usage_operations.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] 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 @@ -44,8 +44,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 # @@ -57,13 +57,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/version.rb b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/version.rb new file mode 100644 index 0000000000..3846a33325 --- /dev/null +++ b/management/azure_mgmt_storage/lib/2015-05-01-preview/generated/azure_mgmt_storage/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::Storage::Mgmt::V2015_05_01_preview + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/check_name_availability_result.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/check_name_availability_result.rb index 051d524a9b..61d81a8251 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/check_name_availability_result.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/check_name_availability_result.rb @@ -33,7 +33,6 @@ class CheckNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityResult', model_properties: { name_available: { - client_side_validation: true, required: false, serialized_name: 'nameAvailable', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, serialized_name: 'reason', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb index 410b99b0f6..00d4fd0a73 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb @@ -27,7 +27,6 @@ class CustomDomain # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CustomDomain', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'CustomDomain', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, use_sub_domain: { - client_side_validation: true, required: false, serialized_name: 'useSubDomain', type: { diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/endpoints.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/endpoints.rb index f24196170f..c5ed538d97 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/endpoints.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/endpoints.rb @@ -32,7 +32,6 @@ class Endpoints # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Endpoints', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Endpoints', model_properties: { blob: { - client_side_validation: true, required: false, serialized_name: 'blob', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, queue: { - client_side_validation: true, required: false, serialized_name: 'queue', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, serialized_name: 'table', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, file: { - client_side_validation: true, required: false, serialized_name: 'file', type: { diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/resource.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/resource.rb index a6b4f80f4e..0a8e60fa5c 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/resource.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,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_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account.rb index 76c47f3184..abb9039257 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account.rb @@ -74,7 +74,6 @@ class StorageAccount < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { @@ -82,7 +81,6 @@ def self.mapper() class_name: 'StorageAccount', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -91,7 +89,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -100,7 +97,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -109,7 +105,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -117,13 +112,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: { @@ -133,7 +126,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -142,7 +134,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, primary_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryEndpoints', type: { @@ -160,7 +150,6 @@ def self.mapper() } }, primary_location: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryLocation', type: { @@ -168,7 +157,6 @@ def self.mapper() } }, status_of_primary: { - client_side_validation: true, required: false, serialized_name: 'properties.statusOfPrimary', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, last_geo_failover_time: { - client_side_validation: true, required: false, serialized_name: 'properties.lastGeoFailoverTime', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, secondary_location: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryLocation', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, status_of_secondary: { - client_side_validation: true, required: false, serialized_name: 'properties.statusOfSecondary', type: { @@ -202,7 +187,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { @@ -210,7 +194,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -219,7 +202,6 @@ def self.mapper() } }, secondary_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryEndpoints', type: { diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb index c4de54b440..473681a81f 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb @@ -26,7 +26,6 @@ class StorageAccountCheckNameAvailabilityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCheckNameAvailabilityParameters', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'StorageAccountCheckNameAvailabilityParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', default_value: 'Microsoft.Storage/storageAccounts', diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb index 1f5dd93ebd..74c3308cdc 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb @@ -40,7 +40,6 @@ class StorageAccountCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCreateParameters', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'StorageAccountCreateParameters', model_properties: { location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -56,13 +54,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: { @@ -72,7 +68,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: true, serialized_name: 'properties.accountType', type: { diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_keys.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_keys.rb index 5a13b6caa9..b237b6d482 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_keys.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_keys.rb @@ -25,7 +25,6 @@ class StorageAccountKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKeys', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'StorageAccountKeys', 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_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_list_result.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_list_result.rb index 68e1d6210e..64cb4113d5 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_list_result.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_list_result.rb @@ -23,7 +23,6 @@ class StorageAccountListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'StorageAccountListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb index 06e2af17e1..699fd11386 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb @@ -22,7 +22,6 @@ class StorageAccountRegenerateKeyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountRegenerateKeyParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'StorageAccountRegenerateKeyParameters', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb index e16e273c95..46a1889d40 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb @@ -35,7 +35,6 @@ class StorageAccountUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountUpdateParameters', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'StorageAccountUpdateParameters', 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: { @@ -59,7 +56,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage.rb index c411dfb546..84f2a8c6d4 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, serialized_name: 'unit', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_list_result.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_list_result.rb index 2b77dff844..18728e0700 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_list_result.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_list_result.rb @@ -22,7 +22,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_name.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_name.rb index 65a7802750..db92dbfcf2 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_name.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/storage_accounts.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/storage_accounts.rb index bdc35f03c8..03863d667c 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/storage_accounts.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/storage_accounts.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [CheckNameAvailabilityResult] operation results. # - def check_name_availability(account_name, custom_headers:nil) - response = check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability(account_name, custom_headers = nil) + response = check_name_availability_async(account_name, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def check_name_availability(account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(account_name, custom_headers:nil) - check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(account_name, custom_headers = nil) + check_name_availability_async(account_name, custom_headers).value! end # @@ -66,19 +66,20 @@ def check_name_availability_with_http_info(account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(account_name, custom_headers:nil) + def check_name_availability_async(account_name, custom_headers = nil) fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2015_06_15::Models::StorageAccountCheckNameAvailabilityParameters.mapper() request_content = @client.serialize(request_mapper, account_name) @@ -144,8 +145,8 @@ def check_name_availability_async(account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def create(resource_group_name, account_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -163,9 +164,9 @@ def create(resource_group_name, account_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def create_async(resource_group_name, account_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -193,8 +194,8 @@ def create_async(resource_group_name, account_name, parameters, custom_headers:n # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, custom_headers).value! nil end @@ -211,8 +212,8 @@ def delete(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) - delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, custom_headers = nil) + delete_async(resource_group_name, account_name, custom_headers).value! end # @@ -228,20 +229,14 @@ def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -291,8 +286,8 @@ def delete_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def get_properties(resource_group_name, account_name, custom_headers:nil) - response = get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties(resource_group_name, account_name, custom_headers = nil) + response = get_properties_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -311,8 +306,8 @@ def get_properties(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_properties_with_http_info(resource_group_name, account_name, custom_headers:nil) - get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties_with_http_info(resource_group_name, account_name, custom_headers = nil) + get_properties_async(resource_group_name, account_name, custom_headers).value! end # @@ -330,20 +325,14 @@ def get_properties_with_http_info(resource_group_name, account_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_properties_async(resource_group_name, account_name, custom_headers:nil) + def get_properties_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -411,8 +400,8 @@ def get_properties_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def update(resource_group_name, account_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -439,8 +428,8 @@ def update(resource_group_name, account_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -466,26 +455,22 @@ def update_with_http_info(resource_group_name, account_name, parameters, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2015_06_15::Models::StorageAccountUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -541,8 +526,8 @@ def update_async(resource_group_name, account_name, parameters, custom_headers:n # # @return [StorageAccountListResult] 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 @@ -555,8 +540,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 # @@ -568,13 +553,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -630,8 +614,8 @@ def list_async(custom_headers:nil) # # @return [StorageAccountListResult] 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 @@ -646,8 +630,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 # @@ -661,17 +645,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, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -729,8 +709,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [StorageAccountKeys] operation results. # - def list_keys(resource_group_name, account_name, custom_headers:nil) - response = list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys(resource_group_name, account_name, custom_headers = nil) + response = list_keys_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -747,8 +727,8 @@ def list_keys(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_keys_with_http_info(resource_group_name, account_name, custom_headers:nil) - list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_keys_async(resource_group_name, account_name, custom_headers).value! end # @@ -764,20 +744,14 @@ def list_keys_with_http_info(resource_group_name, account_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_keys_async(resource_group_name, account_name, custom_headers:nil) + def list_keys_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -837,8 +811,8 @@ def list_keys_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccountKeys] operation results. # - def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers:nil) - response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers = nil) + response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! response.body unless response.nil? end @@ -857,8 +831,8 @@ def regenerate_key(resource_group_name, account_name, regenerate_key, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers:nil) - regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers = nil) + regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! end # @@ -876,26 +850,22 @@ def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:nil) + def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'regenerate_key is nil' if regenerate_key.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2015_06_15::Models::StorageAccountRegenerateKeyParameters.mapper() request_content = @client.serialize(request_mapper, regenerate_key) @@ -961,8 +931,8 @@ def regenerate_key_async(resource_group_name, account_name, regenerate_key, cust # # @return [StorageAccount] operation results. # - def begin_create(resource_group_name, account_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, account_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -985,8 +955,8 @@ def begin_create(resource_group_name, account_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -1008,26 +978,22 @@ def begin_create_with_http_info(resource_group_name, account_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2015_06_15::Models::StorageAccountCreateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb index cf155dae04..60ddd54844 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb @@ -110,9 +110,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? diff --git a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/usage_operations.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/usage_operations.rb index 1a955f3604..75e047d5bb 100644 --- a/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/usage_operations.rb +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/usage_operations.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] 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 @@ -44,8 +44,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 # @@ -57,13 +57,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_storage/lib/2015-06-15/generated/azure_mgmt_storage/version.rb b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/version.rb new file mode 100644 index 0000000000..7eb169dd57 --- /dev/null +++ b/management/azure_mgmt_storage/lib/2015-06-15/generated/azure_mgmt_storage/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::Storage::Mgmt::V2015_06_15 + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb index 4e0f551d78..7d75a2cfa9 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb @@ -33,7 +33,6 @@ class CheckNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityResult', model_properties: { name_available: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nameAvailable', @@ -50,7 +48,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reason', @@ -60,7 +57,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/custom_domain.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/custom_domain.rb index 45068ef14f..c3722e9f39 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/custom_domain.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/custom_domain.rb @@ -28,7 +28,6 @@ class CustomDomain # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CustomDomain', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'CustomDomain', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, use_sub_domain: { - client_side_validation: true, required: false, serialized_name: 'useSubDomain', type: { diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption.rb index 1bdb04635c..f48b6d9df7 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption.rb @@ -27,7 +27,6 @@ class Encryption # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Encryption', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'Encryption', model_properties: { services: { - client_side_validation: true, required: false, serialized_name: 'services', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, key_source: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'keySource', diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_service.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_service.rb index 863aea77a0..2f73480082 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_service.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_service.rb @@ -29,7 +29,6 @@ class EncryptionService # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionService', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EncryptionService', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, last_enabled_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastEnabledTime', diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_services.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_services.rb index 300c5a69c0..eb9dd04d35 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_services.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_services.rb @@ -23,7 +23,6 @@ class EncryptionServices # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionServices', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'EncryptionServices', model_properties: { blob: { - client_side_validation: true, required: false, serialized_name: 'blob', type: { diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/endpoints.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/endpoints.rb index e39bf1aee1..01cfa91612 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/endpoints.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/endpoints.rb @@ -32,7 +32,6 @@ class Endpoints # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Endpoints', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Endpoints', model_properties: { blob: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'blob', @@ -49,7 +47,6 @@ def self.mapper() } }, queue: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queue', @@ -58,7 +55,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'table', @@ -67,7 +63,6 @@ def self.mapper() } }, file: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'file', diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/resource.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/resource.rb index 074375c8b5..18db17440f 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/resource.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/resource.rb @@ -36,7 +36,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'Resource', 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: false, 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: { diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb index a9dc79e5ad..b121b1bbb8 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb @@ -29,7 +29,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account.rb index aad15c4fa3..bd8cbed599 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account.rb @@ -85,7 +85,6 @@ class StorageAccount < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { @@ -93,7 +92,6 @@ def self.mapper() class_name: 'StorageAccount', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -102,7 +100,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -111,7 +108,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -120,7 +116,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -128,13 +123,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: { @@ -144,7 +137,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -154,7 +146,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -164,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -174,7 +164,6 @@ def self.mapper() } }, primary_endpoints: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.primaryEndpoints', @@ -184,7 +173,6 @@ def self.mapper() } }, primary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.primaryLocation', @@ -193,7 +181,6 @@ def self.mapper() } }, status_of_primary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusOfPrimary', @@ -203,7 +190,6 @@ def self.mapper() } }, last_geo_failover_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastGeoFailoverTime', @@ -212,7 +198,6 @@ def self.mapper() } }, secondary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.secondaryLocation', @@ -221,7 +206,6 @@ def self.mapper() } }, status_of_secondary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusOfSecondary', @@ -231,7 +215,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', @@ -240,7 +223,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.customDomain', @@ -250,7 +232,6 @@ def self.mapper() } }, secondary_endpoints: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.secondaryEndpoints', @@ -260,7 +241,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.encryption', @@ -270,7 +250,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accessTier', diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb index d40d4d05a5..860c6e8a05 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb @@ -27,7 +27,6 @@ class StorageAccountCheckNameAvailabilityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCheckNameAvailabilityParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'StorageAccountCheckNameAvailabilityParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb index ad16f15f0f..6aa3a60221 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb @@ -57,7 +57,6 @@ class StorageAccountCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCreateParameters', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'StorageAccountCreateParameters', model_properties: { sku: { - client_side_validation: true, required: true, serialized_name: 'sku', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: true, serialized_name: 'kind', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -91,13 +87,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: { @@ -107,7 +101,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -116,7 +109,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { @@ -125,7 +117,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, serialized_name: 'properties.accessTier', type: { diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_key.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_key.rb index d770741600..faed8288f7 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_key.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_key.rb @@ -29,7 +29,6 @@ class StorageAccountKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKey', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StorageAccountKey', model_properties: { key_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'keyName', @@ -46,7 +44,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -55,7 +52,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'permissions', diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb index d1060871bc..c1baa31770 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb @@ -23,7 +23,6 @@ class StorageAccountListKeysResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListKeysResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageAccountListKeysResult', model_properties: { keys: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'keys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKeyElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb index 9d21399bb3..3cdf3a96d0 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb @@ -23,7 +23,6 @@ class StorageAccountListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageAccountListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb index 29ea7349e8..707a58600d 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb @@ -23,7 +23,6 @@ class StorageAccountRegenerateKeyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountRegenerateKeyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'StorageAccountRegenerateKeyParameters', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb index 0dbf3a1f81..7ce04d08ae 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb @@ -48,7 +48,6 @@ class StorageAccountUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountUpdateParameters', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'StorageAccountUpdateParameters', model_properties: { sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -65,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: { @@ -81,7 +77,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, serialized_name: 'properties.accessTier', type: { diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage.rb index bf326673a1..11b2318570 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -53,7 +51,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -62,7 +59,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -71,7 +67,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_list_result.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_list_result.rb index 8468a05c43..e7e0f194af 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_list_result.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_list_result.rb @@ -23,7 +23,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_name.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_name.rb index 36585f3fda..ee425b6726 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_name.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/storage_accounts.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/storage_accounts.rb index ee60e390be..fe1f3f3b42 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/storage_accounts.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/storage_accounts.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [CheckNameAvailabilityResult] operation results. # - def check_name_availability(account_name, custom_headers:nil) - response = check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability(account_name, custom_headers = nil) + response = check_name_availability_async(account_name, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def check_name_availability(account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(account_name, custom_headers:nil) - check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(account_name, custom_headers = nil) + check_name_availability_async(account_name, custom_headers).value! end # @@ -66,19 +66,20 @@ def check_name_availability_with_http_info(account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(account_name, custom_headers:nil) + def check_name_availability_async(account_name, custom_headers = nil) fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters.mapper() request_content = @client.serialize(request_mapper, account_name) @@ -144,8 +145,8 @@ def check_name_availability_async(account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def create(resource_group_name, account_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -163,9 +164,9 @@ def create(resource_group_name, account_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def create_async(resource_group_name, account_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -193,8 +194,8 @@ def create_async(resource_group_name, account_name, parameters, custom_headers:n # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, custom_headers).value! nil end @@ -211,8 +212,8 @@ def delete(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) - delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, custom_headers = nil) + delete_async(resource_group_name, account_name, custom_headers).value! end # @@ -228,17 +229,14 @@ def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -288,8 +286,8 @@ def delete_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def get_properties(resource_group_name, account_name, custom_headers:nil) - response = get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties(resource_group_name, account_name, custom_headers = nil) + response = get_properties_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -308,8 +306,8 @@ def get_properties(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_properties_with_http_info(resource_group_name, account_name, custom_headers:nil) - get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties_with_http_info(resource_group_name, account_name, custom_headers = nil) + get_properties_async(resource_group_name, account_name, custom_headers).value! end # @@ -327,17 +325,14 @@ def get_properties_with_http_info(resource_group_name, account_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_properties_async(resource_group_name, account_name, custom_headers:nil) + def get_properties_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -405,8 +400,8 @@ def get_properties_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def update(resource_group_name, account_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -433,8 +428,8 @@ def update(resource_group_name, account_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -460,23 +455,22 @@ def update_with_http_info(resource_group_name, account_name, parameters, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -532,8 +526,8 @@ def update_async(resource_group_name, account_name, parameters, custom_headers:n # # @return [StorageAccountListResult] 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 @@ -546,8 +540,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 # @@ -559,13 +553,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -621,8 +614,8 @@ def list_async(custom_headers:nil) # # @return [StorageAccountListResult] 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 @@ -637,8 +630,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 # @@ -652,14 +645,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, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -717,8 +709,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [StorageAccountListKeysResult] operation results. # - def list_keys(resource_group_name, account_name, custom_headers:nil) - response = list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys(resource_group_name, account_name, custom_headers = nil) + response = list_keys_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -735,8 +727,8 @@ def list_keys(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_keys_with_http_info(resource_group_name, account_name, custom_headers:nil) - list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_keys_async(resource_group_name, account_name, custom_headers).value! end # @@ -752,17 +744,14 @@ def list_keys_with_http_info(resource_group_name, account_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_keys_async(resource_group_name, account_name, custom_headers:nil) + def list_keys_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +811,8 @@ def list_keys_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccountListKeysResult] operation results. # - def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers:nil) - response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers = nil) + response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! response.body unless response.nil? end @@ -842,8 +831,8 @@ def regenerate_key(resource_group_name, account_name, regenerate_key, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers:nil) - regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers = nil) + regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! end # @@ -861,23 +850,22 @@ def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:nil) + def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'regenerate_key is nil' if regenerate_key.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters.mapper() request_content = @client.serialize(request_mapper, regenerate_key) @@ -943,8 +931,8 @@ def regenerate_key_async(resource_group_name, account_name, regenerate_key, cust # # @return [StorageAccount] operation results. # - def begin_create(resource_group_name, account_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, account_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -967,8 +955,8 @@ def begin_create(resource_group_name, account_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -990,23 +978,22 @@ def begin_create_with_http_info(resource_group_name, account_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb index ae7fe6bafc..f12cb439c7 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb @@ -110,9 +110,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? diff --git a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/usage_operations.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/usage_operations.rb index 94e9435be6..ac57e75599 100644 --- a/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/usage_operations.rb +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/usage_operations.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] 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 @@ -44,8 +44,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 # @@ -57,13 +57,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_storage/lib/2016-01-01/generated/azure_mgmt_storage/version.rb b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/version.rb new file mode 100644 index 0000000000..fcda72468c --- /dev/null +++ b/management/azure_mgmt_storage/lib/2016-01-01/generated/azure_mgmt_storage/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::Storage::Mgmt::V2016_01_01 + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb index 893ab58d03..dca7e658c7 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb @@ -55,7 +55,6 @@ class AccountSasParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AccountSasParameters', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'AccountSasParameters', model_properties: { services: { - client_side_validation: true, required: true, serialized_name: 'signedServices', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, resource_types: { - client_side_validation: true, required: true, serialized_name: 'signedResourceTypes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: true, serialized_name: 'signedPermission', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipaddress_or_range: { - client_side_validation: true, required: false, serialized_name: 'signedIp', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, protocols: { - client_side_validation: true, required: false, serialized_name: 'signedProtocol', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, shared_access_start_time: { - client_side_validation: true, required: false, serialized_name: 'signedStart', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, shared_access_expiry_time: { - client_side_validation: true, required: true, serialized_name: 'signedExpiry', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, key_to_sign: { - client_side_validation: true, required: false, serialized_name: 'keyToSign', type: { diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb index 2f1414bf3f..22476337a3 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb @@ -33,7 +33,6 @@ class CheckNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityResult', model_properties: { name_available: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nameAvailable', @@ -50,7 +48,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reason', @@ -60,7 +57,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/custom_domain.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/custom_domain.rb index a15d0c9c4e..8911fef852 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/custom_domain.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/custom_domain.rb @@ -28,7 +28,6 @@ class CustomDomain # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CustomDomain', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'CustomDomain', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, use_sub_domain: { - client_side_validation: true, required: false, serialized_name: 'useSubDomain', type: { diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption.rb index 4d432d6024..26fc86bd71 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption.rb @@ -27,7 +27,6 @@ class Encryption # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Encryption', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'Encryption', model_properties: { services: { - client_side_validation: true, required: false, serialized_name: 'services', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, key_source: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'keySource', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_service.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_service.rb index 6dc720ee7a..afffd8fad0 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_service.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_service.rb @@ -29,7 +29,6 @@ class EncryptionService # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionService', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EncryptionService', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, last_enabled_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastEnabledTime', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_services.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_services.rb index 732fe51fc2..f1054962e0 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_services.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_services.rb @@ -35,7 +35,6 @@ class EncryptionServices # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionServices', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'EncryptionServices', model_properties: { blob: { - client_side_validation: true, required: false, serialized_name: 'blob', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, file: { - client_side_validation: true, required: false, serialized_name: 'file', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'table', @@ -71,7 +67,6 @@ def self.mapper() } }, queue: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queue', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/endpoints.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/endpoints.rb index be4e403479..2319c694af 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/endpoints.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/endpoints.rb @@ -32,7 +32,6 @@ class Endpoints # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Endpoints', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Endpoints', model_properties: { blob: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'blob', @@ -49,7 +47,6 @@ def self.mapper() } }, queue: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queue', @@ -58,7 +55,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'table', @@ -67,7 +63,6 @@ def self.mapper() } }, file: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'file', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb index 93b98937bb..1e5a312a5b 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb @@ -22,7 +22,6 @@ class ListAccountSasResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListAccountSasResponse', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ListAccountSasResponse', model_properties: { account_sas_token: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'accountSasToken', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb index 604365ad35..beb7e58895 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb @@ -22,7 +22,6 @@ class ListServiceSasResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListServiceSasResponse', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ListServiceSasResponse', model_properties: { service_sas_token: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'serviceSasToken', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/resource.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/resource.rb index 584dde06f8..7b31c453ed 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/resource.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,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_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb index a8a8e011d0..98f04ac42e 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb @@ -83,7 +83,6 @@ class ServiceSasParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceSasParameters', type: { @@ -91,7 +90,6 @@ def self.mapper() class_name: 'ServiceSasParameters', model_properties: { canonicalized_resource: { - client_side_validation: true, required: true, serialized_name: 'canonicalizedResource', type: { @@ -99,7 +97,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: true, serialized_name: 'signedResource', type: { @@ -107,7 +104,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: false, serialized_name: 'signedPermission', type: { @@ -115,7 +111,6 @@ def self.mapper() } }, ipaddress_or_range: { - client_side_validation: true, required: false, serialized_name: 'signedIp', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, protocols: { - client_side_validation: true, required: false, serialized_name: 'signedProtocol', type: { @@ -132,7 +126,6 @@ def self.mapper() } }, shared_access_start_time: { - client_side_validation: true, required: false, serialized_name: 'signedStart', type: { @@ -140,7 +133,6 @@ def self.mapper() } }, shared_access_expiry_time: { - client_side_validation: true, required: false, serialized_name: 'signedExpiry', type: { @@ -148,7 +140,6 @@ def self.mapper() } }, identifier: { - client_side_validation: true, required: false, serialized_name: 'signedIdentifier', constraints: { @@ -159,7 +150,6 @@ def self.mapper() } }, partition_key_start: { - client_side_validation: true, required: false, serialized_name: 'startPk', type: { @@ -167,7 +157,6 @@ def self.mapper() } }, partition_key_end: { - client_side_validation: true, required: false, serialized_name: 'endPk', type: { @@ -175,7 +164,6 @@ def self.mapper() } }, row_key_start: { - client_side_validation: true, required: false, serialized_name: 'startRk', type: { @@ -183,7 +171,6 @@ def self.mapper() } }, row_key_end: { - client_side_validation: true, required: false, serialized_name: 'endRk', type: { @@ -191,7 +178,6 @@ def self.mapper() } }, key_to_sign: { - client_side_validation: true, required: false, serialized_name: 'keyToSign', type: { @@ -199,7 +185,6 @@ def self.mapper() } }, cache_control: { - client_side_validation: true, required: false, serialized_name: 'rscc', type: { @@ -207,7 +192,6 @@ def self.mapper() } }, content_disposition: { - client_side_validation: true, required: false, serialized_name: 'rscd', type: { @@ -215,7 +199,6 @@ def self.mapper() } }, content_encoding: { - client_side_validation: true, required: false, serialized_name: 'rsce', type: { @@ -223,7 +206,6 @@ def self.mapper() } }, content_language: { - client_side_validation: true, required: false, serialized_name: 'rscl', type: { @@ -231,7 +213,6 @@ def self.mapper() } }, content_type: { - client_side_validation: true, required: false, serialized_name: 'rsct', type: { diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/sku.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/sku.rb index c0eb9ee4cc..8f0cec1953 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/sku.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/sku.rb @@ -29,7 +29,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account.rb index 9dcb418e33..8323fbfbf5 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account.rb @@ -89,7 +89,6 @@ class StorageAccount < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { @@ -97,7 +96,6 @@ def self.mapper() class_name: 'StorageAccount', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -106,7 +104,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -115,7 +112,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -124,7 +120,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -132,13 +127,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: { @@ -148,7 +141,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -158,7 +150,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -168,7 +159,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -178,7 +168,6 @@ def self.mapper() } }, primary_endpoints: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.primaryEndpoints', @@ -188,7 +177,6 @@ def self.mapper() } }, primary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.primaryLocation', @@ -197,7 +185,6 @@ def self.mapper() } }, status_of_primary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusOfPrimary', @@ -207,7 +194,6 @@ def self.mapper() } }, last_geo_failover_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastGeoFailoverTime', @@ -216,7 +202,6 @@ def self.mapper() } }, secondary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.secondaryLocation', @@ -225,7 +210,6 @@ def self.mapper() } }, status_of_secondary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusOfSecondary', @@ -235,7 +219,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', @@ -244,7 +227,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.customDomain', @@ -254,7 +236,6 @@ def self.mapper() } }, secondary_endpoints: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.secondaryEndpoints', @@ -264,7 +245,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.encryption', @@ -274,7 +254,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accessTier', @@ -284,7 +263,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb index 78b0c8229d..c99f228a9f 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb @@ -26,7 +26,6 @@ class StorageAccountCheckNameAvailabilityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCheckNameAvailabilityParameters', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'StorageAccountCheckNameAvailabilityParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb index 1d8c21c38a..3c21a09c8e 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb @@ -61,7 +61,6 @@ class StorageAccountCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCreateParameters', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'StorageAccountCreateParameters', model_properties: { sku: { - client_side_validation: true, required: true, serialized_name: 'sku', type: { @@ -78,7 +76,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: true, serialized_name: 'kind', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -95,13 +91,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: { @@ -111,7 +105,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -120,7 +113,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, serialized_name: 'properties.accessTier', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_key.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_key.rb index 55ff0094b1..5f9632b3ca 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_key.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_key.rb @@ -29,7 +29,6 @@ class StorageAccountKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKey', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StorageAccountKey', model_properties: { key_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'keyName', @@ -46,7 +44,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -55,7 +52,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'permissions', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb index a3733d7a4a..965b53f095 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb @@ -23,7 +23,6 @@ class StorageAccountListKeysResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListKeysResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageAccountListKeysResult', model_properties: { keys: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'keys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKeyElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb index ccb4afaa00..b9178b4c3b 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb @@ -23,7 +23,6 @@ class StorageAccountListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageAccountListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb index 0e4d496dda..3370405157 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb @@ -22,7 +22,6 @@ class StorageAccountRegenerateKeyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountRegenerateKeyParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'StorageAccountRegenerateKeyParameters', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb index 6c93c7393e..b5e63aaa83 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb @@ -52,7 +52,6 @@ class StorageAccountUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountUpdateParameters', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'StorageAccountUpdateParameters', model_properties: { sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -69,13 +67,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: { @@ -85,7 +81,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, serialized_name: 'properties.accessTier', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage.rb index 525f587570..26226cad02 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -53,7 +51,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -62,7 +59,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -71,7 +67,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_list_result.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_list_result.rb index 7a22a12df7..1343dfff7a 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_list_result.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_list_result.rb @@ -23,7 +23,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_name.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_name.rb index 5129fab7f8..a70bcf3649 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_name.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/storage_accounts.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/storage_accounts.rb index 3768b5fb7b..df21e3f64a 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/storage_accounts.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/storage_accounts.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [CheckNameAvailabilityResult] operation results. # - def check_name_availability(account_name, custom_headers:nil) - response = check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability(account_name, custom_headers = nil) + response = check_name_availability_async(account_name, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def check_name_availability(account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(account_name, custom_headers:nil) - check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(account_name, custom_headers = nil) + check_name_availability_async(account_name, custom_headers).value! end # @@ -66,19 +66,20 @@ def check_name_availability_with_http_info(account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(account_name, custom_headers:nil) + def check_name_availability_async(account_name, custom_headers = nil) fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2016_12_01::Models::StorageAccountCheckNameAvailabilityParameters.mapper() request_content = @client.serialize(request_mapper, account_name) @@ -144,8 +145,8 @@ def check_name_availability_async(account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def create(resource_group_name, account_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -163,9 +164,9 @@ def create(resource_group_name, account_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def create_async(resource_group_name, account_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -193,8 +194,8 @@ def create_async(resource_group_name, account_name, parameters, custom_headers:n # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, custom_headers).value! nil end @@ -211,8 +212,8 @@ def delete(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) - delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, custom_headers = nil) + delete_async(resource_group_name, account_name, custom_headers).value! end # @@ -228,20 +229,14 @@ def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -291,8 +286,8 @@ def delete_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def get_properties(resource_group_name, account_name, custom_headers:nil) - response = get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties(resource_group_name, account_name, custom_headers = nil) + response = get_properties_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -311,8 +306,8 @@ def get_properties(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_properties_with_http_info(resource_group_name, account_name, custom_headers:nil) - get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties_with_http_info(resource_group_name, account_name, custom_headers = nil) + get_properties_async(resource_group_name, account_name, custom_headers).value! end # @@ -330,20 +325,14 @@ def get_properties_with_http_info(resource_group_name, account_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_properties_async(resource_group_name, account_name, custom_headers:nil) + def get_properties_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -411,8 +400,8 @@ def get_properties_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def update(resource_group_name, account_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -439,8 +428,8 @@ def update(resource_group_name, account_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -466,26 +455,22 @@ def update_with_http_info(resource_group_name, account_name, parameters, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2016_12_01::Models::StorageAccountUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -541,8 +526,8 @@ def update_async(resource_group_name, account_name, parameters, custom_headers:n # # @return [StorageAccountListResult] 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 @@ -555,8 +540,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 # @@ -568,13 +553,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -630,8 +614,8 @@ def list_async(custom_headers:nil) # # @return [StorageAccountListResult] 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 @@ -646,8 +630,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 # @@ -661,17 +645,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, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -729,8 +709,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [StorageAccountListKeysResult] operation results. # - def list_keys(resource_group_name, account_name, custom_headers:nil) - response = list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys(resource_group_name, account_name, custom_headers = nil) + response = list_keys_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -747,8 +727,8 @@ def list_keys(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_keys_with_http_info(resource_group_name, account_name, custom_headers:nil) - list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_keys_async(resource_group_name, account_name, custom_headers).value! end # @@ -764,20 +744,14 @@ def list_keys_with_http_info(resource_group_name, account_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_keys_async(resource_group_name, account_name, custom_headers:nil) + def list_keys_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -837,8 +811,8 @@ def list_keys_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccountListKeysResult] operation results. # - def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers:nil) - response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers = nil) + response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! response.body unless response.nil? end @@ -857,8 +831,8 @@ def regenerate_key(resource_group_name, account_name, regenerate_key, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers:nil) - regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers = nil) + regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! end # @@ -876,26 +850,22 @@ def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:nil) + def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'regenerate_key is nil' if regenerate_key.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2016_12_01::Models::StorageAccountRegenerateKeyParameters.mapper() request_content = @client.serialize(request_mapper, regenerate_key) @@ -957,8 +927,8 @@ def regenerate_key_async(resource_group_name, account_name, regenerate_key, cust # # @return [ListAccountSasResponse] operation results. # - def list_account_sas(resource_group_name, account_name, parameters, custom_headers:nil) - response = list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_account_sas(resource_group_name, account_name, parameters, custom_headers = nil) + response = list_account_sas_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -977,8 +947,8 @@ def list_account_sas(resource_group_name, account_name, parameters, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_account_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_account_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + list_account_sas_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -996,26 +966,22 @@ def list_account_sas_with_http_info(resource_group_name, account_name, parameter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:nil) + def list_account_sas_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2016_12_01::Models::AccountSasParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1077,8 +1043,8 @@ def list_account_sas_async(resource_group_name, account_name, parameters, custom # # @return [ListServiceSasResponse] operation results. # - def list_service_sas(resource_group_name, account_name, parameters, custom_headers:nil) - response = list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_service_sas(resource_group_name, account_name, parameters, custom_headers = nil) + response = list_service_sas_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1097,8 +1063,8 @@ def list_service_sas(resource_group_name, account_name, parameters, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_service_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_service_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + list_service_sas_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -1116,26 +1082,22 @@ def list_service_sas_with_http_info(resource_group_name, account_name, parameter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:nil) + def list_service_sas_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2016_12_01::Models::ServiceSasParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1201,8 +1163,8 @@ def list_service_sas_async(resource_group_name, account_name, parameters, custom # # @return [StorageAccount] operation results. # - def begin_create(resource_group_name, account_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, account_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1225,8 +1187,8 @@ def begin_create(resource_group_name, account_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -1248,26 +1210,22 @@ def begin_create_with_http_info(resource_group_name, account_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2016_12_01::Models::StorageAccountCreateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb index 7610c90d4c..460a2917ba 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb @@ -110,9 +110,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? diff --git a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/usage_operations.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/usage_operations.rb index ff12a08bcc..4b264e66a5 100644 --- a/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/usage_operations.rb +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/usage_operations.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] 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 @@ -44,8 +44,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 # @@ -57,13 +57,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_storage/lib/2016-12-01/generated/azure_mgmt_storage/version.rb b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/version.rb new file mode 100644 index 0000000000..a84db8d0a3 --- /dev/null +++ b/management/azure_mgmt_storage/lib/2016-12-01/generated/azure_mgmt_storage/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::Storage::Mgmt::V2016_12_01 + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb index aff2989057..067efc519e 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb @@ -55,7 +55,6 @@ class AccountSasParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AccountSasParameters', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'AccountSasParameters', model_properties: { services: { - client_side_validation: true, required: true, serialized_name: 'signedServices', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, resource_types: { - client_side_validation: true, required: true, serialized_name: 'signedResourceTypes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: true, serialized_name: 'signedPermission', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipaddress_or_range: { - client_side_validation: true, required: false, serialized_name: 'signedIp', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, protocols: { - client_side_validation: true, required: false, serialized_name: 'signedProtocol', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, shared_access_start_time: { - client_side_validation: true, required: false, serialized_name: 'signedStart', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, shared_access_expiry_time: { - client_side_validation: true, required: true, serialized_name: 'signedExpiry', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, key_to_sign: { - client_side_validation: true, required: false, serialized_name: 'keyToSign', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb index 6823df26bf..631e473a92 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb @@ -33,7 +33,6 @@ class CheckNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityResult', model_properties: { name_available: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nameAvailable', @@ -50,7 +48,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reason', @@ -60,7 +57,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb index 89192c4fc2..187aa5c65d 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb @@ -28,7 +28,6 @@ class CustomDomain # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CustomDomain', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'CustomDomain', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, use_sub_domain: { - client_side_validation: true, required: false, serialized_name: 'useSubDomain', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/dimension.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/dimension.rb index a89fcf25b1..049f4cc8c1 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/dimension.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/dimension.rb @@ -25,7 +25,6 @@ class Dimension # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Dimension', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Dimension', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption.rb index 59e814dd54..9bab146d39 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption.rb @@ -31,7 +31,6 @@ class Encryption # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Encryption', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Encryption', model_properties: { services: { - client_side_validation: true, required: false, serialized_name: 'services', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_source: { - client_side_validation: true, required: true, serialized_name: 'keySource', default_value: 'Microsoft.Storage', @@ -57,7 +54,6 @@ def self.mapper() } }, key_vault_properties: { - client_side_validation: true, required: false, serialized_name: 'keyvaultproperties', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_service.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_service.rb index a8fa68c4ad..41baa9b2ba 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_service.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_service.rb @@ -29,7 +29,6 @@ class EncryptionService # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionService', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EncryptionService', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, last_enabled_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastEnabledTime', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_services.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_services.rb index 5ca4690c7c..86f705405b 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_services.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_services.rb @@ -35,7 +35,6 @@ class EncryptionServices # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionServices', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'EncryptionServices', model_properties: { blob: { - client_side_validation: true, required: false, serialized_name: 'blob', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, file: { - client_side_validation: true, required: false, serialized_name: 'file', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'table', @@ -71,7 +67,6 @@ def self.mapper() } }, queue: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queue', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/endpoints.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/endpoints.rb index e32a0a1aab..2c6dc815cc 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/endpoints.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/endpoints.rb @@ -32,7 +32,6 @@ class Endpoints # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Endpoints', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Endpoints', model_properties: { blob: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'blob', @@ -49,7 +47,6 @@ def self.mapper() } }, queue: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queue', @@ -58,7 +55,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'table', @@ -67,7 +63,6 @@ def self.mapper() } }, file: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'file', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/identity.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/identity.rb index 5508bbf437..2002c21ea9 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/identity.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/identity.rb @@ -28,7 +28,6 @@ class Identity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Identity', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Identity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -45,7 +43,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/iprule.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/iprule.rb index af03dd2524..42c8d5db59 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/iprule.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/iprule.rb @@ -27,7 +27,6 @@ class IPRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPRule', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'IPRule', model_properties: { ipaddress_or_range: { - client_side_validation: true, required: true, serialized_name: 'value', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, action: { - client_side_validation: true, required: false, serialized_name: 'action', default_value: 'Allow', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb index 2560fd4408..43cdb851a8 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb @@ -28,7 +28,6 @@ class KeyVaultProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultProperties', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'KeyVaultProperties', model_properties: { key_name: { - client_side_validation: true, required: false, serialized_name: 'keyname', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, key_version: { - client_side_validation: true, required: false, serialized_name: 'keyversion', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, key_vault_uri: { - client_side_validation: true, required: false, serialized_name: 'keyvaulturi', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb index 84a73cef3e..f54387a0be 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb @@ -22,7 +22,6 @@ class ListAccountSasResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListAccountSasResponse', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ListAccountSasResponse', model_properties: { account_sas_token: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'accountSasToken', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb index feade39b5d..9411e8b7af 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb @@ -22,7 +22,6 @@ class ListServiceSasResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListServiceSasResponse', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ListServiceSasResponse', model_properties: { service_sas_token: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'serviceSasToken', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb index dc28c74bc0..19d6feb09e 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb @@ -48,7 +48,6 @@ class MetricSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'MetricSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, display_description: { - client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { @@ -80,7 +76,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, dimensions: { - client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, aggregation_type: { - client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, fill_gap_with_zero: { - client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, category: { - client_side_validation: true, required: false, serialized_name: 'category', type: { @@ -129,7 +119,6 @@ def self.mapper() } }, resource_id_dimension_name_override: { - client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/network_rule_set.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/network_rule_set.rb index f2a2d4b2a8..1182ca8a94 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/network_rule_set.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/network_rule_set.rb @@ -37,7 +37,6 @@ class NetworkRuleSet # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkRuleSet', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'NetworkRuleSet', model_properties: { bypass: { - client_side_validation: true, required: false, serialized_name: 'bypass', default_value: 'AzureServices', @@ -54,13 +52,11 @@ def self.mapper() } }, virtual_network_rules: { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkRuleElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, ip_rules: { - client_side_validation: true, required: false, serialized_name: 'ipRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPRuleElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, default_action: { - client_side_validation: true, required: true, serialized_name: 'defaultAction', default_value: 'Allow', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation.rb index b6de263160..664cdce878 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation.rb @@ -33,7 +33,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, service_specification: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_display.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_display.rb index 7b2cf740e1..06f82970b3 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_display.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_display.rb @@ -28,7 +28,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_list_result.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_list_result.rb index ca69731bb4..7bf28cc37c 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_list_result.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_list_result.rb @@ -24,7 +24,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'OperationListResult', 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_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/resource.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/resource.rb index ce8fc993df..74b7eea974 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/resource.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,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_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/restriction.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/restriction.rb index f806ca4524..0ed5baccea 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/restriction.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/restriction.rb @@ -35,7 +35,6 @@ class Restriction # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Restriction', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Restriction', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -52,14 +50,12 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, reason_code: { - client_side_validation: true, required: false, serialized_name: 'reasonCode', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb index e54008f982..0e5686db62 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb @@ -83,7 +83,6 @@ class ServiceSasParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceSasParameters', type: { @@ -91,7 +90,6 @@ def self.mapper() class_name: 'ServiceSasParameters', model_properties: { canonicalized_resource: { - client_side_validation: true, required: true, serialized_name: 'canonicalizedResource', type: { @@ -99,7 +97,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: true, serialized_name: 'signedResource', type: { @@ -107,7 +104,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: false, serialized_name: 'signedPermission', type: { @@ -115,7 +111,6 @@ def self.mapper() } }, ipaddress_or_range: { - client_side_validation: true, required: false, serialized_name: 'signedIp', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, protocols: { - client_side_validation: true, required: false, serialized_name: 'signedProtocol', type: { @@ -132,7 +126,6 @@ def self.mapper() } }, shared_access_start_time: { - client_side_validation: true, required: false, serialized_name: 'signedStart', type: { @@ -140,7 +133,6 @@ def self.mapper() } }, shared_access_expiry_time: { - client_side_validation: true, required: false, serialized_name: 'signedExpiry', type: { @@ -148,7 +140,6 @@ def self.mapper() } }, identifier: { - client_side_validation: true, required: false, serialized_name: 'signedIdentifier', constraints: { @@ -159,7 +150,6 @@ def self.mapper() } }, partition_key_start: { - client_side_validation: true, required: false, serialized_name: 'startPk', type: { @@ -167,7 +157,6 @@ def self.mapper() } }, partition_key_end: { - client_side_validation: true, required: false, serialized_name: 'endPk', type: { @@ -175,7 +164,6 @@ def self.mapper() } }, row_key_start: { - client_side_validation: true, required: false, serialized_name: 'startRk', type: { @@ -183,7 +171,6 @@ def self.mapper() } }, row_key_end: { - client_side_validation: true, required: false, serialized_name: 'endRk', type: { @@ -191,7 +178,6 @@ def self.mapper() } }, key_to_sign: { - client_side_validation: true, required: false, serialized_name: 'keyToSign', type: { @@ -199,7 +185,6 @@ def self.mapper() } }, cache_control: { - client_side_validation: true, required: false, serialized_name: 'rscc', type: { @@ -207,7 +192,6 @@ def self.mapper() } }, content_disposition: { - client_side_validation: true, required: false, serialized_name: 'rscd', type: { @@ -215,7 +199,6 @@ def self.mapper() } }, content_encoding: { - client_side_validation: true, required: false, serialized_name: 'rsce', type: { @@ -223,7 +206,6 @@ def self.mapper() } }, content_language: { - client_side_validation: true, required: false, serialized_name: 'rscl', type: { @@ -231,7 +213,6 @@ def self.mapper() } }, content_type: { - client_side_validation: true, required: false, serialized_name: 'rsct', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/service_specification.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/service_specification.rb index 13b3f665f4..9c6603648a 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/service_specification.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/service_specification.rb @@ -23,7 +23,6 @@ class ServiceSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceSpecification', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ServiceSpecification', model_properties: { metric_specifications: { - client_side_validation: true, required: false, serialized_name: 'metricSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricSpecificationElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/sku.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/sku.rb index 27ec27a53e..654815fcad 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/sku.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/sku.rb @@ -51,7 +51,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', @@ -78,7 +75,6 @@ def self.mapper() } }, resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -87,7 +83,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -97,14 +92,12 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -114,14 +107,12 @@ def self.mapper() } }, capabilities: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SKUCapabilityElementType', type: { @@ -132,13 +123,11 @@ def self.mapper() } }, restrictions: { - client_side_validation: true, required: false, serialized_name: 'restrictions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RestrictionElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/skucapability.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/skucapability.rb index bc2ce0e365..a689d1ca8e 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/skucapability.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/skucapability.rb @@ -29,7 +29,6 @@ class SKUCapability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SKUCapability', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'SKUCapability', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -46,7 +44,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb index 3a52c7f179..293adb9fcc 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb @@ -95,7 +95,6 @@ class StorageAccount < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { @@ -103,7 +102,6 @@ def self.mapper() class_name: 'StorageAccount', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -112,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -121,7 +118,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -130,7 +126,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -138,13 +133,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: { @@ -154,7 +147,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -164,7 +156,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -174,7 +165,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -183,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -193,7 +182,6 @@ def self.mapper() } }, primary_endpoints: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.primaryEndpoints', @@ -203,7 +191,6 @@ def self.mapper() } }, primary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.primaryLocation', @@ -212,7 +199,6 @@ def self.mapper() } }, status_of_primary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusOfPrimary', @@ -222,7 +208,6 @@ def self.mapper() } }, last_geo_failover_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastGeoFailoverTime', @@ -231,7 +216,6 @@ def self.mapper() } }, secondary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.secondaryLocation', @@ -240,7 +224,6 @@ def self.mapper() } }, status_of_secondary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusOfSecondary', @@ -250,7 +233,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', @@ -259,7 +241,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.customDomain', @@ -269,7 +250,6 @@ def self.mapper() } }, secondary_endpoints: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.secondaryEndpoints', @@ -279,7 +259,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.encryption', @@ -289,7 +268,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accessTier', @@ -299,7 +277,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, @@ -308,7 +285,6 @@ def self.mapper() } }, network_rule_set: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkAcls', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb index 4c4588bcac..096160ceb4 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb @@ -28,7 +28,6 @@ class StorageAccountCheckNameAvailabilityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCheckNameAvailabilityParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'StorageAccountCheckNameAvailabilityParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb index de88970221..ab1a6bef74 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb @@ -67,7 +67,6 @@ class StorageAccountCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCreateParameters', type: { @@ -75,7 +74,6 @@ def self.mapper() class_name: 'StorageAccountCreateParameters', model_properties: { sku: { - client_side_validation: true, required: true, serialized_name: 'sku', type: { @@ -84,7 +82,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: true, serialized_name: 'kind', type: { @@ -93,7 +90,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -101,13 +97,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: { @@ -117,7 +111,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -126,7 +119,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -135,7 +127,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, network_rule_set: { - client_side_validation: true, required: false, serialized_name: 'properties.networkAcls', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, serialized_name: 'properties.accessTier', type: { @@ -162,7 +151,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_key.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_key.rb index aaed7b5fea..b8e5c82a50 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_key.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_key.rb @@ -29,7 +29,6 @@ class StorageAccountKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKey', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StorageAccountKey', model_properties: { key_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'keyName', @@ -46,7 +44,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -55,7 +52,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'permissions', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb index 6b35fa2fae..f8c07da62a 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb @@ -23,7 +23,6 @@ class StorageAccountListKeysResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListKeysResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageAccountListKeysResult', model_properties: { keys: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'keys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKeyElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb index 0b34365578..a4fb02a66f 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb @@ -23,7 +23,6 @@ class StorageAccountListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageAccountListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb index 834727b082..1bcae66395 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb @@ -23,7 +23,6 @@ class StorageAccountRegenerateKeyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountRegenerateKeyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'StorageAccountRegenerateKeyParameters', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb index 3ba446743b..68d0a0c290 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb @@ -58,7 +58,6 @@ class StorageAccountUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountUpdateParameters', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'StorageAccountUpdateParameters', model_properties: { sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -75,13 +73,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: { @@ -91,7 +87,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -100,7 +95,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -109,7 +103,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { @@ -118,7 +111,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, serialized_name: 'properties.accessTier', type: { @@ -127,7 +119,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, @@ -136,7 +127,6 @@ def self.mapper() } }, network_rule_set: { - client_side_validation: true, required: false, serialized_name: 'properties.networkAcls', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb index 5079d72ef9..aa398978c9 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb @@ -23,7 +23,6 @@ class StorageSkuListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageSkuListResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageSkuListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SkuElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage.rb index a1af185e6b..b308fbdc80 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -53,7 +51,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -62,7 +59,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -71,7 +67,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_list_result.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_list_result.rb index 0be6a3f855..077953fc1f 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_list_result.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_list_result.rb @@ -23,7 +23,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_name.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_name.rb index b117eb6836..48f44f997b 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_name.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb index e3a24d8336..519f5b864b 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb @@ -32,7 +32,6 @@ class VirtualNetworkRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkRule', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkRule', model_properties: { virtual_network_resource_id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, action: { - client_side_validation: true, required: false, serialized_name: 'action', default_value: 'Allow', @@ -58,7 +55,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/operations.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/operations.rb index 56bbe3ce57..d1cce60182 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/operations.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] 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 @@ -42,8 +42,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 # @@ -54,12 +54,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_storage/lib/2017-06-01/generated/azure_mgmt_storage/skus.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/skus.rb index 15b3b7669c..b3a0976a72 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/skus.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/skus.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [StorageSkuListResult] 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 @@ -44,8 +44,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 # @@ -57,13 +57,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_storage/lib/2017-06-01/generated/azure_mgmt_storage/storage_accounts.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/storage_accounts.rb index f4b754d5b8..bea9f2f0d2 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/storage_accounts.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/storage_accounts.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [CheckNameAvailabilityResult] operation results. # - def check_name_availability(account_name, custom_headers:nil) - response = check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability(account_name, custom_headers = nil) + response = check_name_availability_async(account_name, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def check_name_availability(account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(account_name, custom_headers:nil) - check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(account_name, custom_headers = nil) + check_name_availability_async(account_name, custom_headers).value! end # @@ -66,19 +66,20 @@ def check_name_availability_with_http_info(account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(account_name, custom_headers:nil) + def check_name_availability_async(account_name, custom_headers = nil) fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountCheckNameAvailabilityParameters.mapper() request_content = @client.serialize(request_mapper, account_name) @@ -144,8 +145,8 @@ def check_name_availability_async(account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def create(resource_group_name, account_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -163,9 +164,9 @@ def create(resource_group_name, account_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def create_async(resource_group_name, account_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -193,8 +194,8 @@ def create_async(resource_group_name, account_name, parameters, custom_headers:n # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, custom_headers).value! nil end @@ -211,8 +212,8 @@ def delete(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) - delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, custom_headers = nil) + delete_async(resource_group_name, account_name, custom_headers).value! end # @@ -228,20 +229,14 @@ def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -291,8 +286,8 @@ def delete_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def get_properties(resource_group_name, account_name, custom_headers:nil) - response = get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties(resource_group_name, account_name, custom_headers = nil) + response = get_properties_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -311,8 +306,8 @@ def get_properties(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_properties_with_http_info(resource_group_name, account_name, custom_headers:nil) - get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties_with_http_info(resource_group_name, account_name, custom_headers = nil) + get_properties_async(resource_group_name, account_name, custom_headers).value! end # @@ -330,20 +325,14 @@ def get_properties_with_http_info(resource_group_name, account_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_properties_async(resource_group_name, account_name, custom_headers:nil) + def get_properties_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -411,8 +400,8 @@ def get_properties_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def update(resource_group_name, account_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -439,8 +428,8 @@ def update(resource_group_name, account_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -466,26 +455,22 @@ def update_with_http_info(resource_group_name, account_name, parameters, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -541,8 +526,8 @@ def update_async(resource_group_name, account_name, parameters, custom_headers:n # # @return [StorageAccountListResult] 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 @@ -555,8 +540,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 # @@ -568,13 +553,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -630,8 +614,8 @@ def list_async(custom_headers:nil) # # @return [StorageAccountListResult] 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 @@ -646,8 +630,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 # @@ -661,17 +645,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, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -729,8 +709,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [StorageAccountListKeysResult] operation results. # - def list_keys(resource_group_name, account_name, custom_headers:nil) - response = list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys(resource_group_name, account_name, custom_headers = nil) + response = list_keys_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -747,8 +727,8 @@ def list_keys(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_keys_with_http_info(resource_group_name, account_name, custom_headers:nil) - list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_keys_async(resource_group_name, account_name, custom_headers).value! end # @@ -764,20 +744,14 @@ def list_keys_with_http_info(resource_group_name, account_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_keys_async(resource_group_name, account_name, custom_headers:nil) + def list_keys_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -837,8 +811,8 @@ def list_keys_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccountListKeysResult] operation results. # - def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers:nil) - response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers = nil) + response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! response.body unless response.nil? end @@ -857,8 +831,8 @@ def regenerate_key(resource_group_name, account_name, regenerate_key, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers:nil) - regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers = nil) + regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! end # @@ -876,26 +850,22 @@ def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:nil) + def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'regenerate_key is nil' if regenerate_key.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountRegenerateKeyParameters.mapper() request_content = @client.serialize(request_mapper, regenerate_key) @@ -957,8 +927,8 @@ def regenerate_key_async(resource_group_name, account_name, regenerate_key, cust # # @return [ListAccountSasResponse] operation results. # - def list_account_sas(resource_group_name, account_name, parameters, custom_headers:nil) - response = list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_account_sas(resource_group_name, account_name, parameters, custom_headers = nil) + response = list_account_sas_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -977,8 +947,8 @@ def list_account_sas(resource_group_name, account_name, parameters, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_account_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_account_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + list_account_sas_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -996,26 +966,22 @@ def list_account_sas_with_http_info(resource_group_name, account_name, parameter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:nil) + def list_account_sas_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_06_01::Models::AccountSasParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1077,8 +1043,8 @@ def list_account_sas_async(resource_group_name, account_name, parameters, custom # # @return [ListServiceSasResponse] operation results. # - def list_service_sas(resource_group_name, account_name, parameters, custom_headers:nil) - response = list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_service_sas(resource_group_name, account_name, parameters, custom_headers = nil) + response = list_service_sas_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1097,8 +1063,8 @@ def list_service_sas(resource_group_name, account_name, parameters, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_service_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_service_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + list_service_sas_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -1116,26 +1082,22 @@ def list_service_sas_with_http_info(resource_group_name, account_name, parameter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:nil) + def list_service_sas_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_06_01::Models::ServiceSasParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1201,8 +1163,8 @@ def list_service_sas_async(resource_group_name, account_name, parameters, custom # # @return [StorageAccount] operation results. # - def begin_create(resource_group_name, account_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, account_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1225,8 +1187,8 @@ def begin_create(resource_group_name, account_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -1248,26 +1210,22 @@ def begin_create_with_http_info(resource_group_name, account_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountCreateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb index 261fb5fed8..00753a1720 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb @@ -118,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? diff --git a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/usage_operations.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/usage_operations.rb index 3d2c31b46e..32d0daece8 100644 --- a/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/usage_operations.rb +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/usage_operations.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] 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 @@ -44,8 +44,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 # @@ -57,13 +57,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_storage/lib/2017-06-01/generated/azure_mgmt_storage/version.rb b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/version.rb new file mode 100644 index 0000000000..e1f526cb2d --- /dev/null +++ b/management/azure_mgmt_storage/lib/2017-06-01/generated/azure_mgmt_storage/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::Storage::Mgmt::V2017_06_01 + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb index f89c4126ae..6e141ad1e4 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb @@ -55,7 +55,6 @@ class AccountSasParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AccountSasParameters', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'AccountSasParameters', model_properties: { services: { - client_side_validation: true, required: true, serialized_name: 'signedServices', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, resource_types: { - client_side_validation: true, required: true, serialized_name: 'signedResourceTypes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: true, serialized_name: 'signedPermission', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipaddress_or_range: { - client_side_validation: true, required: false, serialized_name: 'signedIp', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, protocols: { - client_side_validation: true, required: false, serialized_name: 'signedProtocol', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, shared_access_start_time: { - client_side_validation: true, required: false, serialized_name: 'signedStart', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, shared_access_expiry_time: { - client_side_validation: true, required: true, serialized_name: 'signedExpiry', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, key_to_sign: { - client_side_validation: true, required: false, serialized_name: 'keyToSign', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb index 0c2596a2b8..e3b10b4283 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb @@ -33,7 +33,6 @@ class CheckNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityResult', model_properties: { name_available: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nameAvailable', @@ -50,7 +48,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reason', @@ -60,7 +57,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb index 1646f90a30..a4c773f419 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb @@ -28,7 +28,6 @@ class CustomDomain # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CustomDomain', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'CustomDomain', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, use_sub_domain: { - client_side_validation: true, required: false, serialized_name: 'useSubDomain', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/dimension.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/dimension.rb index 15bf88a15e..a8e92291ed 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/dimension.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/dimension.rb @@ -25,7 +25,6 @@ class Dimension # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Dimension', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Dimension', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption.rb index 680c032e80..97953dabb6 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption.rb @@ -31,7 +31,6 @@ class Encryption # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Encryption', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Encryption', model_properties: { services: { - client_side_validation: true, required: false, serialized_name: 'services', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_source: { - client_side_validation: true, required: true, serialized_name: 'keySource', default_value: 'Microsoft.Storage', @@ -57,7 +54,6 @@ def self.mapper() } }, key_vault_properties: { - client_side_validation: true, required: false, serialized_name: 'keyvaultproperties', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb index 1da83b8fee..46207eab56 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb @@ -29,7 +29,6 @@ class EncryptionService # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionService', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EncryptionService', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, last_enabled_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastEnabledTime', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_services.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_services.rb index afa9e58ee9..1023402a4f 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_services.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_services.rb @@ -35,7 +35,6 @@ class EncryptionServices # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionServices', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'EncryptionServices', model_properties: { blob: { - client_side_validation: true, required: false, serialized_name: 'blob', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, file: { - client_side_validation: true, required: false, serialized_name: 'file', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'table', @@ -71,7 +67,6 @@ def self.mapper() } }, queue: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queue', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/endpoints.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/endpoints.rb index d3bdfaf83d..627765c6f6 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/endpoints.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/endpoints.rb @@ -32,7 +32,6 @@ class Endpoints # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Endpoints', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Endpoints', model_properties: { blob: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'blob', @@ -49,7 +47,6 @@ def self.mapper() } }, queue: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queue', @@ -58,7 +55,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'table', @@ -67,7 +63,6 @@ def self.mapper() } }, file: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'file', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/identity.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/identity.rb index fdde843edf..02cead8578 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/identity.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/identity.rb @@ -28,7 +28,6 @@ class Identity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Identity', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Identity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -45,7 +43,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/iprule.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/iprule.rb index bdb2d4ff91..ba4d58eefb 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/iprule.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/iprule.rb @@ -27,7 +27,6 @@ class IPRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPRule', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'IPRule', model_properties: { ipaddress_or_range: { - client_side_validation: true, required: true, serialized_name: 'value', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, action: { - client_side_validation: true, required: false, serialized_name: 'action', default_value: 'Allow', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/key_vault_properties.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/key_vault_properties.rb index cf70098cb0..cb5f5e421f 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/key_vault_properties.rb @@ -28,7 +28,6 @@ class KeyVaultProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultProperties', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'KeyVaultProperties', model_properties: { key_name: { - client_side_validation: true, required: false, serialized_name: 'keyname', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, key_version: { - client_side_validation: true, required: false, serialized_name: 'keyversion', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, key_vault_uri: { - client_side_validation: true, required: false, serialized_name: 'keyvaulturi', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb index 9460d98b54..db50ecbb05 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb @@ -22,7 +22,6 @@ class ListAccountSasResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListAccountSasResponse', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ListAccountSasResponse', model_properties: { account_sas_token: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'accountSasToken', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb index 4da5bf7c3e..385ff7d49d 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb @@ -22,7 +22,6 @@ class ListServiceSasResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListServiceSasResponse', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ListServiceSasResponse', model_properties: { service_sas_token: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'serviceSasToken', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/metric_specification.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/metric_specification.rb index c54977cee2..6b76ef5f41 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/metric_specification.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/metric_specification.rb @@ -48,7 +48,6 @@ class MetricSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'MetricSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, display_description: { - client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { @@ -80,7 +76,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, dimensions: { - client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, aggregation_type: { - client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, fill_gap_with_zero: { - client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, category: { - client_side_validation: true, required: false, serialized_name: 'category', type: { @@ -129,7 +119,6 @@ def self.mapper() } }, resource_id_dimension_name_override: { - client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/network_rule_set.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/network_rule_set.rb index 36830b2e70..63e3ae032d 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/network_rule_set.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/network_rule_set.rb @@ -37,7 +37,6 @@ class NetworkRuleSet # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkRuleSet', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'NetworkRuleSet', model_properties: { bypass: { - client_side_validation: true, required: false, serialized_name: 'bypass', default_value: 'AzureServices', @@ -54,13 +52,11 @@ def self.mapper() } }, virtual_network_rules: { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkRuleElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, ip_rules: { - client_side_validation: true, required: false, serialized_name: 'ipRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPRuleElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, default_action: { - client_side_validation: true, required: true, serialized_name: 'defaultAction', default_value: 'Allow', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation.rb index 24d5e9af4d..863fe000c0 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation.rb @@ -33,7 +33,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, service_specification: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_display.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_display.rb index 4485b9db55..ac07cee134 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_display.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_display.rb @@ -28,7 +28,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_list_result.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_list_result.rb index 7b68fadf19..fe73ced102 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_list_result.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_list_result.rb @@ -24,7 +24,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'OperationListResult', 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_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/resource.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/resource.rb index 1b58d10ea9..8342ed86f8 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/resource.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,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_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/restriction.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/restriction.rb index b722ca9be3..099b889d18 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/restriction.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/restriction.rb @@ -35,7 +35,6 @@ class Restriction # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Restriction', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Restriction', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -52,14 +50,12 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, reason_code: { - client_side_validation: true, required: false, serialized_name: 'reasonCode', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb index 07b1be0864..d5f3b94610 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb @@ -83,7 +83,6 @@ class ServiceSasParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceSasParameters', type: { @@ -91,7 +90,6 @@ def self.mapper() class_name: 'ServiceSasParameters', model_properties: { canonicalized_resource: { - client_side_validation: true, required: true, serialized_name: 'canonicalizedResource', type: { @@ -99,7 +97,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: true, serialized_name: 'signedResource', type: { @@ -107,7 +104,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: false, serialized_name: 'signedPermission', type: { @@ -115,7 +111,6 @@ def self.mapper() } }, ipaddress_or_range: { - client_side_validation: true, required: false, serialized_name: 'signedIp', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, protocols: { - client_side_validation: true, required: false, serialized_name: 'signedProtocol', type: { @@ -132,7 +126,6 @@ def self.mapper() } }, shared_access_start_time: { - client_side_validation: true, required: false, serialized_name: 'signedStart', type: { @@ -140,7 +133,6 @@ def self.mapper() } }, shared_access_expiry_time: { - client_side_validation: true, required: false, serialized_name: 'signedExpiry', type: { @@ -148,7 +140,6 @@ def self.mapper() } }, identifier: { - client_side_validation: true, required: false, serialized_name: 'signedIdentifier', constraints: { @@ -159,7 +150,6 @@ def self.mapper() } }, partition_key_start: { - client_side_validation: true, required: false, serialized_name: 'startPk', type: { @@ -167,7 +157,6 @@ def self.mapper() } }, partition_key_end: { - client_side_validation: true, required: false, serialized_name: 'endPk', type: { @@ -175,7 +164,6 @@ def self.mapper() } }, row_key_start: { - client_side_validation: true, required: false, serialized_name: 'startRk', type: { @@ -183,7 +171,6 @@ def self.mapper() } }, row_key_end: { - client_side_validation: true, required: false, serialized_name: 'endRk', type: { @@ -191,7 +178,6 @@ def self.mapper() } }, key_to_sign: { - client_side_validation: true, required: false, serialized_name: 'keyToSign', type: { @@ -199,7 +185,6 @@ def self.mapper() } }, cache_control: { - client_side_validation: true, required: false, serialized_name: 'rscc', type: { @@ -207,7 +192,6 @@ def self.mapper() } }, content_disposition: { - client_side_validation: true, required: false, serialized_name: 'rscd', type: { @@ -215,7 +199,6 @@ def self.mapper() } }, content_encoding: { - client_side_validation: true, required: false, serialized_name: 'rsce', type: { @@ -223,7 +206,6 @@ def self.mapper() } }, content_language: { - client_side_validation: true, required: false, serialized_name: 'rscl', type: { @@ -231,7 +213,6 @@ def self.mapper() } }, content_type: { - client_side_validation: true, required: false, serialized_name: 'rsct', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/service_specification.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/service_specification.rb index 3e59d87950..0d0a39a40c 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/service_specification.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/service_specification.rb @@ -23,7 +23,6 @@ class ServiceSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceSpecification', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ServiceSpecification', model_properties: { metric_specifications: { - client_side_validation: true, required: false, serialized_name: 'metricSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricSpecificationElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/sku.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/sku.rb index 078575b85c..ff29940aa6 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/sku.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/sku.rb @@ -51,7 +51,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', @@ -78,7 +75,6 @@ def self.mapper() } }, resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -87,7 +83,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -97,14 +92,12 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -114,14 +107,12 @@ def self.mapper() } }, capabilities: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SKUCapabilityElementType', type: { @@ -132,13 +123,11 @@ def self.mapper() } }, restrictions: { - client_side_validation: true, required: false, serialized_name: 'restrictions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RestrictionElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/skucapability.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/skucapability.rb index 5cdc1fcef3..bd8490f453 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/skucapability.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/skucapability.rb @@ -29,7 +29,6 @@ class SKUCapability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SKUCapability', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'SKUCapability', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -46,7 +44,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account.rb index 8ad4871ded..f2122d36d3 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account.rb @@ -95,7 +95,6 @@ class StorageAccount < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { @@ -103,7 +102,6 @@ def self.mapper() class_name: 'StorageAccount', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -112,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -121,7 +118,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -130,7 +126,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -138,13 +133,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: { @@ -154,7 +147,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -164,7 +156,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -174,7 +165,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -183,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -193,7 +182,6 @@ def self.mapper() } }, primary_endpoints: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.primaryEndpoints', @@ -203,7 +191,6 @@ def self.mapper() } }, primary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.primaryLocation', @@ -212,7 +199,6 @@ def self.mapper() } }, status_of_primary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusOfPrimary', @@ -222,7 +208,6 @@ def self.mapper() } }, last_geo_failover_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastGeoFailoverTime', @@ -231,7 +216,6 @@ def self.mapper() } }, secondary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.secondaryLocation', @@ -240,7 +224,6 @@ def self.mapper() } }, status_of_secondary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusOfSecondary', @@ -250,7 +233,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', @@ -259,7 +241,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.customDomain', @@ -269,7 +250,6 @@ def self.mapper() } }, secondary_endpoints: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.secondaryEndpoints', @@ -279,7 +259,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.encryption', @@ -289,7 +268,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accessTier', @@ -299,7 +277,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, @@ -308,7 +285,6 @@ def self.mapper() } }, network_rule_set: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkAcls', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb index e00bef28f1..81f4d23f1d 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb @@ -28,7 +28,6 @@ class StorageAccountCheckNameAvailabilityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCheckNameAvailabilityParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'StorageAccountCheckNameAvailabilityParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb index 7620dcf9ac..446399fc59 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb @@ -67,7 +67,6 @@ class StorageAccountCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCreateParameters', type: { @@ -75,7 +74,6 @@ def self.mapper() class_name: 'StorageAccountCreateParameters', model_properties: { sku: { - client_side_validation: true, required: true, serialized_name: 'sku', type: { @@ -84,7 +82,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: true, serialized_name: 'kind', type: { @@ -93,7 +90,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -101,13 +97,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: { @@ -117,7 +111,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -126,7 +119,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -135,7 +127,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, network_rule_set: { - client_side_validation: true, required: false, serialized_name: 'properties.networkAcls', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, serialized_name: 'properties.accessTier', type: { @@ -162,7 +151,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_key.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_key.rb index 75e80176be..fc26ee0f30 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_key.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_key.rb @@ -29,7 +29,6 @@ class StorageAccountKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKey', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StorageAccountKey', model_properties: { key_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'keyName', @@ -46,7 +44,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -55,7 +52,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'permissions', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb index d5b1a0b2ce..725e72af2e 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb @@ -23,7 +23,6 @@ class StorageAccountListKeysResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListKeysResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageAccountListKeysResult', model_properties: { keys: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'keys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKeyElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb index 159f9c81ac..d82126efc9 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb @@ -23,7 +23,6 @@ class StorageAccountListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageAccountListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb index e9f6b8f587..37eb7df1f4 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb @@ -23,7 +23,6 @@ class StorageAccountRegenerateKeyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountRegenerateKeyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'StorageAccountRegenerateKeyParameters', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb index 83f6999532..c72e81b9ff 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb @@ -63,7 +63,6 @@ class StorageAccountUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountUpdateParameters', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'StorageAccountUpdateParameters', model_properties: { sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -80,13 +78,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: { @@ -96,7 +92,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { @@ -123,7 +116,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, serialized_name: 'properties.accessTier', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, @@ -141,7 +132,6 @@ def self.mapper() } }, network_rule_set: { - client_side_validation: true, required: false, serialized_name: 'properties.networkAcls', type: { @@ -150,7 +140,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, serialized_name: 'kind', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb index da969e33c8..1ec49bde96 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb @@ -23,7 +23,6 @@ class StorageSkuListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageSkuListResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageSkuListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SkuElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage.rb index 9b39fcbaa9..7db908ca29 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -53,7 +51,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -62,7 +59,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -71,7 +67,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_list_result.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_list_result.rb index 2ddaefead4..4767eb53f5 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_list_result.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_list_result.rb @@ -23,7 +23,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_name.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_name.rb index e694d469ce..95cea63860 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_name.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb index f15aa28029..12dcc078ab 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb @@ -32,7 +32,6 @@ class VirtualNetworkRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkRule', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkRule', model_properties: { virtual_network_resource_id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, action: { - client_side_validation: true, required: false, serialized_name: 'action', default_value: 'Allow', @@ -58,7 +55,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/operations.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/operations.rb index fe7d0148a9..089e335c47 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/operations.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] 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 @@ -42,8 +42,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 # @@ -54,12 +54,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_storage/lib/2017-10-01/generated/azure_mgmt_storage/skus.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/skus.rb index 0f01e2ef0a..af8ace817e 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/skus.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/skus.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [StorageSkuListResult] 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 @@ -44,8 +44,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 # @@ -57,13 +57,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_storage/lib/2017-10-01/generated/azure_mgmt_storage/storage_accounts.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/storage_accounts.rb index 17646a7e5e..df913c5d51 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/storage_accounts.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/storage_accounts.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [CheckNameAvailabilityResult] operation results. # - def check_name_availability(account_name, custom_headers:nil) - response = check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability(account_name, custom_headers = nil) + response = check_name_availability_async(account_name, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def check_name_availability(account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(account_name, custom_headers:nil) - check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(account_name, custom_headers = nil) + check_name_availability_async(account_name, custom_headers).value! end # @@ -66,19 +66,20 @@ def check_name_availability_with_http_info(account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(account_name, custom_headers:nil) + def check_name_availability_async(account_name, custom_headers = nil) fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCheckNameAvailabilityParameters.mapper() request_content = @client.serialize(request_mapper, account_name) @@ -144,8 +145,8 @@ def check_name_availability_async(account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def create(resource_group_name, account_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -163,9 +164,9 @@ def create(resource_group_name, account_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def create_async(resource_group_name, account_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -193,8 +194,8 @@ def create_async(resource_group_name, account_name, parameters, custom_headers:n # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, custom_headers).value! nil end @@ -211,8 +212,8 @@ def delete(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) - delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, custom_headers = nil) + delete_async(resource_group_name, account_name, custom_headers).value! end # @@ -228,20 +229,14 @@ def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -291,8 +286,8 @@ def delete_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def get_properties(resource_group_name, account_name, custom_headers:nil) - response = get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties(resource_group_name, account_name, custom_headers = nil) + response = get_properties_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -311,8 +306,8 @@ def get_properties(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_properties_with_http_info(resource_group_name, account_name, custom_headers:nil) - get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties_with_http_info(resource_group_name, account_name, custom_headers = nil) + get_properties_async(resource_group_name, account_name, custom_headers).value! end # @@ -330,20 +325,14 @@ def get_properties_with_http_info(resource_group_name, account_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_properties_async(resource_group_name, account_name, custom_headers:nil) + def get_properties_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -411,8 +400,8 @@ def get_properties_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def update(resource_group_name, account_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -439,8 +428,8 @@ def update(resource_group_name, account_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -466,26 +455,22 @@ def update_with_http_info(resource_group_name, account_name, parameters, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -541,8 +526,8 @@ def update_async(resource_group_name, account_name, parameters, custom_headers:n # # @return [StorageAccountListResult] 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 @@ -555,8 +540,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 # @@ -568,13 +553,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -630,8 +614,8 @@ def list_async(custom_headers:nil) # # @return [StorageAccountListResult] 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 @@ -646,8 +630,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 # @@ -661,17 +645,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, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -729,8 +709,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [StorageAccountListKeysResult] operation results. # - def list_keys(resource_group_name, account_name, custom_headers:nil) - response = list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys(resource_group_name, account_name, custom_headers = nil) + response = list_keys_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -747,8 +727,8 @@ def list_keys(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_keys_with_http_info(resource_group_name, account_name, custom_headers:nil) - list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_keys_async(resource_group_name, account_name, custom_headers).value! end # @@ -764,20 +744,14 @@ def list_keys_with_http_info(resource_group_name, account_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_keys_async(resource_group_name, account_name, custom_headers:nil) + def list_keys_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -837,8 +811,8 @@ def list_keys_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccountListKeysResult] operation results. # - def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers:nil) - response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers = nil) + response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! response.body unless response.nil? end @@ -857,8 +831,8 @@ def regenerate_key(resource_group_name, account_name, regenerate_key, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers:nil) - regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers = nil) + regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! end # @@ -876,26 +850,22 @@ def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:nil) + def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'regenerate_key is nil' if regenerate_key.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountRegenerateKeyParameters.mapper() request_content = @client.serialize(request_mapper, regenerate_key) @@ -957,8 +927,8 @@ def regenerate_key_async(resource_group_name, account_name, regenerate_key, cust # # @return [ListAccountSasResponse] operation results. # - def list_account_sas(resource_group_name, account_name, parameters, custom_headers:nil) - response = list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_account_sas(resource_group_name, account_name, parameters, custom_headers = nil) + response = list_account_sas_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -977,8 +947,8 @@ def list_account_sas(resource_group_name, account_name, parameters, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_account_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_account_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + list_account_sas_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -996,26 +966,22 @@ def list_account_sas_with_http_info(resource_group_name, account_name, parameter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:nil) + def list_account_sas_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_10_01::Models::AccountSasParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1077,8 +1043,8 @@ def list_account_sas_async(resource_group_name, account_name, parameters, custom # # @return [ListServiceSasResponse] operation results. # - def list_service_sas(resource_group_name, account_name, parameters, custom_headers:nil) - response = list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_service_sas(resource_group_name, account_name, parameters, custom_headers = nil) + response = list_service_sas_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1097,8 +1063,8 @@ def list_service_sas(resource_group_name, account_name, parameters, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_service_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_service_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + list_service_sas_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -1116,26 +1082,22 @@ def list_service_sas_with_http_info(resource_group_name, account_name, parameter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:nil) + def list_service_sas_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSasParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1201,8 +1163,8 @@ def list_service_sas_async(resource_group_name, account_name, parameters, custom # # @return [StorageAccount] operation results. # - def begin_create(resource_group_name, account_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, account_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1225,8 +1187,8 @@ def begin_create(resource_group_name, account_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -1248,26 +1210,22 @@ def begin_create_with_http_info(resource_group_name, account_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCreateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb index 661281bff0..3eee4823dd 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb @@ -118,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? diff --git a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/usage_operations.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/usage_operations.rb index 7385efc490..5f3c7403dc 100644 --- a/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/usage_operations.rb +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/usage_operations.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] 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 @@ -44,8 +44,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 # @@ -57,13 +57,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.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_storage/lib/2017-10-01/generated/azure_mgmt_storage/version.rb b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/version.rb new file mode 100644 index 0000000000..3777c6cad8 --- /dev/null +++ b/management/azure_mgmt_storage/lib/2017-10-01/generated/azure_mgmt_storage/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::Storage::Mgmt::V2017_10_01 + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/blob_containers.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/blob_containers.rb index 3528bb5a1b..e13ca29bdf 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/blob_containers.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/blob_containers.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [ListContainerItems] operation results. # - def list(resource_group_name, account_name, custom_headers:nil) - response = list_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list(resource_group_name, account_name, custom_headers = nil) + response = list_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -54,8 +54,8 @@ def list(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, custom_headers:nil) - list_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_async(resource_group_name, account_name, custom_headers).value! end # @@ -72,22 +72,14 @@ def list_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, custom_headers:nil) + def list_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -155,8 +147,8 @@ def list_async(resource_group_name, account_name, custom_headers:nil) # # @return [BlobContainer] operation results. # - def create(resource_group_name, account_name, container_name, blob_container, custom_headers:nil) - response = create_async(resource_group_name, account_name, container_name, blob_container, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, container_name, blob_container, custom_headers = nil) + response = create_async(resource_group_name, account_name, container_name, blob_container, custom_headers).value! response.body unless response.nil? end @@ -183,8 +175,8 @@ def create(resource_group_name, account_name, container_name, blob_container, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_with_http_info(resource_group_name, account_name, container_name, blob_container, custom_headers:nil) - create_async(resource_group_name, account_name, container_name, blob_container, custom_headers:custom_headers).value! + def create_with_http_info(resource_group_name, account_name, container_name, blob_container, custom_headers = nil) + create_async(resource_group_name, account_name, container_name, blob_container, custom_headers).value! end # @@ -210,31 +202,23 @@ def create_with_http_info(resource_group_name, account_name, container_name, blo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_async(resource_group_name, account_name, container_name, blob_container, custom_headers:nil) + def create_async(resource_group_name, account_name, container_name, blob_container, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'container_name is nil' if container_name.nil? - fail ArgumentError, "'container_name' should satisfy the constraint - 'MaxLength': '63'" if !container_name.nil? && container_name.length > 63 - fail ArgumentError, "'container_name' should satisfy the constraint - 'MinLength': '3'" if !container_name.nil? && container_name.length < 3 fail ArgumentError, 'blob_container is nil' if blob_container.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 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::Storage::Mgmt::V2018_02_01::Models::BlobContainer.mapper() request_content = @client.serialize(request_mapper, blob_container) @@ -303,8 +287,8 @@ def create_async(resource_group_name, account_name, container_name, blob_contain # # @return [BlobContainer] operation results. # - def update(resource_group_name, account_name, container_name, blob_container, custom_headers:nil) - response = update_async(resource_group_name, account_name, container_name, blob_container, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, container_name, blob_container, custom_headers = nil) + response = update_async(resource_group_name, account_name, container_name, blob_container, custom_headers).value! response.body unless response.nil? end @@ -330,8 +314,8 @@ def update(resource_group_name, account_name, container_name, blob_container, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, container_name, blob_container, custom_headers:nil) - update_async(resource_group_name, account_name, container_name, blob_container, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, container_name, blob_container, custom_headers = nil) + update_async(resource_group_name, account_name, container_name, blob_container, custom_headers).value! end # @@ -356,31 +340,23 @@ def update_with_http_info(resource_group_name, account_name, container_name, blo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, container_name, blob_container, custom_headers:nil) + def update_async(resource_group_name, account_name, container_name, blob_container, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'container_name is nil' if container_name.nil? - fail ArgumentError, "'container_name' should satisfy the constraint - 'MaxLength': '63'" if !container_name.nil? && container_name.length > 63 - fail ArgumentError, "'container_name' should satisfy the constraint - 'MinLength': '3'" if !container_name.nil? && container_name.length < 3 fail ArgumentError, 'blob_container is nil' if blob_container.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 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::Storage::Mgmt::V2018_02_01::Models::BlobContainer.mapper() request_content = @client.serialize(request_mapper, blob_container) @@ -445,8 +421,8 @@ def update_async(resource_group_name, account_name, container_name, blob_contain # # @return [BlobContainer] operation results. # - def get(resource_group_name, account_name, container_name, custom_headers:nil) - response = get_async(resource_group_name, account_name, container_name, custom_headers:custom_headers).value! + def get(resource_group_name, account_name, container_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, container_name, custom_headers).value! response.body unless response.nil? end @@ -468,8 +444,8 @@ def get(resource_group_name, account_name, container_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, account_name, container_name, custom_headers:nil) - get_async(resource_group_name, account_name, container_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, account_name, container_name, custom_headers = nil) + get_async(resource_group_name, account_name, container_name, custom_headers).value! end # @@ -490,25 +466,15 @@ def get_with_http_info(resource_group_name, account_name, container_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, account_name, container_name, custom_headers:nil) + def get_async(resource_group_name, account_name, container_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'container_name is nil' if container_name.nil? - fail ArgumentError, "'container_name' should satisfy the constraint - 'MaxLength': '63'" if !container_name.nil? && container_name.length > 63 - fail ArgumentError, "'container_name' should satisfy the constraint - 'MinLength': '3'" if !container_name.nil? && container_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -570,8 +536,8 @@ def get_async(resource_group_name, account_name, container_name, custom_headers: # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, container_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, container_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, container_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, container_name, custom_headers).value! nil end @@ -593,8 +559,8 @@ def delete(resource_group_name, account_name, container_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, container_name, custom_headers:nil) - delete_async(resource_group_name, account_name, container_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, container_name, custom_headers = nil) + delete_async(resource_group_name, account_name, container_name, custom_headers).value! end # @@ -615,25 +581,15 @@ def delete_with_http_info(resource_group_name, account_name, container_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, container_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, container_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'container_name is nil' if container_name.nil? - fail ArgumentError, "'container_name' should satisfy the constraint - 'MaxLength': '63'" if !container_name.nil? && container_name.length > 63 - fail ArgumentError, "'container_name' should satisfy the constraint - 'MinLength': '3'" if !container_name.nil? && container_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -690,8 +646,8 @@ def delete_async(resource_group_name, account_name, container_name, custom_heade # # @return [LegalHold] operation results. # - def set_legal_hold(resource_group_name, account_name, container_name, legal_hold, custom_headers:nil) - response = set_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers:custom_headers).value! + def set_legal_hold(resource_group_name, account_name, container_name, legal_hold, custom_headers = nil) + response = set_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers).value! response.body unless response.nil? end @@ -717,8 +673,8 @@ def set_legal_hold(resource_group_name, account_name, container_name, legal_hold # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def set_legal_hold_with_http_info(resource_group_name, account_name, container_name, legal_hold, custom_headers:nil) - set_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers:custom_headers).value! + def set_legal_hold_with_http_info(resource_group_name, account_name, container_name, legal_hold, custom_headers = nil) + set_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers).value! end # @@ -743,31 +699,23 @@ def set_legal_hold_with_http_info(resource_group_name, account_name, container_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def set_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers:nil) + def set_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'container_name is nil' if container_name.nil? - fail ArgumentError, "'container_name' should satisfy the constraint - 'MaxLength': '63'" if !container_name.nil? && container_name.length > 63 - fail ArgumentError, "'container_name' should satisfy the constraint - 'MinLength': '3'" if !container_name.nil? && container_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 fail ArgumentError, 'legal_hold is nil' if legal_hold.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2018_02_01::Models::LegalHold.mapper() request_content = @client.serialize(request_mapper, legal_hold) @@ -836,8 +784,8 @@ def set_legal_hold_async(resource_group_name, account_name, container_name, lega # # @return [LegalHold] operation results. # - def clear_legal_hold(resource_group_name, account_name, container_name, legal_hold, custom_headers:nil) - response = clear_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers:custom_headers).value! + def clear_legal_hold(resource_group_name, account_name, container_name, legal_hold, custom_headers = nil) + response = clear_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers).value! response.body unless response.nil? end @@ -863,8 +811,8 @@ def clear_legal_hold(resource_group_name, account_name, container_name, legal_ho # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def clear_legal_hold_with_http_info(resource_group_name, account_name, container_name, legal_hold, custom_headers:nil) - clear_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers:custom_headers).value! + def clear_legal_hold_with_http_info(resource_group_name, account_name, container_name, legal_hold, custom_headers = nil) + clear_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers).value! end # @@ -889,31 +837,23 @@ def clear_legal_hold_with_http_info(resource_group_name, account_name, container # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def clear_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers:nil) + def clear_legal_hold_async(resource_group_name, account_name, container_name, legal_hold, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'container_name is nil' if container_name.nil? - fail ArgumentError, "'container_name' should satisfy the constraint - 'MaxLength': '63'" if !container_name.nil? && container_name.length > 63 - fail ArgumentError, "'container_name' should satisfy the constraint - 'MinLength': '3'" if !container_name.nil? && container_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 fail ArgumentError, 'legal_hold is nil' if legal_hold.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Storage::Mgmt::V2018_02_01::Models::LegalHold.mapper() request_content = @client.serialize(request_mapper, legal_hold) @@ -985,8 +925,8 @@ def clear_legal_hold_async(resource_group_name, account_name, container_name, le # # @return [ImmutabilityPolicy] operation results. # - def create_or_update_immutability_policy(resource_group_name, account_name, container_name, parameters:nil, if_match:nil, custom_headers:nil) - response = create_or_update_immutability_policy_async(resource_group_name, account_name, container_name, parameters:parameters, if_match:if_match, custom_headers:custom_headers).value! + def create_or_update_immutability_policy(resource_group_name, account_name, container_name, parameters = nil, if_match = nil, custom_headers = nil) + response = create_or_update_immutability_policy_async(resource_group_name, account_name, container_name, parameters, if_match, custom_headers).value! response.body unless response.nil? end @@ -1015,8 +955,8 @@ def create_or_update_immutability_policy(resource_group_name, account_name, cont # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_immutability_policy_with_http_info(resource_group_name, account_name, container_name, parameters:nil, if_match:nil, custom_headers:nil) - create_or_update_immutability_policy_async(resource_group_name, account_name, container_name, parameters:parameters, if_match:if_match, custom_headers:custom_headers).value! + def create_or_update_immutability_policy_with_http_info(resource_group_name, account_name, container_name, parameters = nil, if_match = nil, custom_headers = nil) + create_or_update_immutability_policy_async(resource_group_name, account_name, container_name, parameters, if_match, custom_headers).value! end # @@ -1044,32 +984,24 @@ def create_or_update_immutability_policy_with_http_info(resource_group_name, acc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_immutability_policy_async(resource_group_name, account_name, container_name, parameters:nil, if_match:nil, custom_headers:nil) + def create_or_update_immutability_policy_async(resource_group_name, account_name, container_name, parameters = nil, if_match = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'container_name is nil' if container_name.nil? - fail ArgumentError, "'container_name' should satisfy the constraint - 'MaxLength': '63'" if !container_name.nil? && container_name.length > 63 - fail ArgumentError, "'container_name' should satisfy the constraint - 'MinLength': '3'" if !container_name.nil? && container_name.length < 3 immutability_policy_name = 'default' fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['If-Match'] = if_match unless if_match.nil? 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::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1139,8 +1071,8 @@ def create_or_update_immutability_policy_async(resource_group_name, account_name # # @return [ImmutabilityPolicy] operation results. # - def get_immutability_policy(resource_group_name, account_name, container_name, if_match:nil, custom_headers:nil) - response = get_immutability_policy_async(resource_group_name, account_name, container_name, if_match:if_match, custom_headers:custom_headers).value! + def get_immutability_policy(resource_group_name, account_name, container_name, if_match = nil, custom_headers = nil) + response = get_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers).value! response.body unless response.nil? end @@ -1167,8 +1099,8 @@ def get_immutability_policy(resource_group_name, account_name, container_name, i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_immutability_policy_with_http_info(resource_group_name, account_name, container_name, if_match:nil, custom_headers:nil) - get_immutability_policy_async(resource_group_name, account_name, container_name, if_match:if_match, custom_headers:custom_headers).value! + def get_immutability_policy_with_http_info(resource_group_name, account_name, container_name, if_match = nil, custom_headers = nil) + get_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers).value! end # @@ -1194,26 +1126,16 @@ def get_immutability_policy_with_http_info(resource_group_name, account_name, co # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_immutability_policy_async(resource_group_name, account_name, container_name, if_match:nil, custom_headers:nil) + def get_immutability_policy_async(resource_group_name, account_name, container_name, if_match = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'container_name is nil' if container_name.nil? - fail ArgumentError, "'container_name' should satisfy the constraint - 'MaxLength': '63'" if !container_name.nil? && container_name.length > 63 - fail ArgumentError, "'container_name' should satisfy the constraint - 'MinLength': '3'" if !container_name.nil? && container_name.length < 3 immutability_policy_name = 'default' fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1285,8 +1207,8 @@ def get_immutability_policy_async(resource_group_name, account_name, container_n # # @return [ImmutabilityPolicy] operation results. # - def delete_immutability_policy(resource_group_name, account_name, container_name, if_match, custom_headers:nil) - response = delete_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers:custom_headers).value! + def delete_immutability_policy(resource_group_name, account_name, container_name, if_match, custom_headers = nil) + response = delete_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers).value! response.body unless response.nil? end @@ -1316,8 +1238,8 @@ def delete_immutability_policy(resource_group_name, account_name, container_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_immutability_policy_with_http_info(resource_group_name, account_name, container_name, if_match, custom_headers:nil) - delete_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers:custom_headers).value! + def delete_immutability_policy_with_http_info(resource_group_name, account_name, container_name, if_match, custom_headers = nil) + delete_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers).value! end # @@ -1346,27 +1268,17 @@ def delete_immutability_policy_with_http_info(resource_group_name, account_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers:nil) + def delete_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'container_name is nil' if container_name.nil? - fail ArgumentError, "'container_name' should satisfy the constraint - 'MaxLength': '63'" if !container_name.nil? && container_name.length > 63 - fail ArgumentError, "'container_name' should satisfy the constraint - 'MinLength': '3'" if !container_name.nil? && container_name.length < 3 immutability_policy_name = 'default' fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 fail ArgumentError, 'if_match is nil' if if_match.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1436,8 +1348,8 @@ def delete_immutability_policy_async(resource_group_name, account_name, containe # # @return [ImmutabilityPolicy] operation results. # - def lock_immutability_policy(resource_group_name, account_name, container_name, if_match, custom_headers:nil) - response = lock_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers:custom_headers).value! + def lock_immutability_policy(resource_group_name, account_name, container_name, if_match, custom_headers = nil) + response = lock_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers).value! response.body unless response.nil? end @@ -1465,8 +1377,8 @@ def lock_immutability_policy(resource_group_name, account_name, container_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def lock_immutability_policy_with_http_info(resource_group_name, account_name, container_name, if_match, custom_headers:nil) - lock_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers:custom_headers).value! + def lock_immutability_policy_with_http_info(resource_group_name, account_name, container_name, if_match, custom_headers = nil) + lock_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers).value! end # @@ -1493,26 +1405,16 @@ def lock_immutability_policy_with_http_info(resource_group_name, account_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def lock_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers:nil) + def lock_immutability_policy_async(resource_group_name, account_name, container_name, if_match, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'container_name is nil' if container_name.nil? - fail ArgumentError, "'container_name' should satisfy the constraint - 'MaxLength': '63'" if !container_name.nil? && container_name.length > 63 - fail ArgumentError, "'container_name' should satisfy the constraint - 'MinLength': '3'" if !container_name.nil? && container_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 fail ArgumentError, 'if_match is nil' if if_match.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1584,8 +1486,8 @@ def lock_immutability_policy_async(resource_group_name, account_name, container_ # # @return [ImmutabilityPolicy] operation results. # - def extend_immutability_policy(resource_group_name, account_name, container_name, if_match, parameters:nil, custom_headers:nil) - response = extend_immutability_policy_async(resource_group_name, account_name, container_name, if_match, parameters:parameters, custom_headers:custom_headers).value! + def extend_immutability_policy(resource_group_name, account_name, container_name, if_match, parameters = nil, custom_headers = nil) + response = extend_immutability_policy_async(resource_group_name, account_name, container_name, if_match, parameters, custom_headers).value! response.body unless response.nil? end @@ -1615,8 +1517,8 @@ def extend_immutability_policy(resource_group_name, account_name, container_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def extend_immutability_policy_with_http_info(resource_group_name, account_name, container_name, if_match, parameters:nil, custom_headers:nil) - extend_immutability_policy_async(resource_group_name, account_name, container_name, if_match, parameters:parameters, custom_headers:custom_headers).value! + def extend_immutability_policy_with_http_info(resource_group_name, account_name, container_name, if_match, parameters = nil, custom_headers = nil) + extend_immutability_policy_async(resource_group_name, account_name, container_name, if_match, parameters, custom_headers).value! end # @@ -1645,32 +1547,24 @@ def extend_immutability_policy_with_http_info(resource_group_name, account_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def extend_immutability_policy_async(resource_group_name, account_name, container_name, if_match, parameters:nil, custom_headers:nil) + def extend_immutability_policy_async(resource_group_name, account_name, container_name, if_match, parameters = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'container_name is nil' if container_name.nil? - fail ArgumentError, "'container_name' should satisfy the constraint - 'MaxLength': '63'" if !container_name.nil? && container_name.length > 63 - fail ArgumentError, "'container_name' should satisfy the constraint - 'MinLength': '3'" if !container_name.nil? && container_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 fail ArgumentError, 'if_match is nil' if if_match.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['If-Match'] = if_match unless if_match.nil? 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::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb index e8faa1e50d..c61a768f56 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb @@ -55,7 +55,6 @@ class AccountSasParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AccountSasParameters', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'AccountSasParameters', model_properties: { services: { - client_side_validation: true, required: true, serialized_name: 'signedServices', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, resource_types: { - client_side_validation: true, required: true, serialized_name: 'signedResourceTypes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: true, serialized_name: 'signedPermission', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipaddress_or_range: { - client_side_validation: true, required: false, serialized_name: 'signedIp', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, protocols: { - client_side_validation: true, required: false, serialized_name: 'signedProtocol', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, shared_access_start_time: { - client_side_validation: true, required: false, serialized_name: 'signedStart', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, shared_access_expiry_time: { - client_side_validation: true, required: true, serialized_name: 'signedExpiry', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, key_to_sign: { - client_side_validation: true, required: false, serialized_name: 'keyToSign', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb index 88d9303ffd..024cac2f58 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb @@ -23,7 +23,6 @@ class AzureEntityResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureEntityResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'AzureEntityResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -40,7 +38,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -49,7 +46,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -58,7 +54,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/blob_container.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/blob_container.rb index a5a31ff3e6..95e58f08e8 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/blob_container.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/blob_container.rb @@ -66,7 +66,6 @@ class BlobContainer < AzureEntityResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BlobContainer', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'BlobContainer', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -83,7 +81,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -92,7 +89,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -101,7 +97,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -110,7 +105,6 @@ def self.mapper() } }, public_access: { - client_side_validation: true, required: false, serialized_name: 'properties.publicAccess', type: { @@ -119,7 +113,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', @@ -128,7 +121,6 @@ def self.mapper() } }, lease_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.leaseStatus', @@ -137,7 +129,6 @@ def self.mapper() } }, lease_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.leaseState', @@ -146,7 +137,6 @@ def self.mapper() } }, lease_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.leaseDuration', @@ -155,13 +145,11 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'properties.metadata', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -171,7 +159,6 @@ def self.mapper() } }, immutability_policy: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.immutabilityPolicy', @@ -181,7 +168,6 @@ def self.mapper() } }, legal_hold: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.legalHold', @@ -191,7 +177,6 @@ def self.mapper() } }, has_legal_hold: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hasLegalHold', @@ -200,7 +185,6 @@ def self.mapper() } }, has_immutability_policy: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hasImmutabilityPolicy', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb index c9e7c3e788..78066e8875 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb @@ -33,7 +33,6 @@ class CheckNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityResult', model_properties: { name_available: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nameAvailable', @@ -50,7 +48,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reason', @@ -60,7 +57,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/custom_domain.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/custom_domain.rb index 3214e947ec..4b9535ad2d 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/custom_domain.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/custom_domain.rb @@ -28,7 +28,6 @@ class CustomDomain # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CustomDomain', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'CustomDomain', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, use_sub_domain: { - client_side_validation: true, required: false, serialized_name: 'useSubDomain', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/dimension.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/dimension.rb index d827009212..3e4674cb45 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/dimension.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/dimension.rb @@ -25,7 +25,6 @@ class Dimension # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Dimension', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Dimension', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption.rb index 233e72c7ae..c66cba8342 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption.rb @@ -31,7 +31,6 @@ class Encryption # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Encryption', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Encryption', model_properties: { services: { - client_side_validation: true, required: false, serialized_name: 'services', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_source: { - client_side_validation: true, required: true, serialized_name: 'keySource', default_value: 'Microsoft.Storage', @@ -57,7 +54,6 @@ def self.mapper() } }, key_vault_properties: { - client_side_validation: true, required: false, serialized_name: 'keyvaultproperties', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_service.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_service.rb index 5d4610389f..7c3801affd 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_service.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_service.rb @@ -29,7 +29,6 @@ class EncryptionService # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionService', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EncryptionService', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, last_enabled_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastEnabledTime', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_services.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_services.rb index 951522b5fc..5e82fd6666 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_services.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_services.rb @@ -35,7 +35,6 @@ class EncryptionServices # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionServices', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'EncryptionServices', model_properties: { blob: { - client_side_validation: true, required: false, serialized_name: 'blob', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, file: { - client_side_validation: true, required: false, serialized_name: 'file', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'table', @@ -71,7 +67,6 @@ def self.mapper() } }, queue: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queue', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/endpoints.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/endpoints.rb index 457a43ec74..0afbd32b8f 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/endpoints.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/endpoints.rb @@ -32,7 +32,6 @@ class Endpoints # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Endpoints', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Endpoints', model_properties: { blob: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'blob', @@ -49,7 +47,6 @@ def self.mapper() } }, queue: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'queue', @@ -58,7 +55,6 @@ def self.mapper() } }, table: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'table', @@ -67,7 +63,6 @@ def self.mapper() } }, file: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'file', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/identity.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/identity.rb index e7896ae156..51a417d742 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/identity.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/identity.rb @@ -28,7 +28,6 @@ class Identity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Identity', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Identity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -45,7 +43,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy.rb index fbb43a6339..8f9d5adc6b 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy.rb @@ -29,7 +29,6 @@ class ImmutabilityPolicy < AzureEntityResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImmutabilityPolicy', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ImmutabilityPolicy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -46,7 +44,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -55,7 +52,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -64,7 +60,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -73,7 +68,6 @@ def self.mapper() } }, immutability_period_since_creation_in_days: { - client_side_validation: true, required: true, serialized_name: 'properties.immutabilityPeriodSinceCreationInDays', type: { @@ -81,7 +75,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb index 233b119eb1..46ac5ba634 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb @@ -35,7 +35,6 @@ class ImmutabilityPolicyProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImmutabilityPolicyProperties', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ImmutabilityPolicyProperties', model_properties: { immutability_period_since_creation_in_days: { - client_side_validation: true, required: true, serialized_name: 'properties.immutabilityPeriodSinceCreationInDays', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -60,7 +57,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -69,14 +65,12 @@ def self.mapper() } }, update_history: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'updateHistory', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UpdateHistoryPropertyElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/iprule.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/iprule.rb index 31089b07d2..5b0462d674 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/iprule.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/iprule.rb @@ -27,7 +27,6 @@ class IPRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPRule', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'IPRule', model_properties: { ipaddress_or_range: { - client_side_validation: true, required: true, serialized_name: 'value', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, action: { - client_side_validation: true, required: false, serialized_name: 'action', default_value: 'Allow', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/key_vault_properties.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/key_vault_properties.rb index dd20a0429f..4e979de607 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/key_vault_properties.rb @@ -28,7 +28,6 @@ class KeyVaultProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultProperties', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'KeyVaultProperties', model_properties: { key_name: { - client_side_validation: true, required: false, serialized_name: 'keyname', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, key_version: { - client_side_validation: true, required: false, serialized_name: 'keyversion', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, key_vault_uri: { - client_side_validation: true, required: false, serialized_name: 'keyvaulturi', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold.rb index 5f9a96e7b0..d49552518f 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold.rb @@ -30,7 +30,6 @@ class LegalHold # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LegalHold', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'LegalHold', model_properties: { has_legal_hold: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hasLegalHold', @@ -47,13 +45,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: true, serialized_name: 'tags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb index 68a858a6e1..486d8caa89 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb @@ -30,7 +30,6 @@ class LegalHoldProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LegalHoldProperties', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'LegalHoldProperties', model_properties: { has_legal_hold: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hasLegalHold', @@ -47,13 +45,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TagPropertyElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb index b0433e0896..e66e02df6c 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb @@ -22,7 +22,6 @@ class ListAccountSasResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListAccountSasResponse', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ListAccountSasResponse', model_properties: { account_sas_token: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'accountSasToken', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_item.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_item.rb index 63d8814434..cec2084b38 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_item.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_item.rb @@ -65,7 +65,6 @@ class ListContainerItem < AzureEntityResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListContainerItem', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'ListContainerItem', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +80,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -91,7 +88,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -100,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -109,7 +104,6 @@ def self.mapper() } }, public_access: { - client_side_validation: true, required: false, serialized_name: 'properties.publicAccess', type: { @@ -118,7 +112,6 @@ def self.mapper() } }, last_modified_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', @@ -127,7 +120,6 @@ def self.mapper() } }, lease_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.leaseStatus', @@ -136,7 +128,6 @@ def self.mapper() } }, lease_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.leaseState', @@ -145,7 +136,6 @@ def self.mapper() } }, lease_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.leaseDuration', @@ -154,13 +144,11 @@ def self.mapper() } }, metadata: { - client_side_validation: true, required: false, serialized_name: 'properties.metadata', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -170,7 +158,6 @@ def self.mapper() } }, immutability_policy: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.immutabilityPolicy', @@ -180,7 +167,6 @@ def self.mapper() } }, legal_hold: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.legalHold', @@ -190,7 +176,6 @@ def self.mapper() } }, has_legal_hold: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hasLegalHold', @@ -199,7 +184,6 @@ def self.mapper() } }, has_immutability_policy: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hasImmutabilityPolicy', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_items.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_items.rb index 17787db297..556aee5431 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_items.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_items.rb @@ -22,7 +22,6 @@ class ListContainerItems # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListContainerItems', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ListContainerItems', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ListContainerItemElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb index f30089c046..56d3baceab 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb @@ -22,7 +22,6 @@ class ListServiceSasResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListServiceSasResponse', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ListServiceSasResponse', model_properties: { service_sas_token: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'serviceSasToken', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/metric_specification.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/metric_specification.rb index b65950d6cd..10a8275cb5 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/metric_specification.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/metric_specification.rb @@ -48,7 +48,6 @@ class MetricSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'MetricSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, display_description: { - client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { @@ -80,7 +76,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, dimensions: { - client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, aggregation_type: { - client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, fill_gap_with_zero: { - client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, category: { - client_side_validation: true, required: false, serialized_name: 'category', type: { @@ -129,7 +119,6 @@ def self.mapper() } }, resource_id_dimension_name_override: { - client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/network_rule_set.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/network_rule_set.rb index 9c1be57abd..9127d9681e 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/network_rule_set.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/network_rule_set.rb @@ -37,7 +37,6 @@ class NetworkRuleSet # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkRuleSet', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'NetworkRuleSet', model_properties: { bypass: { - client_side_validation: true, required: false, serialized_name: 'bypass', default_value: 'AzureServices', @@ -54,13 +52,11 @@ def self.mapper() } }, virtual_network_rules: { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkRuleElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, ip_rules: { - client_side_validation: true, required: false, serialized_name: 'ipRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPRuleElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, default_action: { - client_side_validation: true, required: true, serialized_name: 'defaultAction', default_value: 'Allow', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation.rb index ab688852b5..6c5ed55c20 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation.rb @@ -33,7 +33,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, service_specification: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_display.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_display.rb index 1588f21c1c..13a6a5b869 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_display.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_display.rb @@ -28,7 +28,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_list_result.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_list_result.rb index 3754ae5e4e..3504954b01 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_list_result.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_list_result.rb @@ -24,7 +24,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'OperationListResult', 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_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/proxy_resource.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/proxy_resource.rb index 4da1f3848c..40d4157e1d 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/proxy_resource.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/proxy_resource.rb @@ -20,7 +20,6 @@ class ProxyResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ProxyResource', type: { @@ -28,7 +27,6 @@ def self.mapper() class_name: 'ProxyResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -37,7 +35,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -46,7 +43,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/resource.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/resource.rb index 2a95345b09..67e376d6b8 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/resource.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/resource.rb @@ -31,7 +31,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/restriction.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/restriction.rb index ff4e0db990..3ca7d38e3f 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/restriction.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/restriction.rb @@ -35,7 +35,6 @@ class Restriction # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Restriction', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Restriction', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -52,14 +50,12 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, reason_code: { - client_side_validation: true, required: false, serialized_name: 'reasonCode', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb index 605316fc02..fcc80cf32b 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb @@ -83,7 +83,6 @@ class ServiceSasParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceSasParameters', type: { @@ -91,7 +90,6 @@ def self.mapper() class_name: 'ServiceSasParameters', model_properties: { canonicalized_resource: { - client_side_validation: true, required: true, serialized_name: 'canonicalizedResource', type: { @@ -99,7 +97,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: true, serialized_name: 'signedResource', type: { @@ -107,7 +104,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: false, serialized_name: 'signedPermission', type: { @@ -115,7 +111,6 @@ def self.mapper() } }, ipaddress_or_range: { - client_side_validation: true, required: false, serialized_name: 'signedIp', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, protocols: { - client_side_validation: true, required: false, serialized_name: 'signedProtocol', type: { @@ -132,7 +126,6 @@ def self.mapper() } }, shared_access_start_time: { - client_side_validation: true, required: false, serialized_name: 'signedStart', type: { @@ -140,7 +133,6 @@ def self.mapper() } }, shared_access_expiry_time: { - client_side_validation: true, required: false, serialized_name: 'signedExpiry', type: { @@ -148,7 +140,6 @@ def self.mapper() } }, identifier: { - client_side_validation: true, required: false, serialized_name: 'signedIdentifier', constraints: { @@ -159,7 +150,6 @@ def self.mapper() } }, partition_key_start: { - client_side_validation: true, required: false, serialized_name: 'startPk', type: { @@ -167,7 +157,6 @@ def self.mapper() } }, partition_key_end: { - client_side_validation: true, required: false, serialized_name: 'endPk', type: { @@ -175,7 +164,6 @@ def self.mapper() } }, row_key_start: { - client_side_validation: true, required: false, serialized_name: 'startRk', type: { @@ -183,7 +171,6 @@ def self.mapper() } }, row_key_end: { - client_side_validation: true, required: false, serialized_name: 'endRk', type: { @@ -191,7 +178,6 @@ def self.mapper() } }, key_to_sign: { - client_side_validation: true, required: false, serialized_name: 'keyToSign', type: { @@ -199,7 +185,6 @@ def self.mapper() } }, cache_control: { - client_side_validation: true, required: false, serialized_name: 'rscc', type: { @@ -207,7 +192,6 @@ def self.mapper() } }, content_disposition: { - client_side_validation: true, required: false, serialized_name: 'rscd', type: { @@ -215,7 +199,6 @@ def self.mapper() } }, content_encoding: { - client_side_validation: true, required: false, serialized_name: 'rsce', type: { @@ -223,7 +206,6 @@ def self.mapper() } }, content_language: { - client_side_validation: true, required: false, serialized_name: 'rscl', type: { @@ -231,7 +213,6 @@ def self.mapper() } }, content_type: { - client_side_validation: true, required: false, serialized_name: 'rsct', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/service_specification.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/service_specification.rb index 4d4824570b..b4e1a4ee8a 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/service_specification.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/service_specification.rb @@ -23,7 +23,6 @@ class ServiceSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceSpecification', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ServiceSpecification', model_properties: { metric_specifications: { - client_side_validation: true, required: false, serialized_name: 'metricSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricSpecificationElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/sku.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/sku.rb index ba9503032a..b046b2ef4e 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/sku.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/sku.rb @@ -51,7 +51,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', @@ -78,7 +75,6 @@ def self.mapper() } }, resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -87,7 +83,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -97,14 +92,12 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -114,14 +107,12 @@ def self.mapper() } }, capabilities: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SKUCapabilityElementType', type: { @@ -132,13 +123,11 @@ def self.mapper() } }, restrictions: { - client_side_validation: true, required: false, serialized_name: 'restrictions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RestrictionElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/skucapability.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/skucapability.rb index 98b4b726df..e27aa4da98 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/skucapability.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/skucapability.rb @@ -29,7 +29,6 @@ class SKUCapability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SKUCapability', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'SKUCapability', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -46,7 +44,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account.rb index 55ed39fe32..401af35c8c 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account.rb @@ -95,7 +95,6 @@ class StorageAccount < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { @@ -103,7 +102,6 @@ def self.mapper() class_name: 'StorageAccount', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -112,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -121,7 +118,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -130,13 +126,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: { @@ -146,7 +140,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -154,7 +147,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -164,7 +156,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -174,7 +165,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -183,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -193,7 +182,6 @@ def self.mapper() } }, primary_endpoints: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.primaryEndpoints', @@ -203,7 +191,6 @@ def self.mapper() } }, primary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.primaryLocation', @@ -212,7 +199,6 @@ def self.mapper() } }, status_of_primary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusOfPrimary', @@ -222,7 +208,6 @@ def self.mapper() } }, last_geo_failover_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastGeoFailoverTime', @@ -231,7 +216,6 @@ def self.mapper() } }, secondary_location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.secondaryLocation', @@ -240,7 +224,6 @@ def self.mapper() } }, status_of_secondary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusOfSecondary', @@ -250,7 +233,6 @@ def self.mapper() } }, creation_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', @@ -259,7 +241,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.customDomain', @@ -269,7 +250,6 @@ def self.mapper() } }, secondary_endpoints: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.secondaryEndpoints', @@ -279,7 +259,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.encryption', @@ -289,7 +268,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accessTier', @@ -299,7 +277,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, @@ -308,7 +285,6 @@ def self.mapper() } }, network_rule_set: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkAcls', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb index 9e7c124e7c..9e9334a03a 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb @@ -28,7 +28,6 @@ class StorageAccountCheckNameAvailabilityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCheckNameAvailabilityParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'StorageAccountCheckNameAvailabilityParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb index 2392115fc6..668951b99e 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb @@ -67,7 +67,6 @@ class StorageAccountCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountCreateParameters', type: { @@ -75,7 +74,6 @@ def self.mapper() class_name: 'StorageAccountCreateParameters', model_properties: { sku: { - client_side_validation: true, required: true, serialized_name: 'sku', type: { @@ -84,7 +82,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: true, serialized_name: 'kind', type: { @@ -93,7 +90,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -101,13 +97,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: { @@ -117,7 +111,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -126,7 +119,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -135,7 +127,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, network_rule_set: { - client_side_validation: true, required: false, serialized_name: 'properties.networkAcls', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, serialized_name: 'properties.accessTier', type: { @@ -162,7 +151,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_key.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_key.rb index f0f1bba82d..6a8574bfb4 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_key.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_key.rb @@ -29,7 +29,6 @@ class StorageAccountKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKey', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StorageAccountKey', model_properties: { key_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'keyName', @@ -46,7 +44,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -55,7 +52,6 @@ def self.mapper() } }, permissions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'permissions', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb index 0b57df6b10..aad5fb85c0 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb @@ -23,7 +23,6 @@ class StorageAccountListKeysResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListKeysResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageAccountListKeysResult', model_properties: { keys: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'keys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountKeyElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb index cf50b2d5ce..d7dfb65ee6 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb @@ -23,7 +23,6 @@ class StorageAccountListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountListResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageAccountListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb index 3af845ea2f..79b83c9d2e 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb @@ -23,7 +23,6 @@ class StorageAccountRegenerateKeyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountRegenerateKeyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'StorageAccountRegenerateKeyParameters', model_properties: { key_name: { - client_side_validation: true, required: true, serialized_name: 'keyName', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb index 381ad15f43..cf2fc1721c 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb @@ -63,7 +63,6 @@ class StorageAccountUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountUpdateParameters', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'StorageAccountUpdateParameters', model_properties: { sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -80,13 +78,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: { @@ -96,7 +92,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, custom_domain: { - client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { @@ -123,7 +116,6 @@ def self.mapper() } }, access_tier: { - client_side_validation: true, required: false, serialized_name: 'properties.accessTier', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_https_traffic_only: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, @@ -141,7 +132,6 @@ def self.mapper() } }, network_rule_set: { - client_side_validation: true, required: false, serialized_name: 'properties.networkAcls', type: { @@ -150,7 +140,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, serialized_name: 'kind', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb index 5ce737648f..bd74a009d8 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb @@ -23,7 +23,6 @@ class StorageSkuListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageSkuListResult', type: { @@ -31,14 +30,12 @@ def self.mapper() class_name: 'StorageSkuListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SkuElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb index 2ed0bbcd20..6ada536150 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb @@ -36,7 +36,6 @@ class TagProperty # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TagProperty', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'TagProperty', model_properties: { tag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tag', @@ -53,7 +51,6 @@ def self.mapper() } }, timestamp: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'timestamp', @@ -62,7 +59,6 @@ def self.mapper() } }, object_identifier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'objectIdentifier', @@ -71,7 +67,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -80,7 +75,6 @@ def self.mapper() } }, upn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'upn', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/tracked_resource.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/tracked_resource.rb index b225371fca..d0ee788d42 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/tracked_resource.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/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,13 +56,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: { @@ -76,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb index dfc270801f..97e1ae12b0 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb @@ -44,7 +44,6 @@ class UpdateHistoryProperty # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpdateHistoryProperty', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'UpdateHistoryProperty', model_properties: { update: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'update', @@ -61,7 +59,6 @@ def self.mapper() } }, immutability_period_since_creation_in_days: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'immutabilityPeriodSinceCreationInDays', @@ -70,7 +67,6 @@ def self.mapper() } }, timestamp: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'timestamp', @@ -79,7 +75,6 @@ def self.mapper() } }, object_identifier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'objectIdentifier', @@ -88,7 +83,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -97,7 +91,6 @@ def self.mapper() } }, upn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'upn', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage.rb index b68ba71e65..e8f8200ea1 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -53,7 +51,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -62,7 +59,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -71,7 +67,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_list_result.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_list_result.rb index cc11208308..e867b04b97 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_list_result.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_list_result.rb @@ -23,7 +23,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_name.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_name.rb index e79c975aef..664e8f46bc 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_name.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb index 3b7d430b91..53ffb9ec82 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb @@ -32,7 +32,6 @@ class VirtualNetworkRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkRule', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkRule', model_properties: { virtual_network_resource_id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, action: { - client_side_validation: true, required: false, serialized_name: 'action', default_value: 'Allow', @@ -58,7 +55,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/operations.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/operations.rb index 7ab805a301..2adc5a2f0a 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/operations.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] 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 @@ -42,8 +42,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 # @@ -54,13 +54,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? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 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_storage/lib/2018-02-01/generated/azure_mgmt_storage/skus.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/skus.rb index a5dd2b6b55..3d208c7b48 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/skus.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/skus.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [StorageSkuListResult] 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 @@ -44,8 +44,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 # @@ -57,15 +57,12 @@ 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? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 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_storage/lib/2018-02-01/generated/azure_mgmt_storage/storage_accounts.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/storage_accounts.rb index b8937c388d..eebf879909 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/storage_accounts.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/storage_accounts.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [CheckNameAvailabilityResult] operation results. # - def check_name_availability(account_name, custom_headers:nil) - response = check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability(account_name, custom_headers = nil) + response = check_name_availability_async(account_name, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def check_name_availability(account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(account_name, custom_headers:nil) - check_name_availability_async(account_name, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(account_name, custom_headers = nil) + check_name_availability_async(account_name, custom_headers).value! end # @@ -66,21 +66,20 @@ def check_name_availability_with_http_info(account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(account_name, custom_headers:nil) + def check_name_availability_async(account_name, custom_headers = nil) fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 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::Storage::Mgmt::V2018_02_01::Models::StorageAccountCheckNameAvailabilityParameters.mapper() request_content = @client.serialize(request_mapper, account_name) @@ -146,8 +145,8 @@ def check_name_availability_async(account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def create(resource_group_name, account_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -165,9 +164,9 @@ def create(resource_group_name, account_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def create_async(resource_group_name, account_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -195,8 +194,8 @@ def create_async(resource_group_name, account_name, parameters, custom_headers:n # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, custom_headers).value! nil end @@ -213,8 +212,8 @@ def delete(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) - delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, custom_headers = nil) + delete_async(resource_group_name, account_name, custom_headers).value! end # @@ -230,22 +229,14 @@ def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -295,8 +286,8 @@ def delete_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def get_properties(resource_group_name, account_name, custom_headers:nil) - response = get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties(resource_group_name, account_name, custom_headers = nil) + response = get_properties_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -315,8 +306,8 @@ def get_properties(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_properties_with_http_info(resource_group_name, account_name, custom_headers:nil) - get_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_properties_with_http_info(resource_group_name, account_name, custom_headers = nil) + get_properties_async(resource_group_name, account_name, custom_headers).value! end # @@ -334,22 +325,14 @@ def get_properties_with_http_info(resource_group_name, account_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_properties_async(resource_group_name, account_name, custom_headers:nil) + def get_properties_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -417,8 +400,8 @@ def get_properties_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccount] operation results. # - def update(resource_group_name, account_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -445,8 +428,8 @@ def update(resource_group_name, account_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -472,28 +455,22 @@ def update_with_http_info(resource_group_name, account_name, parameters, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 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::Storage::Mgmt::V2018_02_01::Models::StorageAccountUpdateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -549,8 +526,8 @@ def update_async(resource_group_name, account_name, parameters, custom_headers:n # # @return [StorageAccountListResult] 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 @@ -563,8 +540,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 # @@ -576,15 +553,12 @@ 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? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -640,8 +614,8 @@ def list_async(custom_headers:nil) # # @return [StorageAccountListResult] 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 @@ -656,8 +630,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 # @@ -671,19 +645,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, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -741,8 +709,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [StorageAccountListKeysResult] operation results. # - def list_keys(resource_group_name, account_name, custom_headers:nil) - response = list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys(resource_group_name, account_name, custom_headers = nil) + response = list_keys_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -759,8 +727,8 @@ def list_keys(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_keys_with_http_info(resource_group_name, account_name, custom_headers:nil) - list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_keys_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_keys_async(resource_group_name, account_name, custom_headers).value! end # @@ -776,22 +744,14 @@ def list_keys_with_http_info(resource_group_name, account_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_keys_async(resource_group_name, account_name, custom_headers:nil) + def list_keys_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -851,8 +811,8 @@ def list_keys_async(resource_group_name, account_name, custom_headers:nil) # # @return [StorageAccountListKeysResult] operation results. # - def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers:nil) - response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, account_name, regenerate_key, custom_headers = nil) + response = regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! response.body unless response.nil? end @@ -871,8 +831,8 @@ def regenerate_key(resource_group_name, account_name, regenerate_key, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers:nil) - regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers = nil) + regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers).value! end # @@ -890,28 +850,22 @@ def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:nil) + def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'regenerate_key is nil' if regenerate_key.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 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::Storage::Mgmt::V2018_02_01::Models::StorageAccountRegenerateKeyParameters.mapper() request_content = @client.serialize(request_mapper, regenerate_key) @@ -973,8 +927,8 @@ def regenerate_key_async(resource_group_name, account_name, regenerate_key, cust # # @return [ListAccountSasResponse] operation results. # - def list_account_sas(resource_group_name, account_name, parameters, custom_headers:nil) - response = list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_account_sas(resource_group_name, account_name, parameters, custom_headers = nil) + response = list_account_sas_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -993,8 +947,8 @@ def list_account_sas(resource_group_name, account_name, parameters, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_account_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_account_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + list_account_sas_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -1012,28 +966,22 @@ def list_account_sas_with_http_info(resource_group_name, account_name, parameter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_account_sas_async(resource_group_name, account_name, parameters, custom_headers:nil) + def list_account_sas_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 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::Storage::Mgmt::V2018_02_01::Models::AccountSasParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1095,8 +1043,8 @@ def list_account_sas_async(resource_group_name, account_name, parameters, custom # # @return [ListServiceSasResponse] operation results. # - def list_service_sas(resource_group_name, account_name, parameters, custom_headers:nil) - response = list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_service_sas(resource_group_name, account_name, parameters, custom_headers = nil) + response = list_service_sas_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1115,8 +1063,8 @@ def list_service_sas(resource_group_name, account_name, parameters, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_service_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def list_service_sas_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + list_service_sas_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -1134,28 +1082,22 @@ def list_service_sas_with_http_info(resource_group_name, account_name, parameter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_service_sas_async(resource_group_name, account_name, parameters, custom_headers:nil) + def list_service_sas_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 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::Storage::Mgmt::V2018_02_01::Models::ServiceSasParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1221,8 +1163,8 @@ def list_service_sas_async(resource_group_name, account_name, parameters, custom # # @return [StorageAccount] operation results. # - def begin_create(resource_group_name, account_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, account_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1245,8 +1187,8 @@ def begin_create(resource_group_name, account_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -1268,28 +1210,22 @@ def begin_create_with_http_info(resource_group_name, account_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, account_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1 - fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil? fail ArgumentError, 'account_name is nil' if account_name.nil? - fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24 - fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 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::Storage::Mgmt::V2018_02_01::Models::StorageAccountCreateParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb index 8c834e67b0..dc4facb350 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb @@ -120,9 +120,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? @@ -139,7 +136,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_storage' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Storage::Mgmt::V2018_02_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Storage::Mgmt::V2018_02_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/usage_operations.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/usage_operations.rb index 4d7ebfd573..497e4972a2 100644 --- a/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/usage_operations.rb +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/usage_operations.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] 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 @@ -44,8 +44,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 # @@ -57,15 +57,12 @@ 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? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +117,8 @@ def list_async(custom_headers:nil) # # @return [UsageListResult] operation results. # - def list_by_location(location, custom_headers:nil) - response = list_by_location_async(location, custom_headers:custom_headers).value! + def list_by_location(location, custom_headers = nil) + response = list_by_location_async(location, custom_headers).value! response.body unless response.nil? end @@ -135,8 +132,8 @@ def list_by_location(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_location_with_http_info(location, custom_headers:nil) - list_by_location_async(location, custom_headers:custom_headers).value! + def list_by_location_with_http_info(location, custom_headers = nil) + list_by_location_async(location, custom_headers).value! end # @@ -149,16 +146,13 @@ def list_by_location_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_location_async(location, custom_headers:nil) + def list_by_location_async(location, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? - fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1 fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? - fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1 fail ArgumentError, 'location is nil' if location.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_storage/lib/2018-02-01/generated/azure_mgmt_storage/version.rb b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/version.rb new file mode 100644 index 0000000000..db9aa9d8ac --- /dev/null +++ b/management/azure_mgmt_storage/lib/2018-02-01/generated/azure_mgmt_storage/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::Storage::Mgmt::V2018_02_01 + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_storage/lib/azure_mgmt_storage.rb b/management/azure_mgmt_storage/lib/azure_mgmt_storage.rb index ca9405e7bf..5c1789525c 100644 --- a/management/azure_mgmt_storage/lib/azure_mgmt_storage.rb +++ b/management/azure_mgmt_storage/lib/azure_mgmt_storage.rb @@ -2,13 +2,13 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require '2018-03-01-preview/generated/azure_mgmt_storage' -require '2017-10-01/generated/azure_mgmt_storage' -require '2018-02-01/generated/azure_mgmt_storage' -require '2016-01-01/generated/azure_mgmt_storage' -require '2015-06-15/generated/azure_mgmt_storage' require '2015-05-01-preview/generated/azure_mgmt_storage' +require '2015-06-15/generated/azure_mgmt_storage' +require '2016-01-01/generated/azure_mgmt_storage' require '2016-12-01/generated/azure_mgmt_storage' require '2017-06-01/generated/azure_mgmt_storage' +require '2017-10-01/generated/azure_mgmt_storage' +require '2018-02-01/generated/azure_mgmt_storage' +require '2018-03-01-preview/generated/azure_mgmt_storage' require 'profiles/v2017_03_09/storage_v2017_03_09_profile_client' require 'profiles/latest/storage_latest_profile_client' From 929f28184fab75e99eaebb21ff101127ce8f84ee Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 14:49:55 -0700 Subject: [PATCH 13/22] [AutoPR] containerinstance/resource-manager (#1372) * Generated from dd1d82ca6db8078870ccf13fe430a75a1ebe90d7 (#1341) updating api version * Minor Fix * Generated from 1c3ce366b0de6230300a2293c500204e7a89e8db (#1371) Update readme.md --- .../lib/azure_mgmt_container_instance.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/azure_mgmt_container_instance/lib/azure_mgmt_container_instance.rb b/management/azure_mgmt_container_instance/lib/azure_mgmt_container_instance.rb index 2306e612f1..0b7d3d6edb 100644 --- a/management/azure_mgmt_container_instance/lib/azure_mgmt_container_instance.rb +++ b/management/azure_mgmt_container_instance/lib/azure_mgmt_container_instance.rb @@ -3,7 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for license information. require '2017-08-01-preview/generated/azure_mgmt_container_instance' +require '2017-10-01-preview/generated/azure_mgmt_container_instance' require '2017-12-01-preview/generated/azure_mgmt_container_instance' require '2018-02-01-preview/generated/azure_mgmt_container_instance' -require '2017-10-01-preview/generated/azure_mgmt_container_instance' require 'profiles/latest/containerinstance_latest_profile_client' From 69ddd8a41c04ad36294b44dcc783b31953fb1b94 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sat, 16 Jun 2018 00:43:19 -0700 Subject: [PATCH 14/22] Generated from a82909eab07e7a383975701b09d09a5fd0dfb967 (#1381) (#1382) adding new state value to keep backward competiblity adding new state value to keep backward competiblity --- .../lib/latest/modules/sql_profile_module.rb | 120 +++++++++--------- .../generated/azure_mgmt_sql.rb | 35 ++--- .../models/security_alert_policy_state.rb | 17 +++ .../models/server_security_alert_policy.rb | 8 +- .../azure_mgmt_sql/sql_management_client.rb | 4 + .../latest/modules/sql_profile_module.rb | 120 +++++++++--------- 6 files changed, 170 insertions(+), 134 deletions(-) create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb diff --git a/azure_sdk/lib/latest/modules/sql_profile_module.rb b/azure_sdk/lib/latest/modules/sql_profile_module.rb index cc8451ce3c..d423ce40d6 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -78,6 +78,7 @@ module Mgmt RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases + ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies module Models MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue @@ -179,7 +180,6 @@ module Models RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState RecommendedIndexType = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType ReadScale = Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale - SecurityAlertPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault DataMaskingState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState @@ -287,32 +287,32 @@ module Models SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState - JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate - JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition - ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget - LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult - JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult - CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate - DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate + RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult - JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget - CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult Sku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource - ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult @@ -344,6 +344,7 @@ module Models RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias + ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState ManagementOperationState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState CreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode @@ -366,12 +367,13 @@ module Models AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + SecurityAlertPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName end class SQLManagementClass - attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :configurable, :base_url, :options, :model_classes + attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :server_security_alert_policies, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -464,6 +466,7 @@ def initialize(configurable, base_url=nil, options=nil) @restore_points = @client_2.restore_points @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations @server_dns_aliases = @client_2.server_dns_aliases + @server_security_alert_policies = @client_2.server_security_alert_policies @model_classes = ModelClasses.new end @@ -783,9 +786,6 @@ def recommended_index_type def read_scale Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale end - def security_alert_policy_state - Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState - end def security_alert_policy_email_account_admins Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins end @@ -1107,68 +1107,68 @@ def sync_member_state def virtual_network_rule_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState end - def job_schedule - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - end - def job_credential_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - end - def vulnerability_assessment_recurring_scans_properties - Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + def job_agent_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate end def managed_database_update Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate end - def job_target_group_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + def vulnerability_assessment_recurring_scans_properties + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties end def resource_move_definition Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition end - def server_dns_alias_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + def job_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget end def restore_point_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult end - def job_target - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + def job_step_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult end - def long_term_retention_backup_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + def create_database_restore_point_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + end + def server_dns_alias_acquisition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + end + def job_version_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult end def job_agent_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult end - def create_database_restore_point_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + def automatic_tuning_server_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions end - def job_agent_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + def resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource end def database_update Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate end - def job_step_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + def job_step_execution_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions end - def job_version_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + def job_target_group_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult end - def server_dns_alias_acquisition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + def job_credential_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult end - def automatic_tuning_server_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions + def server_dns_alias_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult end def job_execution_target Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget end - def complete_database_restore_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + def long_term_retention_backup_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult end - def job_step_execution_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + def managed_database_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult end def sku Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku @@ -1179,11 +1179,11 @@ def job_execution_list_result def import_export_database_definition Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition end - def resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + def job_schedule + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule end - def managed_database_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + def complete_database_restore_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition end def database_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult @@ -1278,6 +1278,9 @@ def server_automatic_tuning def server_dns_alias Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias end + def server_security_alert_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy + end def blob_auditing_policy_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState end @@ -1344,6 +1347,9 @@ def automatic_tuning_option_mode_actual def automatic_tuning_server_reason Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason end + def security_alert_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState + end def long_term_retention_database_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb index 347a03c6bb..90d6bad411 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb @@ -44,35 +44,36 @@ module Azure::SQL::Mgmt::V2017_03_01_preview autoload :RestorePoints, '2017-03-01-preview/generated/azure_mgmt_sql/restore_points.rb' autoload :ServerAutomaticTuningOperations, '2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb' autoload :ServerDnsAliases, '2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb' + autoload :ServerSecurityAlertPolicies, '2017-03-01-preview/generated/azure_mgmt_sql/server_security_alert_policies.rb' autoload :SqlManagementClient, '2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb' module Models - autoload :JobSchedule, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule.rb' - autoload :JobCredentialListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential_list_result.rb' - autoload :VulnerabilityAssessmentRecurringScansProperties, '2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb' + autoload :JobAgentUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_update.rb' autoload :ManagedDatabaseUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_update.rb' - autoload :JobTargetGroupListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_list_result.rb' + autoload :VulnerabilityAssessmentRecurringScansProperties, '2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb' autoload :ResourceMoveDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb' - autoload :ServerDnsAliasListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb' - autoload :RestorePointListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_list_result.rb' autoload :JobTarget, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_target.rb' - autoload :LongTermRetentionBackupListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup_list_result.rb' - autoload :JobAgentListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_list_result.rb' - autoload :CreateDatabaseRestorePointDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb' - autoload :JobAgentUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_update.rb' - autoload :DatabaseUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb' + autoload :RestorePointListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_list_result.rb' autoload :JobStepListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_list_result.rb' - autoload :JobVersionListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_version_list_result.rb' + autoload :CreateDatabaseRestorePointDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb' autoload :ServerDnsAliasAcquisition, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_acquisition.rb' + autoload :JobVersionListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_version_list_result.rb' + autoload :JobAgentListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_list_result.rb' autoload :AutomaticTuningServerOptions, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_options.rb' - autoload :JobExecutionTarget, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_target.rb' - autoload :CompleteDatabaseRestoreDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/complete_database_restore_definition.rb' + autoload :Resource, '2017-03-01-preview/generated/azure_mgmt_sql/models/resource.rb' + autoload :DatabaseUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb' autoload :JobStepExecutionOptions, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_execution_options.rb' + autoload :JobTargetGroupListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_list_result.rb' + autoload :JobCredentialListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential_list_result.rb' + autoload :ServerDnsAliasListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb' + autoload :JobExecutionTarget, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_target.rb' + autoload :LongTermRetentionBackupListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup_list_result.rb' + autoload :ManagedDatabaseListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_list_result.rb' autoload :Sku, '2017-03-01-preview/generated/azure_mgmt_sql/models/sku.rb' autoload :JobExecutionListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_list_result.rb' autoload :ImportExportDatabaseDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_database_definition.rb' - autoload :Resource, '2017-03-01-preview/generated/azure_mgmt_sql/models/resource.rb' - autoload :ManagedDatabaseListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_list_result.rb' + autoload :JobSchedule, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule.rb' + autoload :CompleteDatabaseRestoreDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/complete_database_restore_definition.rb' autoload :DatabaseListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb' autoload :JobListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_list_result.rb' autoload :DatabaseOperationListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation_list_result.rb' @@ -104,6 +105,7 @@ module Models autoload :RestorePoint, '2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb' autoload :ServerAutomaticTuning, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_automatic_tuning.rb' autoload :ServerDnsAlias, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias.rb' + autoload :ServerSecurityAlertPolicy, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb' autoload :BlobAuditingPolicyState, '2017-03-01-preview/generated/azure_mgmt_sql/models/blob_auditing_policy_state.rb' autoload :ManagementOperationState, '2017-03-01-preview/generated/azure_mgmt_sql/models/management_operation_state.rb' autoload :CreateMode, '2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb' @@ -126,6 +128,7 @@ module Models autoload :AutomaticTuningOptionModeDesired, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb' autoload :AutomaticTuningOptionModeActual, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb' autoload :AutomaticTuningServerReason, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_reason.rb' + autoload :SecurityAlertPolicyState, '2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb' autoload :LongTermRetentionDatabaseState, '2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_database_state.rb' autoload :VulnerabilityAssessmentPolicyBaselineName, '2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_policy_baseline_name.rb' end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb new file mode 100644 index 0000000000..1050444778 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb @@ -0,0 +1,17 @@ +# 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::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for SecurityAlertPolicyState + # + module SecurityAlertPolicyState + New = "New" + Enabled = "Enabled" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb index ac1bb11483..709e342525 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb @@ -12,9 +12,9 @@ class ServerSecurityAlertPolicy < ProxyResource include MsRestAzure - # @return [SecurityAlertState] Specifies the state of the policy, whether - # it is enabled or disabled. Possible values include: 'Enabled', - # 'Disabled' + # @return [SecurityAlertPolicyState] Specifies the state of the policy, + # whether it is enabled or disabled. Possible values include: 'New', + # 'Enabled', 'Disabled' attr_accessor :state # @return [Array] Specifies an array of alerts that are disabled. @@ -85,7 +85,7 @@ def self.mapper() serialized_name: 'properties.state', type: { name: 'Enum', - module: 'SecurityAlertState' + module: 'SecurityAlertPolicyState' } }, disabled_alerts: { diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb index 1511fa7ef6..5ec15be873 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb @@ -114,6 +114,9 @@ class SqlManagementClient < MsRestAzure::AzureServiceClient # @return [ServerDnsAliases] server_dns_aliases attr_reader :server_dns_aliases + # @return [ServerSecurityAlertPolicies] server_security_alert_policies + attr_reader :server_security_alert_policies + # # Creates initializes a new instance of the SqlManagementClient class. # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client. @@ -151,6 +154,7 @@ def initialize(credentials = nil, base_url = nil, options = nil) @restore_points = RestorePoints.new(self) @server_automatic_tuning_operations = ServerAutomaticTuningOperations.new(self) @server_dns_aliases = ServerDnsAliases.new(self) + @server_security_alert_policies = ServerSecurityAlertPolicies.new(self) @api_version = '2017-03-01-preview' @accept_language = 'en-US' @long_running_operation_retry_timeout = 30 diff --git a/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb b/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb index d3c876e218..78035940f0 100644 --- a/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb +++ b/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb @@ -77,6 +77,7 @@ module Mgmt RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases + ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies module Models MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue @@ -178,7 +179,6 @@ module Models RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState RecommendedIndexType = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType ReadScale = Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale - SecurityAlertPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault DataMaskingState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState @@ -286,32 +286,32 @@ module Models SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState - JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate - JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition - ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget - LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult - JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult - CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate - DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate + RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult - JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget - CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult Sku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource - ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult @@ -343,6 +343,7 @@ module Models RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias + ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState ManagementOperationState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState CreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode @@ -365,6 +366,7 @@ module Models AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + SecurityAlertPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName end @@ -373,7 +375,7 @@ module Models # SQLManagementClass # class SQLManagementClass - attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :configurable, :base_url, :options, :model_classes + attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :server_security_alert_policies, :configurable, :base_url, :options, :model_classes def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @@ -476,6 +478,7 @@ def initialize(options = {}) @restore_points = @client_2.restore_points @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations @server_dns_aliases = @client_2.server_dns_aliases + @server_security_alert_policies = @client_2.server_security_alert_policies @model_classes = ModelClasses.new end @@ -797,9 +800,6 @@ def recommended_index_type def read_scale Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale end - def security_alert_policy_state - Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState - end def security_alert_policy_email_account_admins Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins end @@ -1121,68 +1121,68 @@ def sync_member_state def virtual_network_rule_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState end - def job_schedule - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - end - def job_credential_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - end - def vulnerability_assessment_recurring_scans_properties - Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + def job_agent_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate end def managed_database_update Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate end - def job_target_group_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + def vulnerability_assessment_recurring_scans_properties + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties end def resource_move_definition Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition end - def server_dns_alias_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + def job_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget end def restore_point_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult end - def job_target - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + def job_step_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult end - def long_term_retention_backup_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + def create_database_restore_point_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + end + def server_dns_alias_acquisition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + end + def job_version_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult end def job_agent_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult end - def create_database_restore_point_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + def automatic_tuning_server_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions end - def job_agent_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + def resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource end def database_update Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate end - def job_step_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + def job_step_execution_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions end - def job_version_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + def job_target_group_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult end - def server_dns_alias_acquisition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + def job_credential_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult end - def automatic_tuning_server_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions + def server_dns_alias_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult end def job_execution_target Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget end - def complete_database_restore_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + def long_term_retention_backup_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult end - def job_step_execution_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + def managed_database_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult end def sku Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku @@ -1193,11 +1193,11 @@ def job_execution_list_result def import_export_database_definition Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition end - def resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + def job_schedule + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule end - def managed_database_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + def complete_database_restore_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition end def database_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult @@ -1292,6 +1292,9 @@ def server_automatic_tuning def server_dns_alias Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias end + def server_security_alert_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy + end def blob_auditing_policy_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState end @@ -1358,6 +1361,9 @@ def automatic_tuning_option_mode_actual def automatic_tuning_server_reason Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason end + def security_alert_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState + end def long_term_retention_database_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState end From c8eea9c67b4cf253f0faaea9243ec59d55f10907 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sat, 16 Jun 2018 00:44:13 -0700 Subject: [PATCH 15/22] [AutoPR cognitiveservices/data-plane/ComputerVision] Update CognitiveService ComputerVision API to V2 (#1378) (#1383) * Generated from c2567da015994dac3301f495b6c5011d28ceaffe Add post-processing directive to swap argument order for RecognizeText to position the url argument ahead of the mode argument. autorest does not generate the intended order, so we add a post-processing directive, for each target language, * Generated from 973322cfd6ec2ced60a732f53b5318ceded5de7b Fix validation errors * Generated from 70efe042d607cbd973734e432da395ed35191a03 Add Spanish support for ServiceLanguage This is for parity with V1. --- .../azure_cognitiveservices_computervision.rb | 66 + .../computer_vision_client.rb | 2261 +++++++++++++++++ .../models/adult_info.rb | 78 + .../models/azure_regions.rb | 26 + .../models/category.rb | 65 + .../models/category_detail.rb | 72 + .../models/celebrities_model.rb | 65 + .../models/celebrity_results.rb | 73 + .../models/color_info.rb | 91 + .../models/computer_vision_error.rb | 71 + .../models/computer_vision_error_codes.rb | 27 + .../models/details.rb | 16 + .../models/domain_model_results.rb | 66 + .../models/face_description.rb | 67 + .../models/face_rectangle.rb | 74 + .../models/gender.rb | 16 + .../models/image_analysis.rb | 154 ++ .../models/image_caption.rb | 54 + .../models/image_description.rb | 92 + .../models/image_description_details.rb | 71 + .../models/image_metadata.rb | 64 + .../models/image_tag.rb | 54 + .../models/image_type.rb | 54 + .../models/image_url.rb | 45 + .../models/landmark_results.rb | 73 + .../models/landmark_results_landmarks_item.rb | 54 + .../models/landmarks_model.rb | 54 + .../models/line.rb | 80 + .../models/list_models_result.rb | 53 + .../models/model_description.rb | 61 + .../models/ocr_languages.rb | 41 + .../models/ocr_line.rb | 68 + .../models/ocr_region.rb | 68 + .../models/ocr_result.rb | 97 + .../models/ocr_word.rb | 59 + .../models/recognition_result.rb | 53 + .../models/tag_result.rb | 74 + .../models/text_operation_result.rb | 59 + .../models/text_operation_status_codes.rb | 18 + .../models/text_recognition_mode.rb | 16 + .../models/visual_feature_types.rb | 21 + .../models/word.rb | 62 + .../module_definition.rb | 9 + .../version.rb | 8 + .../azure_cognitiveservices_computervision.rb | 1 + 45 files changed, 4751 insertions(+) create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/azure_regions.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/details.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/gender.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/line.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_mode.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/word.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/module_definition.rb create mode 100644 data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/version.rb diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision.rb new file mode 100644 index 0000000000..2a105e96d1 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision.rb @@ -0,0 +1,66 @@ +# 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 '2.0/generated/azure_cognitiveservices_computervision/module_definition' +require 'ms_rest_azure' + +module Azure::CognitiveServices::ComputerVision::V2_0 + autoload :ComputerVisionClient, '2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb' + + module Models + autoload :FaceDescription, '2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb' + autoload :ImageMetadata, '2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb' + autoload :Line, '2.0/generated/azure_cognitiveservices_computervision/models/line.rb' + autoload :ImageAnalysis, '2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb' + autoload :TextOperationResult, '2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb' + autoload :OcrWord, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb' + autoload :CelebritiesModel, '2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb' + autoload :OcrLine, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb' + autoload :CategoryDetail, '2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb' + autoload :OcrRegion, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb' + autoload :AdultInfo, '2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb' + autoload :OcrResult, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb' + autoload :ImageType, '2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb' + autoload :ModelDescription, '2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb' + autoload :ImageCaption, '2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb' + autoload :ListModelsResult, '2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb' + autoload :Word, '2.0/generated/azure_cognitiveservices_computervision/models/word.rb' + autoload :DomainModelResults, '2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb' + autoload :FaceRectangle, '2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb' + autoload :CelebrityResults, '2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb' + autoload :Category, '2.0/generated/azure_cognitiveservices_computervision/models/category.rb' + autoload :LandmarkResults, '2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb' + autoload :ImageTag, '2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb' + autoload :ImageDescription, '2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb' + autoload :RecognitionResult, '2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb' + autoload :TagResult, '2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb' + autoload :ColorInfo, '2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb' + autoload :ComputerVisionError, '2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb' + autoload :LandmarksModel, '2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb' + autoload :ImageUrl, '2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb' + autoload :ImageDescriptionDetails, '2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb' + autoload :TextOperationStatusCodes, '2.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb' + autoload :Gender, '2.0/generated/azure_cognitiveservices_computervision/models/gender.rb' + autoload :ComputerVisionErrorCodes, '2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb' + autoload :VisualFeatureTypes, '2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb' + autoload :OcrLanguages, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb' + autoload :TextRecognitionMode, '2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_mode.rb' + autoload :AzureRegions, '2.0/generated/azure_cognitiveservices_computervision/models/azure_regions.rb' + autoload :Details, '2.0/generated/azure_cognitiveservices_computervision/models/details.rb' + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb new file mode 100644 index 0000000000..f5e354f339 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb @@ -0,0 +1,2261 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + # + # A service client - single point of access to the REST API. + # + class ComputerVisionClient < MsRestAzure::AzureServiceClient + include MsRestAzure + include MsRestAzure::Serialization + + # @return [String] the base URI of the service. + attr_reader :base_url + + # @return Credentials needed for the client to connect to Azure. + attr_reader :credentials1 + + # @return [AzureRegions] Supported Azure regions for Cognitive Services + # endpoints. Possible values include: 'westus', 'westeurope', + # 'southeastasia', 'eastus2', 'westcentralus', 'westus2', 'eastus', + # 'southcentralus', 'northeurope', 'eastasia', 'australiaeast', + # 'brazilsouth' + attr_accessor :azure_region + + # @return Subscription credentials which uniquely identify client + # subscription. + attr_accessor :credentials + + # @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 + + # + # Creates initializes a new instance of the ComputerVisionClient class. + # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client. + # @param options [Array] filters to be applied to the HTTP requests. + # + def initialize(credentials = nil, options = nil) + super(credentials, options) + @base_url = 'https://{AzureRegion}.api.cognitive.microsoft.com/vision/v2.0' + + fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil? + @credentials = credentials + + @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 + + # + # This operation returns the list of domain-specific models that are supported + # by the Computer Vision API. Currently, the API only supports one + # domain-specific model: a celebrity recognizer. A successful response will be + # returned in JSON. If the request failed, the response will contain an error + # code and a message to help understand what went wrong. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ListModelsResult] operation results. + # + def list_models(custom_headers = nil) + response = list_models_async(custom_headers).value! + response.body unless response.nil? + end + + # + # This operation returns the list of domain-specific models that are supported + # by the Computer Vision API. Currently, the API only supports one + # domain-specific model: a celebrity recognizer. A successful response will be + # returned in JSON. If the request failed, the response will contain an error + # code and a message to help understand what went wrong. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_models_with_http_info(custom_headers = nil) + list_models_async(custom_headers).value! + end + + # + # This operation returns the list of domain-specific models that are supported + # by the Computer Vision API. Currently, the API only supports one + # domain-specific model: a celebrity recognizer. A successful response will be + # returned in JSON. If the request failed, the response will contain an error + # code and a message to help understand what went wrong. + # + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_models_async(custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + path_template = 'models' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation extracts a rich set of visual features based on the image + # content. Two input methods are supported -- (1) Uploading an image or (2) + # specifying an image URL. Within your request, there is an optional parameter + # to allow you to choose which features to return. By default, image + # categories are returned in the response. + # + # @param url [String] Publicly reachable URL of an image + # @param visual_features [Array] A string indicating what + # visual feature types to return. Multiple values should be comma-separated. + # Valid visual feature types include:Categories - categorizes image content + # according to a taxonomy defined in documentation. Tags - tags the image with + # a detailed list of words related to the image content. Description - + # describes the image content with a complete English sentence. Faces - detects + # if faces are present. If present, generate coordinates, gender and age. + # ImageType - detects if image is clipart or a line drawing. Color - determines + # the accent color, dominant color, and whether an image is black&white.Adult - + # detects if the image is pornographic in nature (depicts nudity or a sex act). + # Sexually suggestive content is also detected. + # @param details [Array
] A string indicating which domain-specific + # details to return. Multiple values should be comma-separated. Valid visual + # feature types include:Celebrities - identifies celebrities if detected in the + # image. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ImageAnalysis] operation results. + # + def analyze_image(url, visual_features = nil, details = nil, language = nil, custom_headers = nil) + response = analyze_image_async(url, visual_features, details, language, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation extracts a rich set of visual features based on the image + # content. Two input methods are supported -- (1) Uploading an image or (2) + # specifying an image URL. Within your request, there is an optional parameter + # to allow you to choose which features to return. By default, image + # categories are returned in the response. + # + # @param url [String] Publicly reachable URL of an image + # @param visual_features [Array] A string indicating what + # visual feature types to return. Multiple values should be comma-separated. + # Valid visual feature types include:Categories - categorizes image content + # according to a taxonomy defined in documentation. Tags - tags the image with + # a detailed list of words related to the image content. Description - + # describes the image content with a complete English sentence. Faces - detects + # if faces are present. If present, generate coordinates, gender and age. + # ImageType - detects if image is clipart or a line drawing. Color - determines + # the accent color, dominant color, and whether an image is black&white.Adult - + # detects if the image is pornographic in nature (depicts nudity or a sex act). + # Sexually suggestive content is also detected. + # @param details [Array
] A string indicating which domain-specific + # details to return. Multiple values should be comma-separated. Valid visual + # feature types include:Celebrities - identifies celebrities if detected in the + # image. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def analyze_image_with_http_info(url, visual_features = nil, details = nil, language = nil, custom_headers = nil) + analyze_image_async(url, visual_features, details, language, custom_headers).value! + end + + # + # This operation extracts a rich set of visual features based on the image + # content. Two input methods are supported -- (1) Uploading an image or (2) + # specifying an image URL. Within your request, there is an optional parameter + # to allow you to choose which features to return. By default, image + # categories are returned in the response. + # + # @param url [String] Publicly reachable URL of an image + # @param visual_features [Array] A string indicating what + # visual feature types to return. Multiple values should be comma-separated. + # Valid visual feature types include:Categories - categorizes image content + # according to a taxonomy defined in documentation. Tags - tags the image with + # a detailed list of words related to the image content. Description - + # describes the image content with a complete English sentence. Faces - detects + # if faces are present. If present, generate coordinates, gender and age. + # ImageType - detects if image is clipart or a line drawing. Color - determines + # the accent color, dominant color, and whether an image is black&white.Adult - + # detects if the image is pornographic in nature (depicts nudity or a sex act). + # Sexually suggestive content is also detected. + # @param details [Array
] A string indicating which domain-specific + # details to return. Multiple values should be comma-separated. Valid visual + # feature types include:Celebrities - identifies celebrities if detected in the + # image. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def analyze_image_async(url, visual_features = nil, details = nil, language = nil, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'url is nil' if url.nil? + + image_url = ImageUrl.new + unless url.nil? + image_url.url = url + end + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() + request_content = self.serialize(request_mapper, image_url) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'analyze' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'visualFeatures' => visual_features.nil? ? nil : visual_features.join(','),'details' => details.nil? ? nil : details.join(','),'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. A successful response contains the thumbnail image + # binary. If the request failed, the response contains an error code and a + # message to help determine what went wrong. + # + # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. + # Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail. It must be between 1 and + # 1024. Recommended minimum of 50. + # @param url [String] Publicly reachable URL of an image + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [NOT_IMPLEMENTED] operation results. + # + def generate_thumbnail(width, height, url, smart_cropping = false, custom_headers = nil) + response = generate_thumbnail_async(width, height, url, smart_cropping, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. A successful response contains the thumbnail image + # binary. If the request failed, the response contains an error code and a + # message to help determine what went wrong. + # + # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. + # Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail. It must be between 1 and + # 1024. Recommended minimum of 50. + # @param url [String] Publicly reachable URL of an image + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def generate_thumbnail_with_http_info(width, height, url, smart_cropping = false, custom_headers = nil) + generate_thumbnail_async(width, height, url, smart_cropping, custom_headers).value! + end + + # + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. A successful response contains the thumbnail image + # binary. If the request failed, the response contains an error code and a + # message to help determine what went wrong. + # + # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. + # Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail. It must be between 1 and + # 1024. Recommended minimum of 50. + # @param url [String] Publicly reachable URL of an image + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def generate_thumbnail_async(width, height, url, smart_cropping = false, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'width is nil' if width.nil? + fail ArgumentError, 'height is nil' if height.nil? + fail ArgumentError, 'url is nil' if url.nil? + + image_url = ImageUrl.new + unless url.nil? + image_url.url = url + end + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() + request_content = self.serialize(request_mapper, image_url) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'generateThumbnail' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'width' => width,'height' => height,'smartCropping' => smart_cropping}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = { + required: false, + serialized_name: 'parsed_response', + type: { + name: 'Stream' + } + } + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Optical Character Recognition (OCR) detects printed text in an image and + # extracts the recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. Upon failure, the error code + # together with an error message will be returned. The error code can be one of + # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, + # NotSupportedLanguage, or InternalServerError. + # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). + # @param url [String] Publicly reachable URL of an image + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OcrResult] operation results. + # + def recognize_printed_text(detect_orientation, url, language = nil, custom_headers = nil) + response = recognize_printed_text_async(detect_orientation, url, language, custom_headers).value! + response.body unless response.nil? + end + + # + # Optical Character Recognition (OCR) detects printed text in an image and + # extracts the recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. Upon failure, the error code + # together with an error message will be returned. The error code can be one of + # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, + # NotSupportedLanguage, or InternalServerError. + # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). + # @param url [String] Publicly reachable URL of an image + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def recognize_printed_text_with_http_info(detect_orientation, url, language = nil, custom_headers = nil) + recognize_printed_text_async(detect_orientation, url, language, custom_headers).value! + end + + # + # Optical Character Recognition (OCR) detects printed text in an image and + # extracts the recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. Upon failure, the error code + # together with an error message will be returned. The error code can be one of + # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, + # NotSupportedLanguage, or InternalServerError. + # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). + # @param url [String] Publicly reachable URL of an image + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def recognize_printed_text_async(detect_orientation, url, language = nil, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'detect_orientation is nil' if detect_orientation.nil? + fail ArgumentError, 'url is nil' if url.nil? + + image_url = ImageUrl.new + unless url.nil? + image_url.url = url + end + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() + request_content = self.serialize(request_mapper, image_url) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'ocr' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'detectOrientation' => detect_orientation,'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. Two input methods are supported -- + # (1) Uploading an image or (2) specifying an image URL.A successful response + # will be returned in JSON. If the request failed, the response will contain + # an error code and a message to help understand what went wrong. + # + # @param url [String] Publicly reachable URL of an image + # @param max_candidates [String] Maximum number of candidate descriptions to be + # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ImageDescription] operation results. + # + def describe_image(url, max_candidates = '1', language = nil, custom_headers = nil) + response = describe_image_async(url, max_candidates, language, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. Two input methods are supported -- + # (1) Uploading an image or (2) specifying an image URL.A successful response + # will be returned in JSON. If the request failed, the response will contain + # an error code and a message to help understand what went wrong. + # + # @param url [String] Publicly reachable URL of an image + # @param max_candidates [String] Maximum number of candidate descriptions to be + # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def describe_image_with_http_info(url, max_candidates = '1', language = nil, custom_headers = nil) + describe_image_async(url, max_candidates, language, custom_headers).value! + end + + # + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. Two input methods are supported -- + # (1) Uploading an image or (2) specifying an image URL.A successful response + # will be returned in JSON. If the request failed, the response will contain + # an error code and a message to help understand what went wrong. + # + # @param url [String] Publicly reachable URL of an image + # @param max_candidates [String] Maximum number of candidate descriptions to be + # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def describe_image_async(url, max_candidates = '1', language = nil, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'url is nil' if url.nil? + + image_url = ImageUrl.new + unless url.nil? + image_url.url = url + end + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() + request_content = self.serialize(request_mapper, image_url) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'describe' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'maxCandidates' => max_candidates,'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation generates a list of words, or tags, that are relevant to the + # content of the supplied image. The Computer Vision API can return tags based + # on objects, living beings, scenery or actions found in images. Unlike + # categories, tags are not organized according to a hierarchical classification + # system, but correspond to image content. Tags may contain hints to avoid + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. + # + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TagResult] operation results. + # + def tag_image(url, language = nil, custom_headers = nil) + response = tag_image_async(url, language, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation generates a list of words, or tags, that are relevant to the + # content of the supplied image. The Computer Vision API can return tags based + # on objects, living beings, scenery or actions found in images. Unlike + # categories, tags are not organized according to a hierarchical classification + # system, but correspond to image content. Tags may contain hints to avoid + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. + # + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def tag_image_with_http_info(url, language = nil, custom_headers = nil) + tag_image_async(url, language, custom_headers).value! + end + + # + # This operation generates a list of words, or tags, that are relevant to the + # content of the supplied image. The Computer Vision API can return tags based + # on objects, living beings, scenery or actions found in images. Unlike + # categories, tags are not organized according to a hierarchical classification + # system, but correspond to image content. Tags may contain hints to avoid + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. + # + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def tag_image_async(url, language = nil, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'url is nil' if url.nil? + + image_url = ImageUrl.new + unless url.nil? + image_url.url = url + end + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() + request_content = self.serialize(request_mapper, image_url) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'tag' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API only provides a single domain-specific model: celebrities. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. A successful response will be returned in JSON. If the request + # failed, the response will contain an error code and a message to help + # understand what went wrong. + # + # @param model [String] The domain-specific content to recognize. + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DomainModelResults] operation results. + # + def analyze_image_by_domain(model, url, language = nil, custom_headers = nil) + response = analyze_image_by_domain_async(model, url, language, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API only provides a single domain-specific model: celebrities. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. A successful response will be returned in JSON. If the request + # failed, the response will contain an error code and a message to help + # understand what went wrong. + # + # @param model [String] The domain-specific content to recognize. + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def analyze_image_by_domain_with_http_info(model, url, language = nil, custom_headers = nil) + analyze_image_by_domain_async(model, url, language, custom_headers).value! + end + + # + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API only provides a single domain-specific model: celebrities. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. A successful response will be returned in JSON. If the request + # failed, the response will contain an error code and a message to help + # understand what went wrong. + # + # @param model [String] The domain-specific content to recognize. + # @param url [String] Publicly reachable URL of an image + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def analyze_image_by_domain_async(model, url, language = nil, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'model is nil' if model.nil? + fail ArgumentError, 'url is nil' if url.nil? + + image_url = ImageUrl.new + unless url.nil? + image_url.url = url + end + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() + request_content = self.serialize(request_mapper, image_url) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'models/{model}/analyze' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'model' => model}, + query_params: {'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Recognize Text operation. When you use the Recognize Text interface, the + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get + # Recognize Text Operation Result operation. + # + # @param mode [TextRecognitionMode] Type of text to recognize. Possible values + # include: 'Handwritten', 'Printed' + # @param url [String] Publicly reachable URL of an image + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def recognize_text(url, mode, custom_headers = nil) + response = recognize_text_async(url, mode, custom_headers).value! + nil + end + + # + # Recognize Text operation. When you use the Recognize Text interface, the + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get + # Recognize Text Operation Result operation. + # + # @param mode [TextRecognitionMode] Type of text to recognize. Possible values + # include: 'Handwritten', 'Printed' + # @param url [String] Publicly reachable URL of an image + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def recognize_text_with_http_info(url, mode, custom_headers = nil) + recognize_text_async(url, mode, custom_headers).value! + end + + # + # Recognize Text operation. When you use the Recognize Text interface, the + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get + # Recognize Text Operation Result operation. + # + # @param mode [TextRecognitionMode] Type of text to recognize. Possible values + # include: 'Handwritten', 'Printed' + # @param url [String] Publicly reachable URL of an image + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def recognize_text_async(url, mode, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'mode is nil' if mode.nil? + fail ArgumentError, 'url is nil' if url.nil? + + image_url = ImageUrl.new + unless url.nil? + image_url.url = url + end + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl.mapper() + request_content = self.serialize(request_mapper, image_url) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'recognizeText' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'mode' => mode}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 202 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # This interface is used for getting text operation result. The URL to this + # interface should be retrieved from 'Operation-Location' field returned from + # Recognize Text interface. + # + # @param operation_id [String] Id of the text operation returned in the + # response of the 'Recognize Text' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TextOperationResult] operation results. + # + def get_text_operation_result(operation_id, custom_headers = nil) + response = get_text_operation_result_async(operation_id, custom_headers).value! + response.body unless response.nil? + end + + # + # This interface is used for getting text operation result. The URL to this + # interface should be retrieved from 'Operation-Location' field returned from + # Recognize Text interface. + # + # @param operation_id [String] Id of the text operation returned in the + # response of the 'Recognize Text' + # @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_text_operation_result_with_http_info(operation_id, custom_headers = nil) + get_text_operation_result_async(operation_id, custom_headers).value! + end + + # + # This interface is used for getting text operation result. The URL to this + # interface should be retrieved from 'Operation-Location' field returned from + # Recognize Text interface. + # + # @param operation_id [String] Id of the text operation returned in the + # response of the 'Recognize Text' + # @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_text_operation_result_async(operation_id, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'operation_id is nil' if operation_id.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + path_template = 'textOperations/{operationId}' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'operationId' => operation_id}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation extracts a rich set of visual features based on the image + # content. + # + # @param image An image stream. + # @param visual_features [Array] A string indicating what + # visual feature types to return. Multiple values should be comma-separated. + # Valid visual feature types include:Categories - categorizes image content + # according to a taxonomy defined in documentation. Tags - tags the image with + # a detailed list of words related to the image content. Description - + # describes the image content with a complete English sentence. Faces - detects + # if faces are present. If present, generate coordinates, gender and age. + # ImageType - detects if image is clipart or a line drawing. Color - determines + # the accent color, dominant color, and whether an image is black&white.Adult - + # detects if the image is pornographic in nature (depicts nudity or a sex act). + # Sexually suggestive content is also detected. + # @param details [Enum] A string indicating which domain-specific details to + # return. Multiple values should be comma-separated. Valid visual feature types + # include:Celebrities - identifies celebrities if detected in the image. + # Possible values include: 'Celebrities', 'Landmarks' + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ImageAnalysis] operation results. + # + def analyze_image_in_stream(image, visual_features = nil, details = nil, language = nil, custom_headers = nil) + response = analyze_image_in_stream_async(image, visual_features, details, language, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation extracts a rich set of visual features based on the image + # content. + # + # @param image An image stream. + # @param visual_features [Array] A string indicating what + # visual feature types to return. Multiple values should be comma-separated. + # Valid visual feature types include:Categories - categorizes image content + # according to a taxonomy defined in documentation. Tags - tags the image with + # a detailed list of words related to the image content. Description - + # describes the image content with a complete English sentence. Faces - detects + # if faces are present. If present, generate coordinates, gender and age. + # ImageType - detects if image is clipart or a line drawing. Color - determines + # the accent color, dominant color, and whether an image is black&white.Adult - + # detects if the image is pornographic in nature (depicts nudity or a sex act). + # Sexually suggestive content is also detected. + # @param details [Enum] A string indicating which domain-specific details to + # return. Multiple values should be comma-separated. Valid visual feature types + # include:Celebrities - identifies celebrities if detected in the image. + # Possible values include: 'Celebrities', 'Landmarks' + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def analyze_image_in_stream_with_http_info(image, visual_features = nil, details = nil, language = nil, custom_headers = nil) + analyze_image_in_stream_async(image, visual_features, details, language, custom_headers).value! + end + + # + # This operation extracts a rich set of visual features based on the image + # content. + # + # @param image An image stream. + # @param visual_features [Array] A string indicating what + # visual feature types to return. Multiple values should be comma-separated. + # Valid visual feature types include:Categories - categorizes image content + # according to a taxonomy defined in documentation. Tags - tags the image with + # a detailed list of words related to the image content. Description - + # describes the image content with a complete English sentence. Faces - detects + # if faces are present. If present, generate coordinates, gender and age. + # ImageType - detects if image is clipart or a line drawing. Color - determines + # the accent color, dominant color, and whether an image is black&white.Adult - + # detects if the image is pornographic in nature (depicts nudity or a sex act). + # Sexually suggestive content is also detected. + # @param details [Enum] A string indicating which domain-specific details to + # return. Multiple values should be comma-separated. Valid visual feature types + # include:Celebrities - identifies celebrities if detected in the image. + # Possible values include: 'Celebrities', 'Landmarks' + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def analyze_image_in_stream_async(image, visual_features = nil, details = nil, language = nil, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'image is nil' if image.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/octet-stream' + + # Serialize Request + request_mapper = { + required: true, + serialized_name: 'Image', + type: { + name: 'Stream' + } + } + request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'analyze' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'visualFeatures' => visual_features.nil? ? nil : visual_features.join(','),'details' => details,'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. A successful response contains the thumbnail image + # binary. If the request failed, the response contains an error code and a + # message to help determine what went wrong. + # + # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. + # Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail. It must be between 1 and + # 1024. Recommended minimum of 50. + # @param image An image stream. + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [NOT_IMPLEMENTED] operation results. + # + def generate_thumbnail_in_stream(width, height, image, smart_cropping = false, custom_headers = nil) + response = generate_thumbnail_in_stream_async(width, height, image, smart_cropping, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. A successful response contains the thumbnail image + # binary. If the request failed, the response contains an error code and a + # message to help determine what went wrong. + # + # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. + # Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail. It must be between 1 and + # 1024. Recommended minimum of 50. + # @param image An image stream. + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def generate_thumbnail_in_stream_with_http_info(width, height, image, smart_cropping = false, custom_headers = nil) + generate_thumbnail_in_stream_async(width, height, image, smart_cropping, custom_headers).value! + end + + # + # This operation generates a thumbnail image with the user-specified width and + # height. By default, the service analyzes the image, identifies the region of + # interest (ROI), and generates smart cropping coordinates based on the ROI. + # Smart cropping helps when you specify an aspect ratio that differs from that + # of the input image. A successful response contains the thumbnail image + # binary. If the request failed, the response contains an error code and a + # message to help determine what went wrong. + # + # @param width [Integer] Width of the thumbnail. It must be between 1 and 1024. + # Recommended minimum of 50. + # @param height [Integer] Height of the thumbnail. It must be between 1 and + # 1024. Recommended minimum of 50. + # @param image An image stream. + # @param smart_cropping [Boolean] Boolean flag for enabling smart cropping. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def generate_thumbnail_in_stream_async(width, height, image, smart_cropping = false, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'width is nil' if width.nil? + fail ArgumentError, 'height is nil' if height.nil? + fail ArgumentError, 'image is nil' if image.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/octet-stream' + + # Serialize Request + request_mapper = { + required: true, + serialized_name: 'Image', + type: { + name: 'Stream' + } + } + request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'generateThumbnail' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'width' => width,'height' => height,'smartCropping' => smart_cropping}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = { + required: false, + serialized_name: 'parsed_response', + type: { + name: 'Stream' + } + } + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Optical Character Recognition (OCR) detects printed text in an image and + # extracts the recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. Upon failure, the error code + # together with an error message will be returned. The error code can be one of + # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, + # NotSupportedLanguage, or InternalServerError. + # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). + # @param image An image stream. + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OcrResult] operation results. + # + def recognize_printed_text_in_stream(detect_orientation, image, language = nil, custom_headers = nil) + response = recognize_printed_text_in_stream_async(detect_orientation, image, language, custom_headers).value! + response.body unless response.nil? + end + + # + # Optical Character Recognition (OCR) detects printed text in an image and + # extracts the recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. Upon failure, the error code + # together with an error message will be returned. The error code can be one of + # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, + # NotSupportedLanguage, or InternalServerError. + # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). + # @param image An image stream. + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def recognize_printed_text_in_stream_with_http_info(detect_orientation, image, language = nil, custom_headers = nil) + recognize_printed_text_in_stream_async(detect_orientation, image, language, custom_headers).value! + end + + # + # Optical Character Recognition (OCR) detects printed text in an image and + # extracts the recognized characters into a machine-usable character stream. + # Upon success, the OCR results will be returned. Upon failure, the error code + # together with an error message will be returned. The error code can be one of + # InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, + # NotSupportedLanguage, or InternalServerError. + # + # @param detect_orientation [Boolean] Whether detect the text orientation in + # the image. With detectOrientation=true the OCR service tries to detect the + # image orientation and correct it before further processing (e.g. if it's + # upside-down). + # @param image An image stream. + # @param language [OcrLanguages] The BCP-47 language code of the text to be + # detected in the image. The default value is 'unk'. Possible values include: + # 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', + # 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', + # 'sr-Cyrl', 'sr-Latn', 'sk' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def recognize_printed_text_in_stream_async(detect_orientation, image, language = nil, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'detect_orientation is nil' if detect_orientation.nil? + fail ArgumentError, 'image is nil' if image.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/octet-stream' + + # Serialize Request + request_mapper = { + required: true, + serialized_name: 'Image', + type: { + name: 'Stream' + } + } + request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'ocr' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'language' => language,'detectOrientation' => detect_orientation}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. Two input methods are supported -- + # (1) Uploading an image or (2) specifying an image URL.A successful response + # will be returned in JSON. If the request failed, the response will contain + # an error code and a message to help understand what went wrong. + # + # @param image An image stream. + # @param max_candidates [String] Maximum number of candidate descriptions to be + # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ImageDescription] operation results. + # + def describe_image_in_stream(image, max_candidates = '1', language = nil, custom_headers = nil) + response = describe_image_in_stream_async(image, max_candidates, language, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. Two input methods are supported -- + # (1) Uploading an image or (2) specifying an image URL.A successful response + # will be returned in JSON. If the request failed, the response will contain + # an error code and a message to help understand what went wrong. + # + # @param image An image stream. + # @param max_candidates [String] Maximum number of candidate descriptions to be + # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def describe_image_in_stream_with_http_info(image, max_candidates = '1', language = nil, custom_headers = nil) + describe_image_in_stream_async(image, max_candidates, language, custom_headers).value! + end + + # + # This operation generates a description of an image in human readable language + # with complete sentences. The description is based on a collection of content + # tags, which are also returned by the operation. More than one description can + # be generated for each image. Descriptions are ordered by their confidence + # score. All descriptions are in English. Two input methods are supported -- + # (1) Uploading an image or (2) specifying an image URL.A successful response + # will be returned in JSON. If the request failed, the response will contain + # an error code and a message to help understand what went wrong. + # + # @param image An image stream. + # @param max_candidates [String] Maximum number of candidate descriptions to be + # returned. The default is 1. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def describe_image_in_stream_async(image, max_candidates = '1', language = nil, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'image is nil' if image.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/octet-stream' + + # Serialize Request + request_mapper = { + required: true, + serialized_name: 'Image', + type: { + name: 'Stream' + } + } + request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'describe' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'maxCandidates' => max_candidates,'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation generates a list of words, or tags, that are relevant to the + # content of the supplied image. The Computer Vision API can return tags based + # on objects, living beings, scenery or actions found in images. Unlike + # categories, tags are not organized according to a hierarchical classification + # system, but correspond to image content. Tags may contain hints to avoid + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. + # + # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TagResult] operation results. + # + def tag_image_in_stream(image, language = nil, custom_headers = nil) + response = tag_image_in_stream_async(image, language, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation generates a list of words, or tags, that are relevant to the + # content of the supplied image. The Computer Vision API can return tags based + # on objects, living beings, scenery or actions found in images. Unlike + # categories, tags are not organized according to a hierarchical classification + # system, but correspond to image content. Tags may contain hints to avoid + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. + # + # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def tag_image_in_stream_with_http_info(image, language = nil, custom_headers = nil) + tag_image_in_stream_async(image, language, custom_headers).value! + end + + # + # This operation generates a list of words, or tags, that are relevant to the + # content of the supplied image. The Computer Vision API can return tags based + # on objects, living beings, scenery or actions found in images. Unlike + # categories, tags are not organized according to a hierarchical classification + # system, but correspond to image content. Tags may contain hints to avoid + # ambiguity or provide context, for example the tag 'cello' may be accompanied + # by the hint 'musical instrument'. All tags are in English. + # + # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def tag_image_in_stream_async(image, language = nil, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'image is nil' if image.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/octet-stream' + + # Serialize Request + request_mapper = { + required: true, + serialized_name: 'Image', + type: { + name: 'Stream' + } + } + request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'tag' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API only provides a single domain-specific model: celebrities. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. A successful response will be returned in JSON. If the request + # failed, the response will contain an error code and a message to help + # understand what went wrong. + # + # @param model [String] The domain-specific content to recognize. + # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DomainModelResults] operation results. + # + def analyze_image_by_domain_in_stream(model, image, language = nil, custom_headers = nil) + response = analyze_image_by_domain_in_stream_async(model, image, language, custom_headers).value! + response.body unless response.nil? + end + + # + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API only provides a single domain-specific model: celebrities. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. A successful response will be returned in JSON. If the request + # failed, the response will contain an error code and a message to help + # understand what went wrong. + # + # @param model [String] The domain-specific content to recognize. + # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def analyze_image_by_domain_in_stream_with_http_info(model, image, language = nil, custom_headers = nil) + analyze_image_by_domain_in_stream_async(model, image, language, custom_headers).value! + end + + # + # This operation recognizes content within an image by applying a + # domain-specific model. The list of domain-specific models that are supported + # by the Computer Vision API can be retrieved using the /models GET request. + # Currently, the API only provides a single domain-specific model: celebrities. + # Two input methods are supported -- (1) Uploading an image or (2) specifying + # an image URL. A successful response will be returned in JSON. If the request + # failed, the response will contain an error code and a message to help + # understand what went wrong. + # + # @param model [String] The domain-specific content to recognize. + # @param image An image stream. + # @param language [Enum] The desired language for output generation. If this + # parameter is not specified, the default value is "en".Supported + # languages:en - English, Default. es - Spanish, ja - Japanese, pt - + # Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', + # 'ja', 'pt', 'zh' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def analyze_image_by_domain_in_stream_async(model, image, language = nil, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'model is nil' if model.nil? + fail ArgumentError, 'image is nil' if image.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/octet-stream' + + # Serialize Request + request_mapper = { + required: true, + serialized_name: 'Image', + type: { + name: 'Stream' + } + } + request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'models/{model}/analyze' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'model' => model}, + query_params: {'language' => language}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults.mapper() + result.body = self.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Recognize Text operation. When you use the Recognize Text interface, the + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get + # Recognize Text Operation Result operation. + # + # @param image An image stream. + # @param mode [TextRecognitionMode] Type of text to recognize. Possible values + # include: 'Handwritten', 'Printed' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def recognize_text_in_stream(image, mode, custom_headers = nil) + response = recognize_text_in_stream_async(image, mode, custom_headers).value! + nil + end + + # + # Recognize Text operation. When you use the Recognize Text interface, the + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get + # Recognize Text Operation Result operation. + # + # @param image An image stream. + # @param mode [TextRecognitionMode] Type of text to recognize. Possible values + # include: 'Handwritten', 'Printed' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def recognize_text_in_stream_with_http_info(image, mode, custom_headers = nil) + recognize_text_in_stream_async(image, mode, custom_headers).value! + end + + # + # Recognize Text operation. When you use the Recognize Text interface, the + # response contains a field called 'Operation-Location'. The + # 'Operation-Location' field contains the URL that you must use for your Get + # Recognize Text Operation Result operation. + # + # @param image An image stream. + # @param mode [TextRecognitionMode] Type of text to recognize. Possible values + # include: 'Handwritten', 'Printed' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def recognize_text_in_stream_async(image, mode, custom_headers = nil) + fail ArgumentError, 'azure_region is nil' if azure_region.nil? + fail ArgumentError, 'image is nil' if image.nil? + fail ArgumentError, 'mode is nil' if mode.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = accept_language unless accept_language.nil? + + request_headers['Content-Type'] = 'application/octet-stream' + + # Serialize Request + request_mapper = { + required: true, + serialized_name: 'Image', + type: { + name: 'Stream' + } + } + request_content = self.serialize(request_mapper, image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'recognizeText' + + request_url = @base_url || self.base_url + request_url = request_url.gsub('{AzureRegion}', azure_region) + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'mode' => mode}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = self.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 202 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + + private + # + # Adds telemetry information. + # + def add_telemetry + sdk_information = 'azure_cognitiveservices_computervision' + if defined? Azure::CognitiveServices::ComputerVision::V2_0::VERSION + sdk_information = "#{sdk_information}/#{Azure::CognitiveServices::ComputerVision::V2_0::VERSION}" + end + add_user_agent_information(sdk_information) + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb new file mode 100644 index 0000000000..01982e1be8 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb @@ -0,0 +1,78 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object describing whether the image contains adult-oriented content + # and/or is racy. + # + class AdultInfo + + include MsRestAzure + + # @return [Boolean] A value indicating if the image contains + # adult-oriented content. + attr_accessor :is_adult_content + + # @return [Boolean] A value indicating if the image is race. + attr_accessor :is_racy_content + + # @return [Float] Score from 0 to 1 that indicates how much of adult + # content is within the image. + attr_accessor :adult_score + + # @return [Float] Score from 0 to 1 that indicates how suggestive is the + # image. + attr_accessor :racy_score + + + # + # Mapper for AdultInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AdultInfo', + type: { + name: 'Composite', + class_name: 'AdultInfo', + model_properties: { + is_adult_content: { + required: false, + serialized_name: 'isAdultContent', + type: { + name: 'Boolean' + } + }, + is_racy_content: { + required: false, + serialized_name: 'isRacyContent', + type: { + name: 'Boolean' + } + }, + adult_score: { + required: false, + serialized_name: 'adultScore', + type: { + name: 'Double' + } + }, + racy_score: { + required: false, + serialized_name: 'racyScore', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/azure_regions.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/azure_regions.rb new file mode 100644 index 0000000000..b504ce978f --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/azure_regions.rb @@ -0,0 +1,26 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Defines values for AzureRegions + # + module AzureRegions + Westus = "westus" + Westeurope = "westeurope" + Southeastasia = "southeastasia" + Eastus2 = "eastus2" + Westcentralus = "westcentralus" + Westus2 = "westus2" + Eastus = "eastus" + Southcentralus = "southcentralus" + Northeurope = "northeurope" + Eastasia = "eastasia" + Australiaeast = "australiaeast" + Brazilsouth = "brazilsouth" + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category.rb new file mode 100644 index 0000000000..769572275a --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category.rb @@ -0,0 +1,65 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object describing identified category. + # + class Category + + include MsRestAzure + + # @return [String] Name of the category. + attr_accessor :name + + # @return [Float] Scoring of the category. + attr_accessor :score + + # @return [CategoryDetail] + attr_accessor :detail + + + # + # Mapper for Category class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Category', + type: { + name: 'Composite', + class_name: 'Category', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + score: { + required: false, + serialized_name: 'score', + type: { + name: 'Double' + } + }, + detail: { + required: false, + serialized_name: 'detail', + type: { + name: 'Composite', + class_name: 'CategoryDetail' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb new file mode 100644 index 0000000000..8822492c71 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb @@ -0,0 +1,72 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object describing additional category details. + # + class CategoryDetail + + include MsRestAzure + + # @return [Array] An array of celebrities if any + # identified. + attr_accessor :celebrities + + # @return [Array] An array of landmarks if any + # identified. + attr_accessor :landmarks + + + # + # Mapper for CategoryDetail class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CategoryDetail', + type: { + name: 'Composite', + class_name: 'CategoryDetail', + model_properties: { + celebrities: { + required: false, + serialized_name: 'celebrities', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'CelebritiesModelElementType', + type: { + name: 'Composite', + class_name: 'CelebritiesModel' + } + } + } + }, + landmarks: { + required: false, + serialized_name: 'landmarks', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LandmarksModelElementType', + type: { + name: 'Composite', + class_name: 'LandmarksModel' + } + } + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb new file mode 100644 index 0000000000..98596506c7 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb @@ -0,0 +1,65 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object describing possible celebrity identification. + # + class CelebritiesModel + + include MsRestAzure + + # @return [String] Name of the celebrity. + attr_accessor :name + + # @return [Float] Level of confidence ranging from 0 to 1. + attr_accessor :confidence + + # @return [FaceRectangle] + attr_accessor :face_rectangle + + + # + # Mapper for CelebritiesModel class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CelebritiesModel', + type: { + name: 'Composite', + class_name: 'CelebritiesModel', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + confidence: { + required: false, + serialized_name: 'confidence', + type: { + name: 'Double' + } + }, + face_rectangle: { + required: false, + serialized_name: 'faceRectangle', + type: { + name: 'Composite', + class_name: 'FaceRectangle' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb new file mode 100644 index 0000000000..66f9ed9654 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb @@ -0,0 +1,73 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # List of celebrities recognized in the image. + # + class CelebrityResults + + include MsRestAzure + + # @return [Array] + attr_accessor :celebrities + + # @return [String] Id of the REST API request. + attr_accessor :request_id + + # @return [ImageMetadata] + attr_accessor :metadata + + + # + # Mapper for CelebrityResults class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CelebrityResults', + type: { + name: 'Composite', + class_name: 'CelebrityResults', + model_properties: { + celebrities: { + required: false, + serialized_name: 'celebrities', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'CelebritiesModelElementType', + type: { + name: 'Composite', + class_name: 'CelebritiesModel' + } + } + } + }, + request_id: { + required: false, + serialized_name: 'requestId', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Composite', + class_name: 'ImageMetadata' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb new file mode 100644 index 0000000000..5b26d249c0 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb @@ -0,0 +1,91 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object providing additional metadata describing color attributes. + # + class ColorInfo + + include MsRestAzure + + # @return [String] Possible dominant foreground color. + attr_accessor :dominant_color_foreground + + # @return [String] Possible dominant background color. + attr_accessor :dominant_color_background + + # @return [Array] An array of possible dominant colors. + attr_accessor :dominant_colors + + # @return [String] Possible accent color. + attr_accessor :accent_color + + # @return [Boolean] A value indicating if the image is black and white. + attr_accessor :is_bwimg + + + # + # Mapper for ColorInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ColorInfo', + type: { + name: 'Composite', + class_name: 'ColorInfo', + model_properties: { + dominant_color_foreground: { + required: false, + serialized_name: 'dominantColorForeground', + type: { + name: 'String' + } + }, + dominant_color_background: { + required: false, + serialized_name: 'dominantColorBackground', + type: { + name: 'String' + } + }, + dominant_colors: { + required: false, + serialized_name: 'dominantColors', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + accent_color: { + required: false, + serialized_name: 'accentColor', + type: { + name: 'String' + } + }, + is_bwimg: { + required: false, + serialized_name: 'isBWImg', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb new file mode 100644 index 0000000000..357b5f0b35 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Model object. + # + # + class ComputerVisionError + + include MsRestAzure + + # @return [ComputerVisionErrorCodes] The error code. Possible values + # include: 'InvalidImageUrl', 'InvalidImageFormat', 'InvalidImageSize', + # 'NotSupportedVisualFeature', 'NotSupportedImage', 'InvalidDetails', + # 'NotSupportedLanguage', 'BadArgument', 'FailedToProcess', 'Timeout', + # 'InternalServerError', 'Unspecified', 'StorageException' + attr_accessor :code + + # @return [String] A message explaining the error reported by the + # service. + attr_accessor :message + + # @return [String] A unique request identifier. + attr_accessor :request_id + + + # + # Mapper for ComputerVisionError class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ComputerVisionError', + type: { + name: 'Composite', + class_name: 'ComputerVisionError', + model_properties: { + code: { + required: true, + serialized_name: 'code', + type: { + name: 'Enum', + module: 'ComputerVisionErrorCodes' + } + }, + message: { + required: true, + serialized_name: 'message', + type: { + name: 'String' + } + }, + request_id: { + required: false, + serialized_name: 'requestId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb new file mode 100644 index 0000000000..86266d36aa --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb @@ -0,0 +1,27 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Defines values for ComputerVisionErrorCodes + # + module ComputerVisionErrorCodes + InvalidImageUrl = "InvalidImageUrl" + InvalidImageFormat = "InvalidImageFormat" + InvalidImageSize = "InvalidImageSize" + NotSupportedVisualFeature = "NotSupportedVisualFeature" + NotSupportedImage = "NotSupportedImage" + InvalidDetails = "InvalidDetails" + NotSupportedLanguage = "NotSupportedLanguage" + BadArgument = "BadArgument" + FailedToProcess = "FailedToProcess" + Timeout = "Timeout" + InternalServerError = "InternalServerError" + Unspecified = "Unspecified" + StorageException = "StorageException" + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/details.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/details.rb new file mode 100644 index 0000000000..e344b20ea9 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/details.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Defines values for Details + # + module Details + Celebrities = "Celebrities" + Landmarks = "Landmarks" + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb new file mode 100644 index 0000000000..8839e76153 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb @@ -0,0 +1,66 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Result of image analysis using a specific domain model including + # additional metadata. + # + class DomainModelResults + + include MsRestAzure + + # @return Model-specific response + attr_accessor :result + + # @return [String] Id of the REST API request. + attr_accessor :request_id + + # @return [ImageMetadata] + attr_accessor :metadata + + + # + # Mapper for DomainModelResults class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DomainModelResults', + type: { + name: 'Composite', + class_name: 'DomainModelResults', + model_properties: { + result: { + required: false, + serialized_name: 'result', + type: { + name: 'Object' + } + }, + request_id: { + required: false, + serialized_name: 'requestId', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Composite', + class_name: 'ImageMetadata' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb new file mode 100644 index 0000000000..8130204d65 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_description.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object describing a face identified in the image. + # + class FaceDescription + + include MsRestAzure + + # @return [Integer] Possible age of the face. + attr_accessor :age + + # @return [Gender] Possible gender of the face. Possible values include: + # 'Male', 'Female' + attr_accessor :gender + + # @return [FaceRectangle] + attr_accessor :face_rectangle + + + # + # Mapper for FaceDescription class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'FaceDescription', + type: { + name: 'Composite', + class_name: 'FaceDescription', + model_properties: { + age: { + required: false, + serialized_name: 'age', + type: { + name: 'Number' + } + }, + gender: { + required: false, + serialized_name: 'gender', + type: { + name: 'Enum', + module: 'Gender' + } + }, + face_rectangle: { + required: false, + serialized_name: 'faceRectangle', + type: { + name: 'Composite', + class_name: 'FaceRectangle' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb new file mode 100644 index 0000000000..3d467b9f2b --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb @@ -0,0 +1,74 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object describing face rectangle. + # + class FaceRectangle + + include MsRestAzure + + # @return [Integer] X-coordinate of the top left point of the face. + attr_accessor :left + + # @return [Integer] Y-coordinate of the top left point of the face. + attr_accessor :top + + # @return [Integer] Width measured from the top-left point of the face. + attr_accessor :width + + # @return [Integer] Height measured from the top-left point of the face. + attr_accessor :height + + + # + # Mapper for FaceRectangle class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'FaceRectangle', + type: { + name: 'Composite', + class_name: 'FaceRectangle', + model_properties: { + left: { + required: false, + serialized_name: 'left', + type: { + name: 'Number' + } + }, + top: { + required: false, + serialized_name: 'top', + type: { + name: 'Number' + } + }, + width: { + required: false, + serialized_name: 'width', + type: { + name: 'Number' + } + }, + height: { + required: false, + serialized_name: 'height', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/gender.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/gender.rb new file mode 100644 index 0000000000..e80efdc1e3 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/gender.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Defines values for Gender + # + module Gender + Male = "Male" + Female = "Female" + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb new file mode 100644 index 0000000000..2abe058a83 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb @@ -0,0 +1,154 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Result of AnalyzeImage operation. + # + class ImageAnalysis + + include MsRestAzure + + # @return [Array] An array indicating identified categories. + attr_accessor :categories + + # @return [AdultInfo] + attr_accessor :adult + + # @return [ColorInfo] + attr_accessor :color + + # @return [ImageType] + attr_accessor :image_type + + # @return [Array] A list of tags with confidence level. + attr_accessor :tags + + # @return [ImageDescriptionDetails] + attr_accessor :description + + # @return [Array] An array of possible faces within the + # image. + attr_accessor :faces + + # @return [String] Id of the request for tracking purposes. + attr_accessor :request_id + + # @return [ImageMetadata] + attr_accessor :metadata + + + # + # Mapper for ImageAnalysis class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImageAnalysis', + type: { + name: 'Composite', + class_name: 'ImageAnalysis', + model_properties: { + categories: { + required: false, + serialized_name: 'categories', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'CategoryElementType', + type: { + name: 'Composite', + class_name: 'Category' + } + } + } + }, + adult: { + required: false, + serialized_name: 'adult', + type: { + name: 'Composite', + class_name: 'AdultInfo' + } + }, + color: { + required: false, + serialized_name: 'color', + type: { + name: 'Composite', + class_name: 'ColorInfo' + } + }, + image_type: { + required: false, + serialized_name: 'imageType', + type: { + name: 'Composite', + class_name: 'ImageType' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ImageTagElementType', + type: { + name: 'Composite', + class_name: 'ImageTag' + } + } + } + }, + description: { + required: false, + serialized_name: 'description', + type: { + name: 'Composite', + class_name: 'ImageDescriptionDetails' + } + }, + faces: { + required: false, + serialized_name: 'faces', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'FaceDescriptionElementType', + type: { + name: 'Composite', + class_name: 'FaceDescription' + } + } + } + }, + request_id: { + required: false, + serialized_name: 'requestId', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Composite', + class_name: 'ImageMetadata' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb new file mode 100644 index 0000000000..a5f9a444d3 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_caption.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An image caption, i.e. a brief description of what the image depicts. + # + class ImageCaption + + include MsRestAzure + + # @return [String] The text of the caption + attr_accessor :text + + # @return [Float] The level of confidence the service has in the caption + attr_accessor :confidence + + + # + # Mapper for ImageCaption class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImageCaption', + type: { + name: 'Composite', + class_name: 'ImageCaption', + model_properties: { + text: { + required: false, + serialized_name: 'text', + type: { + name: 'String' + } + }, + confidence: { + required: false, + serialized_name: 'confidence', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb new file mode 100644 index 0000000000..384090f6db --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # A collection of content tags, along with a list of captions sorted by + # confidence level, and image metadata. + # + class ImageDescription + + include MsRestAzure + + # @return [Array] A collection of image tags. + attr_accessor :tags + + # @return [Array] A list of captions, sorted by confidence + # level. + attr_accessor :captions + + # @return [String] Id of the REST API request. + attr_accessor :request_id + + # @return [ImageMetadata] + attr_accessor :metadata + + + # + # Mapper for ImageDescription class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImageDescription', + type: { + name: 'Composite', + class_name: 'ImageDescription', + model_properties: { + tags: { + required: false, + serialized_name: 'description.tags', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + captions: { + required: false, + serialized_name: 'description.captions', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ImageCaptionElementType', + type: { + name: 'Composite', + class_name: 'ImageCaption' + } + } + } + }, + request_id: { + required: false, + serialized_name: 'requestId', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Composite', + class_name: 'ImageMetadata' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb new file mode 100644 index 0000000000..fd60fceada --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # A collection of content tags, along with a list of captions sorted by + # confidence level, and image metadata. + # + class ImageDescriptionDetails + + include MsRestAzure + + # @return [Array] A collection of image tags. + attr_accessor :tags + + # @return [Array] A list of captions, sorted by confidence + # level. + attr_accessor :captions + + + # + # Mapper for ImageDescriptionDetails class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImageDescriptionDetails', + type: { + name: 'Composite', + class_name: 'ImageDescriptionDetails', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + captions: { + required: false, + serialized_name: 'captions', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ImageCaptionElementType', + type: { + name: 'Composite', + class_name: 'ImageCaption' + } + } + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb new file mode 100644 index 0000000000..55bc04bc77 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb @@ -0,0 +1,64 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Image metadata + # + class ImageMetadata + + include MsRestAzure + + # @return [Integer] Image width + attr_accessor :width + + # @return [Integer] Image height + attr_accessor :height + + # @return [String] Image format + attr_accessor :format + + + # + # Mapper for ImageMetadata class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImageMetadata', + type: { + name: 'Composite', + class_name: 'ImageMetadata', + model_properties: { + width: { + required: false, + serialized_name: 'width', + type: { + name: 'Number' + } + }, + height: { + required: false, + serialized_name: 'height', + type: { + name: 'Number' + } + }, + format: { + required: false, + serialized_name: 'format', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb new file mode 100644 index 0000000000..5c66d28b1c --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_tag.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An image caption, i.e. a brief description of what the image depicts. + # + class ImageTag + + include MsRestAzure + + # @return [String] The tag value + attr_accessor :name + + # @return [Float] The level of confidence the service has in the caption + attr_accessor :confidence + + + # + # Mapper for ImageTag class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImageTag', + type: { + name: 'Composite', + class_name: 'ImageTag', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + confidence: { + required: false, + serialized_name: 'confidence', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb new file mode 100644 index 0000000000..6fbe7efd37 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_type.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object providing possible image types and matching confidence levels. + # + class ImageType + + include MsRestAzure + + # @return [Float] Confidence level that the image is a clip art. + attr_accessor :clip_art_type + + # @return [Float] Confidence level that the image is a line drawing. + attr_accessor :line_drawing_type + + + # + # Mapper for ImageType class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImageType', + type: { + name: 'Composite', + class_name: 'ImageType', + model_properties: { + clip_art_type: { + required: false, + serialized_name: 'clipArtType', + type: { + name: 'Double' + } + }, + line_drawing_type: { + required: false, + serialized_name: 'lineDrawingType', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb new file mode 100644 index 0000000000..33ef37eb1e --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Model object. + # + # + class ImageUrl + + include MsRestAzure + + # @return [String] Publicly reachable URL of an image + attr_accessor :url + + + # + # Mapper for ImageUrl class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImageUrl', + type: { + name: 'Composite', + class_name: 'ImageUrl', + model_properties: { + url: { + required: true, + serialized_name: 'url', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb new file mode 100644 index 0000000000..f58a13c005 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb @@ -0,0 +1,73 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # List of landmarks recognized in the image. + # + class LandmarkResults + + include MsRestAzure + + # @return [Array] + attr_accessor :landmarks + + # @return [String] Id of the REST API request. + attr_accessor :request_id + + # @return [ImageMetadata] + attr_accessor :metadata + + + # + # Mapper for LandmarkResults class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LandmarkResults', + type: { + name: 'Composite', + class_name: 'LandmarkResults', + model_properties: { + landmarks: { + required: false, + serialized_name: 'landmarks', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LandmarksModelElementType', + type: { + name: 'Composite', + class_name: 'LandmarksModel' + } + } + } + }, + request_id: { + required: false, + serialized_name: 'requestId', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Composite', + class_name: 'ImageMetadata' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.rb new file mode 100644 index 0000000000..0c76ef579a --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # A landmark recognized in the image + # + class LandmarkResultsLandmarksItem + + include MsRestAzure + + # @return [String] Name of the landmark. + attr_accessor :name + + # @return [Float] Confidence level for the landmark recognition. + attr_accessor :confidence + + + # + # Mapper for LandmarkResultsLandmarksItem class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LandmarkResults_landmarksItem', + type: { + name: 'Composite', + class_name: 'LandmarkResultsLandmarksItem', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + confidence: { + required: false, + serialized_name: 'confidence', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb new file mode 100644 index 0000000000..d4bd44e76b --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # A landmark recognized in the image + # + class LandmarksModel + + include MsRestAzure + + # @return [String] Name of the landmark. + attr_accessor :name + + # @return [Float] Confidence level for the landmark recognition. + attr_accessor :confidence + + + # + # Mapper for LandmarksModel class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LandmarksModel', + type: { + name: 'Composite', + class_name: 'LandmarksModel', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + confidence: { + required: false, + serialized_name: 'confidence', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/line.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/line.rb new file mode 100644 index 0000000000..33991cfdf5 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/line.rb @@ -0,0 +1,80 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Model object. + # + # + class Line + + include MsRestAzure + + # @return [Array] + attr_accessor :bounding_box + + # @return [String] + attr_accessor :text + + # @return [Array] + attr_accessor :words + + + # + # Mapper for Line class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Line', + type: { + name: 'Composite', + class_name: 'Line', + model_properties: { + bounding_box: { + required: false, + serialized_name: 'boundingBox', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'NumberElementType', + type: { + name: 'Number' + } + } + } + }, + text: { + required: false, + serialized_name: 'text', + type: { + name: 'String' + } + }, + words: { + required: false, + serialized_name: 'words', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'WordElementType', + type: { + name: 'Composite', + class_name: 'Word' + } + } + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb new file mode 100644 index 0000000000..72b7e13ac2 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb @@ -0,0 +1,53 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Result of the List Domain Models operation. + # + class ListModelsResult + + include MsRestAzure + + # @return [Array] An array of supported models. + attr_accessor :models_property + + + # + # Mapper for ListModelsResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ListModelsResult', + type: { + name: 'Composite', + class_name: 'ListModelsResult', + model_properties: { + models_property: { + required: false, + read_only: true, + serialized_name: 'models', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ModelDescriptionElementType', + type: { + name: 'Composite', + class_name: 'ModelDescription' + } + } + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb new file mode 100644 index 0000000000..0067fe162b --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/model_description.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object describing supported model by name and categories. + # + class ModelDescription + + include MsRestAzure + + # @return [String] + attr_accessor :name + + # @return [Array] + attr_accessor :categories + + + # + # Mapper for ModelDescription class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ModelDescription', + type: { + name: 'Composite', + class_name: 'ModelDescription', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + categories: { + required: false, + serialized_name: 'categories', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb new file mode 100644 index 0000000000..0bc8315857 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb @@ -0,0 +1,41 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Defines values for OcrLanguages + # + module OcrLanguages + Unk = "unk" + ZhHans = "zh-Hans" + ZhHant = "zh-Hant" + Cs = "cs" + Da = "da" + Nl = "nl" + En = "en" + Fi = "fi" + Fr = "fr" + De = "de" + El = "el" + Hu = "hu" + It = "it" + Ja = "ja" + Ko = "ko" + Nb = "nb" + Pl = "pl" + Pt = "pt" + Ru = "ru" + Es = "es" + Sv = "sv" + Tr = "tr" + Ar = "ar" + Ro = "ro" + SrCyrl = "sr-Cyrl" + SrLatn = "sr-Latn" + Sk = "sk" + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb new file mode 100644 index 0000000000..89c8539761 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb @@ -0,0 +1,68 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # An object describing a single recognized line of text. + # + class OcrLine + + include MsRestAzure + + # @return [String] Bounding box of a recognized line. The four integers + # represent the x-coordinate of the left edge, the y-coordinate of the + # top edge, width, and height of the bounding box, in the coordinate + # system of the input image, after it has been rotated around its center + # according to the detected text angle (see textAngle property), with the + # origin at the top-left corner, and the y-axis pointing down. + attr_accessor :bounding_box + + # @return [Array] An array of objects, where each object + # represents a recognized word. + attr_accessor :words + + + # + # Mapper for OcrLine class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OcrLine', + type: { + name: 'Composite', + class_name: 'OcrLine', + model_properties: { + bounding_box: { + required: false, + serialized_name: 'boundingBox', + type: { + name: 'String' + } + }, + words: { + required: false, + serialized_name: 'words', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OcrWordElementType', + type: { + name: 'Composite', + class_name: 'OcrWord' + } + } + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb new file mode 100644 index 0000000000..edcf8a677e --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb @@ -0,0 +1,68 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # A region consists of multiple lines (e.g. a column of text in a + # multi-column document). + # + class OcrRegion + + include MsRestAzure + + # @return [String] Bounding box of a recognized region. The four integers + # represent the x-coordinate of the left edge, the y-coordinate of the + # top edge, width, and height of the bounding box, in the coordinate + # system of the input image, after it has been rotated around its center + # according to the detected text angle (see textAngle property), with the + # origin at the top-left corner, and the y-axis pointing down. + attr_accessor :bounding_box + + # @return [Array] + attr_accessor :lines + + + # + # Mapper for OcrRegion class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OcrRegion', + type: { + name: 'Composite', + class_name: 'OcrRegion', + model_properties: { + bounding_box: { + required: false, + serialized_name: 'boundingBox', + type: { + name: 'String' + } + }, + lines: { + required: false, + serialized_name: 'lines', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OcrLineElementType', + type: { + name: 'Composite', + class_name: 'OcrLine' + } + } + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb new file mode 100644 index 0000000000..3ea2b12458 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb @@ -0,0 +1,97 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Model object. + # + # + class OcrResult + + include MsRestAzure + + # @return [String] The BCP-47 language code of the text in the image. + attr_accessor :language + + # @return [Float] The angle, in degrees, of the detected text with + # respect to the closest horizontal or vertical direction. After rotating + # the input image clockwise by this angle, the recognized text lines + # become horizontal or vertical. In combination with the orientation + # property it can be used to overlay recognition results correctly on the + # original image, by rotating either the original image or recognition + # results by a suitable angle around the center of the original image. If + # the angle cannot be confidently detected, this property is not present. + # If the image contains text at different angles, only part of the text + # will be recognized correctly. + attr_accessor :text_angle + + # @return [String] Orientation of the text recognized in the image. The + # value (up,down,left, or right) refers to the direction that the top of + # the recognized text is facing, after the image has been rotated around + # its center according to the detected text angle (see textAngle + # property). + attr_accessor :orientation + + # @return [Array] An array of objects, where each object + # represents a region of recognized text. + attr_accessor :regions + + + # + # Mapper for OcrResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OcrResult', + type: { + name: 'Composite', + class_name: 'OcrResult', + model_properties: { + language: { + required: false, + serialized_name: 'language', + type: { + name: 'String' + } + }, + text_angle: { + required: false, + serialized_name: 'textAngle', + type: { + name: 'Double' + } + }, + orientation: { + required: false, + serialized_name: 'orientation', + type: { + name: 'String' + } + }, + regions: { + required: false, + serialized_name: 'regions', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OcrRegionElementType', + type: { + name: 'Composite', + class_name: 'OcrRegion' + } + } + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb new file mode 100644 index 0000000000..cd4fc62fe1 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Information on a recognized word. + # + class OcrWord + + include MsRestAzure + + # @return [String] Bounding box of a recognized word. The four integers + # represent the x-coordinate of the left edge, the y-coordinate of the + # top edge, width, and height of the bounding box, in the coordinate + # system of the input image, after it has been rotated around its center + # according to the detected text angle (see textAngle property), with the + # origin at the top-left corner, and the y-axis pointing down. + attr_accessor :bounding_box + + # @return [String] String value of a recognized word. + attr_accessor :text + + + # + # Mapper for OcrWord class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OcrWord', + type: { + name: 'Composite', + class_name: 'OcrWord', + model_properties: { + bounding_box: { + required: false, + serialized_name: 'boundingBox', + type: { + name: 'String' + } + }, + text: { + required: false, + serialized_name: 'text', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb new file mode 100644 index 0000000000..4b3216aea0 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb @@ -0,0 +1,53 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Model object. + # + # + class RecognitionResult + + include MsRestAzure + + # @return [Array] + attr_accessor :lines + + + # + # Mapper for RecognitionResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'RecognitionResult', + type: { + name: 'Composite', + class_name: 'RecognitionResult', + model_properties: { + lines: { + required: false, + serialized_name: 'lines', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LineElementType', + type: { + name: 'Composite', + class_name: 'Line' + } + } + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb new file mode 100644 index 0000000000..4c92b93fb5 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb @@ -0,0 +1,74 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # The results of a image tag operation, including any tags and image + # metadata. + # + class TagResult + + include MsRestAzure + + # @return [Array] A list of tags with confidence level. + attr_accessor :tags + + # @return [String] Id of the REST API request. + attr_accessor :request_id + + # @return [ImageMetadata] + attr_accessor :metadata + + + # + # Mapper for TagResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TagResult', + type: { + name: 'Composite', + class_name: 'TagResult', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ImageTagElementType', + type: { + name: 'Composite', + class_name: 'ImageTag' + } + } + } + }, + request_id: { + required: false, + serialized_name: 'requestId', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Composite', + class_name: 'ImageMetadata' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb new file mode 100644 index 0000000000..b6534622b2 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Model object. + # + # + class TextOperationResult + + include MsRestAzure + + # @return [TextOperationStatusCodes] Status of the text operation. + # Possible values include: 'Not Started', 'Running', 'Failed', + # 'Succeeded' + attr_accessor :status + + # @return [RecognitionResult] + attr_accessor :recognition_result + + + # + # Mapper for TextOperationResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TextOperationResult', + type: { + name: 'Composite', + class_name: 'TextOperationResult', + model_properties: { + status: { + required: false, + serialized_name: 'status', + type: { + name: 'Enum', + module: 'TextOperationStatusCodes' + } + }, + recognition_result: { + required: false, + serialized_name: 'recognitionResult', + type: { + name: 'Composite', + class_name: 'RecognitionResult' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb new file mode 100644 index 0000000000..a9535d5858 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb @@ -0,0 +1,18 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Defines values for TextOperationStatusCodes + # + module TextOperationStatusCodes + NotStarted = "Not Started" + Running = "Running" + Failed = "Failed" + Succeeded = "Succeeded" + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_mode.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_mode.rb new file mode 100644 index 0000000000..07b9956390 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_mode.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Defines values for TextRecognitionMode + # + module TextRecognitionMode + Handwritten = "Handwritten" + Printed = "Printed" + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb new file mode 100644 index 0000000000..2f4f2df0b6 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.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::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Defines values for VisualFeatureTypes + # + module VisualFeatureTypes + ImageType = "ImageType" + Faces = "Faces" + Adult = "Adult" + Categories = "Categories" + Color = "Color" + Tags = "Tags" + Description = "Description" + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/word.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/word.rb new file mode 100644 index 0000000000..8a9194f1a8 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/models/word.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. + +module Azure::CognitiveServices::ComputerVision::V2_0 + module Models + # + # Model object. + # + # + class Word + + include MsRestAzure + + # @return [Array] + attr_accessor :bounding_box + + # @return [String] + attr_accessor :text + + + # + # Mapper for Word class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Word', + type: { + name: 'Composite', + class_name: 'Word', + model_properties: { + bounding_box: { + required: false, + serialized_name: 'boundingBox', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'NumberElementType', + type: { + name: 'Number' + } + } + } + }, + text: { + required: false, + serialized_name: 'text', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/module_definition.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/module_definition.rb new file mode 100644 index 0000000000..6c8c09fc48 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/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::CognitiveServices end +module Azure::CognitiveServices::ComputerVision end +module Azure::CognitiveServices::ComputerVision::V2_0 end diff --git a/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/version.rb b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/version.rb new file mode 100644 index 0000000000..22fcf31c68 --- /dev/null +++ b/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::CognitiveServices::ComputerVision::V2_0 + VERSION = '0.16.0' +end diff --git a/data/azure_cognitiveservices_computervision/lib/azure_cognitiveservices_computervision.rb b/data/azure_cognitiveservices_computervision/lib/azure_cognitiveservices_computervision.rb index 29babbcd62..31bcf6b96c 100644 --- a/data/azure_cognitiveservices_computervision/lib/azure_cognitiveservices_computervision.rb +++ b/data/azure_cognitiveservices_computervision/lib/azure_cognitiveservices_computervision.rb @@ -2,5 +2,6 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. +require '2.0/generated/azure_cognitiveservices_computervision' require '1.0/generated/azure_cognitiveservices_computervision' require 'profiles/latest/computervision_latest_profile_client' From 5011b2bbfb5dbe03c098edc35edc5fa968818008 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sat, 16 Jun 2018 00:45:11 -0700 Subject: [PATCH 16/22] Generated from 38751705bca96776a3cb8dad3faa5e477c00cf52 (#1384) (#1385) LRO options for runCommands --- .../azure_mgmt_compute/models/data_disk.rb | 14 +++++++------- .../generated/azure_mgmt_compute/models/osdisk.rb | 14 +++++++------- .../models/rollback_status_info.rb | 4 ++-- .../models/virtual_machine_scale_set_osdisk.rb | 6 +++--- .../azure_mgmt_compute/lib/azure_mgmt_compute.rb | 7 +++---- 5 files changed, 22 insertions(+), 23 deletions(-) diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb index 1b60ad3e8a..ca42f6aefa 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb @@ -42,13 +42,13 @@ class DataDisk # @return [DiskCreateOptionTypes] Specifies how the virtual machine # should be created.

Possible values are:

**Attach** - # This value is used when you are using a specialized disk to create the - # virtual machine.

**FromImage** This value is used when you are - # using an image to create the virtual machine. If you are using a - # platform image, you also use the imageReference element described - # above. If you are using a marketplace image, you also use the plan - # element previously described. Possible values include: 'FromImage', - # 'Empty', 'Attach' + # \u2013 This value is used when you are using a specialized disk to + # create the virtual machine.

**FromImage** \u2013 This value is + # used when you are using an image to create the virtual machine. If you + # are using a platform image, you also use the imageReference element + # described above. If you are using a marketplace image, you also use + # the plan element previously described. Possible values include: + # 'FromImage', 'Empty', 'Attach' attr_accessor :create_option # @return [Integer] Specifies the size of an empty data disk in diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb index ce43f46fe1..25ae8c136a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb @@ -51,13 +51,13 @@ class OSDisk # @return [DiskCreateOptionTypes] Specifies how the virtual machine # should be created.

Possible values are:

**Attach** - # This value is used when you are using a specialized disk to create the - # virtual machine.

**FromImage** This value is used when you are - # using an image to create the virtual machine. If you are using a - # platform image, you also use the imageReference element described - # above. If you are using a marketplace image, you also use the plan - # element previously described. Possible values include: 'FromImage', - # 'Empty', 'Attach' + # \u2013 This value is used when you are using a specialized disk to + # create the virtual machine.

**FromImage** \u2013 This value is + # used when you are using an image to create the virtual machine. If you + # are using a platform image, you also use the imageReference element + # described above. If you are using a marketplace image, you also use + # the plan element previously described. Possible values include: + # 'FromImage', 'Empty', 'Attach' attr_accessor :create_option # @return [Integer] Specifies the size of an empty data disk in diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb index 1ae0175f3b..f13d3ff3ff 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb @@ -7,7 +7,7 @@ module Azure::Compute::Mgmt::V2017_12_01 module Models # # Information about rollback on failed VM instances after a OS Upgrade - # operation + # operation. # class RollbackStatusInfo @@ -20,7 +20,7 @@ class RollbackStatusInfo # @return [Integer] The number of instances which failed to rollback. attr_accessor :failed_rolledback_instance_count - # @return [ApiError] Error Details if OS rollback failed. + # @return [ApiError] Error details if OS rollback failed. attr_accessor :rollback_error diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb index d519322d07..54e7712b3f 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb @@ -28,9 +28,9 @@ class VirtualMachineScaleSetOSDisk # @return [DiskCreateOptionTypes] Specifies how the virtual machines in # the scale set should be created.

The only allowed value is: - # **FromImage** This value is used when you are using an image to create - # the virtual machine. If you are using a platform image, you also use - # the imageReference element described above. If you are using a + # **FromImage** \u2013 This value is used when you are using an image to + # create the virtual machine. If you are using a platform image, you also + # use the imageReference element described above. If you are using a # marketplace image, you also use the plan element previously described. # Possible values include: 'FromImage', 'Empty', 'Attach' attr_accessor :create_option diff --git a/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb b/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb index 819379bed2..0f367439ea 100644 --- a/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb +++ b/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb @@ -2,13 +2,12 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. - -require '2015-06-15/generated/azure_mgmt_compute' require '2016-03-30/generated/azure_mgmt_compute' +require '2017-12-01/generated/azure_mgmt_compute' require '2016-04-30-preview/generated/azure_mgmt_compute' -require '2017-03-30/generated/azure_mgmt_compute' require '2017-09-01/generated/azure_mgmt_compute' -require '2017-12-01/generated/azure_mgmt_compute' require '2018-04-01/generated/azure_mgmt_compute' +require '2017-03-30/generated/azure_mgmt_compute' +require '2015-06-15/generated/azure_mgmt_compute' require 'profiles/v2017_03_09/compute_v2017_03_09_profile_client' require 'profiles/latest/compute_latest_profile_client' From c434e6f09d58f4722719e4a4b929000d7bf0fb09 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 19 Jun 2018 10:21:53 -0700 Subject: [PATCH 17/22] [AutoPR cognitiveservices/data-plane/ComputerVision] Update CognitiveService ComputerVision API to V2 (#1378) (#1392) * Generated from c2567da015994dac3301f495b6c5011d28ceaffe Add post-processing directive to swap argument order for RecognizeText to position the url argument ahead of the mode argument. autorest does not generate the intended order, so we add a post-processing directive, for each target language, * Generated from 973322cfd6ec2ced60a732f53b5318ceded5de7b Fix validation errors * Generated from 70efe042d607cbd973734e432da395ed35191a03 Add Spanish support for ServiceLanguage This is for parity with V1. From 281d6fad5a4a74bf2553150ffb9c2795c842baef Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 19 Jun 2018 11:27:25 -0700 Subject: [PATCH 18/22] Generated from 94aaf65edfd82b449c0d7e8128fcfedfe6870849 (#1386) (#1390) Update default tag to 2018-02-preview --- .../containerregistry_profile_module.rb | 120 +++--- .../container_registry_management_client.rb | 7 +- .../models/registry.rb | 11 - .../models/registry_credentials.rb | 3 - .../models/registry_list_result.rb | 4 - .../models/registry_name_check_request.rb | 3 - .../models/registry_name_status.rb | 4 - .../models/registry_update_parameters.rb | 5 - .../models/resource.rb | 7 - .../models/storage_account_properties.rb | 3 - .../registries.rb | 139 ++++--- .../azure_mgmt_container_registry/version.rb | 8 + .../container_registry_management_client.rb | 7 +- .../models/operation_definition.rb | 3 - .../models/operation_display_definition.rb | 5 - .../models/operation_list_result.rb | 4 - .../regenerate_credential_parameters.rb | 2 - .../models/registry.rb | 13 - .../models/registry_create_parameters.rb | 7 - .../registry_list_credentials_result.rb | 4 - .../models/registry_list_result.rb | 4 - .../models/registry_name_check_request.rb | 3 - .../models/registry_name_status.rb | 4 - .../models/registry_password.rb | 3 - .../models/registry_update_parameters.rb | 5 - .../models/resource.rb | 7 - .../models/sku.rb | 3 - .../models/storage_account_parameters.rb | 3 - .../models/storage_account_properties.rb | 2 - .../operations.rb | 28 +- .../registries.rb | 167 ++++----- .../azure_mgmt_container_registry/version.rb | 8 + .../container_registry_management_client.rb | 7 +- .../models/actor.rb | 2 - .../models/callback_config.rb | 4 - .../models/event.rb | 4 - .../models/event_content.rb | 8 - .../models/event_info.rb | 2 - .../models/event_list_result.rb | 4 - .../models/event_request_message.rb | 7 - .../models/event_response_message.rb | 7 - .../models/operation_definition.rb | 3 - .../models/operation_display_definition.rb | 5 - .../models/operation_list_result.rb | 4 - .../regenerate_credential_parameters.rb | 2 - .../models/registry.rb | 14 - .../registry_list_credentials_result.rb | 4 - .../models/registry_list_result.rb | 4 - .../models/registry_name_check_request.rb | 3 - .../models/registry_name_status.rb | 4 - .../models/registry_password.rb | 3 - .../models/registry_update_parameters.rb | 6 - .../models/registry_usage.rb | 5 - .../models/registry_usage_list_result.rb | 3 - .../models/replication.rb | 9 - .../models/replication_list_result.rb | 4 - .../models/replication_update_parameters.rb | 3 - .../models/request.rb | 6 - .../models/resource.rb | 7 - .../models/sku.rb | 3 - .../models/source.rb | 3 - .../models/status.rb | 4 - .../models/storage_account_properties.rb | 2 - .../models/target.rb | 8 - .../models/webhook.rb | 12 - .../models/webhook_create_parameters.rb | 11 - .../models/webhook_list_result.rb | 4 - .../models/webhook_update_parameters.rb | 10 - .../operations.rb | 28 +- .../registries.rb | 197 +++++----- .../replications.rb | 127 +++---- .../azure_mgmt_container_registry/version.rb | 8 + .../azure_mgmt_container_registry/webhooks.rb | 195 ++++------ .../azure_mgmt_container_registry.rb | 37 +- .../container_registry_management_client.rb | 7 +- .../models/actor.rb | 2 - .../models/callback_config.rb | 4 - .../models/event.rb | 4 - .../models/event_content.rb | 8 - .../models/event_info.rb | 2 - .../models/event_list_result.rb | 4 - .../models/event_request_message.rb | 7 - .../models/event_response_message.rb | 7 - .../models/import_image_parameters.rb | 97 +++++ .../models/import_mode.rb | 16 + .../models/import_source.rb | 61 ++++ .../models/operation_definition.rb | 3 - .../models/operation_display_definition.rb | 5 - .../models/operation_list_result.rb | 4 - .../regenerate_credential_parameters.rb | 2 - .../models/registry.rb | 14 - .../registry_list_credentials_result.rb | 4 - .../models/registry_list_result.rb | 4 - .../models/registry_name_check_request.rb | 3 - .../models/registry_name_status.rb | 4 - .../models/registry_password.rb | 3 - .../models/registry_update_parameters.rb | 6 - .../models/registry_usage.rb | 5 - .../models/registry_usage_list_result.rb | 3 - .../models/replication.rb | 9 - .../models/replication_list_result.rb | 4 - .../models/replication_update_parameters.rb | 3 - .../models/request.rb | 6 - .../models/resource.rb | 7 - .../models/sku.rb | 3 - .../models/source.rb | 3 - .../models/status.rb | 4 - .../models/storage_account_properties.rb | 2 - .../models/target.rb | 8 - .../models/webhook.rb | 12 - .../models/webhook_create_parameters.rb | 11 - .../models/webhook_list_result.rb | 4 - .../models/webhook_update_parameters.rb | 10 - .../operations.rb | 28 +- .../registries.rb | 344 ++++++++++++------ .../replications.rb | 127 +++---- .../azure_mgmt_container_registry/version.rb | 8 + .../azure_mgmt_container_registry/webhooks.rb | 195 ++++------ .../lib/azure_mgmt_container_registry.rb | 2 +- .../containerregistry_profile_module.rb | 120 +++--- 120 files changed, 1111 insertions(+), 1457 deletions(-) create mode 100644 management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/version.rb create mode 100644 management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/version.rb create mode 100644 management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/version.rb create mode 100644 management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_image_parameters.rb create mode 100644 management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_mode.rb create mode 100644 management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source.rb create mode 100644 management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/version.rb diff --git a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb index efaf6faf2c..2432fa2b71 100644 --- a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb @@ -13,41 +13,44 @@ module Mgmt Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks module Models + RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource + RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters - ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult - RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition - OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition - Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult + OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource + Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters - StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties - WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters + EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters - WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult + WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword - EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo + WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo + ImportImageParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig - RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target - RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest + StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor - RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent - OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage - RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage - EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult - Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState @@ -90,99 +93,105 @@ def method_missing(method, *args) end class ModelClasses + def registry_usage_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + end + def import_source + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource + end + def registry_name_check_request + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest + end def replication_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters end + def operation_display_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition + end def replication_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult end - def registry_name_status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus - end - def operation_display_definition - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition + def operation_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult end - def operation_definition - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + def resource + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource end - def sku - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + def status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status end def webhook_create_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters end - def storage_account_properties - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties + def event_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult + end + def registry_update_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters end def webhook_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters end - def registry_update_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters + def registry_password + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword end def webhook_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult end - def registry_password - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword + def regenerate_credential_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters end def event_info Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo end - def regenerate_credential_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + def import_image_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters end def callback_config Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig end - def registry_usage_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + def operation_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition end def target Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target end - def registry_name_check_request - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest + def storage_account_properties + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties end def request Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request end - def status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + def registry_list_credentials_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult end def actor Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor end - def registry_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + def registry_name_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus end def source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end - def registry_usage - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + def registry_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult end def event_content Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent end - def operation_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + def sku + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku end def event_request_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end - def registry_list_credentials_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + def registry_usage + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end def event_response_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage end - def event_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult - end - def resource - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource - end def registry Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry end @@ -195,6 +204,9 @@ def webhook def event Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event end + def import_mode + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode + end def sku_name Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName end diff --git a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb index 2c5bf29f1b..33cde75d43 100644 --- a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +++ b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb @@ -104,9 +104,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? @@ -123,7 +120,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_registry' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::ContainerRegistry::Mgmt::V2016_06_27_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerRegistry::Mgmt::V2016_06_27_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry.rb b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry.rb index d7169b9263..b00fa1102a 100644 --- a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry.rb +++ b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry.rb @@ -36,7 +36,6 @@ class Registry < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Registry', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'Registry', 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() } }, login_server: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loginServer', @@ -104,7 +96,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -113,7 +104,6 @@ def self.mapper() } }, admin_user_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.adminUserEnabled', default_value: false, @@ -122,7 +112,6 @@ def self.mapper() } }, storage_account: { - client_side_validation: true, required: true, serialized_name: 'properties.storageAccount', type: { diff --git a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_credentials.rb b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_credentials.rb index 196c83ebd7..e396d342d7 100644 --- a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_credentials.rb +++ b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_credentials.rb @@ -26,7 +26,6 @@ class RegistryCredentials # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryCredentials', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RegistryCredentials', model_properties: { username: { - client_side_validation: true, required: false, serialized_name: 'username', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_list_result.rb b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_list_result.rb index 586bc2b8e3..53486fb36a 100644 --- a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'RegistryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RegistryElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb index a35fd0f35c..cbf8982de9 100644 --- a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +++ b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb @@ -27,7 +27,6 @@ class RegistryNameCheckRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryNameCheckRequest', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RegistryNameCheckRequest', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_name_status.rb b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_name_status.rb index 53befa7a93..2c2ecc5da5 100644 --- a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_name_status.rb +++ b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_name_status.rb @@ -31,7 +31,6 @@ class RegistryNameStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryNameStatus', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'RegistryNameStatus', model_properties: { name_available: { - client_side_validation: true, required: false, serialized_name: 'nameAvailable', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, serialized_name: 'reason', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb index bd5d60f30b..ea2df16751 100644 --- a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb @@ -32,7 +32,6 @@ class RegistryUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryUpdateParameters', type: { @@ -40,13 +39,11 @@ def self.mapper() class_name: 'RegistryUpdateParameters', 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: { @@ -56,7 +53,6 @@ def self.mapper() } }, admin_user_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.adminUserEnabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, storage_account: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccount', type: { diff --git a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/resource.rb b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/resource.rb index 9476fcc81e..fe31582311 100644 --- a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/resource.rb +++ b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -78,13 +73,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_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/storage_account_properties.rb b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/storage_account_properties.rb index edafbafa8f..b5eaf8c698 100644 --- a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +++ b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/storage_account_properties.rb @@ -25,7 +25,6 @@ class StorageAccountProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountProperties', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'StorageAccountProperties', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, access_key: { - client_side_validation: true, required: true, serialized_name: 'accessKey', type: { diff --git a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb index d9d06a6a5c..101e7f1738 100644 --- a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb +++ b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [RegistryNameStatus] operation results. # - def check_name_availability(registry_name_check_request, custom_headers:nil) - response = check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value! + def check_name_availability(registry_name_check_request, custom_headers = nil) + response = check_name_availability_async(registry_name_check_request, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def check_name_availability(registry_name_check_request, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(registry_name_check_request, custom_headers:nil) - check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(registry_name_check_request, custom_headers = nil) + check_name_availability_async(registry_name_check_request, custom_headers).value! end # @@ -66,19 +66,20 @@ def check_name_availability_with_http_info(registry_name_check_request, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(registry_name_check_request, custom_headers:nil) + def check_name_availability_async(registry_name_check_request, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'registry_name_check_request is nil' if registry_name_check_request.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2016_06_27_preview::Models::RegistryNameCheckRequest.mapper() request_content = @client.serialize(request_mapper, registry_name_check_request) @@ -136,8 +137,8 @@ def check_name_availability_async(registry_name_check_request, custom_headers:ni # # @return [Registry] operation results. # - def get_properties(resource_group_name, registry_name, custom_headers:nil) - response = get_properties_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def get_properties(resource_group_name, registry_name, custom_headers = nil) + response = get_properties_async(resource_group_name, registry_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +153,8 @@ def get_properties(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_properties_with_http_info(resource_group_name, registry_name, custom_headers:nil) - get_properties_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def get_properties_with_http_info(resource_group_name, registry_name, custom_headers = nil) + get_properties_async(resource_group_name, registry_name, custom_headers).value! end # @@ -167,7 +168,7 @@ def get_properties_with_http_info(resource_group_name, registry_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_properties_async(resource_group_name, registry_name, custom_headers:nil) + def get_properties_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -175,7 +176,6 @@ def get_properties_async(resource_group_name, registry_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 @@ -233,8 +233,8 @@ def get_properties_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def create_or_update(resource_group_name, registry_name, registry, custom_headers:nil) - response = create_or_update_async(resource_group_name, registry_name, registry, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, registry_name, registry, custom_headers = nil) + response = create_or_update_async(resource_group_name, registry_name, registry, custom_headers).value! response.body unless response.nil? end @@ -251,8 +251,8 @@ def create_or_update(resource_group_name, registry_name, registry, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, registry_name, registry, custom_headers:nil) - create_or_update_async(resource_group_name, registry_name, registry, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, registry_name, registry, custom_headers = nil) + create_or_update_async(resource_group_name, registry_name, registry, custom_headers).value! end # @@ -268,7 +268,7 @@ def create_or_update_with_http_info(resource_group_name, registry_name, registry # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, registry_name, registry, custom_headers:nil) + def create_or_update_async(resource_group_name, registry_name, registry, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -277,12 +277,13 @@ def create_or_update_async(resource_group_name, registry_name, registry, custom_ 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::ContainerRegistry::Mgmt::V2016_06_27_preview::Models::Registry.mapper() request_content = @client.serialize(request_mapper, registry) @@ -339,8 +340,8 @@ def create_or_update_async(resource_group_name, registry_name, registry, custom_ # will be added to the HTTP request. # # - def delete(resource_group_name, registry_name, custom_headers:nil) - response = delete_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def delete(resource_group_name, registry_name, custom_headers = nil) + response = delete_async(resource_group_name, registry_name, custom_headers).value! nil end @@ -355,8 +356,8 @@ def delete(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, registry_name, custom_headers:nil) - delete_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, registry_name, custom_headers = nil) + delete_async(resource_group_name, registry_name, custom_headers).value! end # @@ -370,7 +371,7 @@ def delete_with_http_info(resource_group_name, registry_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, registry_name, custom_headers:nil) + def delete_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -378,7 +379,6 @@ def delete_async(resource_group_name, registry_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 @@ -426,8 +426,8 @@ def delete_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def update(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -444,8 +444,8 @@ def update(resource_group_name, registry_name, registry_update_parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) - update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) + update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers).value! end # @@ -461,7 +461,7 @@ def update_with_http_info(resource_group_name, registry_name, registry_update_pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) + def update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -470,12 +470,13 @@ def update_async(resource_group_name, registry_name, registry_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::ContainerRegistry::Mgmt::V2016_06_27_preview::Models::RegistryUpdateParameters.mapper() request_content = @client.serialize(request_mapper, registry_update_parameters) @@ -533,8 +534,8 @@ def update_async(resource_group_name, registry_name, registry_update_parameters, # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -549,8 +550,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 # @@ -564,14 +565,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.api_version is nil' if @client.api_version.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? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -625,8 +625,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -639,8 +639,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 # @@ -652,13 +652,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -715,8 +714,8 @@ def list_async(custom_headers:nil) # # @return [RegistryCredentials] operation results. # - def get_credentials(resource_group_name, registry_name, custom_headers:nil) - response = get_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def get_credentials(resource_group_name, registry_name, custom_headers = nil) + response = get_credentials_async(resource_group_name, registry_name, custom_headers).value! response.body unless response.nil? end @@ -732,8 +731,8 @@ def get_credentials(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_credentials_with_http_info(resource_group_name, registry_name, custom_headers:nil) - get_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def get_credentials_with_http_info(resource_group_name, registry_name, custom_headers = nil) + get_credentials_async(resource_group_name, registry_name, custom_headers).value! end # @@ -748,7 +747,7 @@ def get_credentials_with_http_info(resource_group_name, registry_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_credentials_async(resource_group_name, registry_name, custom_headers:nil) + def get_credentials_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -756,7 +755,6 @@ def get_credentials_async(resource_group_name, registry_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 @@ -813,8 +811,8 @@ def get_credentials_async(resource_group_name, registry_name, custom_headers:nil # # @return [RegistryCredentials] operation results. # - def regenerate_credentials(resource_group_name, registry_name, custom_headers:nil) - response = regenerate_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def regenerate_credentials(resource_group_name, registry_name, custom_headers = nil) + response = regenerate_credentials_async(resource_group_name, registry_name, custom_headers).value! response.body unless response.nil? end @@ -830,8 +828,8 @@ def regenerate_credentials(resource_group_name, registry_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_credentials_with_http_info(resource_group_name, registry_name, custom_headers:nil) - regenerate_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def regenerate_credentials_with_http_info(resource_group_name, registry_name, custom_headers = nil) + regenerate_credentials_async(resource_group_name, registry_name, custom_headers).value! end # @@ -846,7 +844,7 @@ def regenerate_credentials_with_http_info(resource_group_name, registry_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_credentials_async(resource_group_name, registry_name, custom_headers:nil) + def regenerate_credentials_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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? @@ -854,7 +852,6 @@ def regenerate_credentials_async(resource_group_name, registry_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,8 +907,8 @@ def regenerate_credentials_async(resource_group_name, registry_name, custom_head # # @return [RegistryListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -926,8 +923,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -941,12 +938,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1001,8 +997,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RegistryListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1017,8 +1013,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1032,12 +1028,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1093,12 +1088,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RegistryListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1114,12 +1109,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RegistryListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/version.rb b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/version.rb new file mode 100644 index 0000000000..9dae65f17c --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/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::ContainerRegistry::Mgmt::V2016_06_27_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb index 83796c97da..20f019f341 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb @@ -108,9 +108,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? @@ -127,7 +124,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_registry' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::ContainerRegistry::Mgmt::V2017_03_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerRegistry::Mgmt::V2017_03_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_definition.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_definition.rb index 026dd4954d..7046e19c62 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_definition.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_definition.rb @@ -26,7 +26,6 @@ class OperationDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationDefinition', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'OperationDefinition', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb index cd5bddbe6f..53630879be 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb @@ -32,7 +32,6 @@ class OperationDisplayDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationDisplayDefinition', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'OperationDisplayDefinition', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb index 36a6c27dec..e572e78435 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationDefinitionElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb index a92fe9f8a2..ab79af6295 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb @@ -24,7 +24,6 @@ class RegenerateCredentialParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegenerateCredentialParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'RegenerateCredentialParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry.rb index e751e7d5e1..5483ce9a76 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry.rb @@ -43,7 +43,6 @@ class Registry < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Registry', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'Registry', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +58,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +66,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +74,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -86,13 +81,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: { @@ -102,7 +95,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: true, serialized_name: 'sku', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, login_server: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loginServer', @@ -120,7 +111,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -129,7 +119,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -139,7 +128,6 @@ def self.mapper() } }, admin_user_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.adminUserEnabled', default_value: false, @@ -148,7 +136,6 @@ def self.mapper() } }, storage_account: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccount', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb index e860794f30..01203440bd 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb @@ -38,7 +38,6 @@ class RegistryCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryCreateParameters', type: { @@ -46,13 +45,11 @@ def self.mapper() class_name: 'RegistryCreateParameters', 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: { @@ -62,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: true, serialized_name: 'sku', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, admin_user_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.adminUserEnabled', default_value: false, @@ -88,7 +82,6 @@ def self.mapper() } }, storage_account: { - client_side_validation: true, required: true, serialized_name: 'properties.storageAccount', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb index 7f90632112..c0589dd24f 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb @@ -26,7 +26,6 @@ class RegistryListCredentialsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryListCredentialsResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RegistryListCredentialsResult', model_properties: { username: { - client_side_validation: true, required: false, serialized_name: 'username', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, passwords: { - client_side_validation: true, required: false, serialized_name: 'passwords', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RegistryPasswordElementType', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb index 7f307c06d9..90156a5d8d 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'RegistryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RegistryElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb index f2c8fd548c..7cbef09a08 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb @@ -27,7 +27,6 @@ class RegistryNameCheckRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryNameCheckRequest', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RegistryNameCheckRequest', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', constraints: { @@ -48,7 +46,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb index 5b3e36f43f..0ef8f76611 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb @@ -31,7 +31,6 @@ class RegistryNameStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryNameStatus', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'RegistryNameStatus', model_properties: { name_available: { - client_side_validation: true, required: false, serialized_name: 'nameAvailable', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, serialized_name: 'reason', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_password.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_password.rb index eb39e344dd..c99d5d43a5 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_password.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_password.rb @@ -26,7 +26,6 @@ class RegistryPassword # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryPassword', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RegistryPassword', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb index 08fc165671..b07ffd065a 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb @@ -31,7 +31,6 @@ class RegistryUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryUpdateParameters', type: { @@ -39,13 +38,11 @@ def self.mapper() class_name: 'RegistryUpdateParameters', 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: { @@ -55,7 +52,6 @@ def self.mapper() } }, admin_user_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.adminUserEnabled', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, storage_account: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccount', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/resource.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/resource.rb index 20a1dc30c5..663ed35786 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/resource.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -78,13 +73,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_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/sku.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/sku.rb index ed57c75c10..63faa3dc2e 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/sku.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/sku.rb @@ -27,7 +27,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/storage_account_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/storage_account_parameters.rb index 0c98c61471..a47366982e 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/storage_account_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/storage_account_parameters.rb @@ -25,7 +25,6 @@ class StorageAccountParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'StorageAccountParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, access_key: { - client_side_validation: true, required: true, serialized_name: 'accessKey', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb index ad02a14610..cff08ab40a 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb @@ -22,7 +22,6 @@ class StorageAccountProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'StorageAccountProperties', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/operations.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/operations.rb index ae6bf1b130..05bc7d7782 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/operations.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,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 # @@ -54,12 +54,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 @@ -113,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -128,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -142,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -200,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/registries.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/registries.rb index 89f505f49e..644df4b2c4 100644 --- a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/registries.rb +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/registries.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [RegistryNameStatus] operation results. # - def check_name_availability(registry_name_check_request, custom_headers:nil) - response = check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value! + def check_name_availability(registry_name_check_request, custom_headers = nil) + response = check_name_availability_async(registry_name_check_request, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def check_name_availability(registry_name_check_request, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(registry_name_check_request, custom_headers:nil) - check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(registry_name_check_request, custom_headers = nil) + check_name_availability_async(registry_name_check_request, custom_headers).value! end # @@ -66,19 +66,20 @@ def check_name_availability_with_http_info(registry_name_check_request, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(registry_name_check_request, custom_headers:nil) + def check_name_availability_async(registry_name_check_request, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'registry_name_check_request is nil' if registry_name_check_request.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_03_01::Models::RegistryNameCheckRequest.mapper() request_content = @client.serialize(request_mapper, registry_name_check_request) @@ -136,8 +137,8 @@ def check_name_availability_async(registry_name_check_request, custom_headers:ni # # @return [Registry] operation results. # - def get(resource_group_name, registry_name, custom_headers:nil) - response = get_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def get(resource_group_name, registry_name, custom_headers = nil) + response = get_async(resource_group_name, registry_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +153,8 @@ def get(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, registry_name, custom_headers:nil) - get_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, registry_name, custom_headers = nil) + get_async(resource_group_name, registry_name, custom_headers).value! end # @@ -167,18 +168,14 @@ def get_with_http_info(resource_group_name, registry_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, registry_name, custom_headers:nil) + def get_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -236,8 +233,8 @@ def get_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def create(resource_group_name, registry_name, registry_create_parameters, custom_headers:nil) - response = create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers:custom_headers).value! + def create(resource_group_name, registry_name, registry_create_parameters, custom_headers = nil) + response = create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers).value! response.body unless response.nil? end @@ -253,9 +250,9 @@ def create(resource_group_name, registry_name, registry_create_parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers:nil) + def create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -281,8 +278,8 @@ def create_async(resource_group_name, registry_name, registry_create_parameters, # will be added to the HTTP request. # # - def delete(resource_group_name, registry_name, custom_headers:nil) - response = delete_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def delete(resource_group_name, registry_name, custom_headers = nil) + response = delete_async(resource_group_name, registry_name, custom_headers).value! nil end @@ -297,8 +294,8 @@ def delete(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, registry_name, custom_headers:nil) - delete_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, registry_name, custom_headers = nil) + delete_async(resource_group_name, registry_name, custom_headers).value! end # @@ -312,18 +309,14 @@ def delete_with_http_info(resource_group_name, registry_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, registry_name, custom_headers:nil) + def delete_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -371,8 +364,8 @@ def delete_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def update(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -389,8 +382,8 @@ def update(resource_group_name, registry_name, registry_update_parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) - update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) + update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers).value! end # @@ -406,24 +399,22 @@ def update_with_http_info(resource_group_name, registry_name, registry_update_pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) + def update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'registry_update_parameters is nil' if registry_update_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_03_01::Models::RegistryUpdateParameters.mapper() request_content = @client.serialize(request_mapper, registry_update_parameters) @@ -480,8 +471,8 @@ def update_async(resource_group_name, registry_name, registry_update_parameters, # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -495,8 +486,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 # @@ -509,14 +500,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.api_version is nil' if @client.api_version.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? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -569,8 +559,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -582,8 +572,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 # @@ -594,13 +584,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -656,8 +645,8 @@ def list_async(custom_headers:nil) # # @return [RegistryListCredentialsResult] operation results. # - def list_credentials(resource_group_name, registry_name, custom_headers:nil) - response = list_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_credentials(resource_group_name, registry_name, custom_headers = nil) + response = list_credentials_async(resource_group_name, registry_name, custom_headers).value! response.body unless response.nil? end @@ -672,8 +661,8 @@ def list_credentials(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_credentials_with_http_info(resource_group_name, registry_name, custom_headers:nil) - list_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_credentials_with_http_info(resource_group_name, registry_name, custom_headers = nil) + list_credentials_async(resource_group_name, registry_name, custom_headers).value! end # @@ -687,18 +676,14 @@ def list_credentials_with_http_info(resource_group_name, registry_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_credentials_async(resource_group_name, registry_name, custom_headers:nil) + def list_credentials_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -758,8 +743,8 @@ def list_credentials_async(resource_group_name, registry_name, custom_headers:ni # # @return [RegistryListCredentialsResult] operation results. # - def regenerate_credential(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:nil) - response = regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:custom_headers).value! + def regenerate_credential(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers = nil) + response = regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers).value! response.body unless response.nil? end @@ -778,8 +763,8 @@ def regenerate_credential(resource_group_name, registry_name, regenerate_credent # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_credential_with_http_info(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:nil) - regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:custom_headers).value! + def regenerate_credential_with_http_info(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers = nil) + regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers).value! end # @@ -797,24 +782,22 @@ def regenerate_credential_with_http_info(resource_group_name, registry_name, reg # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:nil) + def regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'regenerate_credential_parameters is nil' if regenerate_credential_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_03_01::Models::RegenerateCredentialParameters.mapper() request_content = @client.serialize(request_mapper, regenerate_credential_parameters) @@ -874,8 +857,8 @@ def regenerate_credential_async(resource_group_name, registry_name, regenerate_c # # @return [Registry] operation results. # - def begin_create(resource_group_name, registry_name, registry_create_parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, registry_name, registry_create_parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers).value! response.body unless response.nil? end @@ -892,8 +875,8 @@ def begin_create(resource_group_name, registry_name, registry_create_parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, registry_name, registry_create_parameters, custom_headers:nil) - begin_create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, registry_name, registry_create_parameters, custom_headers = nil) + begin_create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers).value! end # @@ -909,24 +892,22 @@ def begin_create_with_http_info(resource_group_name, registry_name, registry_cre # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers:nil) + def begin_create_async(resource_group_name, registry_name, registry_create_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'registry_create_parameters is nil' if registry_create_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_03_01::Models::RegistryCreateParameters.mapper() request_content = @client.serialize(request_mapper, registry_create_parameters) @@ -983,8 +964,8 @@ def begin_create_async(resource_group_name, registry_name, registry_create_param # # @return [RegistryListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -998,8 +979,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1012,12 +993,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1071,8 +1051,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RegistryListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1086,8 +1066,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1100,12 +1080,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1160,12 +1139,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RegistryListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1180,12 +1159,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RegistryListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/version.rb b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/version.rb new file mode 100644 index 0000000000..7662d71fea --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-03-01/generated/azure_mgmt_container_registry/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::ContainerRegistry::Mgmt::V2017_03_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb index 85a051e126..01f02b18fe 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb @@ -116,9 +116,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? @@ -135,7 +132,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_registry' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/actor.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/actor.rb index 259dd67096..1d5b524ff2 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/actor.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/actor.rb @@ -24,7 +24,6 @@ class Actor # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Actor', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'Actor', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/callback_config.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/callback_config.rb index e42ab03be7..d5bced4983 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/callback_config.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/callback_config.rb @@ -26,7 +26,6 @@ class CallbackConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CallbackConfig', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'CallbackConfig', model_properties: { service_uri: { - client_side_validation: true, required: true, serialized_name: 'serviceUri', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, custom_headers: { - client_side_validation: true, required: false, serialized_name: 'customHeaders', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event.rb index 7179388c6c..e1b4a3d96b 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event.rb @@ -27,7 +27,6 @@ class Event < EventInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Event', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'Event', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, event_request_message: { - client_side_validation: true, required: false, serialized_name: 'eventRequestMessage', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, event_response_message: { - client_side_validation: true, required: false, serialized_name: 'eventResponseMessage', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb index 51fb4ba2bc..42f580e147 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb @@ -44,7 +44,6 @@ class EventContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventContent', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'EventContent', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, timestamp: { - client_side_validation: true, required: false, serialized_name: 'timestamp', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, action: { - client_side_validation: true, required: false, serialized_name: 'action', type: { @@ -76,7 +72,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, request: { - client_side_validation: true, required: false, serialized_name: 'request', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, actor: { - client_side_validation: true, required: false, serialized_name: 'actor', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_info.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_info.rb index 96eca864c2..e119243fb2 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_info.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_info.rb @@ -22,7 +22,6 @@ class EventInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventInfo', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'EventInfo', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_list_result.rb index 9c392630b1..3650db36ff 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'EventListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_request_message.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_request_message.rb index af372403ae..a87cd648b7 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_request_message.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_request_message.rb @@ -36,7 +36,6 @@ class EventRequestMessage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventRequestMessage', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'EventRequestMessage', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { @@ -53,13 +51,11 @@ def self.mapper() } }, headers: { - client_side_validation: true, required: false, serialized_name: 'headers', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, method: { - client_side_validation: true, required: false, serialized_name: 'method', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, request_uri: { - client_side_validation: true, required: false, serialized_name: 'requestUri', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_response_message.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_response_message.rb index 1aced2cb89..199862902c 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_response_message.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_response_message.rb @@ -35,7 +35,6 @@ class EventResponseMessage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventResponseMessage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'EventResponseMessage', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { @@ -51,13 +49,11 @@ def self.mapper() } }, headers: { - client_side_validation: true, required: false, serialized_name: 'headers', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, reason_phrase: { - client_side_validation: true, required: false, serialized_name: 'reasonPhrase', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, status_code: { - client_side_validation: true, required: false, serialized_name: 'statusCode', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_definition.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_definition.rb index e1cc11ec73..67049fe6b4 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_definition.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_definition.rb @@ -26,7 +26,6 @@ class OperationDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationDefinition', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'OperationDefinition', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_display_definition.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_display_definition.rb index ff07df667f..6d80333531 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_display_definition.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_display_definition.rb @@ -32,7 +32,6 @@ class OperationDisplayDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationDisplayDefinition', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'OperationDisplayDefinition', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_list_result.rb index de66f5f328..f56c15eea0 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationDefinitionElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb index 401cfac64a..57d7636c98 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb @@ -24,7 +24,6 @@ class RegenerateCredentialParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegenerateCredentialParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'RegenerateCredentialParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry.rb index 1032d76885..ade9ae60ad 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry.rb @@ -47,7 +47,6 @@ class Registry < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Registry', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'Registry', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -64,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +70,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -82,7 +78,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -90,13 +85,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: { @@ -106,7 +99,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: true, serialized_name: 'sku', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, login_server: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loginServer', @@ -124,7 +115,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -133,7 +123,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -142,7 +131,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', @@ -152,7 +140,6 @@ def self.mapper() } }, admin_user_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.adminUserEnabled', default_value: false, @@ -161,7 +148,6 @@ def self.mapper() } }, storage_account: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccount', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb index bf174c7775..9bbed5a002 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb @@ -26,7 +26,6 @@ class RegistryListCredentialsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryListCredentialsResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RegistryListCredentialsResult', model_properties: { username: { - client_side_validation: true, required: false, serialized_name: 'username', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, passwords: { - client_side_validation: true, required: false, serialized_name: 'passwords', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RegistryPasswordElementType', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_list_result.rb index 928ee4a7bb..9a23aefb5e 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'RegistryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RegistryElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb index e37dff397e..f06d03644d 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb @@ -27,7 +27,6 @@ class RegistryNameCheckRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryNameCheckRequest', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RegistryNameCheckRequest', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', constraints: { @@ -48,7 +46,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_name_status.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_name_status.rb index cefd0b935d..b03634b94e 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_name_status.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_name_status.rb @@ -31,7 +31,6 @@ class RegistryNameStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryNameStatus', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'RegistryNameStatus', model_properties: { name_available: { - client_side_validation: true, required: false, serialized_name: 'nameAvailable', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, serialized_name: 'reason', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_password.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_password.rb index 6b57626e23..f8e35af9fc 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_password.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_password.rb @@ -26,7 +26,6 @@ class RegistryPassword # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryPassword', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RegistryPassword', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb index a289cd173c..a9fcf4c4f6 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb @@ -35,7 +35,6 @@ class RegistryUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryUpdateParameters', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'RegistryUpdateParameters', 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: { @@ -59,7 +56,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, admin_user_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.adminUserEnabled', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, storage_account: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccount', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_usage.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_usage.rb index dc1039e37f..f4b5473e67 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_usage.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_usage.rb @@ -32,7 +32,6 @@ class RegistryUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryUsage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'RegistryUsage', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, serialized_name: 'limit', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, serialized_name: 'currentValue', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb index 05d69d2577..ea32527f75 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb @@ -23,7 +23,6 @@ class RegistryUsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryUsageListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'RegistryUsageListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RegistryUsageElementType', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication.rb index bbf6bf1a21..526bd5f4f4 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication.rb @@ -28,7 +28,6 @@ class Replication < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Replication', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Replication', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,7 +80,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -96,7 +88,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication_list_result.rb index 011e68d80e..3aad3941af 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReplicationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'ReplicationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ReplicationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb index ae53556956..eff6b55928 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb @@ -22,7 +22,6 @@ class ReplicationUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReplicationUpdateParameters', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ReplicationUpdateParameters', 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_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/request.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/request.rb index 1921f01b00..9d2b664a56 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/request.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/request.rb @@ -37,7 +37,6 @@ class Request # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Request', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Request', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, addr: { - client_side_validation: true, required: false, serialized_name: 'addr', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'host', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, method: { - client_side_validation: true, required: false, serialized_name: 'method', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, useragent: { - client_side_validation: true, required: false, serialized_name: 'useragent', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/resource.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/resource.rb index 5335a0ef8f..7d1242648a 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/resource.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -78,13 +73,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_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/sku.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/sku.rb index 0bae6d7c80..b5b2336e87 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/sku.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/sku.rb @@ -28,7 +28,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/source.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/source.rb index ee63fc89d2..9f6e0c6f3f 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/source.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/source.rb @@ -29,7 +29,6 @@ class Source # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Source', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Source', model_properties: { addr: { - client_side_validation: true, required: false, serialized_name: 'addr', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, serialized_name: 'instanceID', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/status.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/status.rb index fb3b3b7979..13ffb8f447 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/status.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/status.rb @@ -30,7 +30,6 @@ class Status # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Status', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'Status', model_properties: { display_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'displayStatus', @@ -47,7 +45,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', @@ -56,7 +53,6 @@ def self.mapper() } }, timestamp: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'timestamp', diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/storage_account_properties.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/storage_account_properties.rb index 301b81de74..0f926607c4 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/storage_account_properties.rb @@ -23,7 +23,6 @@ class StorageAccountProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountProperties', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'StorageAccountProperties', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/target.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/target.rb index 8445bf394c..f7b6464260 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/target.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/target.rb @@ -43,7 +43,6 @@ class Target # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Target', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'Target', model_properties: { media_type: { - client_side_validation: true, required: false, serialized_name: 'mediaType', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, size: { - client_side_validation: true, required: false, serialized_name: 'size', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, digest: { - client_side_validation: true, required: false, serialized_name: 'digest', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, length: { - client_side_validation: true, required: false, serialized_name: 'length', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, repository: { - client_side_validation: true, required: false, serialized_name: 'repository', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, url: { - client_side_validation: true, required: false, serialized_name: 'url', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, tag: { - client_side_validation: true, required: false, serialized_name: 'tag', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook.rb index 1902cd722d..92d8e84177 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook.rb @@ -38,7 +38,6 @@ class Webhook < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Webhook', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Webhook', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -55,7 +53,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,7 +69,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -81,13 +76,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: { @@ -97,7 +90,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -105,7 +97,6 @@ def self.mapper() } }, scope: { - client_side_validation: true, required: false, serialized_name: 'properties.scope', type: { @@ -113,13 +104,11 @@ def self.mapper() } }, actions: { - client_side_validation: true, required: true, serialized_name: 'properties.actions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WebhookActionElementType', type: { @@ -129,7 +118,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb index 6d0ef6d8a2..60d44aa31b 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb @@ -47,7 +47,6 @@ class WebhookCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebhookCreateParameters', type: { @@ -55,13 +54,11 @@ def self.mapper() class_name: 'WebhookCreateParameters', 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: { @@ -71,7 +68,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, service_uri: { - client_side_validation: true, required: true, serialized_name: 'properties.serviceUri', type: { @@ -87,13 +82,11 @@ def self.mapper() } }, custom_headers: { - client_side_validation: true, required: false, serialized_name: 'properties.customHeaders', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, scope: { - client_side_validation: true, required: false, serialized_name: 'properties.scope', type: { @@ -119,13 +110,11 @@ def self.mapper() } }, actions: { - client_side_validation: true, required: true, serialized_name: 'properties.actions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WebhookActionElementType', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_list_result.rb index efb0d1aa89..2229a221dd 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebhookListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'WebhookListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WebhookElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb index 3b9fdbf52f..50a33f8664 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb @@ -43,7 +43,6 @@ class WebhookUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebhookUpdateParameters', type: { @@ -51,13 +50,11 @@ def self.mapper() class_name: 'WebhookUpdateParameters', 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: { @@ -67,7 +64,6 @@ def self.mapper() } }, service_uri: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceUri', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, custom_headers: { - client_side_validation: true, required: false, serialized_name: 'properties.customHeaders', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, scope: { - client_side_validation: true, required: false, serialized_name: 'properties.scope', type: { @@ -107,13 +99,11 @@ def self.mapper() } }, actions: { - client_side_validation: true, required: false, serialized_name: 'properties.actions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WebhookActionElementType', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/operations.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/operations.rb index 6c693eed7b..0bb56d8576 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/operations.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,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 # @@ -54,12 +54,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 @@ -113,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -128,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -142,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -200,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/registries.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/registries.rb index c78a6a23dc..a5bd35d626 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/registries.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/registries.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [RegistryNameStatus] operation results. # - def check_name_availability(registry_name_check_request, custom_headers:nil) - response = check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value! + def check_name_availability(registry_name_check_request, custom_headers = nil) + response = check_name_availability_async(registry_name_check_request, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def check_name_availability(registry_name_check_request, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(registry_name_check_request, custom_headers:nil) - check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(registry_name_check_request, custom_headers = nil) + check_name_availability_async(registry_name_check_request, custom_headers).value! end # @@ -66,19 +66,20 @@ def check_name_availability_with_http_info(registry_name_check_request, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(registry_name_check_request, custom_headers:nil) + def check_name_availability_async(registry_name_check_request, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'registry_name_check_request is nil' if registry_name_check_request.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::RegistryNameCheckRequest.mapper() request_content = @client.serialize(request_mapper, registry_name_check_request) @@ -136,8 +137,8 @@ def check_name_availability_async(registry_name_check_request, custom_headers:ni # # @return [Registry] operation results. # - def get(resource_group_name, registry_name, custom_headers:nil) - response = get_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def get(resource_group_name, registry_name, custom_headers = nil) + response = get_async(resource_group_name, registry_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +153,8 @@ def get(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, registry_name, custom_headers:nil) - get_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, registry_name, custom_headers = nil) + get_async(resource_group_name, registry_name, custom_headers).value! end # @@ -167,18 +168,14 @@ def get_with_http_info(resource_group_name, registry_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, registry_name, custom_headers:nil) + def get_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -235,8 +232,8 @@ def get_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def create(resource_group_name, registry_name, registry, custom_headers:nil) - response = create_async(resource_group_name, registry_name, registry, custom_headers:custom_headers).value! + def create(resource_group_name, registry_name, registry, custom_headers = nil) + response = create_async(resource_group_name, registry_name, registry, custom_headers).value! response.body unless response.nil? end @@ -251,9 +248,9 @@ def create(resource_group_name, registry_name, registry, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, registry_name, registry, custom_headers:nil) + def create_async(resource_group_name, registry_name, registry, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, registry_name, registry, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, registry_name, registry, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -278,8 +275,8 @@ def create_async(resource_group_name, registry_name, registry, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, registry_name, custom_headers:nil) - response = delete_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def delete(resource_group_name, registry_name, custom_headers = nil) + response = delete_async(resource_group_name, registry_name, custom_headers).value! nil end @@ -293,9 +290,9 @@ def delete(resource_group_name, registry_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, registry_name, custom_headers:nil) + def delete_async(resource_group_name, registry_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, registry_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, registry_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -322,8 +319,8 @@ def delete_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def update(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -339,9 +336,9 @@ def update(resource_group_name, registry_name, registry_update_parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) + def update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -367,8 +364,8 @@ def update_async(resource_group_name, registry_name, registry_update_parameters, # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -382,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 # @@ -396,14 +393,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.api_version is nil' if @client.api_version.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? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -456,8 +452,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -469,8 +465,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 # @@ -481,13 +477,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -543,8 +538,8 @@ def list_async(custom_headers:nil) # # @return [RegistryListCredentialsResult] operation results. # - def list_credentials(resource_group_name, registry_name, custom_headers:nil) - response = list_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_credentials(resource_group_name, registry_name, custom_headers = nil) + response = list_credentials_async(resource_group_name, registry_name, custom_headers).value! response.body unless response.nil? end @@ -559,8 +554,8 @@ def list_credentials(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_credentials_with_http_info(resource_group_name, registry_name, custom_headers:nil) - list_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_credentials_with_http_info(resource_group_name, registry_name, custom_headers = nil) + list_credentials_async(resource_group_name, registry_name, custom_headers).value! end # @@ -574,18 +569,14 @@ def list_credentials_with_http_info(resource_group_name, registry_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_credentials_async(resource_group_name, registry_name, custom_headers:nil) + def list_credentials_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -645,8 +636,8 @@ def list_credentials_async(resource_group_name, registry_name, custom_headers:ni # # @return [RegistryListCredentialsResult] operation results. # - def regenerate_credential(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:nil) - response = regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:custom_headers).value! + def regenerate_credential(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers = nil) + response = regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers).value! response.body unless response.nil? end @@ -665,8 +656,8 @@ def regenerate_credential(resource_group_name, registry_name, regenerate_credent # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_credential_with_http_info(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:nil) - regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:custom_headers).value! + def regenerate_credential_with_http_info(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers = nil) + regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers).value! end # @@ -684,24 +675,22 @@ def regenerate_credential_with_http_info(resource_group_name, registry_name, reg # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:nil) + def regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'regenerate_credential_parameters is nil' if regenerate_credential_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::RegenerateCredentialParameters.mapper() request_content = @client.serialize(request_mapper, regenerate_credential_parameters) @@ -759,8 +748,8 @@ def regenerate_credential_async(resource_group_name, registry_name, regenerate_c # # @return [RegistryUsageListResult] operation results. # - def list_usages(resource_group_name, registry_name, custom_headers:nil) - response = list_usages_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_usages(resource_group_name, registry_name, custom_headers = nil) + response = list_usages_async(resource_group_name, registry_name, custom_headers).value! response.body unless response.nil? end @@ -775,8 +764,8 @@ def list_usages(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usages_with_http_info(resource_group_name, registry_name, custom_headers:nil) - list_usages_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_usages_with_http_info(resource_group_name, registry_name, custom_headers = nil) + list_usages_async(resource_group_name, registry_name, custom_headers).value! end # @@ -790,18 +779,14 @@ def list_usages_with_http_info(resource_group_name, registry_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usages_async(resource_group_name, registry_name, custom_headers:nil) + def list_usages_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -858,8 +843,8 @@ def list_usages_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def begin_create(resource_group_name, registry_name, registry, custom_headers:nil) - response = begin_create_async(resource_group_name, registry_name, registry, custom_headers:custom_headers).value! + def begin_create(resource_group_name, registry_name, registry, custom_headers = nil) + response = begin_create_async(resource_group_name, registry_name, registry, custom_headers).value! response.body unless response.nil? end @@ -875,8 +860,8 @@ def begin_create(resource_group_name, registry_name, registry, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, registry_name, registry, custom_headers:nil) - begin_create_async(resource_group_name, registry_name, registry, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, registry_name, registry, custom_headers = nil) + begin_create_async(resource_group_name, registry_name, registry, custom_headers).value! end # @@ -891,24 +876,22 @@ def begin_create_with_http_info(resource_group_name, registry_name, registry, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, registry_name, registry, custom_headers:nil) + def begin_create_async(resource_group_name, registry_name, registry, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'registry is nil' if registry.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::Registry.mapper() request_content = @client.serialize(request_mapper, registry) @@ -975,8 +958,8 @@ def begin_create_async(resource_group_name, registry_name, registry, custom_head # will be added to the HTTP request. # # - def begin_delete(resource_group_name, registry_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, registry_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, registry_name, custom_headers).value! nil end @@ -991,8 +974,8 @@ def begin_delete(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, registry_name, custom_headers:nil) - begin_delete_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, registry_name, custom_headers = nil) + begin_delete_async(resource_group_name, registry_name, custom_headers).value! end # @@ -1006,18 +989,14 @@ def begin_delete_with_http_info(resource_group_name, registry_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, registry_name, custom_headers:nil) + def begin_delete_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1065,8 +1044,8 @@ def begin_delete_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def begin_update(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -1083,8 +1062,8 @@ def begin_update(resource_group_name, registry_name, registry_update_parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) - begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers).value! end # @@ -1100,24 +1079,22 @@ def begin_update_with_http_info(resource_group_name, registry_name, registry_upd # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'registry_update_parameters is nil' if registry_update_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::RegistryUpdateParameters.mapper() request_content = @client.serialize(request_mapper, registry_update_parameters) @@ -1184,8 +1161,8 @@ def begin_update_async(resource_group_name, registry_name, registry_update_param # # @return [RegistryListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1199,8 +1176,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1213,12 +1190,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1272,8 +1248,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RegistryListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1287,8 +1263,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1301,12 +1277,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1361,12 +1336,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RegistryListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1381,12 +1356,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RegistryListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/replications.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/replications.rb index 2231d0fb40..3a3ab0cdcb 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/replications.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/replications.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [Replication] operation results. # - def get(resource_group_name, registry_name, replication_name, custom_headers:nil) - response = get_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value! + def get(resource_group_name, registry_name, replication_name, custom_headers = nil) + response = get_async(resource_group_name, registry_name, replication_name, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(resource_group_name, registry_name, replication_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, registry_name, replication_name, custom_headers:nil) - get_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, registry_name, replication_name, custom_headers = nil) + get_async(resource_group_name, registry_name, replication_name, custom_headers).value! end # @@ -66,22 +66,15 @@ def get_with_http_info(resource_group_name, registry_name, replication_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, registry_name, replication_name, custom_headers:nil) + def get_async(resource_group_name, registry_name, replication_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication_name is nil' if replication_name.nil? - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).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 +132,8 @@ def get_async(resource_group_name, registry_name, replication_name, custom_heade # # @return [Replication] operation results. # - def create(resource_group_name, registry_name, replication_name, replication, custom_headers:nil) - response = create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:custom_headers).value! + def create(resource_group_name, registry_name, replication_name, replication, custom_headers = nil) + response = create_async(resource_group_name, registry_name, replication_name, replication, custom_headers).value! response.body unless response.nil? end @@ -156,9 +149,9 @@ def create(resource_group_name, registry_name, replication_name, replication, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:nil) + def create_async(resource_group_name, registry_name, replication_name, replication, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -184,8 +177,8 @@ def create_async(resource_group_name, registry_name, replication_name, replicati # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, registry_name, replication_name, custom_headers:nil) - response = delete_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value! + def delete(resource_group_name, registry_name, replication_name, custom_headers = nil) + response = delete_async(resource_group_name, registry_name, replication_name, custom_headers).value! nil end @@ -200,9 +193,9 @@ def delete(resource_group_name, registry_name, replication_name, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, registry_name, replication_name, custom_headers:nil) + def delete_async(resource_group_name, registry_name, replication_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -230,8 +223,8 @@ def delete_async(resource_group_name, registry_name, replication_name, custom_he # # @return [Replication] operation results. # - def update(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -248,9 +241,9 @@ def update(resource_group_name, registry_name, replication_name, replication_upd # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:nil) + def update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -277,8 +270,8 @@ def update_async(resource_group_name, registry_name, replication_name, replicati # # @return [Array] operation results. # - def list(resource_group_name, registry_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, registry_name, custom_headers:custom_headers) + def list(resource_group_name, registry_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, registry_name, custom_headers) first_page.get_all_items end @@ -293,8 +286,8 @@ def list(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, registry_name, custom_headers:nil) - list_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, registry_name, custom_headers = nil) + list_async(resource_group_name, registry_name, custom_headers).value! end # @@ -308,18 +301,14 @@ def list_with_http_info(resource_group_name, registry_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, registry_name, custom_headers:nil) + def list_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -377,8 +366,8 @@ def list_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Replication] operation results. # - def begin_create(resource_group_name, registry_name, replication_name, replication, custom_headers:nil) - response = begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:custom_headers).value! + def begin_create(resource_group_name, registry_name, replication_name, replication, custom_headers = nil) + response = begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers).value! response.body unless response.nil? end @@ -395,8 +384,8 @@ def begin_create(resource_group_name, registry_name, replication_name, replicati # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, registry_name, replication_name, replication, custom_headers:nil) - begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, registry_name, replication_name, replication, custom_headers = nil) + begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers).value! end # @@ -412,28 +401,23 @@ def begin_create_with_http_info(resource_group_name, registry_name, replication_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:nil) + def begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication_name is nil' if replication_name.nil? - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication is nil' if replication.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::Replication.mapper() request_content = @client.serialize(request_mapper, replication) @@ -501,8 +485,8 @@ def begin_create_async(resource_group_name, registry_name, replication_name, rep # will be added to the HTTP request. # # - def begin_delete(resource_group_name, registry_name, replication_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, registry_name, replication_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers).value! nil end @@ -518,8 +502,8 @@ def begin_delete(resource_group_name, registry_name, replication_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, registry_name, replication_name, custom_headers:nil) - begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, registry_name, replication_name, custom_headers = nil) + begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers).value! end # @@ -534,22 +518,15 @@ def begin_delete_with_http_info(resource_group_name, registry_name, replication_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers:nil) + def begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication_name is nil' if replication_name.nil? - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -598,8 +575,8 @@ def begin_delete_async(resource_group_name, registry_name, replication_name, cus # # @return [Replication] operation results. # - def begin_update(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -617,8 +594,8 @@ def begin_update(resource_group_name, registry_name, replication_name, replicati # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:nil) - begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers).value! end # @@ -635,28 +612,23 @@ def begin_update_with_http_info(resource_group_name, registry_name, replication_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication_name is nil' if replication_name.nil? - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication_update_parameters is nil' if replication_update_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::ReplicationUpdateParameters.mapper() request_content = @client.serialize(request_mapper, replication_update_parameters) @@ -723,8 +695,8 @@ def begin_update_async(resource_group_name, registry_name, replication_name, rep # # @return [ReplicationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -738,8 +710,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -752,12 +724,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -813,12 +784,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ReplicationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, registry_name, custom_headers:nil) - response = list_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, registry_name, custom_headers = nil) + response = list_async(resource_group_name, registry_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/version.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/version.rb new file mode 100644 index 0000000000..3e7f879321 --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/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::ContainerRegistry::Mgmt::V2017_06_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb index e0a7288bc9..0a50e90142 100644 --- a/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb +++ b/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [Webhook] operation results. # - def get(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = get_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def get(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = get_async(resource_group_name, registry_name, webhook_name, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(resource_group_name, registry_name, webhook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil) - get_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers = nil) + get_async(resource_group_name, registry_name, webhook_name, custom_headers).value! end # @@ -66,22 +66,15 @@ def get_with_http_info(resource_group_name, registry_name, webhook_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def get_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -140,8 +133,8 @@ def get_async(resource_group_name, registry_name, webhook_name, custom_headers:n # # @return [Webhook] operation results. # - def create(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:nil) - response = create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:custom_headers).value! + def create(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers = nil) + response = create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers).value! response.body unless response.nil? end @@ -158,9 +151,9 @@ def create(resource_group_name, registry_name, webhook_name, webhook_create_para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:nil) + def create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -186,8 +179,8 @@ def create_async(resource_group_name, registry_name, webhook_name, webhook_creat # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = delete_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def delete(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = delete_async(resource_group_name, registry_name, webhook_name, custom_headers).value! nil end @@ -202,9 +195,9 @@ def delete(resource_group_name, registry_name, webhook_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def delete_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -232,8 +225,8 @@ def delete_async(resource_group_name, registry_name, webhook_name, custom_header # # @return [Webhook] operation results. # - def update(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -250,9 +243,9 @@ def update(resource_group_name, registry_name, webhook_name, webhook_update_para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil) + def update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -279,8 +272,8 @@ def update_async(resource_group_name, registry_name, webhook_name, webhook_updat # # @return [Array] operation results. # - def list(resource_group_name, registry_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, registry_name, custom_headers:custom_headers) + def list(resource_group_name, registry_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, registry_name, custom_headers) first_page.get_all_items end @@ -295,8 +288,8 @@ def list(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, registry_name, custom_headers:nil) - list_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, registry_name, custom_headers = nil) + list_async(resource_group_name, registry_name, custom_headers).value! end # @@ -310,18 +303,14 @@ def list_with_http_info(resource_group_name, registry_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, registry_name, custom_headers:nil) + def list_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -378,8 +367,8 @@ def list_async(resource_group_name, registry_name, custom_headers:nil) # # @return [EventInfo] operation results. # - def ping(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = ping_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def ping(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = ping_async(resource_group_name, registry_name, webhook_name, custom_headers).value! response.body unless response.nil? end @@ -395,8 +384,8 @@ def ping(resource_group_name, registry_name, webhook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def ping_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil) - ping_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def ping_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers = nil) + ping_async(resource_group_name, registry_name, webhook_name, custom_headers).value! end # @@ -411,22 +400,15 @@ def ping_with_http_info(resource_group_name, registry_name, webhook_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def ping_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def ping_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).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 +465,8 @@ def ping_async(resource_group_name, registry_name, webhook_name, custom_headers: # # @return [CallbackConfig] operation results. # - def get_callback_config(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def get_callback_config(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers).value! response.body unless response.nil? end @@ -500,8 +482,8 @@ def get_callback_config(resource_group_name, registry_name, webhook_name, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_callback_config_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil) - get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def get_callback_config_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers = nil) + get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers).value! end # @@ -516,22 +498,15 @@ def get_callback_config_with_http_info(resource_group_name, registry_name, webho # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -588,8 +563,8 @@ def get_callback_config_async(resource_group_name, registry_name, webhook_name, # # @return [Array] operation results. # - def list_events(resource_group_name, registry_name, webhook_name, custom_headers:nil) - first_page = list_events_as_lazy(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers) + def list_events(resource_group_name, registry_name, webhook_name, custom_headers = nil) + first_page = list_events_as_lazy(resource_group_name, registry_name, webhook_name, custom_headers) first_page.get_all_items end @@ -605,8 +580,8 @@ def list_events(resource_group_name, registry_name, webhook_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_events_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil) - list_events_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def list_events_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers = nil) + list_events_async(resource_group_name, registry_name, webhook_name, custom_headers).value! end # @@ -621,22 +596,15 @@ def list_events_with_http_info(resource_group_name, registry_name, webhook_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_events_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def list_events_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -695,8 +663,8 @@ def list_events_async(resource_group_name, registry_name, webhook_name, custom_h # # @return [Webhook] operation results. # - def begin_create(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers).value! response.body unless response.nil? end @@ -714,8 +682,8 @@ def begin_create(resource_group_name, registry_name, webhook_name, webhook_creat # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:nil) - begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers = nil) + begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers).value! end # @@ -732,28 +700,23 @@ def begin_create_with_http_info(resource_group_name, registry_name, webhook_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:nil) + def begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_create_parameters is nil' if webhook_create_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::WebhookCreateParameters.mapper() request_content = @client.serialize(request_mapper, webhook_create_parameters) @@ -821,8 +784,8 @@ def begin_create_async(resource_group_name, registry_name, webhook_name, webhook # will be added to the HTTP request. # # - def begin_delete(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers).value! nil end @@ -838,8 +801,8 @@ def begin_delete(resource_group_name, registry_name, webhook_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil) - begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers = nil) + begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers).value! end # @@ -854,22 +817,15 @@ def begin_delete_with_http_info(resource_group_name, registry_name, webhook_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -918,8 +874,8 @@ def begin_delete_async(resource_group_name, registry_name, webhook_name, custom_ # # @return [Webhook] operation results. # - def begin_update(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -937,8 +893,8 @@ def begin_update(resource_group_name, registry_name, webhook_name, webhook_updat # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil) - begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers).value! end # @@ -955,28 +911,23 @@ def begin_update_with_http_info(resource_group_name, registry_name, webhook_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_update_parameters is nil' if webhook_update_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::WebhookUpdateParameters.mapper() request_content = @client.serialize(request_mapper, webhook_update_parameters) @@ -1043,8 +994,8 @@ def begin_update_async(resource_group_name, registry_name, webhook_name, webhook # # @return [WebhookListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1058,8 +1009,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1072,12 +1023,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1131,8 +1081,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [EventListResult] operation results. # - def list_events_next(next_page_link, custom_headers:nil) - response = list_events_next_async(next_page_link, custom_headers:custom_headers).value! + def list_events_next(next_page_link, custom_headers = nil) + response = list_events_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1146,8 +1096,8 @@ def list_events_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_events_next_with_http_info(next_page_link, custom_headers:nil) - list_events_next_async(next_page_link, custom_headers:custom_headers).value! + def list_events_next_with_http_info(next_page_link, custom_headers = nil) + list_events_next_async(next_page_link, custom_headers).value! end # @@ -1160,12 +1110,11 @@ def list_events_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_events_next_async(next_page_link, custom_headers:nil) + def list_events_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1221,12 +1170,12 @@ def list_events_next_async(next_page_link, custom_headers:nil) # @return [WebhookListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, registry_name, custom_headers:nil) - response = list_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, registry_name, custom_headers = nil) + response = list_async(resource_group_name, registry_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1244,12 +1193,12 @@ def list_as_lazy(resource_group_name, registry_name, custom_headers:nil) # # @return [EventListResult] which provide lazy access to pages of the response. # - def list_events_as_lazy(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = list_events_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def list_events_as_lazy(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = list_events_async(resource_group_name, registry_name, webhook_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_events_next_async(next_page_link, custom_headers:custom_headers) + list_events_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry.rb index 819209ff5d..49a908af60 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry.rb @@ -27,41 +27,44 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01 autoload :ContainerRegistryManagementClient, '2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb' module Models + autoload :RegistryUsageListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb' + autoload :ImportSource, '2017-10-01/generated/azure_mgmt_container_registry/models/import_source.rb' + autoload :RegistryNameCheckRequest, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb' autoload :ReplicationUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb' - autoload :ReplicationListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb' - autoload :RegistryNameStatus, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb' autoload :OperationDisplayDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb' - autoload :OperationDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb' - autoload :Sku, '2017-10-01/generated/azure_mgmt_container_registry/models/sku.rb' + autoload :ReplicationListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb' + autoload :OperationListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb' + autoload :Resource, '2017-10-01/generated/azure_mgmt_container_registry/models/resource.rb' + autoload :Status, '2017-10-01/generated/azure_mgmt_container_registry/models/status.rb' autoload :WebhookCreateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb' - autoload :StorageAccountProperties, '2017-10-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb' - autoload :WebhookUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb' + autoload :EventListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/event_list_result.rb' autoload :RegistryUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb' - autoload :WebhookListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb' + autoload :WebhookUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb' autoload :RegistryPassword, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_password.rb' - autoload :EventInfo, '2017-10-01/generated/azure_mgmt_container_registry/models/event_info.rb' + autoload :WebhookListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb' autoload :RegenerateCredentialParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb' + autoload :EventInfo, '2017-10-01/generated/azure_mgmt_container_registry/models/event_info.rb' + autoload :ImportImageParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/import_image_parameters.rb' autoload :CallbackConfig, '2017-10-01/generated/azure_mgmt_container_registry/models/callback_config.rb' - autoload :RegistryUsageListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb' + autoload :OperationDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb' autoload :Target, '2017-10-01/generated/azure_mgmt_container_registry/models/target.rb' - autoload :RegistryNameCheckRequest, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb' + autoload :StorageAccountProperties, '2017-10-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb' autoload :Request, '2017-10-01/generated/azure_mgmt_container_registry/models/request.rb' - autoload :Status, '2017-10-01/generated/azure_mgmt_container_registry/models/status.rb' + autoload :RegistryListCredentialsResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb' autoload :Actor, '2017-10-01/generated/azure_mgmt_container_registry/models/actor.rb' - autoload :RegistryListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb' + autoload :RegistryNameStatus, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb' autoload :Source, '2017-10-01/generated/azure_mgmt_container_registry/models/source.rb' - autoload :RegistryUsage, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage.rb' + autoload :RegistryListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb' autoload :EventContent, '2017-10-01/generated/azure_mgmt_container_registry/models/event_content.rb' - autoload :OperationListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb' + autoload :Sku, '2017-10-01/generated/azure_mgmt_container_registry/models/sku.rb' autoload :EventRequestMessage, '2017-10-01/generated/azure_mgmt_container_registry/models/event_request_message.rb' - autoload :RegistryListCredentialsResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb' + autoload :RegistryUsage, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage.rb' autoload :EventResponseMessage, '2017-10-01/generated/azure_mgmt_container_registry/models/event_response_message.rb' - autoload :EventListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/event_list_result.rb' - autoload :Resource, '2017-10-01/generated/azure_mgmt_container_registry/models/resource.rb' autoload :Registry, '2017-10-01/generated/azure_mgmt_container_registry/models/registry.rb' autoload :Replication, '2017-10-01/generated/azure_mgmt_container_registry/models/replication.rb' autoload :Webhook, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook.rb' autoload :Event, '2017-10-01/generated/azure_mgmt_container_registry/models/event.rb' + autoload :ImportMode, '2017-10-01/generated/azure_mgmt_container_registry/models/import_mode.rb' autoload :SkuName, '2017-10-01/generated/azure_mgmt_container_registry/models/sku_name.rb' autoload :SkuTier, '2017-10-01/generated/azure_mgmt_container_registry/models/sku_tier.rb' autoload :ProvisioningState, '2017-10-01/generated/azure_mgmt_container_registry/models/provisioning_state.rb' diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb index 35500197a6..77b2b0c4d4 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb @@ -116,9 +116,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? @@ -135,7 +132,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_registry' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::ContainerRegistry::Mgmt::V2017_10_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerRegistry::Mgmt::V2017_10_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/actor.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/actor.rb index 1b3b9f2a8c..d60df05a13 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/actor.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/actor.rb @@ -24,7 +24,6 @@ class Actor # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Actor', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'Actor', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/callback_config.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/callback_config.rb index fc8ee90d2f..41cfbc0528 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/callback_config.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/callback_config.rb @@ -26,7 +26,6 @@ class CallbackConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CallbackConfig', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'CallbackConfig', model_properties: { service_uri: { - client_side_validation: true, required: true, serialized_name: 'serviceUri', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, custom_headers: { - client_side_validation: true, required: false, serialized_name: 'customHeaders', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event.rb index 04c037b0d9..fb3c944e9c 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event.rb @@ -27,7 +27,6 @@ class Event < EventInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Event', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'Event', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, event_request_message: { - client_side_validation: true, required: false, serialized_name: 'eventRequestMessage', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, event_response_message: { - client_side_validation: true, required: false, serialized_name: 'eventResponseMessage', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_content.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_content.rb index 2714e14161..61d79399b0 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_content.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_content.rb @@ -44,7 +44,6 @@ class EventContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventContent', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'EventContent', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, timestamp: { - client_side_validation: true, required: false, serialized_name: 'timestamp', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, action: { - client_side_validation: true, required: false, serialized_name: 'action', type: { @@ -76,7 +72,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, request: { - client_side_validation: true, required: false, serialized_name: 'request', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, actor: { - client_side_validation: true, required: false, serialized_name: 'actor', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_info.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_info.rb index 5682eced30..895ae7ddeb 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_info.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_info.rb @@ -22,7 +22,6 @@ class EventInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventInfo', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'EventInfo', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_list_result.rb index 195fe59c8e..155485d25e 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'EventListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_request_message.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_request_message.rb index bbd63f8ed2..68518a55ce 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_request_message.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_request_message.rb @@ -36,7 +36,6 @@ class EventRequestMessage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventRequestMessage', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'EventRequestMessage', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { @@ -53,13 +51,11 @@ def self.mapper() } }, headers: { - client_side_validation: true, required: false, serialized_name: 'headers', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, method: { - client_side_validation: true, required: false, serialized_name: 'method', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, request_uri: { - client_side_validation: true, required: false, serialized_name: 'requestUri', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_response_message.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_response_message.rb index bce42f6d5b..3982845b2b 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_response_message.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_response_message.rb @@ -35,7 +35,6 @@ class EventResponseMessage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventResponseMessage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'EventResponseMessage', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { @@ -51,13 +49,11 @@ def self.mapper() } }, headers: { - client_side_validation: true, required: false, serialized_name: 'headers', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, reason_phrase: { - client_side_validation: true, required: false, serialized_name: 'reasonPhrase', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, status_code: { - client_side_validation: true, required: false, serialized_name: 'statusCode', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_image_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_image_parameters.rb new file mode 100644 index 0000000000..cca93215a3 --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_image_parameters.rb @@ -0,0 +1,97 @@ +# 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::ContainerRegistry::Mgmt::V2017_10_01 + module Models + # + # Model object. + # + # + class ImportImageParameters + + include MsRestAzure + + # @return [ImportSource] The source of the image. + attr_accessor :source + + # @return [Array] List of strings of the form repo[:tag]. When + # tag is omitted the source will be used (or 'latest' if source tag is + # also omitted). + attr_accessor :target_tags + + # @return [Array] List of strings of repository names to do a + # manifest only copy. No tag will be created. + attr_accessor :untagged_target_repositories + + # @return [ImportMode] When Force, any existing target tags will be + # overwritten. When NoForce, any existing target tags will fail the + # operation before any copying begins. Possible values include: + # 'NoForce', 'Force'. Default value: 'NoForce' . + attr_accessor :mode + + + # + # Mapper for ImportImageParameters class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImportImageParameters', + type: { + name: 'Composite', + class_name: 'ImportImageParameters', + model_properties: { + source: { + required: true, + serialized_name: 'source', + type: { + name: 'Composite', + class_name: 'ImportSource' + } + }, + target_tags: { + required: false, + serialized_name: 'targetTags', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + untagged_target_repositories: { + required: false, + serialized_name: 'untaggedTargetRepositories', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + mode: { + required: false, + serialized_name: 'mode', + default_value: 'NoForce', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_mode.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_mode.rb new file mode 100644 index 0000000000..065842865d --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_mode.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::ContainerRegistry::Mgmt::V2017_10_01 + module Models + # + # Defines values for ImportMode + # + module ImportMode + NoForce = "NoForce" + Force = "Force" + end + end +end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source.rb new file mode 100644 index 0000000000..75a906663a --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source.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::ContainerRegistry::Mgmt::V2017_10_01 + module Models + # + # Model object. + # + # + class ImportSource + + include MsRestAzure + + # @return [String] The resource identifier of the target Azure Container + # Registry. + attr_accessor :resource_id + + # @return [String] Repository name of the source image. + # Specify an image by repository ('hello-world'). This will use the + # 'latest' tag. + # Specify an image by tag ('hello-world:latest'). + # Specify an image by sha256-based manifest digest + # ('hello-world@sha256:abc123'). + attr_accessor :source_image + + + # + # Mapper for ImportSource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImportSource', + type: { + name: 'Composite', + class_name: 'ImportSource', + model_properties: { + resource_id: { + required: true, + serialized_name: 'resourceId', + type: { + name: 'String' + } + }, + source_image: { + required: true, + serialized_name: 'sourceImage', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb index 806d49e3ec..58d53dee3c 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb @@ -26,7 +26,6 @@ class OperationDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationDefinition', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'OperationDefinition', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb index a92bd00a8d..7f2995aa6d 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb @@ -32,7 +32,6 @@ class OperationDisplayDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationDisplayDefinition', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'OperationDisplayDefinition', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb index cd5851e5a1..b45111f3e8 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationDefinitionElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb index 67e3a88185..7ed0ea4c66 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb @@ -24,7 +24,6 @@ class RegenerateCredentialParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegenerateCredentialParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'RegenerateCredentialParameters', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry.rb index 9f23240090..61ecbe3c1e 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry.rb @@ -47,7 +47,6 @@ class Registry < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Registry', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'Registry', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -64,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +70,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -82,7 +78,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -90,13 +85,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: { @@ -106,7 +99,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: true, serialized_name: 'sku', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, login_server: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loginServer', @@ -124,7 +115,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -133,7 +123,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -142,7 +131,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', @@ -152,7 +140,6 @@ def self.mapper() } }, admin_user_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.adminUserEnabled', default_value: false, @@ -161,7 +148,6 @@ def self.mapper() } }, storage_account: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccount', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb index 1783fb9ec5..0c83bb68d2 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb @@ -26,7 +26,6 @@ class RegistryListCredentialsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryListCredentialsResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RegistryListCredentialsResult', model_properties: { username: { - client_side_validation: true, required: false, serialized_name: 'username', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, passwords: { - client_side_validation: true, required: false, serialized_name: 'passwords', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RegistryPasswordElementType', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb index eff666e37e..d6f1148a96 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'RegistryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RegistryElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb index 91cb483466..4ed2cc2330 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb @@ -27,7 +27,6 @@ class RegistryNameCheckRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryNameCheckRequest', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RegistryNameCheckRequest', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', constraints: { @@ -48,7 +46,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb index 6ab3485045..e87e9af05f 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb @@ -31,7 +31,6 @@ class RegistryNameStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryNameStatus', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'RegistryNameStatus', model_properties: { name_available: { - client_side_validation: true, required: false, serialized_name: 'nameAvailable', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, serialized_name: 'reason', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_password.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_password.rb index 2e24d0b8a3..5273e856b6 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_password.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_password.rb @@ -26,7 +26,6 @@ class RegistryPassword # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryPassword', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RegistryPassword', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb index a403d1fa11..3e41f39b62 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb @@ -35,7 +35,6 @@ class RegistryUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryUpdateParameters', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'RegistryUpdateParameters', 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: { @@ -59,7 +56,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, admin_user_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.adminUserEnabled', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, storage_account: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccount', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage.rb index 3646505d59..a8b4faec09 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage.rb @@ -32,7 +32,6 @@ class RegistryUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryUsage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'RegistryUsage', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, serialized_name: 'limit', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, serialized_name: 'currentValue', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb index 42cc46de55..42346129fb 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb @@ -23,7 +23,6 @@ class RegistryUsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegistryUsageListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'RegistryUsageListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RegistryUsageElementType', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication.rb index c065140b3b..de97f1d2d0 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication.rb @@ -28,7 +28,6 @@ class Replication < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Replication', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Replication', 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() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -71,13 +66,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: { @@ -87,7 +80,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -96,7 +88,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb index 48d633f63b..51988a9ffa 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReplicationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'ReplicationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ReplicationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb index 314613c88b..9254f881cd 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb @@ -22,7 +22,6 @@ class ReplicationUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ReplicationUpdateParameters', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ReplicationUpdateParameters', 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_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb index a1dba168c0..b9de3ee8fd 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb @@ -37,7 +37,6 @@ class Request # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Request', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Request', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, addr: { - client_side_validation: true, required: false, serialized_name: 'addr', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'host', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, method: { - client_side_validation: true, required: false, serialized_name: 'method', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, useragent: { - client_side_validation: true, required: false, serialized_name: 'useragent', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/resource.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/resource.rb index 31cbddb7b8..aa9473b99a 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/resource.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -78,13 +73,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_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/sku.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/sku.rb index 6f1747dff3..b5df9415ba 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/sku.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/sku.rb @@ -28,7 +28,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/source.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/source.rb index 5de7661c9c..d3bc788751 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/source.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/source.rb @@ -29,7 +29,6 @@ class Source # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Source', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Source', model_properties: { addr: { - client_side_validation: true, required: false, serialized_name: 'addr', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, serialized_name: 'instanceID', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/status.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/status.rb index f0c3ac22ca..ed219cd87c 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/status.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/status.rb @@ -30,7 +30,6 @@ class Status # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Status', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'Status', model_properties: { display_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'displayStatus', @@ -47,7 +45,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', @@ -56,7 +53,6 @@ def self.mapper() } }, timestamp: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'timestamp', diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb index bb11912f41..fdd6909cb4 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb @@ -23,7 +23,6 @@ class StorageAccountProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccountProperties', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'StorageAccountProperties', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/target.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/target.rb index 6d3a6acc95..a9fadd7eaf 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/target.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/target.rb @@ -43,7 +43,6 @@ class Target # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Target', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'Target', model_properties: { media_type: { - client_side_validation: true, required: false, serialized_name: 'mediaType', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, size: { - client_side_validation: true, required: false, serialized_name: 'size', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, digest: { - client_side_validation: true, required: false, serialized_name: 'digest', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, length: { - client_side_validation: true, required: false, serialized_name: 'length', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, repository: { - client_side_validation: true, required: false, serialized_name: 'repository', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, url: { - client_side_validation: true, required: false, serialized_name: 'url', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, tag: { - client_side_validation: true, required: false, serialized_name: 'tag', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook.rb index 42b81c7d20..5ab0355b00 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook.rb @@ -38,7 +38,6 @@ class Webhook < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Webhook', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Webhook', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -55,7 +53,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,7 +69,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -81,13 +76,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: { @@ -97,7 +90,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -105,7 +97,6 @@ def self.mapper() } }, scope: { - client_side_validation: true, required: false, serialized_name: 'properties.scope', type: { @@ -113,13 +104,11 @@ def self.mapper() } }, actions: { - client_side_validation: true, required: true, serialized_name: 'properties.actions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WebhookActionElementType', type: { @@ -129,7 +118,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb index 3e2a0c4dc6..3220158380 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb @@ -47,7 +47,6 @@ class WebhookCreateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebhookCreateParameters', type: { @@ -55,13 +54,11 @@ def self.mapper() class_name: 'WebhookCreateParameters', 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: { @@ -71,7 +68,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, service_uri: { - client_side_validation: true, required: true, serialized_name: 'properties.serviceUri', type: { @@ -87,13 +82,11 @@ def self.mapper() } }, custom_headers: { - client_side_validation: true, required: false, serialized_name: 'properties.customHeaders', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, scope: { - client_side_validation: true, required: false, serialized_name: 'properties.scope', type: { @@ -119,13 +110,11 @@ def self.mapper() } }, actions: { - client_side_validation: true, required: true, serialized_name: 'properties.actions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WebhookActionElementType', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb index a88d631258..d3229a3e3c 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebhookListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'WebhookListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WebhookElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb index f8b5e1b671..d552bff005 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb @@ -43,7 +43,6 @@ class WebhookUpdateParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WebhookUpdateParameters', type: { @@ -51,13 +50,11 @@ def self.mapper() class_name: 'WebhookUpdateParameters', 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: { @@ -67,7 +64,6 @@ def self.mapper() } }, service_uri: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceUri', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, custom_headers: { - client_side_validation: true, required: false, serialized_name: 'properties.customHeaders', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, scope: { - client_side_validation: true, required: false, serialized_name: 'properties.scope', type: { @@ -107,13 +99,11 @@ def self.mapper() } }, actions: { - client_side_validation: true, required: false, serialized_name: 'properties.actions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WebhookActionElementType', type: { diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/operations.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/operations.rb index 5234dde9c0..de1bb12369 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/operations.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,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 # @@ -54,12 +54,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 @@ -113,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -128,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -142,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -200,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb index 2b5fd00e2f..fe922f16b1 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb @@ -21,6 +21,51 @@ def initialize(client) # @return [ContainerRegistryManagementClient] reference to the ContainerRegistryManagementClient attr_reader :client + # + # Copies an image to this container registry from the specified container + # registry. + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param parameters [ImportImageParameters] The parameters specifying the image + # to copy and the source container registry. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def import_image(resource_group_name, registry_name, parameters, custom_headers = nil) + response = import_image_async(resource_group_name, registry_name, parameters, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param parameters [ImportImageParameters] The parameters specifying the image + # to copy and the source container registry. + # @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 import_image_async(resource_group_name, registry_name, parameters, custom_headers = nil) + # Send request + promise = begin_import_image_async(resource_group_name, registry_name, parameters, 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 + # # Checks whether the container registry name is available for use. The name # must contain only alphanumeric characters, be globally unique, and between 5 @@ -33,8 +78,8 @@ def initialize(client) # # @return [RegistryNameStatus] operation results. # - def check_name_availability(registry_name_check_request, custom_headers:nil) - response = check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value! + def check_name_availability(registry_name_check_request, custom_headers = nil) + response = check_name_availability_async(registry_name_check_request, custom_headers).value! response.body unless response.nil? end @@ -50,8 +95,8 @@ def check_name_availability(registry_name_check_request, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(registry_name_check_request, custom_headers:nil) - check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(registry_name_check_request, custom_headers = nil) + check_name_availability_async(registry_name_check_request, custom_headers).value! end # @@ -66,19 +111,20 @@ def check_name_availability_with_http_info(registry_name_check_request, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(registry_name_check_request, custom_headers:nil) + def check_name_availability_async(registry_name_check_request, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'registry_name_check_request is nil' if registry_name_check_request.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest.mapper() request_content = @client.serialize(request_mapper, registry_name_check_request) @@ -136,8 +182,8 @@ def check_name_availability_async(registry_name_check_request, custom_headers:ni # # @return [Registry] operation results. # - def get(resource_group_name, registry_name, custom_headers:nil) - response = get_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def get(resource_group_name, registry_name, custom_headers = nil) + response = get_async(resource_group_name, registry_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +198,8 @@ def get(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, registry_name, custom_headers:nil) - get_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, registry_name, custom_headers = nil) + get_async(resource_group_name, registry_name, custom_headers).value! end # @@ -167,18 +213,14 @@ def get_with_http_info(resource_group_name, registry_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, registry_name, custom_headers:nil) + def get_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -235,8 +277,8 @@ def get_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def create(resource_group_name, registry_name, registry, custom_headers:nil) - response = create_async(resource_group_name, registry_name, registry, custom_headers:custom_headers).value! + def create(resource_group_name, registry_name, registry, custom_headers = nil) + response = create_async(resource_group_name, registry_name, registry, custom_headers).value! response.body unless response.nil? end @@ -251,9 +293,9 @@ def create(resource_group_name, registry_name, registry, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, registry_name, registry, custom_headers:nil) + def create_async(resource_group_name, registry_name, registry, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, registry_name, registry, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, registry_name, registry, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -278,8 +320,8 @@ def create_async(resource_group_name, registry_name, registry, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, registry_name, custom_headers:nil) - response = delete_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def delete(resource_group_name, registry_name, custom_headers = nil) + response = delete_async(resource_group_name, registry_name, custom_headers).value! nil end @@ -293,9 +335,9 @@ def delete(resource_group_name, registry_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, registry_name, custom_headers:nil) + def delete_async(resource_group_name, registry_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, registry_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, registry_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -322,8 +364,8 @@ def delete_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def update(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -339,9 +381,9 @@ def update(resource_group_name, registry_name, registry_update_parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) + def update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -367,8 +409,8 @@ def update_async(resource_group_name, registry_name, registry_update_parameters, # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -382,8 +424,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 # @@ -396,14 +438,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.api_version is nil' if @client.api_version.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? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -456,8 +497,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -469,8 +510,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 # @@ -481,13 +522,12 @@ 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? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -543,8 +583,8 @@ def list_async(custom_headers:nil) # # @return [RegistryListCredentialsResult] operation results. # - def list_credentials(resource_group_name, registry_name, custom_headers:nil) - response = list_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_credentials(resource_group_name, registry_name, custom_headers = nil) + response = list_credentials_async(resource_group_name, registry_name, custom_headers).value! response.body unless response.nil? end @@ -559,8 +599,8 @@ def list_credentials(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_credentials_with_http_info(resource_group_name, registry_name, custom_headers:nil) - list_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_credentials_with_http_info(resource_group_name, registry_name, custom_headers = nil) + list_credentials_async(resource_group_name, registry_name, custom_headers).value! end # @@ -574,18 +614,14 @@ def list_credentials_with_http_info(resource_group_name, registry_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_credentials_async(resource_group_name, registry_name, custom_headers:nil) + def list_credentials_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -645,8 +681,8 @@ def list_credentials_async(resource_group_name, registry_name, custom_headers:ni # # @return [RegistryListCredentialsResult] operation results. # - def regenerate_credential(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:nil) - response = regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:custom_headers).value! + def regenerate_credential(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers = nil) + response = regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers).value! response.body unless response.nil? end @@ -665,8 +701,8 @@ def regenerate_credential(resource_group_name, registry_name, regenerate_credent # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_credential_with_http_info(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:nil) - regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:custom_headers).value! + def regenerate_credential_with_http_info(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers = nil) + regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers).value! end # @@ -684,24 +720,22 @@ def regenerate_credential_with_http_info(resource_group_name, registry_name, reg # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:nil) + def regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'regenerate_credential_parameters is nil' if regenerate_credential_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters.mapper() request_content = @client.serialize(request_mapper, regenerate_credential_parameters) @@ -759,8 +793,8 @@ def regenerate_credential_async(resource_group_name, registry_name, regenerate_c # # @return [RegistryUsageListResult] operation results. # - def list_usages(resource_group_name, registry_name, custom_headers:nil) - response = list_usages_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_usages(resource_group_name, registry_name, custom_headers = nil) + response = list_usages_async(resource_group_name, registry_name, custom_headers).value! response.body unless response.nil? end @@ -775,8 +809,8 @@ def list_usages(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usages_with_http_info(resource_group_name, registry_name, custom_headers:nil) - list_usages_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_usages_with_http_info(resource_group_name, registry_name, custom_headers = nil) + list_usages_async(resource_group_name, registry_name, custom_headers).value! end # @@ -790,18 +824,14 @@ def list_usages_with_http_info(resource_group_name, registry_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usages_async(resource_group_name, registry_name, custom_headers:nil) + def list_usages_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -846,6 +876,108 @@ def list_usages_async(resource_group_name, registry_name, custom_headers:nil) promise.execute end + # + # Copies an image to this container registry from the specified container + # registry. + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param parameters [ImportImageParameters] The parameters specifying the image + # to copy and the source container registry. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_import_image(resource_group_name, registry_name, parameters, custom_headers = nil) + response = begin_import_image_async(resource_group_name, registry_name, parameters, custom_headers).value! + nil + end + + # + # Copies an image to this container registry from the specified container + # registry. + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param parameters [ImportImageParameters] The parameters specifying the image + # to copy and the source container registry. + # @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_import_image_with_http_info(resource_group_name, registry_name, parameters, custom_headers = nil) + begin_import_image_async(resource_group_name, registry_name, parameters, custom_headers).value! + end + + # + # Copies an image to this container registry from the specified container + # registry. + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param parameters [ImportImageParameters] The parameters specifying the image + # to copy and the source container registry. + # @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_import_image_async(resource_group_name, registry_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.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::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage' + + 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,'registryName' => registry_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 || status_code == 202 + 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 + # # Creates a container registry with the specified parameters. # @@ -858,8 +990,8 @@ def list_usages_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def begin_create(resource_group_name, registry_name, registry, custom_headers:nil) - response = begin_create_async(resource_group_name, registry_name, registry, custom_headers:custom_headers).value! + def begin_create(resource_group_name, registry_name, registry, custom_headers = nil) + response = begin_create_async(resource_group_name, registry_name, registry, custom_headers).value! response.body unless response.nil? end @@ -875,8 +1007,8 @@ def begin_create(resource_group_name, registry_name, registry, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, registry_name, registry, custom_headers:nil) - begin_create_async(resource_group_name, registry_name, registry, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, registry_name, registry, custom_headers = nil) + begin_create_async(resource_group_name, registry_name, registry, custom_headers).value! end # @@ -891,24 +1023,22 @@ def begin_create_with_http_info(resource_group_name, registry_name, registry, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, registry_name, registry, custom_headers:nil) + def begin_create_async(resource_group_name, registry_name, registry, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'registry is nil' if registry.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry.mapper() request_content = @client.serialize(request_mapper, registry) @@ -975,8 +1105,8 @@ def begin_create_async(resource_group_name, registry_name, registry, custom_head # will be added to the HTTP request. # # - def begin_delete(resource_group_name, registry_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, registry_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, registry_name, custom_headers).value! nil end @@ -991,8 +1121,8 @@ def begin_delete(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, registry_name, custom_headers:nil) - begin_delete_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, registry_name, custom_headers = nil) + begin_delete_async(resource_group_name, registry_name, custom_headers).value! end # @@ -1006,18 +1136,14 @@ def begin_delete_with_http_info(resource_group_name, registry_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, registry_name, custom_headers:nil) + def begin_delete_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1065,8 +1191,8 @@ def begin_delete_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Registry] operation results. # - def begin_update(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -1083,8 +1209,8 @@ def begin_update(resource_group_name, registry_name, registry_update_parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) - begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers).value! end # @@ -1100,24 +1226,22 @@ def begin_update_with_http_info(resource_group_name, registry_name, registry_upd # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, registry_name, registry_update_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'registry_update_parameters is nil' if registry_update_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters.mapper() request_content = @client.serialize(request_mapper, registry_update_parameters) @@ -1184,8 +1308,8 @@ def begin_update_async(resource_group_name, registry_name, registry_update_param # # @return [RegistryListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1199,8 +1323,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1213,12 +1337,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1272,8 +1395,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RegistryListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1287,8 +1410,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1301,12 +1424,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1361,12 +1483,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RegistryListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(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_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1381,12 +1503,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RegistryListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/replications.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/replications.rb index de2698da43..0b2b427107 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/replications.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/replications.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [Replication] operation results. # - def get(resource_group_name, registry_name, replication_name, custom_headers:nil) - response = get_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value! + def get(resource_group_name, registry_name, replication_name, custom_headers = nil) + response = get_async(resource_group_name, registry_name, replication_name, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(resource_group_name, registry_name, replication_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, registry_name, replication_name, custom_headers:nil) - get_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, registry_name, replication_name, custom_headers = nil) + get_async(resource_group_name, registry_name, replication_name, custom_headers).value! end # @@ -66,22 +66,15 @@ def get_with_http_info(resource_group_name, registry_name, replication_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, registry_name, replication_name, custom_headers:nil) + def get_async(resource_group_name, registry_name, replication_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication_name is nil' if replication_name.nil? - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).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 +132,8 @@ def get_async(resource_group_name, registry_name, replication_name, custom_heade # # @return [Replication] operation results. # - def create(resource_group_name, registry_name, replication_name, replication, custom_headers:nil) - response = create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:custom_headers).value! + def create(resource_group_name, registry_name, replication_name, replication, custom_headers = nil) + response = create_async(resource_group_name, registry_name, replication_name, replication, custom_headers).value! response.body unless response.nil? end @@ -156,9 +149,9 @@ def create(resource_group_name, registry_name, replication_name, replication, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:nil) + def create_async(resource_group_name, registry_name, replication_name, replication, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -184,8 +177,8 @@ def create_async(resource_group_name, registry_name, replication_name, replicati # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, registry_name, replication_name, custom_headers:nil) - response = delete_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value! + def delete(resource_group_name, registry_name, replication_name, custom_headers = nil) + response = delete_async(resource_group_name, registry_name, replication_name, custom_headers).value! nil end @@ -200,9 +193,9 @@ def delete(resource_group_name, registry_name, replication_name, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, registry_name, replication_name, custom_headers:nil) + def delete_async(resource_group_name, registry_name, replication_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -230,8 +223,8 @@ def delete_async(resource_group_name, registry_name, replication_name, custom_he # # @return [Replication] operation results. # - def update(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -248,9 +241,9 @@ def update(resource_group_name, registry_name, replication_name, replication_upd # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:nil) + def update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -277,8 +270,8 @@ def update_async(resource_group_name, registry_name, replication_name, replicati # # @return [Array] operation results. # - def list(resource_group_name, registry_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, registry_name, custom_headers:custom_headers) + def list(resource_group_name, registry_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, registry_name, custom_headers) first_page.get_all_items end @@ -293,8 +286,8 @@ def list(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, registry_name, custom_headers:nil) - list_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, registry_name, custom_headers = nil) + list_async(resource_group_name, registry_name, custom_headers).value! end # @@ -308,18 +301,14 @@ def list_with_http_info(resource_group_name, registry_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, registry_name, custom_headers:nil) + def list_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -377,8 +366,8 @@ def list_async(resource_group_name, registry_name, custom_headers:nil) # # @return [Replication] operation results. # - def begin_create(resource_group_name, registry_name, replication_name, replication, custom_headers:nil) - response = begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:custom_headers).value! + def begin_create(resource_group_name, registry_name, replication_name, replication, custom_headers = nil) + response = begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers).value! response.body unless response.nil? end @@ -395,8 +384,8 @@ def begin_create(resource_group_name, registry_name, replication_name, replicati # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, registry_name, replication_name, replication, custom_headers:nil) - begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, registry_name, replication_name, replication, custom_headers = nil) + begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers).value! end # @@ -412,28 +401,23 @@ def begin_create_with_http_info(resource_group_name, registry_name, replication_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers:nil) + def begin_create_async(resource_group_name, registry_name, replication_name, replication, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication_name is nil' if replication_name.nil? - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication is nil' if replication.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication.mapper() request_content = @client.serialize(request_mapper, replication) @@ -501,8 +485,8 @@ def begin_create_async(resource_group_name, registry_name, replication_name, rep # will be added to the HTTP request. # # - def begin_delete(resource_group_name, registry_name, replication_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, registry_name, replication_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers).value! nil end @@ -518,8 +502,8 @@ def begin_delete(resource_group_name, registry_name, replication_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, registry_name, replication_name, custom_headers:nil) - begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, registry_name, replication_name, custom_headers = nil) + begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers).value! end # @@ -534,22 +518,15 @@ def begin_delete_with_http_info(resource_group_name, registry_name, replication_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers:nil) + def begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication_name is nil' if replication_name.nil? - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -598,8 +575,8 @@ def begin_delete_async(resource_group_name, registry_name, replication_name, cus # # @return [Replication] operation results. # - def begin_update(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -617,8 +594,8 @@ def begin_update(resource_group_name, registry_name, replication_name, replicati # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:nil) - begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers).value! end # @@ -635,28 +612,23 @@ def begin_update_with_http_info(resource_group_name, registry_name, replication_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, registry_name, replication_name, replication_update_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication_name is nil' if replication_name.nil? - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5 - fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'replication_update_parameters is nil' if replication_update_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters.mapper() request_content = @client.serialize(request_mapper, replication_update_parameters) @@ -723,8 +695,8 @@ def begin_update_async(resource_group_name, registry_name, replication_name, rep # # @return [ReplicationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -738,8 +710,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -752,12 +724,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -813,12 +784,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ReplicationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, registry_name, custom_headers:nil) - response = list_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, registry_name, custom_headers = nil) + response = list_async(resource_group_name, registry_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/version.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/version.rb new file mode 100644 index 0000000000..45251a473a --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/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::ContainerRegistry::Mgmt::V2017_10_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/webhooks.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/webhooks.rb index ec9a3a94f4..64679efd7c 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/webhooks.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/webhooks.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [Webhook] operation results. # - def get(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = get_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def get(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = get_async(resource_group_name, registry_name, webhook_name, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(resource_group_name, registry_name, webhook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil) - get_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers = nil) + get_async(resource_group_name, registry_name, webhook_name, custom_headers).value! end # @@ -66,22 +66,15 @@ def get_with_http_info(resource_group_name, registry_name, webhook_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def get_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -140,8 +133,8 @@ def get_async(resource_group_name, registry_name, webhook_name, custom_headers:n # # @return [Webhook] operation results. # - def create(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:nil) - response = create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:custom_headers).value! + def create(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers = nil) + response = create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers).value! response.body unless response.nil? end @@ -158,9 +151,9 @@ def create(resource_group_name, registry_name, webhook_name, webhook_create_para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:nil) + def create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -186,8 +179,8 @@ def create_async(resource_group_name, registry_name, webhook_name, webhook_creat # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = delete_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def delete(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = delete_async(resource_group_name, registry_name, webhook_name, custom_headers).value! nil end @@ -202,9 +195,9 @@ def delete(resource_group_name, registry_name, webhook_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def delete_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -232,8 +225,8 @@ def delete_async(resource_group_name, registry_name, webhook_name, custom_header # # @return [Webhook] operation results. # - def update(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil) - response = update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers = nil) + response = update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -250,9 +243,9 @@ def update(resource_group_name, registry_name, webhook_name, webhook_update_para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil) + def update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -279,8 +272,8 @@ def update_async(resource_group_name, registry_name, webhook_name, webhook_updat # # @return [Array] operation results. # - def list(resource_group_name, registry_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, registry_name, custom_headers:custom_headers) + def list(resource_group_name, registry_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, registry_name, custom_headers) first_page.get_all_items end @@ -295,8 +288,8 @@ def list(resource_group_name, registry_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, registry_name, custom_headers:nil) - list_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, registry_name, custom_headers = nil) + list_async(resource_group_name, registry_name, custom_headers).value! end # @@ -310,18 +303,14 @@ def list_with_http_info(resource_group_name, registry_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, registry_name, custom_headers:nil) + def list_async(resource_group_name, registry_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -378,8 +367,8 @@ def list_async(resource_group_name, registry_name, custom_headers:nil) # # @return [EventInfo] operation results. # - def ping(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = ping_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def ping(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = ping_async(resource_group_name, registry_name, webhook_name, custom_headers).value! response.body unless response.nil? end @@ -395,8 +384,8 @@ def ping(resource_group_name, registry_name, webhook_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def ping_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil) - ping_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def ping_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers = nil) + ping_async(resource_group_name, registry_name, webhook_name, custom_headers).value! end # @@ -411,22 +400,15 @@ def ping_with_http_info(resource_group_name, registry_name, webhook_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def ping_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def ping_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).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 +465,8 @@ def ping_async(resource_group_name, registry_name, webhook_name, custom_headers: # # @return [CallbackConfig] operation results. # - def get_callback_config(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def get_callback_config(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers).value! response.body unless response.nil? end @@ -500,8 +482,8 @@ def get_callback_config(resource_group_name, registry_name, webhook_name, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_callback_config_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil) - get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def get_callback_config_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers = nil) + get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers).value! end # @@ -516,22 +498,15 @@ def get_callback_config_with_http_info(resource_group_name, registry_name, webho # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def get_callback_config_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -588,8 +563,8 @@ def get_callback_config_async(resource_group_name, registry_name, webhook_name, # # @return [Array] operation results. # - def list_events(resource_group_name, registry_name, webhook_name, custom_headers:nil) - first_page = list_events_as_lazy(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers) + def list_events(resource_group_name, registry_name, webhook_name, custom_headers = nil) + first_page = list_events_as_lazy(resource_group_name, registry_name, webhook_name, custom_headers) first_page.get_all_items end @@ -605,8 +580,8 @@ def list_events(resource_group_name, registry_name, webhook_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_events_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil) - list_events_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def list_events_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers = nil) + list_events_async(resource_group_name, registry_name, webhook_name, custom_headers).value! end # @@ -621,22 +596,15 @@ def list_events_with_http_info(resource_group_name, registry_name, webhook_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_events_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def list_events_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -695,8 +663,8 @@ def list_events_async(resource_group_name, registry_name, webhook_name, custom_h # # @return [Webhook] operation results. # - def begin_create(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers).value! response.body unless response.nil? end @@ -714,8 +682,8 @@ def begin_create(resource_group_name, registry_name, webhook_name, webhook_creat # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:nil) - begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers = nil) + begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers).value! end # @@ -732,28 +700,23 @@ def begin_create_with_http_info(resource_group_name, registry_name, webhook_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers:nil) + def begin_create_async(resource_group_name, registry_name, webhook_name, webhook_create_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_create_parameters is nil' if webhook_create_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters.mapper() request_content = @client.serialize(request_mapper, webhook_create_parameters) @@ -821,8 +784,8 @@ def begin_create_async(resource_group_name, registry_name, webhook_name, webhook # will be added to the HTTP request. # # - def begin_delete(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers).value! nil end @@ -838,8 +801,8 @@ def begin_delete(resource_group_name, registry_name, webhook_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil) - begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers = nil) + begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers).value! end # @@ -854,22 +817,15 @@ def begin_delete_with_http_info(resource_group_name, registry_name, webhook_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers:nil) + def begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -918,8 +874,8 @@ def begin_delete_async(resource_group_name, registry_name, webhook_name, custom_ # # @return [Webhook] operation results. # - def begin_update(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers).value! response.body unless response.nil? end @@ -937,8 +893,8 @@ def begin_update(resource_group_name, registry_name, webhook_name, webhook_updat # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil) - begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers = nil) + begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers).value! end # @@ -955,28 +911,23 @@ def begin_update_with_http_info(resource_group_name, registry_name, webhook_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'registry_name is nil' if registry_name.nil? - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5 - fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_name is nil' if webhook_name.nil? - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5 - fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil? fail ArgumentError, 'webhook_update_parameters is nil' if webhook_update_parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters.mapper() request_content = @client.serialize(request_mapper, webhook_update_parameters) @@ -1043,8 +994,8 @@ def begin_update_async(resource_group_name, registry_name, webhook_name, webhook # # @return [WebhookListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1058,8 +1009,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1072,12 +1023,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1131,8 +1081,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [EventListResult] operation results. # - def list_events_next(next_page_link, custom_headers:nil) - response = list_events_next_async(next_page_link, custom_headers:custom_headers).value! + def list_events_next(next_page_link, custom_headers = nil) + response = list_events_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1146,8 +1096,8 @@ def list_events_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_events_next_with_http_info(next_page_link, custom_headers:nil) - list_events_next_async(next_page_link, custom_headers:custom_headers).value! + def list_events_next_with_http_info(next_page_link, custom_headers = nil) + list_events_next_async(next_page_link, custom_headers).value! end # @@ -1160,12 +1110,11 @@ def list_events_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_events_next_async(next_page_link, custom_headers:nil) + def list_events_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1221,12 +1170,12 @@ def list_events_next_async(next_page_link, custom_headers:nil) # @return [WebhookListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, registry_name, custom_headers:nil) - response = list_async(resource_group_name, registry_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, registry_name, custom_headers = nil) + response = list_async(resource_group_name, registry_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1244,12 +1193,12 @@ def list_as_lazy(resource_group_name, registry_name, custom_headers:nil) # # @return [EventListResult] which provide lazy access to pages of the response. # - def list_events_as_lazy(resource_group_name, registry_name, webhook_name, custom_headers:nil) - response = list_events_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value! + def list_events_as_lazy(resource_group_name, registry_name, webhook_name, custom_headers = nil) + response = list_events_async(resource_group_name, registry_name, webhook_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_events_next_async(next_page_link, custom_headers:custom_headers) + list_events_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_registry/lib/azure_mgmt_container_registry.rb b/management/azure_mgmt_container_registry/lib/azure_mgmt_container_registry.rb index 8c239b14d6..6510f8bea6 100644 --- a/management/azure_mgmt_container_registry/lib/azure_mgmt_container_registry.rb +++ b/management/azure_mgmt_container_registry/lib/azure_mgmt_container_registry.rb @@ -3,7 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for license information. require '2017-10-01/generated/azure_mgmt_container_registry' +require '2017-03-01/generated/azure_mgmt_container_registry' require '2016-06-27-preview/generated/azure_mgmt_container_registry' require '2017-06-01-preview/generated/azure_mgmt_container_registry' -require '2017-03-01/generated/azure_mgmt_container_registry' require 'profiles/latest/containerregistry_latest_profile_client' diff --git a/management/azure_mgmt_container_registry/lib/profiles/latest/modules/containerregistry_profile_module.rb b/management/azure_mgmt_container_registry/lib/profiles/latest/modules/containerregistry_profile_module.rb index e9db8c049a..b29bedb1dc 100644 --- a/management/azure_mgmt_container_registry/lib/profiles/latest/modules/containerregistry_profile_module.rb +++ b/management/azure_mgmt_container_registry/lib/profiles/latest/modules/containerregistry_profile_module.rb @@ -12,41 +12,44 @@ module Mgmt Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks module Models + RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource + RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters - ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult - RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition - OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition - Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult + OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource + Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters - StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties - WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters + EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters - WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult + WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword - EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo + WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo + ImportImageParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig - RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target - RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest + StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor - RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent - OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage - RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage - EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult - Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState @@ -104,99 +107,105 @@ def method_missing(method, *args) end class ModelClasses + def registry_usage_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + end + def import_source + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource + end + def registry_name_check_request + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest + end def replication_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters end + def operation_display_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition + end def replication_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult end - def registry_name_status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus - end - def operation_display_definition - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition + def operation_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult end - def operation_definition - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + def resource + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource end - def sku - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + def status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status end def webhook_create_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters end - def storage_account_properties - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties + def event_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult + end + def registry_update_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters end def webhook_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters end - def registry_update_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters + def registry_password + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword end def webhook_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult end - def registry_password - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword + def regenerate_credential_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters end def event_info Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo end - def regenerate_credential_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + def import_image_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters end def callback_config Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig end - def registry_usage_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + def operation_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition end def target Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target end - def registry_name_check_request - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest + def storage_account_properties + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties end def request Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request end - def status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + def registry_list_credentials_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult end def actor Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor end - def registry_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + def registry_name_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus end def source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end - def registry_usage - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + def registry_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult end def event_content Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent end - def operation_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + def sku + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku end def event_request_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end - def registry_list_credentials_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + def registry_usage + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end def event_response_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage end - def event_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult - end - def resource - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource - end def registry Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry end @@ -209,6 +218,9 @@ def webhook def event Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event end + def import_mode + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode + end def sku_name Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName end From baea99278e8a3995dc752ee86b5736684e7fb1c7 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 19 Jun 2018 11:27:49 -0700 Subject: [PATCH 19/22] [AutoPR cognitiveservices/data-plane/ComputerVision] Update CognitiveService ComputerVision API to V2 (#1378) (#1395) * Generated from c2567da015994dac3301f495b6c5011d28ceaffe Add post-processing directive to swap argument order for RecognizeText to position the url argument ahead of the mode argument. autorest does not generate the intended order, so we add a post-processing directive, for each target language, * Generated from 973322cfd6ec2ced60a732f53b5318ceded5de7b Fix validation errors * Generated from 70efe042d607cbd973734e432da395ed35191a03 Add Spanish support for ServiceLanguage This is for parity with V1. From e61c308a81db82a2c9de48fe0b39bba5c7d15c60 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 17 Jul 2018 10:05:18 -0700 Subject: [PATCH 20/22] Generated from ce2c4f10f7d62e0e8f4f661bf9eb311df7948caf (#1467) [AKS] suppress "managed clusters need PATCH endpoint" error This is a temporary suppression to be removed when the endpoint is implemented and deployed. --- .../analysisservices_profile_module.rb | 32 +- .../modules/apimanagement_profile_module.rb | 154 +- .../modules/automation_profile_module.rb | 638 +++---- .../latest/modules/batch_profile_module.rb | 356 ++-- .../latest/modules/billing_profile_module.rb | 48 +- .../lib/latest/modules/cdn_profile_module.rb | 242 +-- .../cognitiveservices_profile_module.rb | 22 +- .../latest/modules/commerce_profile_module.rb | 14 +- .../latest/modules/compute_profile_module.rb | 754 ++++---- .../modules/computervision_profile_module.rb | 64 +- .../modules/consumption_profile_module.rb | 80 +- .../containerinstance_profile_module.rb | 176 +- .../containerregistry_profile_module.rb | 166 +- .../containerservice_profile_module.rb | 16 +- .../contentmoderator_profile_module.rb | 84 +- .../customerinsights_profile_module.rb | 434 ++--- .../modules/customsearch_profile_module.rb | 48 +- .../datalakeanalytics_profile_module.rb | 72 +- .../modules/datalakestore_profile_module.rb | 166 +- .../modules/devtestlabs_profile_module.rb | 232 +-- .../lib/latest/modules/dns_profile_module.rb | 22 +- .../modules/entitysearch_profile_module.rb | 142 +- .../modules/eventgrid_profile_module.rb | 166 +- .../latest/modules/eventhub_profile_module.rb | 100 +- .../lib/latest/modules/face_profile_module.rb | 80 +- .../modules/graphrbac_profile_module.rb | 174 +- .../modules/imagesearch_profile_module.rb | 192 +- .../latest/modules/iothub_profile_module.rb | 104 +- .../latest/modules/keyvault_profile_module.rb | 102 +- .../latest/modules/locks_profile_module.rb | 12 +- .../latest/modules/logic_profile_module.rb | 222 +-- .../modules/machinelearning_profile_module.rb | 88 +- .../managedapplications_profile_module.rb | 70 +- .../managedserviceidentity_profile_module.rb | 16 +- .../marketplaceordering_profile_module.rb | 28 +- .../modules/mediaservices_profile_module.rb | 148 +- .../mobileengagement_profile_module.rb | 54 +- .../latest/modules/monitor_profile_module.rb | 152 +- .../latest/modules/network_profile_module.rb | 1058 +++++------ .../modules/newssearch_profile_module.rb | 96 +- .../notificationhubs_profile_module.rb | 140 +- .../operationalinsights_profile_module.rb | 100 +- .../latest/modules/policy_profile_module.rb | 36 +- .../modules/policyinsights_profile_module.rb | 54 +- .../modules/powerbiembedded_profile_module.rb | 58 +- .../recoveryservices_profile_module.rb | 146 +- .../recoveryservicesbackup_profile_module.rb | 1278 +++++++------- ...veryservicessiterecovery_profile_module.rb | 1552 ++++++++--------- .../latest/modules/redis_profile_module.rb | 88 +- .../latest/modules/relay_profile_module.rb | 122 +- .../modules/resources_profile_module.rb | 196 +-- .../resourcesmanagement_profile_module.rb | 48 +- .../modules/scheduler_profile_module.rb | 170 +- .../latest/modules/search_profile_module.rb | 52 +- .../servermanagement_profile_module.rb | 52 +- .../modules/servicebus_profile_module.rb | 192 +- .../modules/servicefabric_profile_module.rb | 226 +-- .../latest/modules/signalr_profile_module.rb | 102 +- .../modules/spellcheck_profile_module.rb | 64 +- .../lib/latest/modules/sql_profile_module.rb | 1068 ++++++------ .../latest/modules/storage_profile_module.rb | 354 ++-- .../storsimple8000series_profile_module.rb | 738 ++++---- .../modules/streamanalytics_profile_module.rb | 194 +-- .../modules/subscriptions_profile_module.rb | 14 +- .../modules/textanalytics_profile_module.rb | 56 +- .../modules/trafficmanager_profile_module.rb | 54 +- .../modules/videosearch_profile_module.rb | 142 +- .../lib/latest/modules/web_profile_module.rb | 1348 +++++++------- .../modules/websearch_profile_module.rb | 190 +- .../modules/compute_profile_module.rb | 58 +- .../modules/locks_profile_module.rb | 8 +- .../modules/network_profile_module.rb | 134 +- .../modules/resources_profile_module.rb | 58 +- .../modules/storage_profile_module.rb | 8 +- .../modules/subscriptions_profile_module.rb | 14 +- .../lib/azure_mgmt_container_service.rb | 2 +- .../containerservice_profile_module.rb | 8 +- 77 files changed, 7974 insertions(+), 7974 deletions(-) diff --git a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb index f2ff35ae4a..bc16075a84 100644 --- a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb @@ -11,12 +11,15 @@ module Mgmt Operations = Azure::AnalysisServices::Mgmt::V2017_08_01::Operations module Models + Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource + SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier + State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State + ProvisioningState = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState AnalysisServicesServerUpdateParameters = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServerUpdateParameters OperationDisplay = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationDisplay GatewayListStatusLive = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusLive OperationListResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationListResult GatewayError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError - Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource GatewayListStatusError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError AnalysisServicesServers = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServers CheckServerNameAvailabilityParameters = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityParameters @@ -33,9 +36,6 @@ module Models IPv4FirewallRule = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallRule SkuEnumerationForExistingResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForExistingResourceResult AnalysisServicesServer = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer - SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier - State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State - ProvisioningState = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState ConnectionMode = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode Status = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status end @@ -71,6 +71,18 @@ def method_missing(method, *args) end class ModelClasses + def resource + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource + end + def sku_tier + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier + end + def state + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State + end + def provisioning_state + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState + end def analysis_services_server_update_parameters Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServerUpdateParameters end @@ -86,9 +98,6 @@ def operation_list_result def gateway_error Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError end - def resource - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource - end def gateway_list_status_error Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError end @@ -137,15 +146,6 @@ def sku_enumeration_for_existing_resource_result def analysis_services_server Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer end - def sku_tier - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier - end - def state - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State - end - def provisioning_state - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState - end def connection_mode Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode end diff --git a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb index 08bc3d29ac..8cae55cd93 100644 --- a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb @@ -7,7 +7,27 @@ module Azure::Profiles::Latest module ApiManagement module Mgmt + QuotaByCounterKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByCounterKeys + QuotaByPeriodKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByPeriodKeys + Reports = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Reports + ProductSubscriptions = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductSubscriptions + TagResource = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagResource + Group = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Group + OperationOperations = Azure::ApiManagement::Mgmt::V2018_01_01_preview::OperationOperations + TagDescription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagDescription + TenantAccessGit = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccessGit + TenantAccess = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccess + User = Azure::ApiManagement::Mgmt::V2018_01_01_preview::User + TenantConfiguration = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantConfiguration + UserSubscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserSubscription + UserGroup = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserGroup + ApiVersionSet = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiVersionSet + UserIdentities = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserIdentities + Subscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Subscription + ApiExport = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiExport Policy = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Policy + Tag = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Tag + Logger = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Logger PolicySnippets = Azure::ApiManagement::Mgmt::V2018_01_01_preview::PolicySnippets Regions = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Regions Api = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Api @@ -22,16 +42,13 @@ module Mgmt ApiDiagnosticLogger = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiDiagnosticLogger AuthorizationServer = Azure::ApiManagement::Mgmt::V2018_01_01_preview::AuthorizationServer Backend = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Backend - Certificate = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Certificate ApiManagementOperations = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiManagementOperations ApiManagementService = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiManagementService Diagnostic = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Diagnostic DiagnosticLogger = Azure::ApiManagement::Mgmt::V2018_01_01_preview::DiagnosticLogger EmailTemplate = Azure::ApiManagement::Mgmt::V2018_01_01_preview::EmailTemplate - Group = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Group GroupUser = Azure::ApiManagement::Mgmt::V2018_01_01_preview::GroupUser IdentityProvider = Azure::ApiManagement::Mgmt::V2018_01_01_preview::IdentityProvider - Logger = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Logger Notification = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Notification NotificationRecipientUser = Azure::ApiManagement::Mgmt::V2018_01_01_preview::NotificationRecipientUser NotificationRecipientEmail = Azure::ApiManagement::Mgmt::V2018_01_01_preview::NotificationRecipientEmail @@ -39,44 +56,30 @@ module Mgmt OpenIdConnectProvider = Azure::ApiManagement::Mgmt::V2018_01_01_preview::OpenIdConnectProvider SignInSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::SignInSettings SignUpSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::SignUpSettings + Certificate = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Certificate DelegationSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::DelegationSettings - Product = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Product ProductApi = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductApi ProductGroup = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductGroup - ProductSubscriptions = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductSubscriptions + Product = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Product ProductPolicy = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductPolicy Property = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Property - QuotaByCounterKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByCounterKeys - QuotaByPeriodKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByPeriodKeys - Reports = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Reports - Subscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Subscription - TagResource = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagResource - Tag = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Tag - TagDescription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagDescription - OperationOperations = Azure::ApiManagement::Mgmt::V2018_01_01_preview::OperationOperations - TenantAccess = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccess - TenantAccessGit = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccessGit - TenantConfiguration = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantConfiguration - User = Azure::ApiManagement::Mgmt::V2018_01_01_preview::User - UserGroup = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserGroup - UserSubscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserSubscription - UserIdentities = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserIdentities - ApiVersionSet = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiVersionSet - ApiExport = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiExport module Models + SubscriptionState = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SubscriptionState + OperationDisplay = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationDisplay + OperationListResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationListResult + ErrorResponse = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ErrorResponse + Operation = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Operation + AsyncOperationStatus = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AsyncOperationStatus ApiManagementServiceNameAvailabilityResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceNameAvailabilityResult ApiManagementServiceApplyNetworkConfigurationParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceApplyNetworkConfigurationParameters - ErrorResponse = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ErrorResponse ApiManagementServiceUploadCertificateParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceUploadCertificateParameters PolicyCollection = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyCollection HostnameConfigurationOld = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::HostnameConfigurationOld PolicySnippetsCollection = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicySnippetsCollection ApiManagementServiceUpdateHostnameParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceUpdateHostnameParameters RegionListResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::RegionListResult - OperationDisplay = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationDisplay ApiExportResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiExportResult - Operation = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Operation AdditionalLocation = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AdditionalLocation ApiManagementServiceBackupRestoreParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceBackupRestoreParameters ApiCreateOrUpdatePropertiesWsdlSelector = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiCreateOrUpdatePropertiesWsdlSelector @@ -105,13 +108,11 @@ module Models LoggerCollection = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::LoggerCollection RegionContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::RegionContract DiagnosticCollection = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::DiagnosticCollection - Resource = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Resource UserTokenParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserTokenParameters ApiVersionSetContractDetails = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiVersionSetContractDetails UserIdentityCollection = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserIdentityCollection AccessInformationContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AccessInformationContract TagResourceContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::TagResourceContract - OperationListResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationListResult UserCreateParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserCreateParameters EmailTemplateParametersContractProperties = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::EmailTemplateParametersContractProperties GenerateSsoUrlResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::GenerateSsoUrlResult @@ -235,7 +236,6 @@ module Models TagDescriptionContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::TagDescriptionContract ApiVersionSetContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiVersionSetContract PolicyContentFormat = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyContentFormat - Protocol = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Protocol ContentFormat = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ContentFormat SoapApiType = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SoapApiType ApiType = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiType @@ -255,18 +255,18 @@ module Models UserState = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserState IdentityProviderType = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::IdentityProviderType ConnectivityStatusType = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ConnectivityStatusType - SubscriptionState = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SubscriptionState - AsyncOperationStatus = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AsyncOperationStatus KeyType = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::KeyType VersioningScheme = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::VersioningScheme TemplateName = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::TemplateName NotificationName = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::NotificationName PolicyScopeContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyScopeContract ExportFormat = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ExportFormat + Protocol = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Protocol + Resource = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Resource end class ApiManagementManagementClass - attr_reader :policy, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_diagnostic_logger, :authorization_server, :backend, :certificate, :api_management_operations, :api_management_service, :diagnostic, :diagnostic_logger, :email_template, :group, :group_user, :identity_provider, :logger, :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, :product_policy, :property, :quota_by_counter_keys, :quota_by_period_keys, :reports, :subscription, :tag_resource, :tag, :tag_description, :operation_operations, :tenant_access, :tenant_access_git, :tenant_configuration, :user, :user_group, :user_subscription, :user_identities, :api_version_set, :api_export, :configurable, :base_url, :options, :model_classes + attr_reader :quota_by_counter_keys, :quota_by_period_keys, :reports, :product_subscriptions, :tag_resource, :group, :operation_operations, :tag_description, :tenant_access_git, :tenant_access, :user, :tenant_configuration, :user_subscription, :user_group, :api_version_set, :user_identities, :subscription, :api_export, :policy, :tag, :logger, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_diagnostic_logger, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :diagnostic_logger, :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, :certificate, :delegation_settings, :product_api, :product_group, :product, :product_policy, :property, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -276,7 +276,27 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @quota_by_counter_keys = @client_0.quota_by_counter_keys + @quota_by_period_keys = @client_0.quota_by_period_keys + @reports = @client_0.reports + @product_subscriptions = @client_0.product_subscriptions + @tag_resource = @client_0.tag_resource + @group = @client_0.group + @operation_operations = @client_0.operation_operations + @tag_description = @client_0.tag_description + @tenant_access_git = @client_0.tenant_access_git + @tenant_access = @client_0.tenant_access + @user = @client_0.user + @tenant_configuration = @client_0.tenant_configuration + @user_subscription = @client_0.user_subscription + @user_group = @client_0.user_group + @api_version_set = @client_0.api_version_set + @user_identities = @client_0.user_identities + @subscription = @client_0.subscription + @api_export = @client_0.api_export @policy = @client_0.policy + @tag = @client_0.tag + @logger = @client_0.logger @policy_snippets = @client_0.policy_snippets @regions = @client_0.regions @api = @client_0.api @@ -291,16 +311,13 @@ def initialize(configurable, base_url=nil, options=nil) @api_diagnostic_logger = @client_0.api_diagnostic_logger @authorization_server = @client_0.authorization_server @backend = @client_0.backend - @certificate = @client_0.certificate @api_management_operations = @client_0.api_management_operations @api_management_service = @client_0.api_management_service @diagnostic = @client_0.diagnostic @diagnostic_logger = @client_0.diagnostic_logger @email_template = @client_0.email_template - @group = @client_0.group @group_user = @client_0.group_user @identity_provider = @client_0.identity_provider - @logger = @client_0.logger @notification = @client_0.notification @notification_recipient_user = @client_0.notification_recipient_user @notification_recipient_email = @client_0.notification_recipient_email @@ -308,30 +325,13 @@ def initialize(configurable, base_url=nil, options=nil) @open_id_connect_provider = @client_0.open_id_connect_provider @sign_in_settings = @client_0.sign_in_settings @sign_up_settings = @client_0.sign_up_settings + @certificate = @client_0.certificate @delegation_settings = @client_0.delegation_settings - @product = @client_0.product @product_api = @client_0.product_api @product_group = @client_0.product_group - @product_subscriptions = @client_0.product_subscriptions + @product = @client_0.product @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 - @reports = @client_0.reports - @subscription = @client_0.subscription - @tag_resource = @client_0.tag_resource - @tag = @client_0.tag - @tag_description = @client_0.tag_description - @operation_operations = @client_0.operation_operations - @tenant_access = @client_0.tenant_access - @tenant_access_git = @client_0.tenant_access_git - @tenant_configuration = @client_0.tenant_configuration - @user = @client_0.user - @user_group = @client_0.user_group - @user_subscription = @client_0.user_subscription - @user_identities = @client_0.user_identities - @api_version_set = @client_0.api_version_set - @api_export = @client_0.api_export @model_classes = ModelClasses.new end @@ -350,15 +350,30 @@ def method_missing(method, *args) end class ModelClasses + def subscription_state + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SubscriptionState + end + def operation_display + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationDisplay + end + def operation_list_result + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationListResult + end + def error_response + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ErrorResponse + end + def operation + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Operation + end + def async_operation_status + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AsyncOperationStatus + end def api_management_service_name_availability_result Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceNameAvailabilityResult end def api_management_service_apply_network_configuration_parameters Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceApplyNetworkConfigurationParameters end - def error_response - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ErrorResponse - end def api_management_service_upload_certificate_parameters Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceUploadCertificateParameters end @@ -377,15 +392,9 @@ def api_management_service_update_hostname_parameters def region_list_result Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::RegionListResult end - def operation_display - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationDisplay - end def api_export_result Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiExportResult end - def operation - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Operation - end def additional_location Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AdditionalLocation end @@ -470,9 +479,6 @@ def region_contract def diagnostic_collection Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::DiagnosticCollection end - def resource - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Resource - end def user_token_parameters Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserTokenParameters end @@ -488,9 +494,6 @@ def access_information_contract def tag_resource_contract Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::TagResourceContract end - def operation_list_result - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationListResult - end def user_create_parameters Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserCreateParameters end @@ -860,9 +863,6 @@ def api_version_set_contract def policy_content_format Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyContentFormat end - def protocol - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Protocol - end def content_format Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ContentFormat end @@ -920,12 +920,6 @@ def identity_provider_type def connectivity_status_type Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ConnectivityStatusType end - def subscription_state - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SubscriptionState - end - def async_operation_status - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AsyncOperationStatus - end def key_type Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::KeyType end @@ -944,6 +938,12 @@ def policy_scope_contract def export_format Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ExportFormat end + def protocol + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Protocol + end + def resource + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Resource + end end end end diff --git a/azure_sdk/lib/latest/modules/automation_profile_module.rb b/azure_sdk/lib/latest/modules/automation_profile_module.rb index d948bdc974..c27e9acb80 100644 --- a/azure_sdk/lib/latest/modules/automation_profile_module.rb +++ b/azure_sdk/lib/latest/modules/automation_profile_module.rb @@ -7,10 +7,24 @@ module Azure::Profiles::Latest module Automation module Mgmt - AutomationAccountOperations = Azure::Automation::Mgmt::V2015_10_31::AutomationAccountOperations + JobStreamOperations = Azure::Automation::Mgmt::V2015_10_31::JobStreamOperations + JobScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::JobScheduleOperations + LinkedWorkspaceOperations = Azure::Automation::Mgmt::V2015_10_31::LinkedWorkspaceOperations + ActivityOperations = Azure::Automation::Mgmt::V2015_10_31::ActivityOperations + ModuleModelOperations = Azure::Automation::Mgmt::V2015_10_31::ModuleModelOperations + ObjectDataTypes = Azure::Automation::Mgmt::V2015_10_31::ObjectDataTypes + Usages = Azure::Automation::Mgmt::V2015_10_31::Usages + Fields = Azure::Automation::Mgmt::V2015_10_31::Fields + RunbookDraftOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookDraftOperations + RunbookOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookOperations + TestJobStreams = Azure::Automation::Mgmt::V2015_10_31::TestJobStreams + TestJobOperations = Azure::Automation::Mgmt::V2015_10_31::TestJobOperations + ScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::ScheduleOperations + VariableOperations = Azure::Automation::Mgmt::V2015_10_31::VariableOperations + WebhookOperations = Azure::Automation::Mgmt::V2015_10_31::WebhookOperations Operations = Azure::Automation::Mgmt::V2015_10_31::Operations + AutomationAccountOperations = Azure::Automation::Mgmt::V2015_10_31::AutomationAccountOperations StatisticsOperations = Azure::Automation::Mgmt::V2015_10_31::StatisticsOperations - Usages = Azure::Automation::Mgmt::V2015_10_31::Usages Keys = Azure::Automation::Mgmt::V2015_10_31::Keys CertificateOperations = Azure::Automation::Mgmt::V2015_10_31::CertificateOperations ConnectionOperations = Azure::Automation::Mgmt::V2015_10_31::ConnectionOperations @@ -25,77 +39,8 @@ module Mgmt DscNodeConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeConfigurationOperations HybridRunbookWorkerGroupOperations = Azure::Automation::Mgmt::V2015_10_31::HybridRunbookWorkerGroupOperations JobOperations = Azure::Automation::Mgmt::V2015_10_31::JobOperations - JobStreamOperations = Azure::Automation::Mgmt::V2015_10_31::JobStreamOperations - JobScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::JobScheduleOperations - LinkedWorkspaceOperations = Azure::Automation::Mgmt::V2015_10_31::LinkedWorkspaceOperations - ActivityOperations = Azure::Automation::Mgmt::V2015_10_31::ActivityOperations - ModuleModelOperations = Azure::Automation::Mgmt::V2015_10_31::ModuleModelOperations - ObjectDataTypes = Azure::Automation::Mgmt::V2015_10_31::ObjectDataTypes - Fields = Azure::Automation::Mgmt::V2015_10_31::Fields - RunbookDraftOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookDraftOperations - RunbookOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookOperations - TestJobStreams = Azure::Automation::Mgmt::V2015_10_31::TestJobStreams - TestJobOperations = Azure::Automation::Mgmt::V2015_10_31::TestJobOperations - ScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::ScheduleOperations - VariableOperations = Azure::Automation::Mgmt::V2015_10_31::VariableOperations - WebhookOperations = Azure::Automation::Mgmt::V2015_10_31::WebhookOperations module Models - AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration - ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse - AgentRegistrationRegenerateKeyParameter = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter - KeyListResult = Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult - DscCompilationJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters - Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage - JobStream = Azure::Automation::Mgmt::V2015_10_31::Models::JobStream - Statistics = Azure::Automation::Mgmt::V2015_10_31::Models::Statistics - JobStreamListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult - RunbookAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty - DscCompilationJobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult - AgentRegistrationKeys = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys - Key = Azure::Automation::Mgmt::V2015_10_31::Models::Key - DscConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty - UsageCounterName = Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName - JobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters - UsageListResult = Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult - JobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult - StatisticsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult - Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job - VariableUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters - RunbookParameter = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter - VariableListResult = Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult - ContentLink = Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink - WebhookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters - DscNodeConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult - DscConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult - DscNodeConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters - DscConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters - DscConfigurationParameter = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter - DscConfigurationUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters - WebhookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters - DscMetaConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration - WebhookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult - DscNodeConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty - OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay - DscNodeExtensionHandlerAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty - OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult - DscNodeUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters - AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters - DscReportError = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError - CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters - DscReportResourceNavigation = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation - ConnectionListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult - DscReportResource = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource - ConnectionCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters - DscNodeReport = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport - ConnectionType = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType - DscNodeReportListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult - ConnectionTypeCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters - HybridRunbookWorker = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker - CredentialUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters - RunAsCredentialAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty - ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter - HybridRunbookWorkerGroup = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup ActivityOutputType = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType HybridRunbookWorkerGroupsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupsListResult ActivityListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult @@ -103,15 +48,12 @@ module Models AdvancedSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule ScheduleAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleAssociationProperty JobScheduleCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters - Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource JobSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::JobSchedule RunbookDraft = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft JobScheduleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleListResult ContentSource = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource LinkedWorkspace = Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace - Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku ModuleCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters - Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation ModuleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult CertificateListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult ModuleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters @@ -135,33 +77,35 @@ module Models ScheduleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters ActivityParameterSet = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet ScheduleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult + OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay ConnectionTypeAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty - SubResource = Azure::Automation::Mgmt::V2015_10_31::Models::SubResource - AutomationAccountListResult = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult + OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult TestJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters - CredentialListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult + AutomationAccountListResult = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult TestJob = Azure::Automation::Mgmt::V2015_10_31::Models::TestJob - ModuleErrorInfo = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo + CredentialListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult TypeField = Azure::Automation::Mgmt::V2015_10_31::Models::TypeField - AdvancedScheduleMonthlyOccurrence = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + ModuleErrorInfo = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo TypeFieldListResult = Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult - CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters - VariableCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters + ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse ProxyResource = Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource + VariableCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters + AdvancedScheduleMonthlyOccurrence = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation + DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob Webhook = Azure::Automation::Mgmt::V2015_10_31::Models::Webhook Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable - DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook Credential = Azure::Automation::Mgmt::V2015_10_31::Models::Credential - Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection - Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate TrackedResource = Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource - Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook + AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount ModuleModel = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel DscConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration - AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount + AutomationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration - AutomationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName + Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job AutomationKeyPermissions = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions JobProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus @@ -171,18 +115,74 @@ module Models ModuleProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState ContentSourceType = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSourceType DscConfigurationProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState - DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku SkuNameEnum = Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum AutomationAccountState = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState ScheduleDay = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay - AgentRegistrationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName - JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType + DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + SubResource = Azure::Automation::Mgmt::V2015_10_31::Models::SubResource HttpStatusCode = Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency + AgentRegistrationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName + JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType + Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage + UsageListResult = Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult + Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource + Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection + AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + AgentRegistrationRegenerateKeyParameter = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + KeyListResult = Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult + DscCompilationJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters + JobStream = Azure::Automation::Mgmt::V2015_10_31::Models::JobStream + Statistics = Azure::Automation::Mgmt::V2015_10_31::Models::Statistics + JobStreamListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult + RunbookAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty + DscCompilationJobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult + AgentRegistrationKeys = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys + Key = Azure::Automation::Mgmt::V2015_10_31::Models::Key + DscConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty + UsageCounterName = Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + JobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters + JobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult + StatisticsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult + VariableUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters + RunbookParameter = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter + VariableListResult = Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult + ContentLink = Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink + WebhookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters + DscNodeConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult + DscConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult + DscNodeConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters + DscConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters + DscConfigurationParameter = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter + DscConfigurationUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters + WebhookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters + DscMetaConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration + WebhookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult + DscNodeConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty + DscNodeExtensionHandlerAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + DscNodeUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters + AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + DscReportError = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError + CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters + DscReportResourceNavigation = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation + ConnectionListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult + DscReportResource = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource + ConnectionCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters + DscNodeReport = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport + ConnectionType = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType + DscNodeReportListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult + ConnectionTypeCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters + HybridRunbookWorker = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker + CredentialUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters + RunAsCredentialAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty + ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter + HybridRunbookWorkerGroup = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup end class AutomationManagementClass - attr_reader :automation_account_operations, :operations, :statistics_operations, :usages, :keys, :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, :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, :configurable, :base_url, :options, :model_classes + attr_reader :job_stream_operations, :job_schedule_operations, :linked_workspace_operations, :activity_operations, :module_model_operations, :object_data_types, :usages, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :operations, :automation_account_operations, :statistics_operations, :keys, :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, :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,24 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @automation_account_operations = @client_0.automation_account_operations + @job_stream_operations = @client_0.job_stream_operations + @job_schedule_operations = @client_0.job_schedule_operations + @linked_workspace_operations = @client_0.linked_workspace_operations + @activity_operations = @client_0.activity_operations + @module_model_operations = @client_0.module_model_operations + @object_data_types = @client_0.object_data_types + @usages = @client_0.usages + @fields = @client_0.fields + @runbook_draft_operations = @client_0.runbook_draft_operations + @runbook_operations = @client_0.runbook_operations + @test_job_streams = @client_0.test_job_streams + @test_job_operations = @client_0.test_job_operations + @schedule_operations = @client_0.schedule_operations + @variable_operations = @client_0.variable_operations + @webhook_operations = @client_0.webhook_operations @operations = @client_0.operations + @automation_account_operations = @client_0.automation_account_operations @statistics_operations = @client_0.statistics_operations - @usages = @client_0.usages @keys = @client_0.keys @certificate_operations = @client_0.certificate_operations @connection_operations = @client_0.connection_operations @@ -210,20 +224,6 @@ def initialize(configurable, base_url=nil, options=nil) @dsc_node_configuration_operations = @client_0.dsc_node_configuration_operations @hybrid_runbook_worker_group_operations = @client_0.hybrid_runbook_worker_group_operations @job_operations = @client_0.job_operations - @job_stream_operations = @client_0.job_stream_operations - @job_schedule_operations = @client_0.job_schedule_operations - @linked_workspace_operations = @client_0.linked_workspace_operations - @activity_operations = @client_0.activity_operations - @module_model_operations = @client_0.module_model_operations - @object_data_types = @client_0.object_data_types - @fields = @client_0.fields - @runbook_draft_operations = @client_0.runbook_draft_operations - @runbook_operations = @client_0.runbook_operations - @test_job_streams = @client_0.test_job_streams - @test_job_operations = @client_0.test_job_operations - @schedule_operations = @client_0.schedule_operations - @variable_operations = @client_0.variable_operations - @webhook_operations = @client_0.webhook_operations @model_classes = ModelClasses.new end @@ -239,174 +239,9 @@ def method_missing(method, *args) else super end - end - - class ModelClasses - def agent_registration - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration - end - def error_response - Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse - end - def agent_registration_regenerate_key_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter - end - def key_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult - end - def dsc_compilation_job_create_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters - end - def usage - Azure::Automation::Mgmt::V2015_10_31::Models::Usage - end - def job_stream - Azure::Automation::Mgmt::V2015_10_31::Models::JobStream - end - def statistics - Azure::Automation::Mgmt::V2015_10_31::Models::Statistics - end - def job_stream_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult - end - def runbook_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty - end - def dsc_compilation_job_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult - end - def agent_registration_keys - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys - end - def key - Azure::Automation::Mgmt::V2015_10_31::Models::Key - end - def dsc_configuration_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty - end - def usage_counter_name - Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName - end - def job_create_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters - end - def usage_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult - end - def job_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult - end - def statistics_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult - end - def job - Azure::Automation::Mgmt::V2015_10_31::Models::Job - end - def variable_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters - end - def runbook_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter - end - def variable_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult - end - def content_link - Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink - end - def webhook_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters - end - def dsc_node_configuration_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult - end - def dsc_configuration_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult - end - def dsc_node_configuration_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters - end - def dsc_configuration_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters - end - def dsc_configuration_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter - end - def dsc_configuration_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters - end - def webhook_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters - end - def dsc_meta_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration - end - def webhook_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult - end - def dsc_node_configuration_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty - end - def operation_display - Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay - end - def dsc_node_extension_handler_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty - end - def operation_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult - end - def dsc_node_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters - end - def automation_account_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters - end - def dsc_report_error - Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError - end - def certificate_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters - end - def dsc_report_resource_navigation - Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation - end - def connection_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult - end - def dsc_report_resource - Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource - end - def connection_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters - end - def dsc_node_report - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport - end - def connection_type - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType - end - def dsc_node_report_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult - end - def connection_type_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters - end - def hybrid_runbook_worker - Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker - end - def credential_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters - end - def run_as_credential_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty - end - def activity_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter - end - def hybrid_runbook_worker_group - Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup - end + end + + class ModelClasses def activity_output_type Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType end @@ -428,9 +263,6 @@ def schedule_association_property def job_schedule_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters end - def resource - Azure::Automation::Mgmt::V2015_10_31::Models::Resource - end def job_schedule Azure::Automation::Mgmt::V2015_10_31::Models::JobSchedule end @@ -446,15 +278,9 @@ def content_source def linked_workspace Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace end - def sku - Azure::Automation::Mgmt::V2015_10_31::Models::Sku - end def module_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters end - def operation - Azure::Automation::Mgmt::V2015_10_31::Models::Operation - end def module_list_result Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult end @@ -524,44 +350,56 @@ def activity_parameter_set def schedule_list_result Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult end + def operation_display + Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + end def connection_type_association_property Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty end - def sub_resource - Azure::Automation::Mgmt::V2015_10_31::Models::SubResource - end - def automation_account_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult + def operation_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult end def test_job_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters end - def credential_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult + def automation_account_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult end def test_job Azure::Automation::Mgmt::V2015_10_31::Models::TestJob end - def module_error_info - Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo + def credential_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult end def type_field Azure::Automation::Mgmt::V2015_10_31::Models::TypeField end - def advanced_schedule_monthly_occurrence - Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + def module_error_info + Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo end def type_field_list_result Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult end - def certificate_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + def error_response + Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse + end + def proxy_resource + Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource end def variable_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters end - def proxy_resource - Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource + def advanced_schedule_monthly_occurrence + Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + end + def certificate_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + end + def operation + Azure::Automation::Mgmt::V2015_10_31::Models::Operation + end + def dsc_compilation_job + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob end def webhook Azure::Automation::Mgmt::V2015_10_31::Models::Webhook @@ -569,23 +407,17 @@ def webhook def variable Azure::Automation::Mgmt::V2015_10_31::Models::Variable end - def dsc_compilation_job - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + def runbook + Azure::Automation::Mgmt::V2015_10_31::Models::Runbook end def credential Azure::Automation::Mgmt::V2015_10_31::Models::Credential end - def connection - Azure::Automation::Mgmt::V2015_10_31::Models::Connection - end - def certificate - Azure::Automation::Mgmt::V2015_10_31::Models::Certificate - end def tracked_resource Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource end - def runbook - Azure::Automation::Mgmt::V2015_10_31::Models::Runbook + def automation_account + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount end def module_model Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel @@ -593,8 +425,8 @@ def module_model def dsc_configuration Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration end - def automation_account - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount + def automation_key_name + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName end def dsc_node Azure::Automation::Mgmt::V2015_10_31::Models::DscNode @@ -602,8 +434,8 @@ def dsc_node def dsc_node_configuration Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration end - def automation_key_name - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName + def job + Azure::Automation::Mgmt::V2015_10_31::Models::Job end def automation_key_permissions Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions @@ -632,8 +464,8 @@ def content_source_type 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 sku + Azure::Automation::Mgmt::V2015_10_31::Models::Sku end def sku_name_enum Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum @@ -644,11 +476,11 @@ def automation_account_state def schedule_day Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay end - def agent_registration_key_name - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName + def dsc_configuration_state + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState end - def job_stream_type - Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType + def sub_resource + Azure::Automation::Mgmt::V2015_10_31::Models::SubResource end def http_status_code Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode @@ -656,6 +488,174 @@ def http_status_code def schedule_frequency Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency end + def agent_registration_key_name + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName + end + def job_stream_type + Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType + end + def usage + Azure::Automation::Mgmt::V2015_10_31::Models::Usage + end + def usage_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult + end + def resource + Azure::Automation::Mgmt::V2015_10_31::Models::Resource + end + def certificate + Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + end + def connection + Azure::Automation::Mgmt::V2015_10_31::Models::Connection + end + def agent_registration + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + end + def agent_registration_regenerate_key_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + end + def key_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult + end + def dsc_compilation_job_create_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters + end + def job_stream + Azure::Automation::Mgmt::V2015_10_31::Models::JobStream + end + def statistics + Azure::Automation::Mgmt::V2015_10_31::Models::Statistics + end + def job_stream_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult + end + def runbook_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty + end + def dsc_compilation_job_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult + end + def agent_registration_keys + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys + end + def key + Azure::Automation::Mgmt::V2015_10_31::Models::Key + end + def dsc_configuration_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty + end + def usage_counter_name + Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + end + def job_create_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters + end + def job_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult + end + def statistics_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult + end + def variable_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters + end + def runbook_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter + end + def variable_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult + end + def content_link + Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink + end + def webhook_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters + end + def dsc_node_configuration_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult + end + def dsc_configuration_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult + end + def dsc_node_configuration_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters + end + def dsc_configuration_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters + end + def dsc_configuration_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter + end + def dsc_configuration_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters + end + def webhook_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters + end + def dsc_meta_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration + end + def webhook_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult + end + def dsc_node_configuration_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty + end + def dsc_node_extension_handler_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + end + def dsc_node_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters + end + def automation_account_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + end + def dsc_report_error + Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError + end + def certificate_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters + end + def dsc_report_resource_navigation + Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation + end + def connection_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult + end + def dsc_report_resource + Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource + end + def connection_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters + end + def dsc_node_report + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport + end + def connection_type + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType + end + def dsc_node_report_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult + end + def connection_type_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters + end + def hybrid_runbook_worker + Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker + end + def credential_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters + end + def run_as_credential_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty + end + def activity_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter + end + def hybrid_runbook_worker_group + Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup + end end end end diff --git a/azure_sdk/lib/latest/modules/batch_profile_module.rb b/azure_sdk/lib/latest/modules/batch_profile_module.rb index 3145f68949..acae668e51 100644 --- a/azure_sdk/lib/latest/modules/batch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/batch_profile_module.rb @@ -7,98 +7,98 @@ module Azure::Profiles::Latest module Batch module Mgmt - BatchAccountOperations = Azure::Batch::Mgmt::V2017_09_01::BatchAccountOperations - ApplicationPackageOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationPackageOperations - ApplicationOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationOperations 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 module Models - FixedScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings - AutoStorageBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties - AutoScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings - BatchAccountCreateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountCreateParameters - ScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings - KeyVaultReference = Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference - BatchAccountUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters - OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay - BatchAccountRegenerateKeyParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters - OperationListResult = Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult - ActivateApplicationPackageParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters - AutoScaleRunError = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError - ApplicationPackage = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage - AutoScaleRun = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun - 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 - InboundNatPool = Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool - ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource - 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 - 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 - OSDisk = Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk UserAccount = Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount - DataDisk = Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk + OSDisk = Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk MetadataItem = Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem - DeploymentConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration ResourceFile = Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile BatchAccountKeys = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountKeys + DeploymentConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration EnvironmentSetting = Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting - Application = Azure::Batch::Mgmt::V2017_09_01::Models::Application AutoUserSpecification = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification - Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource UserIdentity = Azure::Batch::Mgmt::V2017_09_01::Models::UserIdentity - CheckNameAvailabilityResult = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult + Application = Azure::Batch::Mgmt::V2017_09_01::Models::Application StartTask = Azure::Batch::Mgmt::V2017_09_01::Models::StartTask - ImageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference - 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 + CertificateReference = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference ApplicationCreateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters ResizeError = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError CertificateBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties - ResizeOperationStatus = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus + ImageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference WindowsConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration - Operation = Azure::Batch::Mgmt::V2017_09_01::Models::Operation + ResizeOperationStatus = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus ApplicationUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters ListPoolsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult BatchAccountListResult = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult - ListCertificatesResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + InboundNatPool = Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool AutoStorageProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties BatchAccount = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount + ListCertificatesResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + PoolAllocationMode = Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate - CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters Pool = Azure::Batch::Mgmt::V2017_09_01::Models::Pool - PoolAllocationMode = Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode - ProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState - AccountKeyType = Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType - PackageState = Azure::Batch::Mgmt::V2017_09_01::Models::PackageState CertificateFormat = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat + DataDisk = Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk + PackageState = Azure::Batch::Mgmt::V2017_09_01::Models::PackageState + AllocationState = Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState CertificateProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState + OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay + ComputeNodeDeallocationOption = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption + OperationListResult = Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult + CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState - AllocationState = Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState + AccountKeyType = Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType CachingType = Azure::Batch::Mgmt::V2017_09_01::Models::CachingType StorageAccountType = Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType - ComputeNodeDeallocationOption = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption + ComputeNodeFillType = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType InterNodeCommunicationState = Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState - InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol + ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource NetworkSecurityGroupRuleAccess = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRuleAccess - ComputeNodeFillType = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType + 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 + Operation = Azure::Batch::Mgmt::V2017_09_01::Models::Operation CertificateStoreLocation = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation - CertificateVisibility = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility + InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol NameAvailabilityReason = Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason + CheckNameAvailabilityResult = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult + Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource + ProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState + FixedScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings + AutoStorageBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties + AutoScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings + BatchAccountCreateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountCreateParameters + ScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings + KeyVaultReference = Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference + 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 + ApplicationPackage = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage + AutoScaleRun = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun + 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 + TaskSchedulingPolicy = Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy + CloudServiceConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration end class BatchManagementClass - attr_reader :batch_account_operations, :application_package_operations, :application_operations, :location, :operations, :certificate_operations, :pool_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 @@ -108,12 +108,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @batch_account_operations = @client_0.batch_account_operations - @application_package_operations = @client_0.application_package_operations - @application_operations = @client_0.application_operations @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 @model_classes = ModelClasses.new @@ -133,138 +133,51 @@ def method_missing(method, *args) end class ModelClasses - def fixed_scale_settings - Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings - end - def auto_storage_base_properties - Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties - end - def auto_scale_settings - Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings - end - def batch_account_create_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountCreateParameters - end - def scale_settings - Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings - end - def key_vault_reference - Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference - end - def batch_account_update_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters - end - def operation_display - Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay - end - def batch_account_regenerate_key_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters - end - def operation_list_result - Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult - end - 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 application_package - Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage - end - 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 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 inbound_nat_pool - Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool - end - def proxy_resource - Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource - end - 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 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 osdisk - Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk - end def user_account Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount end - def data_disk - Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk + def osdisk + Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk end def metadata_item Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem end - def deployment_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration - end def resource_file Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile end def batch_account_keys Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountKeys end + def deployment_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration + end def environment_setting Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting end - def application - Azure::Batch::Mgmt::V2017_09_01::Models::Application - end def auto_user_specification Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification end - def resource - Azure::Batch::Mgmt::V2017_09_01::Models::Resource - end def user_identity Azure::Batch::Mgmt::V2017_09_01::Models::UserIdentity end - def check_name_availability_result - Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult + def application + Azure::Batch::Mgmt::V2017_09_01::Models::Application end def start_task Azure::Batch::Mgmt::V2017_09_01::Models::StartTask end - def image_reference - Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference - end - def certificate_reference - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference - end 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 end + def certificate_reference + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference + end def application_create_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters end @@ -274,14 +187,14 @@ def resize_error def certificate_base_properties Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties end - def resize_operation_status - Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus + def image_reference + Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference end def windows_configuration Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration end - def operation - Azure::Batch::Mgmt::V2017_09_01::Models::Operation + def resize_operation_status + Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus end def application_update_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters @@ -292,8 +205,8 @@ def list_pools_result def batch_account_list_result Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult end - def list_certificates_result - Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + def inbound_nat_pool + Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool end def auto_storage_properties Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties @@ -301,38 +214,50 @@ def auto_storage_properties def batch_account Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount end + def list_certificates_result + Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + end + def pool_allocation_mode + Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode + 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 pool Azure::Batch::Mgmt::V2017_09_01::Models::Pool end - def pool_allocation_mode - Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode - end - def provisioning_state - Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState + def certificate_format + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat end - def account_key_type - Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType + def data_disk + Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk end def package_state Azure::Batch::Mgmt::V2017_09_01::Models::PackageState end - def certificate_format - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat + def allocation_state + Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState end def certificate_provisioning_state Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState end + def operation_display + Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay + end + def compute_node_deallocation_option + Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption + end + def operation_list_result + Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult + end + def certificate_create_or_update_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + end def pool_provisioning_state Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState end - def allocation_state - Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState + def account_key_type + Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType end def caching_type Azure::Batch::Mgmt::V2017_09_01::Models::CachingType @@ -340,20 +265,20 @@ def caching_type 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 + 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 end - def inbound_endpoint_protocol - Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol + def proxy_resource + Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource end def network_security_group_rule_access Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRuleAccess end - def compute_node_fill_type - Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType + def certificate_visibility + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility end def elevation_level Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel @@ -361,15 +286,90 @@ def elevation_level def auto_user_scope Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope end + def operation + Azure::Batch::Mgmt::V2017_09_01::Models::Operation + end def certificate_store_location Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation end - def certificate_visibility - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility + def inbound_endpoint_protocol + Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol end def name_availability_reason Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason end + def check_name_availability_result + Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult + end + def resource + Azure::Batch::Mgmt::V2017_09_01::Models::Resource + end + def provisioning_state + Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState + end + def fixed_scale_settings + Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings + end + def auto_storage_base_properties + Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties + end + def auto_scale_settings + Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings + end + def batch_account_create_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountCreateParameters + end + def scale_settings + Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings + end + def key_vault_reference + Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference + end + def batch_account_update_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters + end + def batch_account_regenerate_key_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters + end + 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 application_package + Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage + end + 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 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 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 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 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 2ec2daaeb2..0259fae8b7 100644 --- a/azure_sdk/lib/latest/modules/billing_profile_module.rb +++ b/azure_sdk/lib/latest/modules/billing_profile_module.rb @@ -7,26 +7,26 @@ module Azure::Profiles::Latest module Billing module Mgmt + Operations = Azure::Billing::Mgmt::V2017_04_24_preview::Operations BillingPeriods = Azure::Billing::Mgmt::V2017_04_24_preview::BillingPeriods Invoices = Azure::Billing::Mgmt::V2017_04_24_preview::Invoices - Operations = Azure::Billing::Mgmt::V2017_04_24_preview::Operations module Models - Resource = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource + Operation = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation + OperationDisplay = Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay BillingPeriodsListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriodsListResult InvoicesListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::InvoicesListResult - ErrorDetails = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails - OperationDisplay = Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay DownloadUrl = Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl - Operation = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation - ErrorResponse = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse + Resource = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource + ErrorDetails = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails + Invoice = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice OperationListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult + ErrorResponse = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse BillingPeriod = Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriod - Invoice = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice end class BillingManagementClass - attr_reader :billing_periods, :invoices, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :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 @@ -36,9 +36,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 @billing_periods = @client_0.billing_periods @invoices = @client_0.invoices - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -57,8 +57,11 @@ def method_missing(method, *args) end class ModelClasses - def resource - Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource + def operation + Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation + end + def operation_display + Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay end def billing_periods_list_result Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriodsListResult @@ -66,30 +69,27 @@ def billing_periods_list_result def invoices_list_result Azure::Billing::Mgmt::V2017_04_24_preview::Models::InvoicesListResult end - def error_details - Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails - end - def operation_display - Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay - end def download_url Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl end - def operation - Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation + def resource + Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource end - def error_response - Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse + def error_details + Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails + end + def invoice + Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice end def operation_list_result Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult end + def error_response + Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse + end def billing_period Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriod end - def invoice - Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice - 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 5c103f5df4..f82d91819b 100644 --- a/azure_sdk/lib/latest/modules/cdn_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cdn_profile_module.rb @@ -7,38 +7,15 @@ module Azure::Profiles::Latest module CDN module Mgmt - Profiles = Azure::CDN::Mgmt::V2017_10_12::Profiles Endpoints = Azure::CDN::Mgmt::V2017_10_12::Endpoints + Operations = Azure::CDN::Mgmt::V2017_10_12::Operations + 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 - Operations = Azure::CDN::Mgmt::V2017_10_12::Operations EdgeNodes = Azure::CDN::Mgmt::V2017_10_12::EdgeNodes module Models - OriginUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters - Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku - 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 - SsoUri = Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri - LoadParameters = Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters - 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 - 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 - ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse - ValidateCustomDomainInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput - IpAddressGroup = Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup - ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput - Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource 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 @@ -51,20 +28,14 @@ module Models UrlFileExtensionConditionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::UrlFileExtensionConditionParameters ResourceUsageListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsageListResult EndpointPropertiesUpdateParametersDeliveryPolicy = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointPropertiesUpdateParametersDeliveryPolicy - OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay SupportedOptimizationTypesListResult = Azure::CDN::Mgmt::V2017_10_12::Models::SupportedOptimizationTypesListResult - Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation Profile = Azure::CDN::Mgmt::V2017_10_12::Models::Profile Endpoint = Azure::CDN::Mgmt::V2017_10_12::Models::Endpoint 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 Origin = Azure::CDN::Mgmt::V2017_10_12::Models::Origin - ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource - CustomDomain = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain EdgeNode = Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode - TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource - SkuName = Azure::CDN::Mgmt::V2017_10_12::Models::SkuName ProfileResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState OptimizationType = Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType EndpointResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState @@ -75,10 +46,39 @@ module Models CustomHttpsProvisioningState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState CustomHttpsProvisioningSubstate = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate ResourceType = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType + OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay + ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse + ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation + TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource + Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku + CustomDomain = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain + Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource + 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 + SsoUri = Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri + LoadParameters = Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters + 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 + 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 + ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput end class CDNManagementClass - attr_reader :profiles, :endpoints, :origins, :custom_domains, :resource_usage_operations, :operations, :edge_nodes, :configurable, :base_url, :options, :model_classes + attr_reader :endpoints, :operations, :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,12 +88,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @profiles = @client_0.profiles @endpoints = @client_0.endpoints + @operations = @client_0.operations + @profiles = @client_0.profiles @origins = @client_0.origins @custom_domains = @client_0.custom_domains @resource_usage_operations = @client_0.resource_usage_operations - @operations = @client_0.operations @edge_nodes = @client_0.edge_nodes @model_classes = ModelClasses.new @@ -113,75 +113,6 @@ def method_missing(method, *args) end class ModelClasses - def origin_update_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters - end - def sku - Azure::CDN::Mgmt::V2017_10_12::Models::Sku - end - def origin_list_result - Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult - end - 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 sso_uri - Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri - end - def load_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters - 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 - def endpoint_list_result - Azure::CDN::Mgmt::V2017_10_12::Models::EndpointListResult - end - def operations_list_result - Azure::CDN::Mgmt::V2017_10_12::Models::OperationsListResult - end - def delivery_rule_action - Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleAction - end - def profile_update_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters - end - def delivery_rule - Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule - end - def endpoint_update_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters - end - 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 custom_domain_list_result - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult - end - def error_response - Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse - 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 validate_custom_domain_output - Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput - end - def resource - Azure::CDN::Mgmt::V2017_10_12::Models::Resource - end def check_name_availability_input Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput end @@ -218,15 +149,9 @@ def resource_usage_list_result def endpoint_properties_update_parameters_delivery_policy Azure::CDN::Mgmt::V2017_10_12::Models::EndpointPropertiesUpdateParametersDeliveryPolicy end - def operation_display - Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay - end def supported_optimization_types_list_result Azure::CDN::Mgmt::V2017_10_12::Models::SupportedOptimizationTypesListResult end - def operation - Azure::CDN::Mgmt::V2017_10_12::Models::Operation - end def profile Azure::CDN::Mgmt::V2017_10_12::Models::Profile end @@ -245,21 +170,9 @@ def delivery_rule_cache_expiration_action def origin Azure::CDN::Mgmt::V2017_10_12::Models::Origin end - def proxy_resource - Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource - end - def custom_domain - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain - end def edge_node Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode end - def tracked_resource - Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource - end - def sku_name - Azure::CDN::Mgmt::V2017_10_12::Models::SkuName - end def profile_resource_state Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState end @@ -290,6 +203,93 @@ def custom_https_provisioning_substate def resource_type Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType end + def operation_display + Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay + end + def error_response + Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse + end + def proxy_resource + Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + end + def operation + Azure::CDN::Mgmt::V2017_10_12::Models::Operation + end + def tracked_resource + Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource + end + def sku + Azure::CDN::Mgmt::V2017_10_12::Models::Sku + end + def custom_domain + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain + end + def resource + Azure::CDN::Mgmt::V2017_10_12::Models::Resource + end + def sku_name + Azure::CDN::Mgmt::V2017_10_12::Models::SkuName + end + def origin_update_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters + end + def origin_list_result + Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult + end + 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 sso_uri + Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri + end + def load_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters + 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 + def endpoint_list_result + Azure::CDN::Mgmt::V2017_10_12::Models::EndpointListResult + end + def operations_list_result + Azure::CDN::Mgmt::V2017_10_12::Models::OperationsListResult + end + def delivery_rule_action + Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleAction + end + def profile_update_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters + end + def delivery_rule + Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule + end + def endpoint_update_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters + end + 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 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 validate_custom_domain_output + Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput + end 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 e704a6a300..0ca9f9cf2d 100644 --- a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb @@ -7,15 +7,14 @@ module Azure::Profiles::Latest module CognitiveServices module Mgmt - Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations + Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts CheckSkuAvailability = Azure::CognitiveServices::Mgmt::V2017_04_18::CheckSkuAvailability module Models CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody CognitiveServicesAccountCreateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters - Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount OperationDisplayInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo CognitiveServicesAccountKeys = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys @@ -28,16 +27,17 @@ module Models CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList + KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku SkuName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier + Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error Kind = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState - KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName end class CognitiveServicesManagementClass - attr_reader :accounts, :operations, :check_sku_availability, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :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 @@ -47,8 +47,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @accounts = @client_0.accounts @operations = @client_0.operations + @accounts = @client_0.accounts @check_sku_availability = @client_0.check_sku_availability @model_classes = ModelClasses.new @@ -77,9 +77,6 @@ def error_body def cognitive_services_account_create_parameters Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters end - def error - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error - end def cognitive_services_account Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount end @@ -116,6 +113,9 @@ def cognitive_services_account_list_result def check_sku_availability_result_list Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList end + def key_name + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName + end def sku Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku end @@ -125,15 +125,15 @@ def sku_name def sku_tier Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier end + def error + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + end def kind Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind end def provisioning_state Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState end - def key_name - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName - end 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..d0a33f4a88 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 + ErrorResponse = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse RecurringCharge = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge AggregationGranularity = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity + MonetaryCommitment = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment end class CommerceManagementClass @@ -77,14 +77,11 @@ 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 - def monetary_commitment - Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment + def error_response + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse end def recurring_charge Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge @@ -92,6 +89,9 @@ def recurring_charge def aggregation_granularity Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity end + def monetary_commitment + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment + 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 be64c5e0c4..63f397f731 100644 --- a/azure_sdk/lib/latest/modules/compute_profile_module.rb +++ b/azure_sdk/lib/latest/modules/compute_profile_module.rb @@ -10,26 +10,23 @@ module Mgmt Disks = Azure::Compute::Mgmt::V2018_04_01::Disks Snapshots = Azure::Compute::Mgmt::V2018_04_01::Snapshots ResourceSkus = Azure::Compute::Mgmt::V2017_09_01::ResourceSkus - Operations = Azure::Compute::Mgmt::V2017_12_01::Operations - AvailabilitySets = Azure::Compute::Mgmt::V2017_12_01::AvailabilitySets - VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensionImages - VirtualMachineExtensions = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensions VirtualMachines = Azure::Compute::Mgmt::V2017_12_01::VirtualMachines + Operations = Azure::Compute::Mgmt::V2017_12_01::Operations VirtualMachineImages = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineImages - UsageOperations = Azure::Compute::Mgmt::V2017_12_01::UsageOperations VirtualMachineSizes = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineSizes - Images = Azure::Compute::Mgmt::V2017_12_01::Images VirtualMachineScaleSets = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSets + UsageOperations = Azure::Compute::Mgmt::V2017_12_01::UsageOperations + VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSetVMs + Images = Azure::Compute::Mgmt::V2017_12_01::Images VirtualMachineScaleSetExtensions = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSetExtensions VirtualMachineScaleSetRollingUpgrades = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSetRollingUpgrades - VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSetVMs LogAnalytics = Azure::Compute::Mgmt::V2017_12_01::LogAnalytics VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineRunCommands + AvailabilitySets = Azure::Compute::Mgmt::V2017_12_01::AvailabilitySets + VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensionImages + VirtualMachineExtensions = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensions module Models - EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings - DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku - DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData DiskList = Azure::Compute::Mgmt::V2018_04_01::Models::DiskList KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference @@ -46,185 +43,188 @@ module Models DiskCreateOption = Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption SnapshotStorageAccountTypes = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotStorageAccountTypes AccessLevel = Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel + EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate ResourceSkuRestrictions = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo ResourceSkuCapabilities = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities - ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku ResourceSkuCosts = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts ResourceSkusResult = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult ResourceSkuRestrictionInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo ResourceSkuCapacityScaleType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType ResourceSkuRestrictionsType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType ResourceSkuRestrictionsReasonCode = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode - VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSProfile + ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku + StorageAccountTypes = Azure::Compute::Mgmt::V2017_12_01::Models::StorageAccountTypes + Sku = Azure::Compute::Mgmt::V2017_12_01::Models::Sku + SubResource = Azure::Compute::Mgmt::V2017_12_01::Models::SubResource + UsageName = Azure::Compute::Mgmt::V2017_12_01::Models::UsageName + Usage = Azure::Compute::Mgmt::V2017_12_01::Models::Usage ComputeOperationValue = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationValue VirtualMachineScaleSetUpdateOSProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSProfile - InstanceViewStatus = Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewStatus + Resource = Azure::Compute::Mgmt::V2017_12_01::Models::Resource VirtualMachineScaleSetManagedDiskParameters = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetManagedDiskParameters - Sku = Azure::Compute::Mgmt::V2017_12_01::Models::Sku - VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSDisk - VirtualMachineListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineListResult AutoOSUpgradePolicy = Azure::Compute::Mgmt::V2017_12_01::Models::AutoOSUpgradePolicy - VirtualMachineSize = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSize RollingUpgradePolicy = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradePolicy - UpgradePolicy = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradePolicy - VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView ImageOSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::ImageOSDisk RunCommandParameterDefinition = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandParameterDefinition ImageDataDisk = Azure::Compute::Mgmt::V2017_12_01::Models::ImageDataDisk - PurchasePlan = Azure::Compute::Mgmt::V2017_12_01::Models::PurchasePlan ImageStorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::ImageStorageProfile - DataDiskImage = Azure::Compute::Mgmt::V2017_12_01::Models::DataDiskImage - UpdateResource = Azure::Compute::Mgmt::V2017_12_01::Models::UpdateResource - UsageName = Azure::Compute::Mgmt::V2017_12_01::Models::UsageName - Resource = Azure::Compute::Mgmt::V2017_12_01::Models::Resource - ListUsagesResult = Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult ImageListResult = Azure::Compute::Mgmt::V2017_12_01::Models::ImageListResult RunCommandInputParameter = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInputParameter - VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIdentity - HardwareProfile = Azure::Compute::Mgmt::V2017_12_01::Models::HardwareProfile ComputeOperationListResult = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationListResult - KeyVaultSecretReference = Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultSecretReference - SubResource = Azure::Compute::Mgmt::V2017_12_01::Models::SubResource - DiskEncryptionSettings = Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings - VirtualHardDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualHardDisk RollingUpgradeProgressInfo = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeProgressInfo - OSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk - ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties - StorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::StorageProfile VirtualMachineScaleSetUpdateOSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSDisk - WinRMListener = Azure::Compute::Mgmt::V2017_12_01::Models::WinRMListener VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetDataDisk - WindowsConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::WindowsConfiguration - VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetStorageProfile - SshConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::SshConfiguration + InstanceViewStatus = Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewStatus + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateStorageProfile + VaultSecretGroup = Azure::Compute::Mgmt::V2017_12_01::Models::VaultSecretGroup + VirtualMachineSize = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSize VaultCertificate = Azure::Compute::Mgmt::V2017_12_01::Models::VaultCertificate - ApiEntityReference = Azure::Compute::Mgmt::V2017_12_01::Models::ApiEntityReference OSProfile = Azure::Compute::Mgmt::V2017_12_01::Models::OSProfile - VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings - NetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile - VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration - DiagnosticsProfile = Azure::Compute::Mgmt::V2017_12_01::Models::DiagnosticsProfile - VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration - VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineAgentInstanceView - RollingUpgradeRunningStatus = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeRunningStatus - BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnosticsInstanceView - VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult - MaintenanceRedeployStatus = Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus - VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings - RecoveryWalkResponse = Azure::Compute::Mgmt::V2017_12_01::Models::RecoveryWalkResponse - VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceView - AvailabilitySetListResult = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetListResult VirtualMachineHealthStatus = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineHealthStatus RunCommandListResult = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandListResult - VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkProfile - VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionsListResult VirtualMachineScaleSetUpdateNetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateNetworkProfile RunCommandInput = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInput VirtualMachineScaleSetListOSUpgradeHistory = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListOSUpgradeHistory - VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureParameters VirtualMachineScaleSetExtensionListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionListResult LogAnalyticsOutput = Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOutput - VirtualMachineScaleSetExtensionProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionProfile LogAnalyticsInputBase = Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsInputBase - VirtualMachineScaleSetVMProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMProfile - AdditionalUnattendContent = Azure::Compute::Mgmt::V2017_12_01::Models::AdditionalUnattendContent VirtualMachineScaleSetUpdateVMProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateVMProfile - SshPublicKey = Azure::Compute::Mgmt::V2017_12_01::Models::SshPublicKey + DiskInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::DiskInstanceView UpgradeOperationHistoricalStatusInfo = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfo - VaultSecretGroup = Azure::Compute::Mgmt::V2017_12_01::Models::VaultSecretGroup UpgradeOperationHistoricalStatusInfoProperties = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfoProperties BootDiagnostics = Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnostics + DiagnosticsProfile = Azure::Compute::Mgmt::V2017_12_01::Models::DiagnosticsProfile + VirtualMachineInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineInstanceView + VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView + NetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile + RollingUpgradeRunningStatus = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeRunningStatus + VirtualMachineListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineListResult + StorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::StorageProfile + WinRMListener = Azure::Compute::Mgmt::V2017_12_01::Models::WinRMListener + UpgradePolicy = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradePolicy + WindowsConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::WindowsConfiguration + VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIdentity + SshConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::SshConfiguration + VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSProfile + AvailabilitySetListResult = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetListResult + VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSDisk + ListUsagesResult = Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult + VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetStorageProfile + VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionsListResult + ApiEntityReference = Azure::Compute::Mgmt::V2017_12_01::Models::ApiEntityReference + ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties + VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceView + VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureParameters + RecoveryWalkResponse = Azure::Compute::Mgmt::V2017_12_01::Models::RecoveryWalkResponse + DiskEncryptionSettings = Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings + VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkProfile + VirtualHardDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualHardDisk + PurchasePlan = Azure::Compute::Mgmt::V2017_12_01::Models::PurchasePlan + AdditionalUnattendContent = Azure::Compute::Mgmt::V2017_12_01::Models::AdditionalUnattendContent + VirtualMachineScaleSetExtensionProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionProfile + SshPublicKey = Azure::Compute::Mgmt::V2017_12_01::Models::SshPublicKey + VirtualMachineScaleSetVMProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMProfile + VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeListResult + OSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk + BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnosticsInstanceView VirtualMachineScaleSetVMInstanceIDs = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs - DiskInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::DiskInstanceView + Plan = Azure::Compute::Mgmt::V2017_12_01::Models::Plan VirtualMachineScaleSetVMInstanceRequiredIDs = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs - VirtualMachineInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineInstanceView + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineStatusCodeCount - VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeListResult + MaintenanceRedeployStatus = Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus + VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary - OSDiskImage = Azure::Compute::Mgmt::V2017_12_01::Models::OSDiskImage VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMExtensionsSummary - Plan = Azure::Compute::Mgmt::V2017_12_01::Models::Plan + HardwareProfile = Azure::Compute::Mgmt::V2017_12_01::Models::HardwareProfile VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetInstanceView - DataDisk = Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk - VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListResult + KeyVaultSecretReference = Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultSecretReference + UpdateResource = Azure::Compute::Mgmt::V2017_12_01::Models::UpdateResource + VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration + VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineAgentInstanceView LinuxConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::LinuxConfiguration VirtualMachineScaleSetListWithLinkResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListWithLinkResult - VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionHandlerInstanceView + VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListResult + DataDisk = Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk VirtualMachineScaleSetSkuCapacity = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuCapacity - SubResourceReadOnly = Azure::Compute::Mgmt::V2017_12_01::Models::SubResourceReadOnly + OSDiskImage = Azure::Compute::Mgmt::V2017_12_01::Models::OSDiskImage + RollbackStatusInfo = Azure::Compute::Mgmt::V2017_12_01::Models::RollbackStatusInfo + UpgradeOperationHistoryStatus = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoryStatus + DataDiskImage = Azure::Compute::Mgmt::V2017_12_01::Models::DataDiskImage + VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult + VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionHandlerInstanceView + OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse + VirtualMachineExtension = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension VirtualMachineScaleSetSku = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSku - Usage = Azure::Compute::Mgmt::V2017_12_01::Models::Usage - VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult WinRMConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::WinRMConfiguration - ApiErrorBase = Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase + SubResourceReadOnly = Azure::Compute::Mgmt::V2017_12_01::Models::SubResourceReadOnly VirtualMachineIdentity = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineIdentity - InnerError = Azure::Compute::Mgmt::V2017_12_01::Models::InnerError - KeyVaultKeyReference = Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultKeyReference - ApiError = Azure::Compute::Mgmt::V2017_12_01::Models::ApiError - RunCommandDocumentBase = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocumentBase - RollbackStatusInfo = Azure::Compute::Mgmt::V2017_12_01::Models::RollbackStatusInfo - OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse - UpgradeOperationHistoryStatus = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoryStatus - AvailabilitySet = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet + VirtualMachine = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachine + VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult AvailabilitySetUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetUpdate - VirtualMachineExtensionImage = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionImage + AvailabilitySet = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet + ApiErrorBase = Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase VirtualMachineImageResource = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImageResource - VirtualMachineExtension = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension + KeyVaultKeyReference = Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultKeyReference VirtualMachineExtensionUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionUpdate - VirtualMachineImage = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImage + ApiError = Azure::Compute::Mgmt::V2017_12_01::Models::ApiError VirtualMachineCaptureResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureResult - ImageReference = Azure::Compute::Mgmt::V2017_12_01::Models::ImageReference - ManagedDiskParameters = Azure::Compute::Mgmt::V2017_12_01::Models::ManagedDiskParameters NetworkInterfaceReference = Azure::Compute::Mgmt::V2017_12_01::Models::NetworkInterfaceReference - VirtualMachine = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachine + InnerError = Azure::Compute::Mgmt::V2017_12_01::Models::InnerError + ImageReference = Azure::Compute::Mgmt::V2017_12_01::Models::ImageReference + VirtualMachineScaleSetNetworkConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfiguration + VirtualMachineScaleSetExtension = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtension + VirtualMachineImage = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImage VirtualMachineUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineUpdate Image = Azure::Compute::Mgmt::V2017_12_01::Models::Image ImageUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::ImageUpdate - VirtualMachineScaleSetIPConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIPConfiguration - VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration - VirtualMachineScaleSetNetworkConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfiguration + VirtualMachineExtensionImage = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionImage VirtualMachineScaleSetUpdateNetworkConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration - VirtualMachineScaleSetExtension = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtension - VirtualMachineScaleSet = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSet VirtualMachineScaleSetUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdate + VirtualMachineScaleSet = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSet VirtualMachineScaleSetVM = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVM + RunCommandDocumentBase = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocumentBase + LogAnalyticsOperationResult = Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOperationResult + RunCommandDocument = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocument + VirtualMachineScaleSetIPConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIPConfiguration + ManagedDiskParameters = Azure::Compute::Mgmt::V2017_12_01::Models::ManagedDiskParameters + PassNames = Azure::Compute::Mgmt::V2017_12_01::Models::PassNames + ComponentNames = Azure::Compute::Mgmt::V2017_12_01::Models::ComponentNames + SettingNames = Azure::Compute::Mgmt::V2017_12_01::Models::SettingNames + VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration + OperatingSystemTypes = Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemTypes + VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeTypes RollingUpgradeStatusInfo = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusInfo RequestRateByIntervalInput = Azure::Compute::Mgmt::V2017_12_01::Models::RequestRateByIntervalInput ThrottledRequestsInput = Azure::Compute::Mgmt::V2017_12_01::Models::ThrottledRequestsInput - LogAnalyticsOperationResult = Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOperationResult - RunCommandDocument = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocument RunCommandResult = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandResult StatusLevelTypes = Azure::Compute::Mgmt::V2017_12_01::Models::StatusLevelTypes - OperatingSystemTypes = Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemTypes - VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeTypes + UpgradeMode = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeMode + IPVersion = Azure::Compute::Mgmt::V2017_12_01::Models::IPVersion CachingTypes = Azure::Compute::Mgmt::V2017_12_01::Models::CachingTypes DiskCreateOptionTypes = Azure::Compute::Mgmt::V2017_12_01::Models::DiskCreateOptionTypes - StorageAccountTypes = Azure::Compute::Mgmt::V2017_12_01::Models::StorageAccountTypes - PassNames = Azure::Compute::Mgmt::V2017_12_01::Models::PassNames - ComponentNames = Azure::Compute::Mgmt::V2017_12_01::Models::ComponentNames - SettingNames = Azure::Compute::Mgmt::V2017_12_01::Models::SettingNames + UpgradeState = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeState + UpgradeOperationInvoker = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationInvoker + RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusCode ProtocolTypes = Azure::Compute::Mgmt::V2017_12_01::Models::ProtocolTypes ResourceIdentityType = Azure::Compute::Mgmt::V2017_12_01::Models::ResourceIdentityType + VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuScaleType + InstanceViewTypes = Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewTypes MaintenanceOperationResultCodeTypes = Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceOperationResultCodeTypes - UpgradeMode = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeMode OperatingSystemStateTypes = Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemStateTypes - IPVersion = Azure::Compute::Mgmt::V2017_12_01::Models::IPVersion VirtualMachinePriorityTypes = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachinePriorityTypes VirtualMachineEvictionPolicyTypes = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineEvictionPolicyTypes - VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuScaleType - UpgradeState = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeState - UpgradeOperationInvoker = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationInvoker - RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusCode RollingUpgradeActionType = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeActionType IntervalInMins = Azure::Compute::Mgmt::V2017_12_01::Models::IntervalInMins - InstanceViewTypes = Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewTypes end class ComputeManagementClass - attr_reader :disks, :snapshots, :resource_skus, :operations, :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, :log_analytics, :virtual_machine_run_commands, :configurable, :base_url, :options, :model_classes + attr_reader :disks, :snapshots, :resource_skus, :virtual_machines, :operations, :virtual_machine_images, :virtual_machine_sizes, :virtual_machine_scale_sets, :usage_operations, :virtual_machine_scale_set_vms, :images, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :log_analytics, :virtual_machine_run_commands, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -249,21 +249,21 @@ def initialize(configurable, base_url=nil, options=nil) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) - @operations = @client_2.operations - @availability_sets = @client_2.availability_sets - @virtual_machine_extension_images = @client_2.virtual_machine_extension_images - @virtual_machine_extensions = @client_2.virtual_machine_extensions @virtual_machines = @client_2.virtual_machines + @operations = @client_2.operations @virtual_machine_images = @client_2.virtual_machine_images - @usage_operations = @client_2.usage_operations @virtual_machine_sizes = @client_2.virtual_machine_sizes - @images = @client_2.images @virtual_machine_scale_sets = @client_2.virtual_machine_scale_sets + @usage_operations = @client_2.usage_operations + @virtual_machine_scale_set_vms = @client_2.virtual_machine_scale_set_vms + @images = @client_2.images @virtual_machine_scale_set_extensions = @client_2.virtual_machine_scale_set_extensions @virtual_machine_scale_set_rolling_upgrades = @client_2.virtual_machine_scale_set_rolling_upgrades - @virtual_machine_scale_set_vms = @client_2.virtual_machine_scale_set_vms @log_analytics = @client_2.log_analytics @virtual_machine_run_commands = @client_2.virtual_machine_run_commands + @availability_sets = @client_2.availability_sets + @virtual_machine_extension_images = @client_2.virtual_machine_extension_images + @virtual_machine_extensions = @client_2.virtual_machine_extensions @model_classes = ModelClasses.new end @@ -286,15 +286,6 @@ def method_missing(method, *args) end class ModelClasses - def encryption_settings - Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings - end - def disk_sku - Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku - end - def disk_update - Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate - end def creation_data Azure::Compute::Mgmt::V2018_04_01::Models::CreationData end @@ -343,6 +334,15 @@ def snapshot_storage_account_types def access_level Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel end + def encryption_settings + Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + end + def disk_sku + Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + end + def disk_update + Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate + end def resource_sku_restrictions Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions end @@ -355,9 +355,6 @@ def resource_sku_location_info def resource_sku_capabilities Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities end - def resource_sku - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku - end def resource_sku_costs Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts end @@ -376,45 +373,42 @@ def resource_sku_restrictions_type def resource_sku_restrictions_reason_code Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode end - def virtual_machine_scale_set_osprofile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSProfile - end - def compute_operation_value - Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationValue + def resource_sku + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku + end + def storage_account_types + Azure::Compute::Mgmt::V2017_12_01::Models::StorageAccountTypes + end + def sku + Azure::Compute::Mgmt::V2017_12_01::Models::Sku + end + def sub_resource + Azure::Compute::Mgmt::V2017_12_01::Models::SubResource + end + def usage_name + Azure::Compute::Mgmt::V2017_12_01::Models::UsageName + end + def usage + Azure::Compute::Mgmt::V2017_12_01::Models::Usage + end + def compute_operation_value + Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationValue end def virtual_machine_scale_set_update_osprofile Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSProfile end - def instance_view_status - Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewStatus + def resource + Azure::Compute::Mgmt::V2017_12_01::Models::Resource end def virtual_machine_scale_set_managed_disk_parameters Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetManagedDiskParameters end - def sku - Azure::Compute::Mgmt::V2017_12_01::Models::Sku - end - def virtual_machine_scale_set_osdisk - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSDisk - end - def virtual_machine_list_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineListResult - end def auto_osupgrade_policy Azure::Compute::Mgmt::V2017_12_01::Models::AutoOSUpgradePolicy end - def virtual_machine_size - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSize - end def rolling_upgrade_policy Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradePolicy end - def upgrade_policy - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradePolicy - end - def virtual_machine_extension_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView - end def image_osdisk Azure::Compute::Mgmt::V2017_12_01::Models::ImageOSDisk end @@ -424,236 +418,233 @@ def run_command_parameter_definition def image_data_disk Azure::Compute::Mgmt::V2017_12_01::Models::ImageDataDisk end - def purchase_plan - Azure::Compute::Mgmt::V2017_12_01::Models::PurchasePlan - end def image_storage_profile Azure::Compute::Mgmt::V2017_12_01::Models::ImageStorageProfile end - def data_disk_image - Azure::Compute::Mgmt::V2017_12_01::Models::DataDiskImage - end - def update_resource - Azure::Compute::Mgmt::V2017_12_01::Models::UpdateResource - end - def usage_name - Azure::Compute::Mgmt::V2017_12_01::Models::UsageName - end - def resource - Azure::Compute::Mgmt::V2017_12_01::Models::Resource - end - def list_usages_result - Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult - end def image_list_result Azure::Compute::Mgmt::V2017_12_01::Models::ImageListResult end def run_command_input_parameter Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInputParameter end - def virtual_machine_scale_set_identity - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIdentity - end - def hardware_profile - Azure::Compute::Mgmt::V2017_12_01::Models::HardwareProfile - end def compute_operation_list_result Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationListResult end - def key_vault_secret_reference - Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultSecretReference - end - def sub_resource - Azure::Compute::Mgmt::V2017_12_01::Models::SubResource - end - def disk_encryption_settings - Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings - end - def virtual_hard_disk - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualHardDisk - end def rolling_upgrade_progress_info Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeProgressInfo end - def osdisk - Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk - end - def compute_long_running_operation_properties - Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties - end - def storage_profile - Azure::Compute::Mgmt::V2017_12_01::Models::StorageProfile - end def virtual_machine_scale_set_update_osdisk Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSDisk end - def win_rmlistener - Azure::Compute::Mgmt::V2017_12_01::Models::WinRMListener - end def virtual_machine_scale_set_data_disk Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetDataDisk end - def windows_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::WindowsConfiguration - end - def virtual_machine_scale_set_storage_profile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetStorageProfile + def instance_view_status + Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewStatus end - def ssh_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::SshConfiguration + def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings end def virtual_machine_scale_set_update_storage_profile Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateStorageProfile end + def vault_secret_group + Azure::Compute::Mgmt::V2017_12_01::Models::VaultSecretGroup + end + def virtual_machine_size + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSize + end def vault_certificate Azure::Compute::Mgmt::V2017_12_01::Models::VaultCertificate end - def api_entity_reference - Azure::Compute::Mgmt::V2017_12_01::Models::ApiEntityReference - end def osprofile Azure::Compute::Mgmt::V2017_12_01::Models::OSProfile end - def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings + def virtual_machine_health_status + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineHealthStatus end - def network_profile - Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile + def run_command_list_result + Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandListResult end - def virtual_machine_scale_set_public_ipaddress_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration + def virtual_machine_scale_set_update_network_profile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateNetworkProfile + end + def run_command_input + Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInput + end + def virtual_machine_scale_set_list_osupgrade_history + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + end + def virtual_machine_scale_set_extension_list_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionListResult + end + def log_analytics_output + Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOutput + end + def log_analytics_input_base + Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsInputBase + end + def virtual_machine_scale_set_update_vmprofile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateVMProfile + end + def disk_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::DiskInstanceView + end + def upgrade_operation_historical_status_info + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfo + end + def upgrade_operation_historical_status_info_properties + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfoProperties + end + def boot_diagnostics + Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnostics end def diagnostics_profile Azure::Compute::Mgmt::V2017_12_01::Models::DiagnosticsProfile end - def virtual_machine_scale_set_update_public_ipaddress_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration + def virtual_machine_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineInstanceView end - def virtual_machine_agent_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineAgentInstanceView + def virtual_machine_extension_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView + end + def network_profile + Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile end def rolling_upgrade_running_status Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeRunningStatus end - def boot_diagnostics_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnosticsInstanceView + def virtual_machine_list_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineListResult end - def virtual_machine_scale_set_vmlist_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult + def storage_profile + Azure::Compute::Mgmt::V2017_12_01::Models::StorageProfile end - def maintenance_redeploy_status - Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus + def win_rmlistener + Azure::Compute::Mgmt::V2017_12_01::Models::WinRMListener end - def virtual_machine_scale_set_network_configuration_dns_settings - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings + def upgrade_policy + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradePolicy end - def recovery_walk_response - Azure::Compute::Mgmt::V2017_12_01::Models::RecoveryWalkResponse + def windows_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::WindowsConfiguration end - def virtual_machine_scale_set_vminstance_view - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceView + def virtual_machine_scale_set_identity + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIdentity + end + def ssh_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::SshConfiguration + end + def virtual_machine_scale_set_osprofile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSProfile end def availability_set_list_result Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetListResult end - def virtual_machine_health_status - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineHealthStatus + def virtual_machine_scale_set_osdisk + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSDisk end - def run_command_list_result - Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandListResult + def list_usages_result + Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult end - def virtual_machine_scale_set_network_profile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkProfile + def virtual_machine_scale_set_storage_profile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetStorageProfile end def virtual_machine_extensions_list_result Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionsListResult end - def virtual_machine_scale_set_update_network_profile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateNetworkProfile + def api_entity_reference + Azure::Compute::Mgmt::V2017_12_01::Models::ApiEntityReference end - def run_command_input - Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInput + def compute_long_running_operation_properties + Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties end - def virtual_machine_scale_set_list_osupgrade_history - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + def virtual_machine_scale_set_vminstance_view + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceView end def virtual_machine_capture_parameters Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureParameters end - def virtual_machine_scale_set_extension_list_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionListResult + def recovery_walk_response + Azure::Compute::Mgmt::V2017_12_01::Models::RecoveryWalkResponse end - def log_analytics_output - Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOutput + def disk_encryption_settings + Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings end - def virtual_machine_scale_set_extension_profile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionProfile + def virtual_machine_scale_set_network_profile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkProfile end - def log_analytics_input_base - Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsInputBase + def virtual_hard_disk + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualHardDisk end - def virtual_machine_scale_set_vmprofile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMProfile + def purchase_plan + Azure::Compute::Mgmt::V2017_12_01::Models::PurchasePlan end def additional_unattend_content Azure::Compute::Mgmt::V2017_12_01::Models::AdditionalUnattendContent end - def virtual_machine_scale_set_update_vmprofile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateVMProfile + def virtual_machine_scale_set_extension_profile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionProfile end def ssh_public_key Azure::Compute::Mgmt::V2017_12_01::Models::SshPublicKey end - def upgrade_operation_historical_status_info - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfo + def virtual_machine_scale_set_vmprofile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMProfile end - def vault_secret_group - Azure::Compute::Mgmt::V2017_12_01::Models::VaultSecretGroup + def virtual_machine_size_list_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeListResult end - def upgrade_operation_historical_status_info_properties - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfoProperties + def osdisk + Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk end - def boot_diagnostics - Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnostics + def boot_diagnostics_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnosticsInstanceView end def virtual_machine_scale_set_vminstance_ids Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs end - def disk_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::DiskInstanceView + def plan + Azure::Compute::Mgmt::V2017_12_01::Models::Plan end def virtual_machine_scale_set_vminstance_required_ids Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs end - def virtual_machine_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineInstanceView + def virtual_machine_scale_set_update_public_ipaddress_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration end def virtual_machine_status_code_count Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineStatusCodeCount end - def virtual_machine_size_list_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeListResult + def maintenance_redeploy_status + Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus + end + def virtual_machine_scale_set_network_configuration_dns_settings + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings end def virtual_machine_scale_set_instance_view_statuses_summary Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary end - def osdisk_image - Azure::Compute::Mgmt::V2017_12_01::Models::OSDiskImage - end def virtual_machine_scale_set_vmextensions_summary Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMExtensionsSummary end - def plan - Azure::Compute::Mgmt::V2017_12_01::Models::Plan + def hardware_profile + Azure::Compute::Mgmt::V2017_12_01::Models::HardwareProfile end def virtual_machine_scale_set_instance_view Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetInstanceView end - def data_disk - Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk + def key_vault_secret_reference + Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultSecretReference end - def virtual_machine_scale_set_list_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListResult + def update_resource + Azure::Compute::Mgmt::V2017_12_01::Models::UpdateResource + end + def virtual_machine_scale_set_public_ipaddress_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration + end + def virtual_machine_agent_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineAgentInstanceView end def linux_configuration Azure::Compute::Mgmt::V2017_12_01::Models::LinuxConfiguration @@ -661,89 +652,98 @@ def linux_configuration def virtual_machine_scale_set_list_with_link_result Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListWithLinkResult end - def virtual_machine_extension_handler_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionHandlerInstanceView + def virtual_machine_scale_set_list_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListResult + end + def data_disk + Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk end def virtual_machine_scale_set_sku_capacity Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuCapacity end - def sub_resource_read_only - Azure::Compute::Mgmt::V2017_12_01::Models::SubResourceReadOnly - end - def virtual_machine_scale_set_sku - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSku + def osdisk_image + Azure::Compute::Mgmt::V2017_12_01::Models::OSDiskImage end - def usage - Azure::Compute::Mgmt::V2017_12_01::Models::Usage + def rollback_status_info + Azure::Compute::Mgmt::V2017_12_01::Models::RollbackStatusInfo end - def virtual_machine_scale_set_list_skus_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult + def upgrade_operation_history_status + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoryStatus end - def win_rmconfiguration - Azure::Compute::Mgmt::V2017_12_01::Models::WinRMConfiguration + def data_disk_image + Azure::Compute::Mgmt::V2017_12_01::Models::DataDiskImage end - def api_error_base - Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase + def virtual_machine_scale_set_vmlist_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult end - def virtual_machine_identity - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineIdentity + def virtual_machine_extension_handler_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionHandlerInstanceView end - def inner_error - Azure::Compute::Mgmt::V2017_12_01::Models::InnerError + def operation_status_response + Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse end - def key_vault_key_reference - Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultKeyReference + def virtual_machine_extension + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension end - def api_error - Azure::Compute::Mgmt::V2017_12_01::Models::ApiError + def virtual_machine_scale_set_sku + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSku end - def run_command_document_base - Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocumentBase + def win_rmconfiguration + Azure::Compute::Mgmt::V2017_12_01::Models::WinRMConfiguration end - def rollback_status_info - Azure::Compute::Mgmt::V2017_12_01::Models::RollbackStatusInfo + def sub_resource_read_only + Azure::Compute::Mgmt::V2017_12_01::Models::SubResourceReadOnly end - def operation_status_response - Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse + def virtual_machine_identity + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineIdentity end - def upgrade_operation_history_status - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoryStatus + def virtual_machine + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachine end - def availability_set - Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet + def virtual_machine_scale_set_list_skus_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult end def availability_set_update Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetUpdate end - def virtual_machine_extension_image - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionImage + def availability_set + Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet + end + def api_error_base + Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase end def virtual_machine_image_resource Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImageResource end - def virtual_machine_extension - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension + def key_vault_key_reference + Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultKeyReference end def virtual_machine_extension_update Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionUpdate end - def virtual_machine_image - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImage + def api_error + Azure::Compute::Mgmt::V2017_12_01::Models::ApiError end def virtual_machine_capture_result Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureResult end + def network_interface_reference + Azure::Compute::Mgmt::V2017_12_01::Models::NetworkInterfaceReference + end + def inner_error + Azure::Compute::Mgmt::V2017_12_01::Models::InnerError + end def image_reference Azure::Compute::Mgmt::V2017_12_01::Models::ImageReference end - def managed_disk_parameters - Azure::Compute::Mgmt::V2017_12_01::Models::ManagedDiskParameters + def virtual_machine_scale_set_network_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfiguration end - def network_interface_reference - Azure::Compute::Mgmt::V2017_12_01::Models::NetworkInterfaceReference + def virtual_machine_scale_set_extension + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtension end - def virtual_machine - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachine + def virtual_machine_image + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImage end def virtual_machine_update Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineUpdate @@ -754,30 +754,54 @@ def image def image_update Azure::Compute::Mgmt::V2017_12_01::Models::ImageUpdate end - def virtual_machine_scale_set_ipconfiguration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIPConfiguration - end - def virtual_machine_scale_set_update_ipconfiguration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration - end - def virtual_machine_scale_set_network_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfiguration + def virtual_machine_extension_image + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionImage end def virtual_machine_scale_set_update_network_configuration Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration end - def virtual_machine_scale_set_extension - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtension + def virtual_machine_scale_set_update + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdate end def virtual_machine_scale_set Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSet end - def virtual_machine_scale_set_update - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdate - end def virtual_machine_scale_set_vm Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVM end + def run_command_document_base + Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocumentBase + end + def log_analytics_operation_result + Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOperationResult + end + def run_command_document + Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocument + end + def virtual_machine_scale_set_ipconfiguration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIPConfiguration + end + def managed_disk_parameters + Azure::Compute::Mgmt::V2017_12_01::Models::ManagedDiskParameters + end + def pass_names + Azure::Compute::Mgmt::V2017_12_01::Models::PassNames + end + def component_names + Azure::Compute::Mgmt::V2017_12_01::Models::ComponentNames + end + def setting_names + Azure::Compute::Mgmt::V2017_12_01::Models::SettingNames + end + def virtual_machine_scale_set_update_ipconfiguration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration + end + def operating_system_types + Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemTypes + end + def virtual_machine_size_types + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeTypes + end def rolling_upgrade_status_info Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusInfo end @@ -787,23 +811,17 @@ def request_rate_by_interval_input def throttled_requests_input Azure::Compute::Mgmt::V2017_12_01::Models::ThrottledRequestsInput end - def log_analytics_operation_result - Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOperationResult - end - def run_command_document - Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocument - end def run_command_result Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandResult end def status_level_types Azure::Compute::Mgmt::V2017_12_01::Models::StatusLevelTypes end - def operating_system_types - Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemTypes + def upgrade_mode + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeMode end - def virtual_machine_size_types - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeTypes + def ipversion + Azure::Compute::Mgmt::V2017_12_01::Models::IPVersion end def caching_types Azure::Compute::Mgmt::V2017_12_01::Models::CachingTypes @@ -811,17 +829,14 @@ def caching_types def disk_create_option_types Azure::Compute::Mgmt::V2017_12_01::Models::DiskCreateOptionTypes end - def storage_account_types - Azure::Compute::Mgmt::V2017_12_01::Models::StorageAccountTypes - end - def pass_names - Azure::Compute::Mgmt::V2017_12_01::Models::PassNames + def upgrade_state + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeState end - def component_names - Azure::Compute::Mgmt::V2017_12_01::Models::ComponentNames + def upgrade_operation_invoker + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationInvoker end - def setting_names - Azure::Compute::Mgmt::V2017_12_01::Models::SettingNames + def rolling_upgrade_status_code + Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusCode end def protocol_types Azure::Compute::Mgmt::V2017_12_01::Models::ProtocolTypes @@ -829,45 +844,30 @@ def protocol_types def resource_identity_type Azure::Compute::Mgmt::V2017_12_01::Models::ResourceIdentityType end + def virtual_machine_scale_set_sku_scale_type + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuScaleType + end + def instance_view_types + Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewTypes + end def maintenance_operation_result_code_types Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceOperationResultCodeTypes end - def upgrade_mode - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeMode - end def operating_system_state_types Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemStateTypes end - def ipversion - Azure::Compute::Mgmt::V2017_12_01::Models::IPVersion - end def virtual_machine_priority_types Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachinePriorityTypes end def virtual_machine_eviction_policy_types Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineEvictionPolicyTypes end - def virtual_machine_scale_set_sku_scale_type - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuScaleType - end - def upgrade_state - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeState - end - def upgrade_operation_invoker - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationInvoker - end - def rolling_upgrade_status_code - Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusCode - end def rolling_upgrade_action_type Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeActionType end def interval_in_mins Azure::Compute::Mgmt::V2017_12_01::Models::IntervalInMins end - def instance_view_types - Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewTypes - end end end end diff --git a/azure_sdk/lib/latest/modules/computervision_profile_module.rb b/azure_sdk/lib/latest/modules/computervision_profile_module.rb index 003cc18c87..fa42607808 100644 --- a/azure_sdk/lib/latest/modules/computervision_profile_module.rb +++ b/azure_sdk/lib/latest/modules/computervision_profile_module.rb @@ -8,6 +8,14 @@ module Azure::Profiles::Latest module ComputerVision module Models + ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails + TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes + Gender = Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender + ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes + VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes + OcrLanguages = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages + AzureRegions = Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions + Details = Azure::CognitiveServices::ComputerVision::V1_0::Models::Details FaceDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription ImageAnalysis = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis Line = Azure::CognitiveServices::ComputerVision::V1_0::Models::Line @@ -38,14 +46,6 @@ module Models ComputerVisionError = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail ImageUrl = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl - ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails - TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes - Gender = Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender - ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes - VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes - OcrLanguages = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages - AzureRegions = Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions - Details = Azure::CognitiveServices::ComputerVision::V1_0::Models::Details end class ComputerVisionDataClass @@ -77,6 +77,30 @@ def method_missing(method, *args) end class ModelClasses + def image_description_details + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails + end + def text_operation_status_codes + Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes + end + def gender + Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender + end + def computer_vision_error_codes + Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes + end + def visual_feature_types + Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes + end + def ocr_languages + Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages + end + def azure_regions + Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions + end + def details + Azure::CognitiveServices::ComputerVision::V1_0::Models::Details + end def face_description Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription end @@ -167,30 +191,6 @@ def category_detail def image_url Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl end - def image_description_details - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails - end - def text_operation_status_codes - Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes - end - def gender - Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender - end - def computer_vision_error_codes - Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes - end - def visual_feature_types - Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes - end - def ocr_languages - Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages - end - def azure_regions - Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions - end - def details - Azure::CognitiveServices::ComputerVision::V1_0::Models::Details - end end end end diff --git a/azure_sdk/lib/latest/modules/consumption_profile_module.rb b/azure_sdk/lib/latest/modules/consumption_profile_module.rb index f7954709f3..fb4bd5a9de 100644 --- a/azure_sdk/lib/latest/modules/consumption_profile_module.rb +++ b/azure_sdk/lib/latest/modules/consumption_profile_module.rb @@ -7,47 +7,47 @@ module Azure::Profiles::Latest module Consumption module Mgmt + Operations = Azure::Consumption::Mgmt::V2018_01_31::Operations UsageDetails = Azure::Consumption::Mgmt::V2018_01_31::UsageDetails Marketplaces = Azure::Consumption::Mgmt::V2018_01_31::Marketplaces ReservationsSummaries = Azure::Consumption::Mgmt::V2018_01_31::ReservationsSummaries ReservationsDetails = Azure::Consumption::Mgmt::V2018_01_31::ReservationsDetails Budgets = Azure::Consumption::Mgmt::V2018_01_31::Budgets - Operations = Azure::Consumption::Mgmt::V2018_01_31::Operations PriceSheet = Azure::Consumption::Mgmt::V2018_01_31::PriceSheet module Models - Notification = Azure::Consumption::Mgmt::V2018_01_31::Models::Notification + Resource = Azure::Consumption::Mgmt::V2018_01_31::Models::Resource MeterDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::MeterDetails Filters = Azure::Consumption::Mgmt::V2018_01_31::Models::Filters UsageDetailsListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::UsageDetailsListResult CurrentSpend = Azure::Consumption::Mgmt::V2018_01_31::Models::CurrentSpend MarketplacesListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::MarketplacesListResult - OperationListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::OperationListResult ReservationSummariesListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummariesListResult ReservationDetailsListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetailsListResult BudgetsListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetsListResult + OperationListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::OperationListResult PriceSheetProperties = Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetProperties - ErrorDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorDetails - Resource = Azure::Consumption::Mgmt::V2018_01_31::Models::Resource - ErrorResponse = Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorResponse - ProxyResource = Azure::Consumption::Mgmt::V2018_01_31::Models::ProxyResource - OperationDisplay = Azure::Consumption::Mgmt::V2018_01_31::Models::OperationDisplay BudgetTimePeriod = Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetTimePeriod - Operation = Azure::Consumption::Mgmt::V2018_01_31::Models::Operation UsageDetail = Azure::Consumption::Mgmt::V2018_01_31::Models::UsageDetail - Marketplace = Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace + OperationDisplay = Azure::Consumption::Mgmt::V2018_01_31::Models::OperationDisplay ReservationSummaries = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummaries - ReservationDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetails + Marketplace = Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace Budget = Azure::Consumption::Mgmt::V2018_01_31::Models::Budget + ErrorResponse = Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorResponse + ProxyResource = Azure::Consumption::Mgmt::V2018_01_31::Models::ProxyResource PriceSheetResult = Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetResult + ReservationDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetails + Notification = Azure::Consumption::Mgmt::V2018_01_31::Models::Notification + Operation = Azure::Consumption::Mgmt::V2018_01_31::Models::Operation CategoryType = Azure::Consumption::Mgmt::V2018_01_31::Models::CategoryType TimeGrainType = Azure::Consumption::Mgmt::V2018_01_31::Models::TimeGrainType OperatorType = Azure::Consumption::Mgmt::V2018_01_31::Models::OperatorType Datagrain = Azure::Consumption::Mgmt::V2018_01_31::Models::Datagrain + ErrorDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorDetails end class ConsumptionManagementClass - attr_reader :usage_details, :marketplaces, :reservations_summaries, :reservations_details, :budgets, :operations, :price_sheet, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :usage_details, :marketplaces, :reservations_summaries, :reservations_details, :budgets, :price_sheet, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -57,12 +57,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 @usage_details = @client_0.usage_details @marketplaces = @client_0.marketplaces @reservations_summaries = @client_0.reservations_summaries @reservations_details = @client_0.reservations_details @budgets = @client_0.budgets - @operations = @client_0.operations @price_sheet = @client_0.price_sheet @model_classes = ModelClasses.new @@ -82,8 +82,8 @@ def method_missing(method, *args) end class ModelClasses - def notification - Azure::Consumption::Mgmt::V2018_01_31::Models::Notification + def resource + Azure::Consumption::Mgmt::V2018_01_31::Models::Resource end def meter_details Azure::Consumption::Mgmt::V2018_01_31::Models::MeterDetails @@ -100,9 +100,6 @@ def current_spend def marketplaces_list_result Azure::Consumption::Mgmt::V2018_01_31::Models::MarketplacesListResult end - def operation_list_result - Azure::Consumption::Mgmt::V2018_01_31::Models::OperationListResult - end def reservation_summaries_list_result Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummariesListResult end @@ -112,48 +109,48 @@ def reservation_details_list_result def budgets_list_result Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetsListResult end + def operation_list_result + Azure::Consumption::Mgmt::V2018_01_31::Models::OperationListResult + end def price_sheet_properties Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetProperties end - def error_details - Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorDetails - end - def resource - Azure::Consumption::Mgmt::V2018_01_31::Models::Resource - end - def error_response - Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorResponse - end - def proxy_resource - Azure::Consumption::Mgmt::V2018_01_31::Models::ProxyResource - end - def operation_display - Azure::Consumption::Mgmt::V2018_01_31::Models::OperationDisplay - end def budget_time_period Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetTimePeriod end - def operation - Azure::Consumption::Mgmt::V2018_01_31::Models::Operation - end def usage_detail Azure::Consumption::Mgmt::V2018_01_31::Models::UsageDetail end - def marketplace - Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace + def operation_display + Azure::Consumption::Mgmt::V2018_01_31::Models::OperationDisplay end def reservation_summaries Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummaries end - def reservation_details - Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetails + def marketplace + Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace end def budget Azure::Consumption::Mgmt::V2018_01_31::Models::Budget end + def error_response + Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorResponse + end + def proxy_resource + Azure::Consumption::Mgmt::V2018_01_31::Models::ProxyResource + end def price_sheet_result Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetResult end + def reservation_details + Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetails + end + def notification + Azure::Consumption::Mgmt::V2018_01_31::Models::Notification + end + def operation + Azure::Consumption::Mgmt::V2018_01_31::Models::Operation + end def category_type Azure::Consumption::Mgmt::V2018_01_31::Models::CategoryType end @@ -166,6 +163,9 @@ def operator_type def datagrain Azure::Consumption::Mgmt::V2018_01_31::Models::Datagrain end + def error_details + Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorDetails + end end end end diff --git a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb index 723d9c5178..a9f74f47e1 100644 --- a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb @@ -7,52 +7,52 @@ module Azure::Profiles::Latest module ContainerInstance module Mgmt - ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroups Operations = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Operations + ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroups ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroupUsage ContainerLogs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerLogs StartContainer = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::StartContainer module Models + ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize + VolumeMount = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount + ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest + ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse + Volume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume + ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup + ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol + Event = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event + ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupNetworkProtocol + ContainerGroupRestartPolicy = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupRestartPolicy + ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerInstanceOperationsOrigin + OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperatingSystemTypes + UsageName = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName + Usage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage + UsageListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult + Resource = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource + OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay + OperationListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult IpAddress = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::IpAddress ContainerPort = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort ContainerGroupPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupPropertiesInstanceView ContainerState = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState - Event = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event ResourceRequests = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests - OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements - Operation = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation Container = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container - OperationListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume - UsageName = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential - Usage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage - EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable - UsageListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult + Operation = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult - AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume + EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable Logs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs Port = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port - ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize - VolumeMount = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount - ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest - ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView - ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse - Volume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume - Resource = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource - ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup - ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol - ContainerGroupRestartPolicy = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupRestartPolicy - ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupNetworkProtocol - OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperatingSystemTypes - ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerInstanceOperationsOrigin + AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume end class ContainerInstanceManagementClass - attr_reader :container_groups, :operations, :container_group_usage, :container_logs, :start_container, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :container_groups, :container_group_usage, :container_logs, :start_container, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -62,8 +62,8 @@ 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_groups = @client_0.container_groups @container_group_usage = @client_0.container_group_usage @container_logs = @client_0.container_logs @start_container = @client_0.start_container @@ -85,6 +85,63 @@ def method_missing(method, *args) end class ModelClasses + def container_exec_request_terminal_size + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize + end + def volume_mount + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount + end + def container_exec_request + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest + end + def container_properties_instance_view + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + end + def container_exec_response + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse + end + def volume + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume + end + def container_group + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup + end + def container_network_protocol + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol + end + def event + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event + end + def container_group_network_protocol + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupNetworkProtocol + end + def container_group_restart_policy + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupRestartPolicy + end + def container_instance_operations_origin + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerInstanceOperationsOrigin + end + def operating_system_types + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperatingSystemTypes + end + def usage_name + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName + end + def usage + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage + end + def usage_list_result + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult + end + def resource + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource + end + def operation_display + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay + end + def operation_list_result + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult + end def ip_address Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::IpAddress end @@ -97,44 +154,23 @@ def container_group_properties_instance_view def container_state Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState end - def event - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event - end def resource_requests Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests end - def operation_display - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay - end def resource_requirements Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements end - def operation - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation - end def container Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container end - def operation_list_result - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult - end def git_repo_volume Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume end - def usage_name - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName - end def image_registry_credential Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential end - def usage - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage - end - def environment_variable - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable - end - def usage_list_result - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult + def operation + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation end def resource_limits Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits @@ -142,8 +178,8 @@ def resource_limits def container_group_list_result Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult end - def azure_file_volume - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume + def environment_variable + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable end def logs Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs @@ -151,44 +187,8 @@ def logs def port Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port end - def container_exec_request_terminal_size - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize - end - def volume_mount - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount - end - def container_exec_request - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest - end - def container_properties_instance_view - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView - end - def container_exec_response - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse - end - def volume - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume - end - def resource - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource - end - def container_group - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup - end - def container_network_protocol - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol - end - def container_group_restart_policy - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupRestartPolicy - end - def container_group_network_protocol - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupNetworkProtocol - end - def operating_system_types - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperatingSystemTypes - end - def container_instance_operations_origin - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerInstanceOperationsOrigin + def azure_file_volume + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume 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 2432fa2b71..d0886f8cd4 100644 --- a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb @@ -7,61 +7,61 @@ module Azure::Profiles::Latest module ContainerRegistry module Mgmt - Registries = Azure::ContainerRegistry::Mgmt::V2017_10_01::Registries 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 module Models + Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source + WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook + Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource + SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName + SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult - OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult - Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource - Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters - WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword - WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters - EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo + WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters ImportImageParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters + Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig - OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties - Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus - Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent - Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage - RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry - Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication - Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook - Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode - SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName - SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier - ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName - RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit - WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus - WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication + RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end class ContainerRegistryManagementClass - attr_reader :registries, :operations, :replications, :webhooks, :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 @@ -71,8 +71,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @registries = @client_0.registries @operations = @client_0.operations + @registries = @client_0.registries @replications = @client_0.replications @webhooks = @client_0.webhooks @@ -93,9 +93,45 @@ def method_missing(method, *args) end class ModelClasses + def source + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source + end + def webhook_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + end + def webhook_action + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + end + def request + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + end + def event + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + end + def operation_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + end + def webhook + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook + end + def sku + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + end + def resource + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource + end + def sku_name + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName + end + def sku_tier + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier + end def registry_usage_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult end + def provisioning_state + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState + end def import_source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource end @@ -111,15 +147,6 @@ def operation_display_definition def replication_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult end - def operation_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult - end - def resource - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource - end - def status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status - end def webhook_create_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters end @@ -129,29 +156,29 @@ def event_list_result def registry_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters end - def webhook_update_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters - end def registry_password Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword end - def webhook_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult - end def regenerate_credential_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters end - def event_info - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo + def webhook_update_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters end def import_image_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters end + def status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + end + def webhook_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult + end def callback_config Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig end - def operation_definition - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + def event_info + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo end def target Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target @@ -159,11 +186,8 @@ def target def storage_account_properties Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties end - def request - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - end - def registry_list_credentials_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + def operation_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition end def actor Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor @@ -171,23 +195,17 @@ def actor def registry_name_status Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus end - def source - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - end - def registry_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + 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 sku - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku - end def event_request_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end - def registry_usage - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + def registry_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult end def event_response_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage @@ -195,38 +213,20 @@ def event_response_message def registry Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry end - def replication - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication - end - def webhook - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook - end - def event - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + def registry_usage_unit + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit end def import_mode Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode end - def sku_name - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName - end - def sku_tier - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier - end - def provisioning_state - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState - 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_status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + def replication + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication end - def webhook_action - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + def registry_usage + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end end end diff --git a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb index 1fcf8b1fac..6ccd418244 100644 --- a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb @@ -10,8 +10,8 @@ module Mgmt ContainerServices = Azure::ContainerService::Mgmt::V2017_01_31::ContainerServices module Models + ContainerService = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshPublicKey - Resource = Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshConfiguration ContainerServiceServicePrincipalProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceServicePrincipalProfile ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceLinuxProfile @@ -23,9 +23,9 @@ module Models ContainerServiceAgentPoolProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceAgentPoolProfile ContainerServiceCustomProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceCustomProfile ContainerServiceListResult = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult - ContainerService = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService ContainerServiceOrchestratorTypes = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorTypes ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes + Resource = Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource end class ContainerServiceManagementClass @@ -58,12 +58,12 @@ def method_missing(method, *args) end class ModelClasses + def container_service + Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService + end def container_service_ssh_public_key Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshPublicKey end - def resource - Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource - end def container_service_ssh_configuration Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshConfiguration end @@ -97,15 +97,15 @@ def container_service_custom_profile def container_service_list_result Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult end - def container_service - Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService - end def container_service_orchestrator_types Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorTypes end def container_service_vmsize_types Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes end + def resource + Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource + 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 0fa8f58657..4829c93e34 100644 --- a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb +++ b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb @@ -22,22 +22,17 @@ module Models TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList Score = Azure::CognitiveServices::ContentModerator::V1_0::Models::Score TermsData = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData - Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status TermsPaging = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging IPA = Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA Terms = Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms - Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address Review = Azure::CognitiveServices::ContentModerator::V1_0::Models::Review DetectedTerms = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms JobExecutionReportDetails = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails - Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face - Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job Candidate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate - JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult Evaluate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId + Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse - Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error ImageListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError TermListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata @@ -51,29 +46,34 @@ module Models Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII - CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem - Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match + CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex - ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl Classification = Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem - Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content - TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error AzureRegionBaseUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl + ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job + TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag + JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address + Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status end class ContentModeratorDataClass @@ -133,9 +133,6 @@ def score def terms_data Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData end - def status - Azure::CognitiveServices::ContentModerator::V1_0::Models::Status - end def terms_paging Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging end @@ -145,9 +142,6 @@ def ipa def terms Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms end - def address - Azure::CognitiveServices::ContentModerator::V1_0::Models::Address - end def review Azure::CognitiveServices::ContentModerator::V1_0::Models::Review end @@ -157,30 +151,21 @@ def detected_terms def job_execution_report_details Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails end - def face - Azure::CognitiveServices::ContentModerator::V1_0::Models::Face - end - def job - Azure::CognitiveServices::ContentModerator::V1_0::Models::Job - end def candidate Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate end - def job_list_result - Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult - end def evaluate Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate end def job_id Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId end + def face + Azure::CognitiveServices::ContentModerator::V1_0::Models::Face + end def match_response Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse end - def error - Azure::CognitiveServices::ContentModerator::V1_0::Models::Error - end def image_list_metadata Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata end @@ -220,17 +205,14 @@ def create_video_reviews_body_item_video_frames_item def pii Azure::CognitiveServices::ContentModerator::V1_0::Models::PII 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 end def create_video_reviews_body_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem end - def match - Azure::CognitiveServices::ContentModerator::V1_0::Models::Match + def create_video_reviews_body_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem end def body_metadata Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata @@ -238,15 +220,15 @@ def body_metadata def image_list Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList end + def match + Azure::CognitiveServices::ContentModerator::V1_0::Models::Match + end def body Azure::CognitiveServices::ContentModerator::V1_0::Models::Body end def refresh_index Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex end - def image_url - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl - end def classification Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification end @@ -265,9 +247,6 @@ def detected_language def video_frame_body_item Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem end - def tag - Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag - end def create_review_body_item_metadata_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem end @@ -283,12 +262,33 @@ def phone def content Azure::CognitiveServices::ContentModerator::V1_0::Models::Content end - def term_list - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + def error + Azure::CognitiveServices::ContentModerator::V1_0::Models::Error end def azure_region_base_url Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl end + def image_url + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + end + def job + Azure::CognitiveServices::ContentModerator::V1_0::Models::Job + end + def term_list + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + end + def tag + Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag + end + def job_list_result + Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + end + def address + Azure::CognitiveServices::ContentModerator::V1_0::Models::Address + end + def status + Azure::CognitiveServices::ContentModerator::V1_0::Models::Status + 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 744733e667..105b9583bf 100644 --- a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb @@ -7,25 +7,75 @@ module Azure::Profiles::Latest module CustomerInsights module Mgmt - Operations = Azure::CustomerInsights::Mgmt::V2017_04_26::Operations - Hubs = Azure::CustomerInsights::Mgmt::V2017_04_26::Hubs - Profiles = Azure::CustomerInsights::Mgmt::V2017_04_26::Profiles - Interactions = Azure::CustomerInsights::Mgmt::V2017_04_26::Interactions - Relationships = Azure::CustomerInsights::Mgmt::V2017_04_26::Relationships RelationshipLinks = Azure::CustomerInsights::Mgmt::V2017_04_26::RelationshipLinks + Operations = Azure::CustomerInsights::Mgmt::V2017_04_26::Operations AuthorizationPolicies = Azure::CustomerInsights::Mgmt::V2017_04_26::AuthorizationPolicies Connectors = Azure::CustomerInsights::Mgmt::V2017_04_26::Connectors ConnectorMappings = Azure::CustomerInsights::Mgmt::V2017_04_26::ConnectorMappings Kpi = Azure::CustomerInsights::Mgmt::V2017_04_26::Kpi - WidgetTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::WidgetTypes + Profiles = Azure::CustomerInsights::Mgmt::V2017_04_26::Profiles Views = Azure::CustomerInsights::Mgmt::V2017_04_26::Views - Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links + WidgetTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::WidgetTypes + Predictions = Azure::CustomerInsights::Mgmt::V2017_04_26::Predictions Roles = Azure::CustomerInsights::Mgmt::V2017_04_26::Roles + Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links RoleAssignments = Azure::CustomerInsights::Mgmt::V2017_04_26::RoleAssignments Images = Azure::CustomerInsights::Mgmt::V2017_04_26::Images - Predictions = Azure::CustomerInsights::Mgmt::V2017_04_26::Predictions + Hubs = Azure::CustomerInsights::Mgmt::V2017_04_26::Hubs + Interactions = Azure::CustomerInsights::Mgmt::V2017_04_26::Interactions + Relationships = Azure::CustomerInsights::Mgmt::V2017_04_26::Relationships module Models + KpiDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition + RoleListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleListResult + ConnectorMappingStructure = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStructure + GetImageUploadUrlInput = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::GetImageUploadUrlInput + ParticipantProfilePropertyReference = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantProfilePropertyReference + ImageDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ImageDefinition + Hub = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Hub + EntityTypeDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypeDefinition + ProfileResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileResourceFormat + InteractionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InteractionResourceFormat + KpiResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiResourceFormat + EnrichingKpi = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EnrichingKpi + ConnectorResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat + ConnectorMappingResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat + AuthorizationPolicyResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat + LinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat + RelationshipResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat + RelationshipLinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat + ViewResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat + WidgetTypeResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat + RoleAssignmentResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat + RoleResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat + PredictionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat + EntityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes + DataSourceType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType + Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status + ProvisioningStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates + PermissionTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes + ConnectorTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes + ConnectorStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates + ErrorManagementTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes + FrequencyTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes + CompletionOperationTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes + ConnectorMappingStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates + CalculationWindowTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes + KpiFunctions = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions + OperationDisplay = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay + LinkTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes + OperationListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult + CardinalityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes + InstanceOperationType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType + EntityType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType + RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes + CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType + PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle + ProxyResource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource + Operation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation + Resource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource + ProfileListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult + RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult KpiListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiListResult HubBillingInfoFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::HubBillingInfoFormat Participant = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Participant @@ -33,7 +83,6 @@ module Models MetadataDefinitionBase = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::MetadataDefinitionBase PredictionSystemGeneratedEntities = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionSystemGeneratedEntities DataSourcePrecedence = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourcePrecedence - ProfileListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult SuggestRelationshipLinksResponse = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SuggestRelationshipLinksResponse AuthorizationPolicy = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicy PredictionGradesItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionGradesItem @@ -46,15 +95,11 @@ module Models RelationshipsLookup = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipsLookup ConnectorMappingAvailability = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingAvailability ConnectorMappingCompleteOperation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingCompleteOperation - OperationListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult KpiThresholds = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds ConnectorListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorListResult KpiParticipantProfilesMetadata = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiParticipantProfilesMetadata - Operation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation KpiExtract = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiExtract ConnectorMappingListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingListResult - Resource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource - OperationDisplay = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay TypePropertiesMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::TypePropertiesMapping AuthorizationPolicyListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyListResult RelationshipTypeFieldMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeFieldMapping @@ -73,7 +118,6 @@ module Models CanonicalProfileDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinition KpiAlias = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiAlias ViewListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewListResult - ProxyResource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource CanonicalProfileDefinitionPropertiesItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinitionPropertiesItem RelationshipTypeMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeMapping WidgetTypeListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeListResult @@ -84,56 +128,12 @@ module Models KpiGroupByMetadata = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiGroupByMetadata PredictionDistributionDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinition ParticipantPropertyReference = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference - RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult SalesforceDiscoverSetting = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting PredictionDistributionDefinitionDistributionsItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinitionDistributionsItem - KpiDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition - RoleListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleListResult - ConnectorMappingStructure = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStructure - GetImageUploadUrlInput = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::GetImageUploadUrlInput - ParticipantProfilePropertyReference = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantProfilePropertyReference - ImageDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ImageDefinition - Hub = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Hub - EntityTypeDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypeDefinition - ProfileResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileResourceFormat - InteractionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InteractionResourceFormat - KpiResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiResourceFormat - EnrichingKpi = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EnrichingKpi - ConnectorResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat - ConnectorMappingResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat - AuthorizationPolicyResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat - LinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat - RelationshipResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat - RelationshipLinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat - ViewResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat - WidgetTypeResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat - RoleAssignmentResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat - RoleResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat - PredictionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat - EntityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes - DataSourceType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType - Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status - ProvisioningStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates - PermissionTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes - ConnectorTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes - ConnectorStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates - ErrorManagementTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes - FrequencyTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes - CompletionOperationTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes - ConnectorMappingStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates - CalculationWindowTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes - KpiFunctions = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions - EntityType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType - 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 - CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType - PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle end class CustomerInsightsManagementClass - attr_reader :operations, :hubs, :profiles, :interactions, :relationships, :relationship_links, :authorization_policies, :connectors, :connector_mappings, :kpi, :widget_types, :views, :links, :roles, :role_assignments, :images, :predictions, :configurable, :base_url, :options, :model_classes + attr_reader :relationship_links, :operations, :authorization_policies, :connectors, :connector_mappings, :kpi, :profiles, :views, :widget_types, :predictions, :roles, :links, :role_assignments, :images, :hubs, :interactions, :relationships, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -143,23 +143,23 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations - @hubs = @client_0.hubs - @profiles = @client_0.profiles - @interactions = @client_0.interactions - @relationships = @client_0.relationships @relationship_links = @client_0.relationship_links + @operations = @client_0.operations @authorization_policies = @client_0.authorization_policies @connectors = @client_0.connectors @connector_mappings = @client_0.connector_mappings @kpi = @client_0.kpi - @widget_types = @client_0.widget_types + @profiles = @client_0.profiles @views = @client_0.views - @links = @client_0.links + @widget_types = @client_0.widget_types + @predictions = @client_0.predictions @roles = @client_0.roles + @links = @client_0.links @role_assignments = @client_0.role_assignments @images = @client_0.images - @predictions = @client_0.predictions + @hubs = @client_0.hubs + @interactions = @client_0.interactions + @relationships = @client_0.relationships @model_classes = ModelClasses.new end @@ -178,6 +178,156 @@ def method_missing(method, *args) end class ModelClasses + def kpi_definition + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition + end + def role_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleListResult + end + def connector_mapping_structure + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStructure + end + def get_image_upload_url_input + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::GetImageUploadUrlInput + end + def participant_profile_property_reference + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantProfilePropertyReference + end + def image_definition + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ImageDefinition + end + def hub + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Hub + end + def entity_type_definition + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypeDefinition + end + def profile_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileResourceFormat + end + def interaction_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InteractionResourceFormat + end + def kpi_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiResourceFormat + end + def enriching_kpi + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EnrichingKpi + end + def connector_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat + end + def connector_mapping_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat + end + def authorization_policy_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat + end + def link_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat + end + def relationship_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat + end + def relationship_link_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat + end + def view_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat + end + def widget_type_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat + end + def role_assignment_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat + end + def role_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat + end + def prediction_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat + end + def entity_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes + end + def data_source_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType + end + def status + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status + end + def provisioning_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates + end + def permission_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes + end + def connector_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes + end + def connector_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates + end + def error_management_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes + end + def frequency_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes + end + def completion_operation_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes + end + def connector_mapping_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates + end + def calculation_window_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes + end + def kpi_functions + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions + end + def operation_display + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay + end + def link_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes + end + def operation_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult + end + def cardinality_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes + end + def instance_operation_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType + end + def entity_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType + 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 prediction_model_life_cycle + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle + end + def proxy_resource + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource + end + def operation + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation + end + def resource + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource + end + def profile_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult + end + def role_assignment_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult + end def kpi_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiListResult end @@ -199,9 +349,6 @@ def prediction_system_generated_entities def data_source_precedence Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourcePrecedence end - def profile_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult - end def suggest_relationship_links_response Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SuggestRelationshipLinksResponse end @@ -238,9 +385,6 @@ def connector_mapping_availability def connector_mapping_complete_operation Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingCompleteOperation end - def operation_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult - end def kpi_thresholds Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds end @@ -250,21 +394,12 @@ def connector_list_result def kpi_participant_profiles_metadata Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiParticipantProfilesMetadata end - def operation - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation - end def kpi_extract Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiExtract end def connector_mapping_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingListResult end - def resource - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource - end - def operation_display - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay - end def type_properties_mapping Azure::CustomerInsights::Mgmt::V2017_04_26::Models::TypePropertiesMapping end @@ -319,9 +454,6 @@ def kpi_alias def view_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewListResult end - def proxy_resource - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource - end def canonical_profile_definition_properties_item Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinitionPropertiesItem end @@ -352,144 +484,12 @@ def prediction_distribution_definition def participant_property_reference Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference end - def role_assignment_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult - end def salesforce_discover_setting Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting end def prediction_distribution_definition_distributions_item Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinitionDistributionsItem end - def kpi_definition - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition - end - def role_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleListResult - end - def connector_mapping_structure - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStructure - end - def get_image_upload_url_input - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::GetImageUploadUrlInput - end - def participant_profile_property_reference - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantProfilePropertyReference - end - def image_definition - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ImageDefinition - end - def hub - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Hub - end - def entity_type_definition - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypeDefinition - end - def profile_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileResourceFormat - end - def interaction_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InteractionResourceFormat - end - def kpi_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiResourceFormat - end - def enriching_kpi - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EnrichingKpi - end - def connector_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat - end - def connector_mapping_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat - end - def authorization_policy_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat - end - def link_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat - end - def relationship_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat - end - def relationship_link_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat - end - def view_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat - end - def widget_type_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat - end - def role_assignment_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat - end - def role_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat - end - def prediction_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat - end - def entity_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes - end - def data_source_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType - end - def status - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status - end - def provisioning_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates - end - def permission_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes - end - def connector_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes - end - def connector_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates - end - def error_management_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes - end - def frequency_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes - end - def completion_operation_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes - end - def connector_mapping_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates - end - def calculation_window_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes - end - def kpi_functions - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions - end - def entity_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType - end - def link_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes - end - def instance_operation_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType - end - 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 canonical_property_value_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType - end - def prediction_model_life_cycle - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle - end end end end diff --git a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb index 4b79f6d097..41d36e710b 100644 --- a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb @@ -9,25 +9,25 @@ module CustomSearch CustomInstance = Azure::CognitiveServices::CustomSearch::V1_0::CustomInstance module Models - ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase - QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext - Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query - Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error WebMetaTag = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag WebPage = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage 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 - Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response - ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing + QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext 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 + Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error + ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase + Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query end class CustomSearchDataClass @@ -60,18 +60,6 @@ def method_missing(method, *args) end class ModelClasses - def response_base - Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase - end - def query_context - Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext - end - def query - Azure::CognitiveServices::CustomSearch::V1_0::Models::Query - end - def error - Azure::CognitiveServices::CustomSearch::V1_0::Models::Error - end def web_meta_tag Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag end @@ -90,18 +78,15 @@ def search_results_answer def identifiable Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::CustomSearch::V1_0::Models::Response - end - def error_response - Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse - end def answer Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer end def thing Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing end + def query_context + Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext + end def creative_work Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork end @@ -117,6 +102,21 @@ def safe_search 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 + Azure::CognitiveServices::CustomSearch::V1_0::Models::Error + end + def response_base + Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase + end + def query + Azure::CognitiveServices::CustomSearch::V1_0::Models::Query + 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 22bcea2ec7..8140460295 100644 --- a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb @@ -7,22 +7,17 @@ module Azure::Profiles::Latest module DataLakeAnalytics module Mgmt + Operations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Operations Accounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Accounts - DataLakeStoreAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::DataLakeStoreAccounts 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 - Operations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Operations Locations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Locations module Models - CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation - Resource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource NameAvailabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation - Operation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation - OperationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult UpdateFirewallRuleParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters - SubResource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource UpdateComputePolicyParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters UpdateStorageAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountParameters DataLakeStoreAccountInformationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformationListResult @@ -33,7 +28,6 @@ module Models CreateComputePolicyWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateComputePolicyWithAccountParameters ComputePolicyListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicyListResult CreateFirewallRuleWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters - OperationDisplay = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay CreateDataLakeAnalyticsAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateDataLakeAnalyticsAccountParameters CreateOrUpdateFirewallRuleParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters UpdateDataLakeStoreWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreWithAccountParameters @@ -41,7 +35,6 @@ module Models UpdateStorageAccountWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountWithAccountParameters SasTokenInformationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformationListResult UpdateComputePolicyWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyWithAccountParameters - CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters UpdateFirewallRuleWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters StorageContainerListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageContainerListResult UpdateDataLakeAnalyticsAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateDataLakeAnalyticsAccountParameters @@ -59,15 +52,22 @@ module Models AADObjectType = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AADObjectType FirewallState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallState FirewallAllowAzureIpsState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + OperationDisplay = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay TierType = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType - DataLakeAnalyticsAccountStatus = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus + OperationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult DataLakeAnalyticsAccountState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountState + DataLakeAnalyticsAccountStatus = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus OperationOrigin = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin SubscriptionState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState + Operation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation + SubResource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource + Resource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource + CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation end class DataLakeAnalyticsManagementClass - attr_reader :accounts, :data_lake_store_accounts, :storage_accounts, :compute_policies, :firewall_rules, :operations, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :accounts, :storage_accounts, :data_lake_store_accounts, :compute_policies, :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 @@ -77,12 +77,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 @accounts = @client_0.accounts - @data_lake_store_accounts = @client_0.data_lake_store_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 - @operations = @client_0.operations @locations = @client_0.locations @model_classes = ModelClasses.new @@ -102,27 +102,12 @@ def method_missing(method, *args) end class ModelClasses - def capability_information - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation - end - def resource - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource - end def name_availability_information Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation end - def operation - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation - end - def operation_list_result - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult - end def update_firewall_rule_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters end - def sub_resource - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource - end def update_compute_policy_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters end @@ -153,9 +138,6 @@ def compute_policy_list_result def create_firewall_rule_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters end - def operation_display - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay - end def create_data_lake_analytics_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateDataLakeAnalyticsAccountParameters end @@ -177,9 +159,6 @@ def sas_token_information_list_result def update_compute_policy_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyWithAccountParameters end - def check_name_availability_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end def update_firewall_rule_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters end @@ -231,21 +210,42 @@ def firewall_state def firewall_allow_azure_ips_state Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState end + def operation_display + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay + end def tier_type Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType end - def data_lake_analytics_account_status - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus + def operation_list_result + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult end def data_lake_analytics_account_state Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountState end + def data_lake_analytics_account_status + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus + end def operation_origin Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin end def subscription_state Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState end + def operation + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation + end + def sub_resource + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource + end + def resource + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource + end + def check_name_availability_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end + def capability_information + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation + 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 286be7df18..5afd7df8ab 100644 --- a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb @@ -7,58 +7,58 @@ module Azure::Profiles::Latest module DataLakeStore module Mgmt - Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts - FirewallRules = Azure::DataLakeStore::Mgmt::V2016_11_01::FirewallRules TrustedIdProviders = Azure::DataLakeStore::Mgmt::V2016_11_01::TrustedIdProviders Operations = Azure::DataLakeStore::Mgmt::V2016_11_01::Operations + Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts + FirewallRules = Azure::DataLakeStore::Mgmt::V2016_11_01::FirewallRules Locations = Azure::DataLakeStore::Mgmt::V2016_11_01::Locations module Models - CapabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation - Resource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource NameAvailabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation - EncryptionIdentity = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity + UpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters CreateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters + CreateOrUpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters + SubResource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource + EncryptionIdentity = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity + UpdateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters EncryptionConfig = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfig CreateTrustedIdProviderWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateTrustedIdProviderWithAccountParameters KeyVaultMetaInfo = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::KeyVaultMetaInfo CreateOrUpdateTrustedIdProviderParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters - CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters UpdateTrustedIdProviderParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderParameters FirewallRuleListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult - CreateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters - OperationDisplay = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay - UpdateKeyVaultMetaInfo = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo - OperationListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult UpdateEncryptionConfig = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateEncryptionConfig - UpdateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters - TrustedIdProviderListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult + CreateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters UpdateTrustedIdProviderWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderWithAccountParameters - SubResource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource UpdateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters - Operation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation - CreateOrUpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters - DataLakeStoreAccountListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult - UpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + TrustedIdProviderListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult + Resource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource FirewallRule = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule + DataLakeStoreAccountListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult TrustedIdProvider = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider - DataLakeStoreAccount = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount - DataLakeStoreAccountBasic = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic + UpdateKeyVaultMetaInfo = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo + OperationDisplay = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay EncryptionConfigType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfigType - EncryptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState - EncryptionProvisioningState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState + OperationListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult + DataLakeStoreAccountBasic = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic FirewallState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState - FirewallAllowAzureIpsState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + EncryptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState + DataLakeStoreAccount = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount TrustedIdProviderState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderState - TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType DataLakeStoreAccountStatus = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus + FirewallAllowAzureIpsState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + EncryptionProvisioningState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState DataLakeStoreAccountState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountState - OperationOrigin = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin SubscriptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + Operation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation + OperationOrigin = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin + TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType + CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + CapabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation end class DataLakeStoreManagementClass - attr_reader :accounts, :firewall_rules, :trusted_id_providers, :operations, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :trusted_id_providers, :operations, :accounts, :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 @@ -68,10 +68,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @accounts = @client_0.accounts - @firewall_rules = @client_0.firewall_rules @trusted_id_providers = @client_0.trusted_id_providers @operations = @client_0.operations + @accounts = @client_0.accounts + @firewall_rules = @client_0.firewall_rules @locations = @client_0.locations @model_classes = ModelClasses.new @@ -91,21 +91,27 @@ def method_missing(method, *args) end class ModelClasses - def capability_information - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation - end - def resource - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource - end def name_availability_information Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation end - def encryption_identity - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity + def update_firewall_rule_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters end def create_firewall_rule_with_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters end + def create_or_update_firewall_rule_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters + end + def sub_resource + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource + end + def encryption_identity + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity + end + def update_firewall_rule_with_account_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters + end def encryption_config Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfig end @@ -118,101 +124,95 @@ def key_vault_meta_info def create_or_update_trusted_id_provider_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters end - def check_name_availability_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end def update_trusted_id_provider_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderParameters end def firewall_rule_list_result Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult end - def create_data_lake_store_account_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters - end - def operation_display - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay - end - def update_key_vault_meta_info - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo - end - def operation_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult - end def update_encryption_config Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateEncryptionConfig end - def update_firewall_rule_with_account_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters - end - def trusted_id_provider_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult + def create_data_lake_store_account_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters end def update_trusted_id_provider_with_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderWithAccountParameters end - def sub_resource - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource - end def update_data_lake_store_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters end - def operation - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation - end - def create_or_update_firewall_rule_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters - end - def data_lake_store_account_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult + def trusted_id_provider_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult end - def update_firewall_rule_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + def resource + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource end def firewall_rule Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule end + def data_lake_store_account_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult + end def trusted_id_provider Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider end - def data_lake_store_account - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount + def update_key_vault_meta_info + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo end - def data_lake_store_account_basic - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic + def operation_display + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay end def encryption_config_type Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfigType end - def encryption_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState + def operation_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult end - def encryption_provisioning_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState + def data_lake_store_account_basic + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic end def firewall_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState end - def firewall_allow_azure_ips_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + def encryption_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState + end + def data_lake_store_account + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount end def trusted_id_provider_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderState end - def tier_type - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType - end def data_lake_store_account_status Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus end + def firewall_allow_azure_ips_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + end + def encryption_provisioning_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState + end def data_lake_store_account_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountState end + def subscription_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + end + def operation + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation + end def operation_origin Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin end - def subscription_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + def tier_type + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType + end + def check_name_availability_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end + def capability_information + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation 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 d2fa1e310d..e8045c5f41 100644 --- a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb @@ -7,9 +7,14 @@ module Azure::Profiles::Latest module DevTestLabs module Mgmt + VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules + Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments + VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks + Disks = Azure::DevTestLabs::Mgmt::V2016_05_15::Disks + VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines + Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations ProviderOperations = Azure::DevTestLabs::Mgmt::V2016_05_15::ProviderOperations Labs = Azure::DevTestLabs::Mgmt::V2016_05_15::Labs - Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations GlobalSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::GlobalSchedules ArtifactSources = Azure::DevTestLabs::Mgmt::V2016_05_15::ArtifactSources ArmTemplates = Azure::DevTestLabs::Mgmt::V2016_05_15::ArmTemplates @@ -20,22 +25,16 @@ module Mgmt GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages NotificationChannels = Azure::DevTestLabs::Mgmt::V2016_05_15::NotificationChannels PolicySets = Azure::DevTestLabs::Mgmt::V2016_05_15::PolicySets - Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies Schedules = Azure::DevTestLabs::Mgmt::V2016_05_15::Schedules ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users - Disks = Azure::DevTestLabs::Mgmt::V2016_05_15::Disks - Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments + Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies Secrets = Azure::DevTestLabs::Mgmt::V2016_05_15::Secrets - VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines - VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules - VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks module Models ExternalSubnetFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ExternalSubnetFragment GalleryImageReference = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImageReference DayDetails = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetails - InboundNatRule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule NotificationSettings = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettings SharedPublicIpAddressConfiguration = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfiguration ExportResourceUsageParameters = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ExportResourceUsageParameters @@ -58,7 +57,6 @@ module Models FormulaPropertiesFromVm = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FormulaPropertiesFromVm ArtifactInstallPropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactInstallPropertiesFragment ResponseWithContinuationLabVhd = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationLabVhd - Subnet = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet UserSecretStoreFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserSecretStoreFragment AttachNewDataDiskOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::AttachNewDataDiskOptions GalleryImageReferenceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImageReferenceFragment @@ -87,17 +85,16 @@ module Models SubnetOverrideFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetOverrideFragment PolicySetResult = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicySetResult SubnetSharedPublicIpAddressConfigurationFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfigurationFragment - Event = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event LabVhd = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVhd DayDetailsFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetailsFragment SubnetFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetFragment - UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity SharedPublicIpAddressConfigurationFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfigurationFragment ResponseWithContinuationServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationServiceRunner NetworkInterfacePropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NetworkInterfacePropertiesFragment ArtifactDeploymentStatusProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactDeploymentStatusProperties ShutdownNotificationContent = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ShutdownNotificationContent ResponseWithContinuationSecret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationSecret + UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity RetargetScheduleProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::RetargetScheduleProperties BulkCreationParameters = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::BulkCreationParameters ResponseWithContinuationVirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationVirtualNetwork @@ -116,14 +113,14 @@ module Models EventFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EventFragment SubnetSharedPublicIpAddressConfiguration = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfiguration ApplyArtifactsRequest = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplyArtifactsRequest - Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port ArtifactParameterPropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterPropertiesFragment PortFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PortFragment ProviderOperationResult = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ProviderOperationResult CostThresholdProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties - Resource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource DetachDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties ResponseWithContinuationArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate + Resource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource + Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port EvaluatePoliciesResponse = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse ResponseWithContinuationArtifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifact ArmTemplateParameterProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplateParameterProperties @@ -138,60 +135,63 @@ module Models ResponseWithContinuationFormula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationFormula CustomImagePropertiesCustom = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesCustom ResponseWithContinuationGalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage - Schedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule ApplicableSchedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule ScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment ApplicableScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableScheduleFragment ArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplate - Artifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact + Schedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule ArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource ArtifactSourceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment - CustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage - Disk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk + Artifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact DtlEnvironment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment Formula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula - GalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage + CustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage Lab = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab LabCost = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost - LabFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment + GalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage LabVirtualMachine = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine LabVirtualMachineFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment - NotificationChannel = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel + Disk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk NotificationChannelFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment - Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy PolicyFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment - Secret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret - ServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner - User = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User - VirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + NotificationChannel = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel + LabFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment UserFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment - VirtualNetworkFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment - EnableStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus + InboundNatRule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule + ServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner NotificationStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus + VirtualNetworkFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment + Secret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret + CostThresholdStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus SourceControlType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType StorageType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType - CostThresholdStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus - WindowsOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState - LinuxOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState + Subnet = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet + Event = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event + User = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User CustomImageOsType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType HostCachingOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions - NotificationChannelEventType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType - TransportProtocol = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol - VirtualMachineCreationSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource + EnableStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus + LinuxOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState FileUploadOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions PremiumDataDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PremiumDataDisk + NotificationChannelEventType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType + WindowsOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState + CostType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType + PolicyStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus TargetCostStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus ReportingCycleType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ReportingCycleType - CostType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType + VirtualMachineCreationSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource HttpStatusCode = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode - PolicyStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus - PolicyFactName = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName PolicyEvaluatorType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType UsagePermissionType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UsagePermissionType + VirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + PolicyFactName = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName + TransportProtocol = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol + Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy end class DevTestLabsManagementClass - attr_reader :provider_operations, :labs, :operations, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :notification_channels, :policy_sets, :policies, :schedules, :service_runners, :users, :disks, :environments, :secrets, :virtual_machines, :virtual_machine_schedules, :virtual_networks, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_machine_schedules, :environments, :virtual_networks, :disks, :virtual_machines, :operations, :provider_operations, :labs, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :notification_channels, :policy_sets, :schedules, :service_runners, :users, :policies, :secrets, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -201,9 +201,14 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @virtual_machine_schedules = @client_0.virtual_machine_schedules + @environments = @client_0.environments + @virtual_networks = @client_0.virtual_networks + @disks = @client_0.disks + @virtual_machines = @client_0.virtual_machines + @operations = @client_0.operations @provider_operations = @client_0.provider_operations @labs = @client_0.labs - @operations = @client_0.operations @global_schedules = @client_0.global_schedules @artifact_sources = @client_0.artifact_sources @arm_templates = @client_0.arm_templates @@ -214,16 +219,11 @@ def initialize(configurable, base_url=nil, options=nil) @gallery_images = @client_0.gallery_images @notification_channels = @client_0.notification_channels @policy_sets = @client_0.policy_sets - @policies = @client_0.policies @schedules = @client_0.schedules @service_runners = @client_0.service_runners @users = @client_0.users - @disks = @client_0.disks - @environments = @client_0.environments + @policies = @client_0.policies @secrets = @client_0.secrets - @virtual_machines = @client_0.virtual_machines - @virtual_machine_schedules = @client_0.virtual_machine_schedules - @virtual_networks = @client_0.virtual_networks @model_classes = ModelClasses.new end @@ -251,9 +251,6 @@ def gallery_image_reference def day_details Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetails end - def inbound_nat_rule - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule - end def notification_settings Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettings end @@ -320,9 +317,6 @@ def artifact_install_properties_fragment def response_with_continuation_lab_vhd Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationLabVhd end - def subnet - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet - end def user_secret_store_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserSecretStoreFragment end @@ -407,9 +401,6 @@ def policy_set_result def subnet_shared_public_ip_address_configuration_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfigurationFragment end - def event - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event - end def lab_vhd Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVhd end @@ -419,9 +410,6 @@ def day_details_fragment def subnet_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetFragment end - def user_identity - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity - end def shared_public_ip_address_configuration_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfigurationFragment end @@ -440,6 +428,9 @@ def shutdown_notification_content def response_with_continuation_secret Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationSecret end + def user_identity + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity + end def retarget_schedule_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::RetargetScheduleProperties end @@ -494,9 +485,6 @@ def subnet_shared_public_ip_address_configuration def apply_artifacts_request Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplyArtifactsRequest end - def port - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port - end def artifact_parameter_properties_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterPropertiesFragment end @@ -509,15 +497,18 @@ def provider_operation_result def cost_threshold_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties end - def resource - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource - end def detach_disk_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties end def response_with_continuation_arm_template Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate end + def resource + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource + end + def port + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port + end def evaluate_policies_response Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse end @@ -560,9 +551,6 @@ def custom_image_properties_custom def response_with_continuation_gallery_image Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage end - def schedule - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule - end def applicable_schedule Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule end @@ -575,8 +563,8 @@ def applicable_schedule_fragment def arm_template Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplate end - def artifact - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact + def schedule + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule end def artifact_source Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource @@ -584,11 +572,8 @@ def artifact_source def artifact_source_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment end - def custom_image - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage - end - def disk - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk + def artifact + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact end def dtl_environment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment @@ -596,8 +581,8 @@ def dtl_environment def formula Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula end - def gallery_image - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage + def custom_image + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage end def lab Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab @@ -605,8 +590,8 @@ def lab def lab_cost Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost end - def lab_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment + def gallery_image + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage end def lab_virtual_machine Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine @@ -614,56 +599,56 @@ def lab_virtual_machine def lab_virtual_machine_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment end - def notification_channel - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel + def disk + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk end def notification_channel_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment end - def policy - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy - end def policy_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment end - def secret - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret - end - def service_runner - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner - end - def user - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User + def notification_channel + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel end - def virtual_network - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + def lab_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment end def user_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment end - def virtual_network_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment + def inbound_nat_rule + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule end - def enable_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus + def service_runner + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner end def notification_status Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus end + def virtual_network_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment + end + def secret + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret + end + def cost_threshold_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus + end def source_control_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType end def storage_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType end - def cost_threshold_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus + def subnet + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet end - def windows_os_state - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState + def event + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event end - def linux_os_state - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState + def user + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User end def custom_image_os_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType @@ -671,14 +656,11 @@ def custom_image_os_type def host_caching_options Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions end - def notification_channel_event_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType - end - def transport_protocol - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol + def enable_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus end - def virtual_machine_creation_source - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource + def linux_os_state + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState end def file_upload_options Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions @@ -686,30 +668,48 @@ def file_upload_options def premium_data_disk Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PremiumDataDisk end + def notification_channel_event_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType + end + def windows_os_state + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState + end + def cost_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType + end + def policy_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus + end def target_cost_status Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus end def reporting_cycle_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ReportingCycleType end - def cost_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType + def virtual_machine_creation_source + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource end def http_status_code Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode end - def policy_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus - end - def policy_fact_name - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName - end def policy_evaluator_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType end def usage_permission_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UsagePermissionType end + def virtual_network + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + end + def policy_fact_name + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName + end + def transport_protocol + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol + end + def policy + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy + 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 c6bcada226..24e4a55ab2 100644 --- a/azure_sdk/lib/latest/modules/dns_profile_module.rb +++ b/azure_sdk/lib/latest/modules/dns_profile_module.rb @@ -18,19 +18,19 @@ module Models NsRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::NsRecord RecordSetListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetListResult SrvRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord - SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource CnameRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord SoaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SoaRecord MxRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord + SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource ZoneUpdate = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate TxtRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::TxtRecord ZoneListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult PtrRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord - Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource ARecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord Zone = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone - ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType + Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource RecordType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType + ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType end class DnsManagementClass @@ -85,9 +85,6 @@ def record_set_list_result def srv_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord end - def sub_resource - Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource - end def cname_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord end @@ -97,6 +94,9 @@ def soa_record def mx_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord end + def sub_resource + Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource + end def zone_update Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate end @@ -109,21 +109,21 @@ def zone_list_result def ptr_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord end - def resource - Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource - end def arecord Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord end def zone Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone end - def zone_type - Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType + def resource + Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource end def record_type Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType 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 17698e5897..4a994bde74 100644 --- a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb @@ -9,25 +9,10 @@ module EntitySearch EntitiesOperations = Azure::CognitiveServices::EntitySearch::V1_0::EntitiesOperations module Models - ResponseBase = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase - QueryContext = Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext - ContractualRulesContractualRule = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule - EntitiesEntityPresentationInfo = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo - Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error - ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject - Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response - Thing = Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing - SearchResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse - Answer = Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer - SearchResultsAnswer = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer - Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities Places = Azure::CognitiveServices::EntitySearch::V1_0::Models::Places - Identifiable = Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable - ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse PostalAddress = Azure::CognitiveServices::EntitySearch::V1_0::Models::PostalAddress Place = Azure::CognitiveServices::EntitySearch::V1_0::Models::Place Organization = Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization - CreativeWork = Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork Intangible = Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible ContractualRulesAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution MediaObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject @@ -46,15 +31,30 @@ module Models FoodEstablishment = Azure::CognitiveServices::EntitySearch::V1_0::Models::FoodEstablishment LodgingBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::LodgingBusiness Restaurant = Azure::CognitiveServices::EntitySearch::V1_0::Models::Restaurant + Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response Hotel = Azure::CognitiveServices::EntitySearch::V1_0::Models::Hotel - EntityQueryScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario EntityScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario + AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType + EntityQueryScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario + ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType + ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse + Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error + ResponseBase = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase + QueryContext = Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext + SearchResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse + SearchResultsAnswer = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer + Identifiable = Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable + Answer = Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork ErrorCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode - AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType - ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat SafeSearch = Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch + ContractualRulesContractualRule = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule + EntitiesEntityPresentationInfo = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo + ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities end class EntitySearchDataClass @@ -87,51 +87,9 @@ def method_missing(method, *args) end class ModelClasses - def response_base - Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase - end - def query_context - Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext - end - def contractual_rules_contractual_rule - Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule - end - def entities_entity_presentation_info - Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo - end - def error - Azure::CognitiveServices::EntitySearch::V1_0::Models::Error - end - def image_object - Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject - end - def response - Azure::CognitiveServices::EntitySearch::V1_0::Models::Response - end - def thing - Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing - end - def search_response - Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse - end - def answer - Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer - end - def search_results_answer - Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer - end - def entities - Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities - end def places Azure::CognitiveServices::EntitySearch::V1_0::Models::Places end - def identifiable - Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable - end - def error_response - Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse - end def postal_address Azure::CognitiveServices::EntitySearch::V1_0::Models::PostalAddress end @@ -141,9 +99,6 @@ def place def organization Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization end - def creative_work - Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork - end def intangible Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible end @@ -198,33 +153,78 @@ def lodging_business def restaurant Azure::CognitiveServices::EntitySearch::V1_0::Models::Restaurant end + def response + Azure::CognitiveServices::EntitySearch::V1_0::Models::Response + end def hotel Azure::CognitiveServices::EntitySearch::V1_0::Models::Hotel end + def entity_scenario + Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario + end + def answer_type + Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType + end def entity_query_scenario Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario end - def entity_scenario - Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario + def response_format + Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat end def entity_type Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType end + def error_response + Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse + end + def error + Azure::CognitiveServices::EntitySearch::V1_0::Models::Error + end + def response_base + Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase + end + def query_context + Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext + end + def search_response + Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse + end + def search_results_answer + Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer + end + def identifiable + Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable + end + def answer + Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer + end + def thing + Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing + end + def creative_work + Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork + end def error_code Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode end def error_sub_code Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode end - def answer_type - Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType - end - def response_format - Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat - end def safe_search Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch end + def contractual_rules_contractual_rule + Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule + end + def entities_entity_presentation_info + Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo + end + def image_object + Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + end + def entities + Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities + end end end end diff --git a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb index 7cc7034984..dce4bb7aa0 100644 --- a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb @@ -9,22 +9,6 @@ module Azure::Profiles::Latest module EventGrid module Models - DeviceTwinMetadata = Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata - DeviceTwinProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties - StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData - DeviceTwinInfoProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties - ResourceWriteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData - DeviceTwinInfoX509Thumbprint = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint - ResourceWriteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData - DeviceTwinInfo = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo - ResourceDeleteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData - DeviceLifeCycleEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties - EventGridEvent = Azure::EventGrid::V2018_01_01::Models::EventGridEvent - SubscriptionValidationEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData - SubscriptionValidationResponse = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse - SubscriptionDeletedEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData - ServiceBusActiveMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData - StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData MediaJobStateChangeEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData ResourceWriteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData ContainerRegistryEventTarget = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventTarget @@ -41,6 +25,22 @@ module Models ContainerRegistryImagePushedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImagePushedEventData ContainerRegistryImageDeletedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImageDeletedEventData JobState = Azure::EventGrid::V2018_01_01::Models::JobState + DeviceTwinMetadata = Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata + DeviceTwinProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties + StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData + DeviceTwinInfoProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties + ResourceWriteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData + DeviceTwinInfoX509Thumbprint = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint + ResourceWriteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData + DeviceTwinInfo = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo + ResourceDeleteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData + DeviceLifeCycleEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties + EventGridEvent = Azure::EventGrid::V2018_01_01::Models::EventGridEvent + SubscriptionValidationEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData + SubscriptionValidationResponse = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse + SubscriptionDeletedEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData + ServiceBusActiveMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData + StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData end class EventGridDataClass @@ -72,54 +72,6 @@ def method_missing(method, *args) end class ModelClasses - def device_twin_metadata - Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata - end - def device_twin_properties - Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties - end - def storage_blob_deleted_event_data - Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData - end - def device_twin_info_properties - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties - end - def resource_write_success_data - Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData - end - def device_twin_info_x509_thumbprint - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint - end - def resource_write_cancel_data - Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData - end - def device_twin_info - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo - end - def resource_delete_failure_data - Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData - end - def device_life_cycle_event_properties - Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties - end - def event_grid_event - Azure::EventGrid::V2018_01_01::Models::EventGridEvent - end - def subscription_validation_event_data - Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData - end - def subscription_validation_response - Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse - end - def subscription_deleted_event_data - Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData - end - def service_bus_active_messages_available_with_no_listeners_event_data - Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData - end - def storage_blob_created_event_data - Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData - end def media_job_state_change_event_data Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData end @@ -168,17 +120,64 @@ def container_registry_image_deleted_event_data def job_state Azure::EventGrid::V2018_01_01::Models::JobState end + def device_twin_metadata + Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata + end + def device_twin_properties + Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties + end + def storage_blob_deleted_event_data + Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData + end + def device_twin_info_properties + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties + end + def resource_write_success_data + Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData + end + def device_twin_info_x509_thumbprint + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint + end + def resource_write_cancel_data + Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData + end + def device_twin_info + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo + end + def resource_delete_failure_data + Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData + end + def device_life_cycle_event_properties + Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties + end + def event_grid_event + Azure::EventGrid::V2018_01_01::Models::EventGridEvent + end + def subscription_validation_event_data + Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData + end + def subscription_validation_response + Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse + end + def subscription_deleted_event_data + Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData + end + def service_bus_active_messages_available_with_no_listeners_event_data + Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData + end + def storage_blob_created_event_data + Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData + end end end module Mgmt - EventSubscriptions = Azure::EventGrid::Mgmt::V2018_05_01_preview::EventSubscriptions + TopicTypes = Azure::EventGrid::Mgmt::V2018_05_01_preview::TopicTypes Operations = Azure::EventGrid::Mgmt::V2018_05_01_preview::Operations + EventSubscriptions = Azure::EventGrid::Mgmt::V2018_05_01_preview::EventSubscriptions Topics = Azure::EventGrid::Mgmt::V2018_05_01_preview::Topics - TopicTypes = Azure::EventGrid::Mgmt::V2018_05_01_preview::TopicTypes module Models - Operation = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation - OperationsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult + Resource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource EventSubscriptionFilter = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFilter InputSchemaMapping = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchemaMapping DeadLetterDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::DeadLetterDestination @@ -190,7 +189,6 @@ module Models TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicSharedAccessKeys RetryPolicy = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::RetryPolicy EventSubscriptionFullUrl = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFullUrl - Resource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource TopicRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicRegenerateKeyRequest TopicsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicsListResult TopicTypesListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypesListResult @@ -204,8 +202,10 @@ module Models HybridConnectionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::HybridConnectionEventSubscriptionDestination EventSubscription = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscription JsonInputSchemaMapping = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonInputSchemaMapping - TrackedResource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource Topic = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Topic + Operation = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation + TrackedResource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource + OperationsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult EventType = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventType TopicTypeInfo = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeInfo EventSubscriptionProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionProvisioningState @@ -217,7 +217,7 @@ module Models end class EventGridManagementClass - attr_reader :event_subscriptions, :operations, :topics, :topic_types, :configurable, :base_url, :options, :model_classes + attr_reader :topic_types, :operations, :event_subscriptions, :topics, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -227,10 +227,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @event_subscriptions = @client_0.event_subscriptions + @topic_types = @client_0.topic_types @operations = @client_0.operations + @event_subscriptions = @client_0.event_subscriptions @topics = @client_0.topics - @topic_types = @client_0.topic_types @model_classes = ModelClasses.new end @@ -249,11 +249,8 @@ def method_missing(method, *args) end class ModelClasses - def operation - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation - end - def operations_list_result - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult + def resource + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource end def event_subscription_filter Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFilter @@ -288,9 +285,6 @@ def retry_policy def event_subscription_full_url Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFullUrl end - def resource - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource - end def topic_regenerate_key_request Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicRegenerateKeyRequest end @@ -330,11 +324,17 @@ def event_subscription def json_input_schema_mapping Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonInputSchemaMapping end + def topic + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Topic + end + def operation + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation + end def tracked_resource Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource end - def topic - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Topic + def operations_list_result + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult end def event_type Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventType diff --git a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb index 21e8886a95..21443d91be 100644 --- a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb @@ -14,38 +14,38 @@ module Mgmt ConsumerGroups = Azure::EventHub::Mgmt::V2017_04_01::ConsumerGroups module Models + KeyType = Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType + Sku = Azure::EventHub::Mgmt::V2017_04_01::Models::Sku + CheckNameAvailabilityResult = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + Resource = Azure::EventHub::Mgmt::V2017_04_01::Models::Resource CaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription Destination = Azure::EventHub::Mgmt::V2017_04_01::Models::Destination - Resource = Azure::EventHub::Mgmt::V2017_04_01::Models::Resource - Operation = Azure::EventHub::Mgmt::V2017_04_01::Models::Operation - ErrorResponse = Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse - OperationListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult EventHubListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult AccessKeys = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys ArmDisasterRecoveryListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult - Sku = Azure::EventHub::Mgmt::V2017_04_01::Models::Sku ConsumerGroupListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult AuthorizationRuleListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult CheckNameAvailabilityParameter = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter EHNamespaceListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespaceListResult - CheckNameAvailabilityResult = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult RegenerateAccessKeyParameters = Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters OperationDisplay = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay - TrackedResource = Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource - EHNamespace = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace + OperationListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult AuthorizationRule = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule - Eventhub = Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub + EHNamespace = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace ConsumerGroup = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup - ArmDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery - SkuName = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName + Eventhub = Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub SkuTier = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier + ArmDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery AccessRights = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights - KeyType = Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType - EntityStatus = Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus + ErrorResponse = Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse EncodingCaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + SkuName = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName + EntityStatus = Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus + RoleDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery + Operation = Azure::EventHub::Mgmt::V2017_04_01::Models::Operation + TrackedResource = Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource UnavailableReason = Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason ProvisioningStateDR = Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR - RoleDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery end class EventHubManagementClass @@ -82,23 +82,23 @@ def method_missing(method, *args) end class ModelClasses - def capture_description - Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription + def key_type + Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType end - def destination - Azure::EventHub::Mgmt::V2017_04_01::Models::Destination + def sku + Azure::EventHub::Mgmt::V2017_04_01::Models::Sku + end + def check_name_availability_result + Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult end def resource Azure::EventHub::Mgmt::V2017_04_01::Models::Resource end - def operation - Azure::EventHub::Mgmt::V2017_04_01::Models::Operation - end - def error_response - Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse + def capture_description + Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription end - def operation_list_result - Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult + def destination + Azure::EventHub::Mgmt::V2017_04_01::Models::Destination end def event_hub_list_result Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult @@ -109,9 +109,6 @@ def access_keys def arm_disaster_recovery_list_result Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult end - def sku - Azure::EventHub::Mgmt::V2017_04_01::Models::Sku - end def consumer_group_list_result Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult end @@ -124,50 +121,56 @@ def check_name_availability_parameter def ehnamespace_list_result Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespaceListResult end - def check_name_availability_result - Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - end def regenerate_access_key_parameters Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters end def operation_display Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay end - def tracked_resource - Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource - end - def ehnamespace - Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace + def operation_list_result + Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult end def authorization_rule Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule end - def eventhub - Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub + def ehnamespace + Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace end def consumer_group Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup end - def arm_disaster_recovery - Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery - end - def sku_name - Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName + def eventhub + Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub end def sku_tier Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier end + def arm_disaster_recovery + Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery + end def access_rights Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights end - def key_type - Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType + def error_response + Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse + end + def encoding_capture_description + Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + end + def sku_name + Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName end def entity_status Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus end - def encoding_capture_description - Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + def role_disaster_recovery + Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery + end + def operation + Azure::EventHub::Mgmt::V2017_04_01::Models::Operation + end + def tracked_resource + Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource end def unavailable_reason Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason @@ -175,9 +178,6 @@ def unavailable_reason def provisioning_state_dr Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR end - def role_disaster_recovery - Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery - 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 4749700ad2..cd2040801f 100644 --- a/azure_sdk/lib/latest/modules/face_profile_module.rb +++ b/azure_sdk/lib/latest/modules/face_profile_module.rb @@ -6,16 +6,15 @@ module Azure::Profiles::Latest module Face - Face = Azure::CognitiveServices::Face::V1_0::Face - PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations + Face = Azure::CognitiveServices::Face::V1_0::Face + PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson module Models + APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError FindSimilarRequest = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest - Error = Azure::CognitiveServices::Face::V1_0::Models::Error SimilarFace = Azure::CognitiveServices::Face::V1_0::Models::SimilarFace - FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle GroupRequest = Azure::CognitiveServices::Face::V1_0::Models::GroupRequest FaceLandmarks = Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks GroupResult = Azure::CognitiveServices::Face::V1_0::Models::GroupResult @@ -31,38 +30,39 @@ module Models VerifyFaceToFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest FaceAttributes = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes VerifyResult = Azure::CognitiveServices::Face::V1_0::Models::VerifyResult - APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError + FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle PersistedFace = Azure::CognitiveServices::Face::V1_0::Models::PersistedFace FacialHair = Azure::CognitiveServices::Face::V1_0::Models::FacialHair Coordinate = Azure::CognitiveServices::Face::V1_0::Models::Coordinate Emotion = Azure::CognitiveServices::Face::V1_0::Models::Emotion Occlusion = Azure::CognitiveServices::Face::V1_0::Models::Occlusion Noise = Azure::CognitiveServices::Face::V1_0::Models::Noise - ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl Hair = Azure::CognitiveServices::Face::V1_0::Models::Hair - NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace - UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest + Error = Azure::CognitiveServices::Face::V1_0::Models::Error Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup Person = Azure::CognitiveServices::Face::V1_0::Models::Person - 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 + Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel + AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel - FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode + NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType - FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType + UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest + ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl + FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode AzureRegions = Azure::CognitiveServices::Face::V1_0::Models::AzureRegions + FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType end class FaceDataClass - attr_reader :face, :person_group_person, :person_group_operations, :face_list_operations, :configurable, :base_url, :options, :model_classes + attr_reader :person_group_operations, :face_list_operations, :face, :person_group_person, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -72,10 +72,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @face = @client_0.face - @person_group_person = @client_0.person_group_person @person_group_operations = @client_0.person_group_operations @face_list_operations = @client_0.face_list_operations + @face = @client_0.face + @person_group_person = @client_0.person_group_person @model_classes = ModelClasses.new end @@ -94,18 +94,15 @@ def method_missing(method, *args) end class ModelClasses + def apierror + Azure::CognitiveServices::Face::V1_0::Models::APIError + end def find_similar_request Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest end - def error - Azure::CognitiveServices::Face::V1_0::Models::Error - end def similar_face Azure::CognitiveServices::Face::V1_0::Models::SimilarFace end - def face_rectangle - Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle - end def group_request Azure::CognitiveServices::Face::V1_0::Models::GroupRequest end @@ -151,8 +148,8 @@ def face_attributes def verify_result Azure::CognitiveServices::Face::V1_0::Models::VerifyResult end - def apierror - Azure::CognitiveServices::Face::V1_0::Models::APIError + def face_rectangle + Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle end def persisted_face Azure::CognitiveServices::Face::V1_0::Models::PersistedFace @@ -172,20 +169,14 @@ def occlusion def noise Azure::CognitiveServices::Face::V1_0::Models::Noise end - def image_url - Azure::CognitiveServices::Face::V1_0::Models::ImageUrl - end def hair Azure::CognitiveServices::Face::V1_0::Models::Hair end - def name_and_user_data_contract - Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract - end def detected_face Azure::CognitiveServices::Face::V1_0::Models::DetectedFace end - def update_person_face_request - Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest + def error + Azure::CognitiveServices::Face::V1_0::Models::Error end def blur Azure::CognitiveServices::Face::V1_0::Models::Blur @@ -202,17 +193,14 @@ def person_group def person Azure::CognitiveServices::Face::V1_0::Models::Person end - def gender - Azure::CognitiveServices::Face::V1_0::Models::Gender - end def glasses_type Azure::CognitiveServices::Face::V1_0::Models::GlassesType end def hair_color_type Azure::CognitiveServices::Face::V1_0::Models::HairColorType end - def accessory_type - Azure::CognitiveServices::Face::V1_0::Models::AccessoryType + def gender + Azure::CognitiveServices::Face::V1_0::Models::Gender end def blur_level Azure::CognitiveServices::Face::V1_0::Models::BlurLevel @@ -220,21 +208,33 @@ def blur_level def exposure_level Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel end + def accessory_type + Azure::CognitiveServices::Face::V1_0::Models::AccessoryType + end def noise_level Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel end - def find_similar_match_mode - Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode + def name_and_user_data_contract + Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract end def training_status_type Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType end - def face_attribute_type - Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType + def update_person_face_request + Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest + end + def image_url + Azure::CognitiveServices::Face::V1_0::Models::ImageUrl + end + def find_similar_match_mode + Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode end def azure_regions Azure::CognitiveServices::Face::V1_0::Models::AzureRegions end + def face_attribute_type + Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType + 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 fada59715e..aff87eba3a 100644 --- a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb +++ b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb @@ -10,17 +10,36 @@ module GraphRbac Applications = Azure::GraphRbac::V1_6::Applications Groups = Azure::GraphRbac::V1_6::Groups ServicePrincipals = Azure::GraphRbac::V1_6::ServicePrincipals - Users = Azure::GraphRbac::V1_6::Users Domains = Azure::GraphRbac::V1_6::Domains + Users = Azure::GraphRbac::V1_6::Users module Models + UserBase = Azure::GraphRbac::V1_6::Models::UserBase + AADObject = Azure::GraphRbac::V1_6::Models::AADObject + Domain = Azure::GraphRbac::V1_6::Models::Domain + 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 + ApplicationAddOwnerParameters = Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters + UserListResult = Azure::GraphRbac::V1_6::Models::UserListResult + GroupCreateParameters = Azure::GraphRbac::V1_6::Models::GroupCreateParameters + DirectoryObject = Azure::GraphRbac::V1_6::Models::DirectoryObject + UserGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters + ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup + Application = Azure::GraphRbac::V1_6::Models::Application + ApplicationCreateParameters = Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters + ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal + UserType = Azure::GraphRbac::V1_6::Models::UserType + ApplicationUpdateParameters = Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters + User = Azure::GraphRbac::V1_6::Models::User + UserCreateParameters = Azure::GraphRbac::V1_6::Models::UserCreateParameters + UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters GroupAddMemberParameters = Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters GraphError = Azure::GraphRbac::V1_6::Models::GraphError - GroupCreateParameters = Azure::GraphRbac::V1_6::Models::GroupCreateParameters KeyCredential = Azure::GraphRbac::V1_6::Models::KeyCredential ResourceAccess = Azure::GraphRbac::V1_6::Models::ResourceAccess GroupListResult = Azure::GraphRbac::V1_6::Models::GroupListResult - ApplicationCreateParameters = Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters GroupGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters UserGetMemberGroupsResult = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult ApplicationListResult = Azure::GraphRbac::V1_6::Models::ApplicationListResult @@ -35,31 +54,12 @@ module Models DomainListResult = Azure::GraphRbac::V1_6::Models::DomainListResult PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential ServicePrincipalListResult = Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult - ApplicationUpdateParameters = Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters 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 - Domain = Azure::GraphRbac::V1_6::Models::Domain - 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 - ApplicationAddOwnerParameters = Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters - UserListResult = Azure::GraphRbac::V1_6::Models::UserListResult - DirectoryObject = Azure::GraphRbac::V1_6::Models::DirectoryObject - UserGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters - Application = Azure::GraphRbac::V1_6::Models::Application - ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup - ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal - UserCreateParameters = Azure::GraphRbac::V1_6::Models::UserCreateParameters - UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters - User = Azure::GraphRbac::V1_6::Models::User - UserType = Azure::GraphRbac::V1_6::Models::UserType end class GraphRbacDataClass - attr_reader :objects, :applications, :groups, :service_principals, :users, :domains, :configurable, :base_url, :options, :model_classes + attr_reader :objects, :applications, :groups, :service_principals, :domains, :users, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -73,8 +73,8 @@ def initialize(configurable, base_url=nil, options=nil) @applications = @client_0.applications @groups = @client_0.groups @service_principals = @client_0.service_principals - @users = @client_0.users @domains = @client_0.domains + @users = @client_0.users @model_classes = ModelClasses.new end @@ -93,15 +93,75 @@ def method_missing(method, *args) end class ModelClasses + def user_base + Azure::GraphRbac::V1_6::Models::UserBase + end + def aadobject + Azure::GraphRbac::V1_6::Models::AADObject + end + def domain + Azure::GraphRbac::V1_6::Models::Domain + end + def required_resource_access + Azure::GraphRbac::V1_6::Models::RequiredResourceAccess + end + def get_objects_parameters + Azure::GraphRbac::V1_6::Models::GetObjectsParameters + end + def password_credential_list_result + Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult + end + def sign_in_name + Azure::GraphRbac::V1_6::Models::SignInName + end + def application_add_owner_parameters + Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters + end + def user_list_result + Azure::GraphRbac::V1_6::Models::UserListResult + end + def group_create_parameters + Azure::GraphRbac::V1_6::Models::GroupCreateParameters + end + def directory_object + Azure::GraphRbac::V1_6::Models::DirectoryObject + end + def user_get_member_groups_parameters + Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters + end + def adgroup + Azure::GraphRbac::V1_6::Models::ADGroup + end + def application + Azure::GraphRbac::V1_6::Models::Application + end + def application_create_parameters + Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters + end + def service_principal + Azure::GraphRbac::V1_6::Models::ServicePrincipal + end + def user_type + Azure::GraphRbac::V1_6::Models::UserType + end + def application_update_parameters + Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters + end + def user + Azure::GraphRbac::V1_6::Models::User + end + def user_create_parameters + Azure::GraphRbac::V1_6::Models::UserCreateParameters + end + def user_update_parameters + Azure::GraphRbac::V1_6::Models::UserUpdateParameters + end def group_add_member_parameters Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters end def graph_error Azure::GraphRbac::V1_6::Models::GraphError end - def group_create_parameters - Azure::GraphRbac::V1_6::Models::GroupCreateParameters - end def key_credential Azure::GraphRbac::V1_6::Models::KeyCredential end @@ -111,9 +171,6 @@ def resource_access def group_list_result Azure::GraphRbac::V1_6::Models::GroupListResult end - def application_create_parameters - Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters - end def group_get_member_groups_parameters Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters end @@ -156,69 +213,12 @@ def password_credential def service_principal_list_result Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult end - def application_update_parameters - Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters - end 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 domain - Azure::GraphRbac::V1_6::Models::Domain - end - def required_resource_access - Azure::GraphRbac::V1_6::Models::RequiredResourceAccess - end - def get_objects_parameters - Azure::GraphRbac::V1_6::Models::GetObjectsParameters - end - def password_credential_list_result - Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult - end - def sign_in_name - Azure::GraphRbac::V1_6::Models::SignInName - end - def application_add_owner_parameters - Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters - end - def user_list_result - Azure::GraphRbac::V1_6::Models::UserListResult - end - def directory_object - Azure::GraphRbac::V1_6::Models::DirectoryObject - end - def user_get_member_groups_parameters - Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters - end - def application - Azure::GraphRbac::V1_6::Models::Application - end - def adgroup - Azure::GraphRbac::V1_6::Models::ADGroup - end - def service_principal - Azure::GraphRbac::V1_6::Models::ServicePrincipal - end - def user_create_parameters - Azure::GraphRbac::V1_6::Models::UserCreateParameters - end - def user_update_parameters - Azure::GraphRbac::V1_6::Models::UserUpdateParameters - end - def user - Azure::GraphRbac::V1_6::Models::User - end - def user_type - Azure::GraphRbac::V1_6::Models::UserType - 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 5dbb122fb9..6efb2353e5 100644 --- a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb @@ -9,64 +9,64 @@ module ImageSearch ImagesOperations = Azure::CognitiveServices::ImageSearch::V1_0::ImagesOperations module Models + Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization + Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible + MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject + StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue + Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response RelatedSearchesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule InsightsTag = Azure::CognitiveServices::ImageSearch::V1_0::Models::InsightsTag RecognizedEntitiesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntitiesModule PropertiesItem = Azure::CognitiveServices::ImageSearch::V1_0::Models::PropertiesItem RecognizedEntityGroup = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityGroup TrendingImagesCategory = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory - Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query PivotSuggestions = Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions RelatedCollectionsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedCollectionsModule ImageTagsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageTagsModule RecipesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecipesModule ImagesImageMetadata = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesImageMetadata ImageInsightsImageCaption = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption - ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase - Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error TrendingImagesTile = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile ImagesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule - Thing = Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing - Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization AggregateRating = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating Offer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Offer AggregateOffer = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer - MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject - SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer - Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images - Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response - Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer - CreativeWork = Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse ImageGallery = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery Recipe = Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe NormalizedRectangle = Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle RecognizedEntity = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity - RecognizedEntityRegion = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion ImageInsights = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights TrendingImages = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages - WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage - Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person - Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible - Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating + RecognizedEntityRegion = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion CollectionPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage - StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue Currency = Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency + Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability - ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode ImageAspect = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect ImageColor = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor - Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness + Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error ImageContent = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent - ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType - ImageLicense = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense - SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch + Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness ImageSize = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize + ImageLicense = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense + Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person ImageCropType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType ImageInsightModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule + ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images + ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase + Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query + WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage + SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer + Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable + Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork + ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode + SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch + ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject end class ImageSearchDataClass @@ -99,6 +99,21 @@ def method_missing(method, *args) end class ModelClasses + def organization + Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization + end + def intangible + Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible + end + def media_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject + end + def structured_value + Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue + end + def response + Azure::CognitiveServices::ImageSearch::V1_0::Models::Response + end def related_searches_module Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule end @@ -117,9 +132,6 @@ def recognized_entity_group def trending_images_category Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory end - def query - Azure::CognitiveServices::ImageSearch::V1_0::Models::Query - end def pivot_suggestions Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions end @@ -138,24 +150,12 @@ def images_image_metadata def image_insights_image_caption Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption end - def response_base - Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase - end - def error - Azure::CognitiveServices::ImageSearch::V1_0::Models::Error - end def trending_images_tile Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile end def images_module Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule end - def thing - Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing - end - def organization - Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization - end def aggregate_rating Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating end @@ -165,30 +165,6 @@ def offer def aggregate_offer Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer end - def media_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - end - def image_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject - end - def search_results_answer - Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer - end - def images - Azure::CognitiveServices::ImageSearch::V1_0::Models::Images - end - def identifiable - Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable - end - def response - Azure::CognitiveServices::ImageSearch::V1_0::Models::Response - end - def answer - Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer - end - def creative_work - Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork - end def error_response Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse end @@ -204,68 +180,50 @@ def normalized_rectangle def recognized_entity Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity end - def recognized_entity_region - Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion - end def image_insights Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights end def trending_images Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages end - def web_page - Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage - end - def person - Azure::CognitiveServices::ImageSearch::V1_0::Models::Person - end - def intangible - Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible - end - def rating - Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating + def recognized_entity_region + Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion end def collection_page Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage end - def structured_value - Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue - end def currency Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency end + def rating + Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating + end def item_availability Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability end - def error_code - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode - end - def error_sub_code - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode - end def image_aspect Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect end def image_color Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor end - def freshness - Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness + def error + Azure::CognitiveServices::ImageSearch::V1_0::Models::Error end def image_content Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent end - def image_type - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + def freshness + Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness + end + def image_size + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize end def image_license Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense end - def safe_search - Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch - end - def image_size - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize + def person + Azure::CognitiveServices::ImageSearch::V1_0::Models::Person end def image_crop_type Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType @@ -273,6 +231,48 @@ def image_crop_type def image_insight_module Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule end + def image_type + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + end + def images + Azure::CognitiveServices::ImageSearch::V1_0::Models::Images + end + def response_base + Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase + end + def query + Azure::CognitiveServices::ImageSearch::V1_0::Models::Query + end + def web_page + Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage + end + def search_results_answer + Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer + end + def identifiable + Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable + end + def answer + Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer + end + def thing + Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing + end + def creative_work + Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork + end + def error_code + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode + end + def error_sub_code + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode + end + def safe_search + Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch + end + def image_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject + end end end end diff --git a/azure_sdk/lib/latest/modules/iothub_profile_module.rb b/azure_sdk/lib/latest/modules/iothub_profile_module.rb index c6887fc4ca..bcf679a448 100644 --- a/azure_sdk/lib/latest/modules/iothub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iothub_profile_module.rb @@ -17,17 +17,12 @@ module Models CertificateBodyDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateBodyDescription CertificateProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateProperties CertificateListDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateListDescription - Resource = Azure::IotHub::Mgmt::V2017_07_01::Models::Resource CertificateWithNonceDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateWithNonceDescription SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::SharedAccessSignatureAuthorizationRuleListResult IpFilterRule = Azure::IotHub::Mgmt::V2017_07_01::Models::IpFilterRule - OperationDisplay = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationDisplay RoutingServiceBusQueueEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusQueueEndpointProperties - Operation = Azure::IotHub::Mgmt::V2017_07_01::Models::Operation RoutingEventHubProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingEventHubProperties - OperationListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationListResult RoutingEndpoints = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingEndpoints - ErrorDetails = Azure::IotHub::Mgmt::V2017_07_01::Models::ErrorDetails FallbackRouteProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::FallbackRouteProperties IotHubQuotaMetricInfo = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubQuotaMetricInfo StorageEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::StorageEndpointProperties @@ -39,27 +34,29 @@ module Models CertificateDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateDescription JobResponseListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::JobResponseListResult SharedAccessSignatureAuthorizationRule = Azure::IotHub::Mgmt::V2017_07_01::Models::SharedAccessSignatureAuthorizationRule + OperationDisplay = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationDisplay IotHubCapacity = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubCapacity - RoutingServiceBusTopicEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusTopicEndpointProperties + OperationListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationListResult IotHubSkuDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuDescription - RouteProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RouteProperties + RoutingServiceBusTopicEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusTopicEndpointProperties EventHubConsumerGroupsListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubConsumerGroupsListResult - MessagingEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::MessagingEndpointProperties + RouteProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RouteProperties EventHubConsumerGroupInfo = Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubConsumerGroupInfo - CertificateVerificationDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateVerificationDescription + MessagingEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::MessagingEndpointProperties IotHubSkuDescriptionListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuDescriptionListResult - EventHubProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubProperties + CertificateVerificationDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateVerificationDescription IotHubDescriptionListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubDescriptionListResult - RoutingProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingProperties - OperationInputs = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationInputs + EventHubProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubProperties CertificatePropertiesWithNonce = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificatePropertiesWithNonce - IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameAvailabilityInfo + RoutingProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingProperties + Operation = Azure::IotHub::Mgmt::V2017_07_01::Models::Operation CloudToDeviceProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::CloudToDeviceProperties + IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameAvailabilityInfo + OperationInputs = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationInputs ExportDevicesRequest = Azure::IotHub::Mgmt::V2017_07_01::Models::ExportDevicesRequest RoutingStorageContainerProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingStorageContainerProperties ImportDevicesRequest = Azure::IotHub::Mgmt::V2017_07_01::Models::ImportDevicesRequest IotHubDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubDescription - AccessRights = Azure::IotHub::Mgmt::V2017_07_01::Models::AccessRights IpFilterActionType = Azure::IotHub::Mgmt::V2017_07_01::Models::IpFilterActionType RoutingSource = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingSource OperationMonitoringLevel = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationMonitoringLevel @@ -67,9 +64,12 @@ module Models IotHubSku = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSku IotHubSkuTier = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuTier JobType = Azure::IotHub::Mgmt::V2017_07_01::Models::JobType - JobStatus = Azure::IotHub::Mgmt::V2017_07_01::Models::JobStatus IotHubScaleType = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubScaleType + JobStatus = Azure::IotHub::Mgmt::V2017_07_01::Models::JobStatus IotHubNameUnavailabilityReason = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameUnavailabilityReason + Resource = Azure::IotHub::Mgmt::V2017_07_01::Models::Resource + AccessRights = Azure::IotHub::Mgmt::V2017_07_01::Models::AccessRights + ErrorDetails = Azure::IotHub::Mgmt::V2017_07_01::Models::ErrorDetails end class IotHubManagementClass @@ -119,9 +119,6 @@ def certificate_properties def certificate_list_description Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateListDescription end - def resource - Azure::IotHub::Mgmt::V2017_07_01::Models::Resource - end def certificate_with_nonce_description Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateWithNonceDescription end @@ -131,27 +128,15 @@ def shared_access_signature_authorization_rule_list_result def ip_filter_rule Azure::IotHub::Mgmt::V2017_07_01::Models::IpFilterRule end - def operation_display - Azure::IotHub::Mgmt::V2017_07_01::Models::OperationDisplay - end def routing_service_bus_queue_endpoint_properties Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusQueueEndpointProperties end - def operation - Azure::IotHub::Mgmt::V2017_07_01::Models::Operation - end def routing_event_hub_properties Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingEventHubProperties end - def operation_list_result - Azure::IotHub::Mgmt::V2017_07_01::Models::OperationListResult - end def routing_endpoints Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingEndpoints end - def error_details - Azure::IotHub::Mgmt::V2017_07_01::Models::ErrorDetails - end def fallback_route_properties Azure::IotHub::Mgmt::V2017_07_01::Models::FallbackRouteProperties end @@ -185,53 +170,62 @@ def job_response_list_result def shared_access_signature_authorization_rule Azure::IotHub::Mgmt::V2017_07_01::Models::SharedAccessSignatureAuthorizationRule end + def operation_display + Azure::IotHub::Mgmt::V2017_07_01::Models::OperationDisplay + end def iot_hub_capacity Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubCapacity end - def routing_service_bus_topic_endpoint_properties - Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusTopicEndpointProperties + def operation_list_result + Azure::IotHub::Mgmt::V2017_07_01::Models::OperationListResult end def iot_hub_sku_description Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuDescription end - def route_properties - Azure::IotHub::Mgmt::V2017_07_01::Models::RouteProperties + def routing_service_bus_topic_endpoint_properties + Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusTopicEndpointProperties end def event_hub_consumer_groups_list_result Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubConsumerGroupsListResult end - def messaging_endpoint_properties - Azure::IotHub::Mgmt::V2017_07_01::Models::MessagingEndpointProperties + def route_properties + Azure::IotHub::Mgmt::V2017_07_01::Models::RouteProperties end def event_hub_consumer_group_info Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubConsumerGroupInfo end - def certificate_verification_description - Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateVerificationDescription + def messaging_endpoint_properties + Azure::IotHub::Mgmt::V2017_07_01::Models::MessagingEndpointProperties end def iot_hub_sku_description_list_result Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuDescriptionListResult end - def event_hub_properties - Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubProperties + def certificate_verification_description + Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateVerificationDescription end def iot_hub_description_list_result Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubDescriptionListResult end + def event_hub_properties + Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubProperties + end + def certificate_properties_with_nonce + Azure::IotHub::Mgmt::V2017_07_01::Models::CertificatePropertiesWithNonce + end def routing_properties Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingProperties end - def operation_inputs - Azure::IotHub::Mgmt::V2017_07_01::Models::OperationInputs + def operation + Azure::IotHub::Mgmt::V2017_07_01::Models::Operation end - def certificate_properties_with_nonce - Azure::IotHub::Mgmt::V2017_07_01::Models::CertificatePropertiesWithNonce + def cloud_to_device_properties + Azure::IotHub::Mgmt::V2017_07_01::Models::CloudToDeviceProperties end def iot_hub_name_availability_info Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameAvailabilityInfo end - def cloud_to_device_properties - Azure::IotHub::Mgmt::V2017_07_01::Models::CloudToDeviceProperties + def operation_inputs + Azure::IotHub::Mgmt::V2017_07_01::Models::OperationInputs end def export_devices_request Azure::IotHub::Mgmt::V2017_07_01::Models::ExportDevicesRequest @@ -245,9 +239,6 @@ def import_devices_request def iot_hub_description Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubDescription end - def access_rights - Azure::IotHub::Mgmt::V2017_07_01::Models::AccessRights - end def ip_filter_action_type Azure::IotHub::Mgmt::V2017_07_01::Models::IpFilterActionType end @@ -269,15 +260,24 @@ def iot_hub_sku_tier def job_type Azure::IotHub::Mgmt::V2017_07_01::Models::JobType end - def job_status - Azure::IotHub::Mgmt::V2017_07_01::Models::JobStatus - end def iot_hub_scale_type Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubScaleType end + def job_status + Azure::IotHub::Mgmt::V2017_07_01::Models::JobStatus + end def iot_hub_name_unavailability_reason Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameUnavailabilityReason end + def resource + Azure::IotHub::Mgmt::V2017_07_01::Models::Resource + end + def access_rights + Azure::IotHub::Mgmt::V2017_07_01::Models::AccessRights + end + def error_details + Azure::IotHub::Mgmt::V2017_07_01::Models::ErrorDetails + 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 a73bfb13ba..67093c47ae 100644 --- a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb @@ -7,45 +7,45 @@ module Azure::Profiles::Latest module KeyVault 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 + Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku + Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions DeletedVault = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult - Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult VaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties - Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties - ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters - CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult - Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay 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 + CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult + Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource 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 - OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault - SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName - KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions + KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions - CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason + OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult + CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation + ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult 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 @@ -55,8 +55,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 @@ -75,30 +75,27 @@ def method_missing(method, *args) end class ModelClasses + def sku + Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku + end + def permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions + end def deleted_vault Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault end def vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult end - def permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions - end def deleted_vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult end def vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties end - def resource - Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource - end def vault_access_policy_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties end - 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 @@ -108,66 +105,69 @@ def vault_check_name_availability_parameters def vault_access_policy_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters end - def check_name_availability_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult - end - def sku - Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - end - def operation_display - Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay - end def vault_patch_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties end def log_specification Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification end - def vault_patch_parameters - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters + def check_name_availability_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult + end + def resource + Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource 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 operation_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult - end def vault Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault end - def sku_name - Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName + def access_policy_entry + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry end - def key_permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + def vault_patch_parameters + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters end def secret_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions end + def key_permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + end + def sku_name + Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName + end def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end def storage_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions end - def create_mode - Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + def operation_display + Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay end def reason Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end + def operation_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult + 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 operation + Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation + end + def resource_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult + 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 f18a1cb418..534a89b706 100644 --- a/azure_sdk/lib/latest/modules/locks_profile_module.rb +++ b/azure_sdk/lib/latest/modules/locks_profile_module.rb @@ -10,9 +10,9 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2016_09_01::ManagementLocks module Models - ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject - ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner + ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult + ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel end @@ -46,14 +46,14 @@ def method_missing(method, *args) end class ModelClasses - def management_lock_object - Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject + def management_lock_owner + Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner end def management_lock_list_result Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult end - def management_lock_owner - Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner + def management_lock_object + Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject end def lock_level Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel diff --git a/azure_sdk/lib/latest/modules/logic_profile_module.rb b/azure_sdk/lib/latest/modules/logic_profile_module.rb index 67bfdb9885..85e3128c84 100644 --- a/azure_sdk/lib/latest/modules/logic_profile_module.rb +++ b/azure_sdk/lib/latest/modules/logic_profile_module.rb @@ -18,57 +18,58 @@ module Mgmt Maps = Azure::Logic::Mgmt::V2016_06_01::Maps Partners = Azure::Logic::Mgmt::V2016_06_01::Partners Agreements = Azure::Logic::Mgmt::V2016_06_01::Agreements - Certificates = Azure::Logic::Mgmt::V2016_06_01::Certificates Sessions = Azure::Logic::Mgmt::V2016_06_01::Sessions + Certificates = Azure::Logic::Mgmt::V2016_06_01::Certificates module Models + ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + OperationDisplay = Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay + OperationListResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult + ErrorResponse = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse + Operation = Azure::Logic::Mgmt::V2016_06_01::Models::Operation + KeyType = Azure::Logic::Mgmt::V2016_06_01::Models::KeyType + Sku = Azure::Logic::Mgmt::V2016_06_01::Models::Sku + SubResource = Azure::Logic::Mgmt::V2016_06_01::Models::SubResource IntegrationAccountPartnerFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter - Resource = Azure::Logic::Mgmt::V2016_06_01::Models::Resource AS2MessageConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2MessageConnectionSettings ResourceReference = Azure::Logic::Mgmt::V2016_06_01::Models::ResourceReference + Resource = Azure::Logic::Mgmt::V2016_06_01::Models::Resource AS2AcknowledgementConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings WorkflowParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowParameter AS2MdnSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2MdnSettings WorkflowFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowFilter - AS2SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings KeyVaultKeyReferenceKeyVault = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault WorkflowVersionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersionListResult IntegrationAccountPartnerListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerListResult RecurrenceSchedule = Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceSchedule - SubResource = Azure::Logic::Mgmt::V2016_06_01::Models::SubResource - Sku = Azure::Logic::Mgmt::V2016_06_01::Models::Sku WorkflowTriggerListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerListResult WorkflowTriggerListCallbackUrlQueries = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerListCallbackUrlQueries IntegrationAccountAgreementListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementListResult Correlation = Azure::Logic::Mgmt::V2016_06_01::Models::Correlation WorkflowListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowListResult - ContentLink = Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink IntegrationAccountAgreementFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter WorkflowTriggerHistoryListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryListResult AS2ValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2ValidationSettings WorkflowRunTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunTrigger AS2EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings - OperationDisplay = Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay + AS2SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings AS2ErrorSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2ErrorSettings - WorkflowRunListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult AS2ProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2ProtocolSettings - ErrorResponse = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse AS2OneWayAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::AS2OneWayAgreement - IntegrationAccountSessionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult + WorkflowRunListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult AS2AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AgreementContent WorkflowRunActionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionListResult - X12ValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings + IntegrationAccountSessionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult GenerateUpgradedDefinitionParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters X12FramingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12FramingSettings - IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter + X12ValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings X12EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeSettings GetCallbackUrlParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters - X12AcknowledgementSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings + IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter IntegrationAccountCertificateListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult X12MessageFilter = Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageFilter IntegrationAccountSchemaFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter X12SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12SecuritySettings - KeyVaultKeyReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference X12ProcessingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ProcessingSettings IntegrationAccountMapFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter X12EnvelopeOverride = Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeOverride @@ -78,7 +79,6 @@ module Models X12MessageIdentifier = Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageIdentifier WorkflowTriggerFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerFilter X12SchemaReference = Azure::Logic::Mgmt::V2016_06_01::Models::X12SchemaReference - ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash X12DelimiterOverrides = Azure::Logic::Mgmt::V2016_06_01::Models::X12DelimiterOverrides WorkflowTriggerHistoryFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryFilter X12ProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ProtocolSettings @@ -98,7 +98,6 @@ module Models EdifactMessageFilter = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactMessageFilter WorkflowTriggerCallbackUrl = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerCallbackUrl EdifactProcessingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactProcessingSettings - Operation = Azure::Logic::Mgmt::V2016_06_01::Models::Operation EdifactEnvelopeOverride = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactEnvelopeOverride WorkflowRunActionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionFilter EdifactMessageIdentifier = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactMessageIdentifier @@ -106,42 +105,42 @@ module Models EdifactSchemaReference = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactSchemaReference BusinessIdentity = Azure::Logic::Mgmt::V2016_06_01::Models::BusinessIdentity EdifactValidationOverride = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationOverride - OperationListResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult EdifactDelimiterOverride = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDelimiterOverride IntegrationAccountSku = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSku EdifactProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactProtocolSettings WorkflowTriggerRecurrence = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerRecurrence EdifactOneWayAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactOneWayAgreement - IntegrationAccountMapPropertiesParametersSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema + X12AcknowledgementSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings + KeyVaultKeyReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference EdifactAgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent - ErrorProperties = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties + IntegrationAccountMapPropertiesParametersSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementContent - Workflow = Azure::Logic::Mgmt::V2016_06_01::Models::Workflow + ErrorProperties = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties WorkflowVersion = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersion - WorkflowTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger + Workflow = Azure::Logic::Mgmt::V2016_06_01::Models::Workflow WorkflowTriggerHistory = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistory - WorkflowOutputParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter + WorkflowTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger WorkflowRun = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun - WorkflowRunAction = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction + WorkflowOutputParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter IntegrationAccount = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount - IntegrationAccountSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema + WorkflowRunAction = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction IntegrationAccountMap = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMap - IntegrationAccountPartner = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner + IntegrationAccountSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema IntegrationAccountAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreement - IntegrationAccountCertificate = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate + IntegrationAccountPartner = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner IntegrationAccountSession = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession - WorkflowProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState + IntegrationAccountCertificate = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate WorkflowState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState - SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName - ParameterType = Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType + WorkflowProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState 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 RecurrenceFrequency = Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceFrequency - DaysOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek + WorkflowStatus = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus DayOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek - KeyType = Azure::Logic::Mgmt::V2016_06_01::Models::KeyType - IntegrationAccountSkuName = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName + DaysOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek SchemaType = Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType + IntegrationAccountSkuName = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName + SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName MapType = Azure::Logic::Mgmt::V2016_06_01::Models::MapType PartnerType = Azure::Logic::Mgmt::V2016_06_01::Models::PartnerType AgreementType = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType @@ -157,10 +156,11 @@ module Models MessageFilterType = Azure::Logic::Mgmt::V2016_06_01::Models::MessageFilterType EdifactCharacterSet = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactCharacterSet EdifactDecimalIndicator = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDecimalIndicator + ContentLink = Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink end class LogicManagementClass - attr_reader :workflows, :workflow_versions, :workflow_triggers, :workflow_trigger_histories, :workflow_runs, :workflow_run_actions, :integration_accounts, :schemas, :maps, :partners, :agreements, :certificates, :sessions, :configurable, :base_url, :options, :model_classes + attr_reader :workflows, :workflow_versions, :workflow_triggers, :workflow_trigger_histories, :workflow_runs, :workflow_run_actions, :integration_accounts, :schemas, :maps, :partners, :agreements, :sessions, :certificates, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -181,8 +181,8 @@ def initialize(configurable, base_url=nil, options=nil) @maps = @client_0.maps @partners = @client_0.partners @agreements = @client_0.agreements - @certificates = @client_0.certificates @sessions = @client_0.sessions + @certificates = @client_0.certificates @model_classes = ModelClasses.new end @@ -201,18 +201,42 @@ def method_missing(method, *args) end class ModelClasses + def content_hash + Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + end + def operation_display + Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay + end + def operation_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult + end + def error_response + Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse + end + def operation + Azure::Logic::Mgmt::V2016_06_01::Models::Operation + end + def key_type + Azure::Logic::Mgmt::V2016_06_01::Models::KeyType + end + def sku + Azure::Logic::Mgmt::V2016_06_01::Models::Sku + end + def sub_resource + Azure::Logic::Mgmt::V2016_06_01::Models::SubResource + end def integration_account_partner_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter end - def resource - Azure::Logic::Mgmt::V2016_06_01::Models::Resource - end def as2_message_connection_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2MessageConnectionSettings end def resource_reference Azure::Logic::Mgmt::V2016_06_01::Models::ResourceReference end + def resource + Azure::Logic::Mgmt::V2016_06_01::Models::Resource + end def as2_acknowledgement_connection_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings end @@ -225,9 +249,6 @@ def as2_mdn_settings def workflow_filter Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowFilter end - def as2_security_settings - Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings - end def key_vault_key_reference_key_vault Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault end @@ -240,12 +261,6 @@ def integration_account_partner_list_result def recurrence_schedule Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceSchedule end - def sub_resource - Azure::Logic::Mgmt::V2016_06_01::Models::SubResource - end - def sku - Azure::Logic::Mgmt::V2016_06_01::Models::Sku - end def workflow_trigger_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerListResult end @@ -261,9 +276,6 @@ def correlation def workflow_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowListResult end - def content_link - Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink - end def integration_account_agreement_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter end @@ -279,26 +291,20 @@ def workflow_run_trigger def as2_envelope_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings end - def operation_display - Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay + def as2_security_settings + Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings end def as2_error_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2ErrorSettings end - def workflow_run_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult - end def as2_protocol_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2ProtocolSettings end - def error_response - Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse - end def as2_one_way_agreement Azure::Logic::Mgmt::V2016_06_01::Models::AS2OneWayAgreement end - def integration_account_session_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult + def workflow_run_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult end def as2_agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::AS2AgreementContent @@ -306,8 +312,8 @@ def as2_agreement_content def workflow_run_action_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionListResult end - def x12_validation_settings - Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings + def integration_account_session_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult end def generate_upgraded_definition_parameters Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters @@ -315,8 +321,8 @@ def generate_upgraded_definition_parameters def x12_framing_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12FramingSettings end - def integration_account_session_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter + def x12_validation_settings + Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings end def x12_envelope_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeSettings @@ -324,8 +330,8 @@ def x12_envelope_settings def get_callback_url_parameters Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters end - def x12_acknowledgement_settings - Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings + def integration_account_session_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter end def integration_account_certificate_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult @@ -339,9 +345,6 @@ def integration_account_schema_filter def x12_security_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12SecuritySettings end - def key_vault_key_reference - Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference - end def x12_processing_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12ProcessingSettings end @@ -369,9 +372,6 @@ def workflow_trigger_filter def x12_schema_reference Azure::Logic::Mgmt::V2016_06_01::Models::X12SchemaReference end - def content_hash - Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash - end def x12_delimiter_overrides Azure::Logic::Mgmt::V2016_06_01::Models::X12DelimiterOverrides end @@ -429,9 +429,6 @@ def workflow_trigger_callback_url def edifact_processing_settings Azure::Logic::Mgmt::V2016_06_01::Models::EdifactProcessingSettings end - def operation - Azure::Logic::Mgmt::V2016_06_01::Models::Operation - end def edifact_envelope_override Azure::Logic::Mgmt::V2016_06_01::Models::EdifactEnvelopeOverride end @@ -453,9 +450,6 @@ def business_identity def edifact_validation_override Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationOverride end - def operation_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult - end def edifact_delimiter_override Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDelimiterOverride end @@ -471,95 +465,98 @@ def workflow_trigger_recurrence def edifact_one_way_agreement Azure::Logic::Mgmt::V2016_06_01::Models::EdifactOneWayAgreement end - def integration_account_map_properties_parameters_schema - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema + def x12_acknowledgement_settings + Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings + end + def key_vault_key_reference + Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference end def edifact_agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent end - def error_properties - Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties + def integration_account_map_properties_parameters_schema + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema end def agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::AgreementContent end - def workflow - Azure::Logic::Mgmt::V2016_06_01::Models::Workflow + def error_properties + Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties end def workflow_version Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersion end - def workflow_trigger - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger + def workflow + Azure::Logic::Mgmt::V2016_06_01::Models::Workflow end def workflow_trigger_history Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistory end - def workflow_output_parameter - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter + def workflow_trigger + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger end def workflow_run Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun end - def workflow_run_action - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction + def workflow_output_parameter + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter end def integration_account Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount end - def integration_account_schema - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema + 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 end - def integration_account_partner - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner + 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 end - def integration_account_certificate - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate + 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 end - def workflow_provisioning_state - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState + def integration_account_certificate + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate end def workflow_state Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState end - def sku_name - Azure::Logic::Mgmt::V2016_06_01::Models::SkuName - end - def parameter_type - Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType + def workflow_provisioning_state + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState end 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 + def parameter_type + Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType end 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 workflow_status + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus end def day_of_week Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek end - def key_type - Azure::Logic::Mgmt::V2016_06_01::Models::KeyType + def days_of_week + Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek + end + def schema_type + Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType end 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 sku_name + Azure::Logic::Mgmt::V2016_06_01::Models::SkuName end def map_type Azure::Logic::Mgmt::V2016_06_01::Models::MapType @@ -606,6 +603,9 @@ def edifact_character_set def edifact_decimal_indicator Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDecimalIndicator end + def content_link + Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink + end end end end diff --git a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb index b38d7f99f0..4d5091f49d 100644 --- a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb +++ b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb @@ -10,6 +10,17 @@ module Mgmt WebServices = Azure::MachineLearning::Mgmt::V2017_01_01::WebServices module Models + DiagnosticsLevel = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel + ColumnType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType + ColumnFormat = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat + AssetType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType + InputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType + OutputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType + ParameterType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType + AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus + StorageAccount = Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount + Resource = Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource + ProvisioningState = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState ModeValueInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo ModuleAssetParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModuleAssetParameter WebServiceKeys = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceKeys @@ -31,22 +42,11 @@ module Models GraphParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameter InputPort = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPort GraphPackage = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage - StorageAccount = Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount - AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus - Resource = Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource PaginatedWebServicesList = Azure::MachineLearning::Mgmt::V2017_01_01::Models::PaginatedWebServicesList ExampleRequest = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ExampleRequest AsyncOperationErrorInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo WebService = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService WebServicePropertiesForGraph = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph - ProvisioningState = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState - DiagnosticsLevel = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel - ColumnType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType - ColumnFormat = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat - AssetType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType - InputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType - OutputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType - ParameterType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType end class MachineLearningManagementClass @@ -79,6 +79,39 @@ def method_missing(method, *args) end class ModelClasses + 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 column_format + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat + end + def asset_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType + end + def input_port_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType + end + def output_port_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType + end + def parameter_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType + end + def async_operation_status + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus + end + def storage_account + Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount + end + def resource + Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource + end + def provisioning_state + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState + end def mode_value_info Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo end @@ -142,15 +175,6 @@ def input_port def graph_package Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage end - def storage_account - Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount - end - def async_operation_status - Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus - end - def resource - Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource - end def paginated_web_services_list Azure::MachineLearning::Mgmt::V2017_01_01::Models::PaginatedWebServicesList end @@ -166,30 +190,6 @@ def web_service def web_service_properties_for_graph Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph end - def provisioning_state - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState - end - 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 column_format - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat - end - def asset_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType - end - def input_port_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType - end - def output_port_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType - end - def parameter_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType - 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 cb8773acb8..72d2b8aa56 100644 --- a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb @@ -11,24 +11,24 @@ module Mgmt ApplicationDefinitions = Azure::ManagedApplications::Mgmt::V2017_09_01::ApplicationDefinitions module Models - Sku = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku - Plan = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan - Identity = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Identity PlanPatchable = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::PlanPatchable - ErrorResponse = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ErrorResponse ApplicationProviderAuthorization = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationProviderAuthorization ApplicationDefinitionListResult = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationDefinitionListResult - ApplicationListResult = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationListResult ApplicationArtifact = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationArtifact - Resource = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Resource - GenericResource = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::GenericResource - Application = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Application ApplicationPatchable = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationPatchable ApplicationDefinition = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationDefinition - ProvisioningState = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ProvisioningState + Application = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Application ApplicationLockLevel = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationLockLevel ApplicationArtifactType = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationArtifactType + Sku = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku ResourceIdentityType = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ResourceIdentityType + ErrorResponse = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ErrorResponse + ApplicationListResult = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationListResult + Identity = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Identity + Resource = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Resource + GenericResource = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::GenericResource + Plan = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan + ProvisioningState = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ProvisioningState end class ManagedApplicationsManagementClass @@ -62,50 +62,26 @@ def method_missing(method, *args) end class ModelClasses - def sku - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku - end - def plan - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan - end - def identity - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Identity - end def plan_patchable Azure::ManagedApplications::Mgmt::V2017_09_01::Models::PlanPatchable end - def error_response - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ErrorResponse - end def application_provider_authorization Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationProviderAuthorization end def application_definition_list_result Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationDefinitionListResult end - def application_list_result - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationListResult - end def application_artifact Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationArtifact end - def resource - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Resource - end - def generic_resource - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::GenericResource - end - def application - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Application - end def application_patchable Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationPatchable end def application_definition Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationDefinition end - def provisioning_state - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ProvisioningState + def application + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Application end def application_lock_level Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationLockLevel @@ -113,9 +89,33 @@ def application_lock_level def application_artifact_type Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationArtifactType end + def sku + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku + end def resource_identity_type Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ResourceIdentityType end + def error_response + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ErrorResponse + end + def application_list_result + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationListResult + end + def identity + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Identity + end + def resource + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Resource + end + def generic_resource + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::GenericResource + end + def plan + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan + end + def provisioning_state + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ProvisioningState + 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 14f3182b97..31f9903f39 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 + UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation Identity = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay - 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 - UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities end class ManagedServiceIdentityManagementClass @@ -50,24 +50,24 @@ def method_missing(method, *args) end class ModelClasses + def user_assigned_identities + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + end + def operation + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation + 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 - def operation - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation - end 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 user_assigned_identities - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities - 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 80f1528636..dc53046af9 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 - ErrorResponseError = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError + OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay OperationListResult = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult - ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse 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 + ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse 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,27 +51,27 @@ 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_error - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError + def operation_display + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay end def operation_list_result Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult end - def error_response - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse - end def resource Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource end + def error_response_error + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError + end def agreement_terms Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms end + def error_response + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse + 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 ea4b20fb36..5b7e4ad55a 100644 --- a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb @@ -9,7 +9,6 @@ module MediaServices module Mgmt Operations = Azure::MediaServices::Mgmt::V2018_03_30_preview::Operations Mediaservices = Azure::MediaServices::Mgmt::V2018_03_30_preview::Mediaservices - Locations = Azure::MediaServices::Mgmt::V2018_03_30_preview::Locations Assets = Azure::MediaServices::Mgmt::V2018_03_30_preview::Assets ContentKeyPolicies = Azure::MediaServices::Mgmt::V2018_03_30_preview::ContentKeyPolicies Transforms = Azure::MediaServices::Mgmt::V2018_03_30_preview::Transforms @@ -19,12 +18,17 @@ module Mgmt LiveEvents = Azure::MediaServices::Mgmt::V2018_03_30_preview::LiveEvents LiveOutputs = Azure::MediaServices::Mgmt::V2018_03_30_preview::LiveOutputs StreamingEndpoints = Azure::MediaServices::Mgmt::V2018_03_30_preview::StreamingEndpoints + Locations = Azure::MediaServices::Mgmt::V2018_03_30_preview::Locations module Models - Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format + StorageAccountType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType + OperationDisplay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationDisplay + Operation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Operation + Job = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job + ApiError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError + CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput Overlay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Overlay NoEncryption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::NoEncryption - Operation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Operation CommonEncryptionCbcs = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CommonEncryptionCbcs EntityNameAvailabilityCheckOutput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EntityNameAvailabilityCheckOutput CommonEncryptionCenc = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CommonEncryptionCenc @@ -32,27 +36,21 @@ module Models EnvelopeEncryption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EnvelopeEncryption ContentKeyPolicyCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyCollection Preset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Preset - ApiError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError Codec = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Codec MediaServiceCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaServiceCollection JobError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobError SubscriptionMediaServiceCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaServiceCollection JobErrorDetail = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorDetail - Resource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Resource LiveEventEndpoint = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventEndpoint AssetContainerSas = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetContainerSas - OperationDisplay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationDisplay CencDrmConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CencDrmConfiguration - Location = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location ListContainerSasInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ListContainerSasInput - StorageAccount = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccount ContentKeyPolicyPlayReadyContentKeyLocation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentKeyLocation CbcsDrmConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CbcsDrmConfiguration IPRange = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::IPRange ContentKeyPolicyPlayReadyPlayRight = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyPlayRight LiveEventInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventInput ContentKeyPolicyPlayReadyLicense = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyLicense - Provider = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Provider StreamingPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyWidevineConfiguration StreamingPolicyCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyCollection ContentKeyPolicyConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyConfiguration @@ -66,12 +64,10 @@ module Models TransformCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TransformCollection Rectangle = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Rectangle LiveOutputListResult = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutputListResult - Filters = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Filters ContentKeyPolicyProperties = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyProperties Layer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Layer ODataError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ODataError StreamingLocatorContentKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKey - CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput StreamingLocatorUserDefinedContentKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorUserDefinedContentKey IPAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::IPAccessControl AssetStorageEncryptionKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionKey @@ -87,7 +83,6 @@ module Models StreamingEndpointAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointAccessControl ContentKeyPolicyOption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyOption AkamaiAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiAccessControl - OperationCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection AkamaiSignatureHeaderAuthenticationKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiSignatureHeaderAuthenticationKey AssetCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetCollection LiveEventListResult = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventListResult @@ -105,11 +100,10 @@ module Models LiveEventPreviewAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventPreviewAccessControl EnabledProtocols = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EnabledProtocols JobInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInput - TrackedResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource MediaService = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaService SubscriptionMediaService = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaService - ProxyResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ProxyResource Asset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Asset + OperationCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier ContentKeyPolicyOpenRestriction = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyOpenRestriction @@ -130,7 +124,6 @@ module Models AudioOverlay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AudioOverlay CopyVideo = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CopyVideo Video = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Video - Image = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Image ImageFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ImageFormat JpgFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgFormat PngFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngFormat @@ -143,7 +136,6 @@ module Models MultiBitrateFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MultiBitrateFormat Mp4Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Mp4Format PngLayer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngLayer - PngImage = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage BuiltInStandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::BuiltInStandardEncoderPreset StandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StandardEncoderPreset VideoAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::VideoAnalyzerPreset @@ -155,13 +147,11 @@ module Models JobInputAsset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputAsset JobInputHttp = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputHttp JobOutputAsset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobOutputAsset - Job = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job StreamingPolicy = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicy StreamingLocator = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocator LiveOutput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutput LiveEvent = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEvent StreamingEndpoint = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpoint - StorageAccountType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType AssetStorageEncryptionFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionFormat AssetContainerPermission = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetContainerPermission ContentKeyPolicyPlayReadyUnknownOutputPassingOption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption @@ -183,7 +173,6 @@ module Models JobErrorCode = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorCode JobErrorCategory = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorCategory JobRetry = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobRetry - JobState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState TrackPropertyType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyType TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyCompareOperation StreamingLocatorContentKeyType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKeyType @@ -195,10 +184,21 @@ module Models LiveEventResourceState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventResourceState StreamOptionsFlag = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamOptionsFlag StreamingEndpointResourceState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointResourceState + ProxyResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ProxyResource + TrackedResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource + PngImage = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage + Resource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Resource + StorageAccount = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccount + Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format + Location = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location + Image = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Image + Provider = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Provider + JobState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState + Filters = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Filters end class MediaServicesManagementClass - attr_reader :operations, :mediaservices, :locations, :assets, :content_key_policies, :transforms, :jobs, :streaming_policies, :streaming_locators, :live_events, :live_outputs, :streaming_endpoints, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :mediaservices, :assets, :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 @@ -210,7 +210,6 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @operations = @client_0.operations @mediaservices = @client_0.mediaservices - @locations = @client_0.locations @assets = @client_0.assets @content_key_policies = @client_0.content_key_policies @transforms = @client_0.transforms @@ -220,6 +219,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 @@ -238,8 +238,23 @@ def method_missing(method, *args) end class ModelClasses - def format - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format + def storage_account_type + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType + end + def operation_display + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationDisplay + end + def operation + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Operation + end + def job + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job + end + def api_error + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError + end + def check_name_availability_input + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput end def overlay Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Overlay @@ -247,9 +262,6 @@ def overlay def no_encryption Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::NoEncryption end - def operation - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Operation - end def common_encryption_cbcs Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CommonEncryptionCbcs end @@ -271,9 +283,6 @@ def content_key_policy_collection def preset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Preset end - def api_error - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError - end def codec Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Codec end @@ -289,30 +298,18 @@ def subscription_media_service_collection def job_error_detail Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorDetail end - def resource - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Resource - end def live_event_endpoint Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventEndpoint end def asset_container_sas Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetContainerSas end - def operation_display - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationDisplay - end def cenc_drm_configuration Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CencDrmConfiguration end - def location - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location - end def list_container_sas_input Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ListContainerSasInput end - def storage_account - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccount - end def content_key_policy_play_ready_content_key_location Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentKeyLocation end @@ -331,9 +328,6 @@ def live_event_input def content_key_policy_play_ready_license Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyLicense end - def provider - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Provider - end def streaming_policy_widevine_configuration Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyWidevineConfiguration end @@ -373,9 +367,6 @@ def rectangle def live_output_list_result Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutputListResult end - def filters - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Filters - end def content_key_policy_properties Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyProperties end @@ -388,9 +379,6 @@ def odata_error def streaming_locator_content_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKey end - def check_name_availability_input - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput - end def streaming_locator_user_defined_content_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorUserDefinedContentKey end @@ -436,9 +424,6 @@ def content_key_policy_option def akamai_access_control Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiAccessControl end - def operation_collection - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection - end def akamai_signature_header_authentication_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiSignatureHeaderAuthenticationKey end @@ -490,21 +475,18 @@ def enabled_protocols def job_input Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInput end - def tracked_resource - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource - end def media_service Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaService end def subscription_media_service Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaService end - def proxy_resource - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ProxyResource - end def asset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Asset end + def operation_collection + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection + end def content_key_policy_play_ready_content_encryption_key_from_header Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader end @@ -565,9 +547,6 @@ def copy_video def video Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Video end - def image - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Image - end def image_format Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ImageFormat end @@ -604,9 +583,6 @@ def mp4_format def png_layer Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngLayer end - def png_image - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage - end def built_in_standard_encoder_preset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::BuiltInStandardEncoderPreset end @@ -640,9 +616,6 @@ def job_input_http def job_output_asset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobOutputAsset end - def job - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job - end def streaming_policy Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicy end @@ -658,9 +631,6 @@ def live_event def streaming_endpoint Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpoint end - def storage_account_type - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType - end def asset_storage_encryption_format Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionFormat end @@ -724,9 +694,6 @@ def job_error_category def job_retry Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobRetry end - def job_state - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState - end def track_property_type Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyType end @@ -760,6 +727,39 @@ def stream_options_flag def streaming_endpoint_resource_state Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointResourceState end + def proxy_resource + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ProxyResource + end + def tracked_resource + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource + end + def png_image + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage + end + def resource + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Resource + end + def storage_account + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccount + end + def format + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format + end + def location + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location + end + def image + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Image + end + def provider + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Provider + end + def job_state + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState + end + def filters + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Filters + end end end end diff --git a/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb b/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb index dcb4b034a1..e7e41a152c 100644 --- a/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb @@ -16,23 +16,25 @@ module Mgmt ImportTasks = Azure::MobileEngagement::Mgmt::V2014_12_01::ImportTasks module Models + ProvisioningStates = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ProvisioningStates + Filter = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Filter + ExportFormat = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportFormat + Resource = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Resource CampaignState = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignState ApiErrorError = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiErrorError - ApiError = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiError ExportTaskParameter = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskParameter AppListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppListResult DeviceTagsParameters = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsParameters AppCollectionListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollectionListResult DeviceTagsResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsResult + ApiError = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiError SupportedPlatformsListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::SupportedPlatformsListResult ExportOptions = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportOptions CampaignTestSavedParameters = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestSavedParameters DateRangeExportTaskParameter = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DateRangeExportTaskParameter - Filter = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Filter - DeviceMeta = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta NotificationOptions = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationOptions CampaignsListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignsListResult - PollQuestionLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization + DeviceMeta = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta CampaignStatisticsResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStatisticsResult CampaignLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignLocalization PollQuestionChoiceLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionChoiceLocalization @@ -48,7 +50,6 @@ module Models FeedbackByCampaignParameter = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::FeedbackByCampaignParameter DeviceInfo = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceInfo ImportTaskListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskListResult - Resource = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Resource DeviceLocation = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceLocation ExportTaskResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskResult Device = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Device @@ -91,7 +92,6 @@ module Models CampaignListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignListResult CampaignResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignResult ImportTaskResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskResult - ProvisioningStates = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ProvisioningStates PushModes = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PushModes CampaignTypes = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTypes DeliveryTimes = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeliveryTimes @@ -102,9 +102,9 @@ module Models CampaignType = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignType ExportState = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportState ExportType = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportType - ExportFormat = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportFormat JobStates = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::JobStates CampaignKinds = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignKinds + PollQuestionLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization end class MobileEngagementManagementClass @@ -143,15 +143,24 @@ def method_missing(method, *args) end class ModelClasses + def provisioning_states + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ProvisioningStates + end + def filter + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Filter + end + def export_format + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportFormat + end + def resource + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Resource + end def campaign_state Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignState end def api_error_error Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiErrorError end - def api_error - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiError - end def export_task_parameter Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskParameter end @@ -167,6 +176,9 @@ def app_collection_list_result def device_tags_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsResult end + def api_error + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiError + end def supported_platforms_list_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::SupportedPlatformsListResult end @@ -179,20 +191,14 @@ def campaign_test_saved_parameters def date_range_export_task_parameter Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DateRangeExportTaskParameter end - def filter - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Filter - end - def device_meta - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta - end def notification_options Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationOptions end def campaigns_list_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignsListResult end - def poll_question_localization - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization + def device_meta + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta end def campaign_statistics_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStatisticsResult @@ -239,9 +245,6 @@ def device_info def import_task_list_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskListResult end - def resource - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Resource - end def device_location Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceLocation end @@ -368,9 +371,6 @@ def campaign_result def import_task_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskResult end - def provisioning_states - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ProvisioningStates - end def push_modes Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PushModes end @@ -401,15 +401,15 @@ def export_state def export_type Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportType end - def export_format - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportFormat - end def job_states Azure::MobileEngagement::Mgmt::V2014_12_01::Models::JobStates end def campaign_kinds Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignKinds end + def poll_question_localization + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization + 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 5be608eeea..7432d9b6de 100644 --- a/azure_sdk/lib/latest/modules/monitor_profile_module.rb +++ b/azure_sdk/lib/latest/modules/monitor_profile_module.rb @@ -31,19 +31,23 @@ module Models AutoscaleSettingResourceCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence - OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay TimeWindow = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow - Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation - OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult AutoscaleSettingResource = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource MetricStatisticType = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType TimeAggregationType = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType ComparisonOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType - ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType + OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult + ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation RecurrenceFrequency = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency + AlertRuleResource = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource + LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource + LocationThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition + ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator + TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch - Incident = Azure::Monitor::Mgmt::V2016_03_01::Models::Incident AlertRuleResourceCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection ManagementEventAggregationCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition @@ -52,18 +56,21 @@ module Models IncidentListResult = Azure::Monitor::Mgmt::V2016_03_01::Models::IncidentListResult LogProfileCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection RuleDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource - LogProfileResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch + Incident = Azure::Monitor::Mgmt::V2016_03_01::Models::Incident RuleMetricDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource RuleManagementEventDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource + LogProfileResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch ThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition - LocationThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition ManagementEventRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition RuleEmailAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction RuleWebhookAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction - AlertRuleResource = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource - LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource - ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator - TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator + SmsReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver + ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody + ActionGroupList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupList + ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList + ActionGroupResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupResource + ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource + ReceiverStatus = Azure::Monitor::Mgmt::V2017_04_01::Models::ReceiverStatus EnableRequest = Azure::Monitor::Mgmt::V2017_04_01::Models::EnableRequest EmailReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::EmailReceiver ActionGroupPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupPatchBody @@ -76,21 +83,14 @@ module Models ActivityLogAlertActionGroup = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup ItsmReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::ItsmReceiver ActivityLogAlertActionList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList - SmsReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver - ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody - ActionGroupList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupList - ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList - ActionGroupResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupResource - ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource - ReceiverStatus = Azure::Monitor::Mgmt::V2017_04_01::Models::ReceiverStatus + DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy - MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings 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 DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource - DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource + MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings 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 @@ -98,9 +98,9 @@ module Models TimeSeriesInformation = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::TimeSeriesInformation LocalizableString = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::LocalizableString CalculateBaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse - ErrorResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse Sensitivity = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity ResultType = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ResultType + ErrorResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse end class MonitorManagementClass @@ -210,18 +210,9 @@ def metric_trigger def recurrence Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence end - def operation_display - Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay - end def time_window Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow end - def operation - Azure::Monitor::Mgmt::V2015_04_01::Models::Operation - end - def operation_list_result - Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult - end def autoscale_setting_resource Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource end @@ -234,21 +225,42 @@ def time_aggregation_type def comparison_operation_type Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType end - def scale_direction - Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + def operation_display + Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay end def scale_type Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType end + def operation_list_result + Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult + end + def scale_direction + Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + end + def operation + Azure::Monitor::Mgmt::V2015_04_01::Models::Operation + end def recurrence_frequency Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency end + def alert_rule_resource + Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource + end + def log_profile_resource + Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource + end + def location_threshold_rule_condition + Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition + end + def condition_operator + Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator + end + def time_aggregation_operator + Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator + end def alert_rule_resource_patch Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch end - def incident - Azure::Monitor::Mgmt::V2016_03_01::Models::Incident - end def alert_rule_resource_collection Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection end @@ -273,8 +285,8 @@ def log_profile_collection def rule_data_source Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource end - def log_profile_resource_patch - Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch + def incident + Azure::Monitor::Mgmt::V2016_03_01::Models::Incident end def rule_metric_data_source Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource @@ -282,12 +294,12 @@ def rule_metric_data_source def rule_management_event_data_source Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource end + def log_profile_resource_patch + Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch + end def threshold_rule_condition Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition end - def location_threshold_rule_condition - Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition - end def management_event_rule_condition Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition end @@ -297,17 +309,26 @@ def rule_email_action def rule_webhook_action Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction end - def alert_rule_resource - Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource + def sms_receiver + Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver end - def log_profile_resource - Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource + def activity_log_alert_patch_body + Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody end - def condition_operator - Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator + def action_group_list + Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupList end - def time_aggregation_operator - Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator + def activity_log_alert_list + Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList + end + def action_group_resource + Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupResource + end + def activity_log_alert_resource + Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource + end + def receiver_status + Azure::Monitor::Mgmt::V2017_04_01::Models::ReceiverStatus end def enable_request Azure::Monitor::Mgmt::V2017_04_01::Models::EnableRequest @@ -345,33 +366,12 @@ def itsm_receiver def activity_log_alert_action_list Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList end - def sms_receiver - Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver - end - def activity_log_alert_patch_body - Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody - end - def action_group_list - Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupList - end - def activity_log_alert_list - Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList - end - def action_group_resource - Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupResource - end - def activity_log_alert_resource - Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource - end - def receiver_status - Azure::Monitor::Mgmt::V2017_04_01::Models::ReceiverStatus + def diagnostic_settings_resource + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource end def retention_policy Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy end - def metric_settings - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings - end def proxy_only_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource end @@ -387,8 +387,8 @@ def diagnostic_settings_resource_collection 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 metric_settings + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings end def category_type Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType @@ -411,15 +411,15 @@ def localizable_string def calculate_baseline_response Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse end - def error_response - Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse - end def sensitivity Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity end def result_type Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ResultType end + def error_response + Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse + end end end end diff --git a/azure_sdk/lib/latest/modules/network_profile_module.rb b/azure_sdk/lib/latest/modules/network_profile_module.rb index 3a9cdce91c..3f63e32cb9 100644 --- a/azure_sdk/lib/latest/modules/network_profile_module.rb +++ b/azure_sdk/lib/latest/modules/network_profile_module.rb @@ -7,124 +7,98 @@ module Azure::Profiles::Latest module Network module Mgmt - ApplicationGateways = Azure::Network::Mgmt::V2018_01_01::ApplicationGateways + NetworkInterfaces = Azure::Network::Mgmt::V2018_01_01::NetworkInterfaces + NetworkSecurityGroups = Azure::Network::Mgmt::V2018_01_01::NetworkSecurityGroups + SecurityRules = Azure::Network::Mgmt::V2018_01_01::SecurityRules + PublicIPAddresses = Azure::Network::Mgmt::V2018_01_01::PublicIPAddresses + RouteTables = Azure::Network::Mgmt::V2018_01_01::RouteTables + Routes = Azure::Network::Mgmt::V2018_01_01::Routes + Usages = Azure::Network::Mgmt::V2018_01_01::Usages + VirtualNetworks = Azure::Network::Mgmt::V2018_01_01::VirtualNetworks + Subnets = Azure::Network::Mgmt::V2018_01_01::Subnets + VirtualNetworkGateways = Azure::Network::Mgmt::V2018_01_01::VirtualNetworkGateways + VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2018_01_01::VirtualNetworkGatewayConnections + LocalNetworkGateways = Azure::Network::Mgmt::V2018_01_01::LocalNetworkGateways ApplicationSecurityGroups = Azure::Network::Mgmt::V2018_01_01::ApplicationSecurityGroups AvailableEndpointServices = Azure::Network::Mgmt::V2018_01_01::AvailableEndpointServices - ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuitAuthorizations - ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuitPeerings - ExpressRouteCircuits = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuits - ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_01_01::ExpressRouteServiceProviders - LoadBalancers = Azure::Network::Mgmt::V2018_01_01::LoadBalancers LoadBalancerBackendAddressPools = Azure::Network::Mgmt::V2018_01_01::LoadBalancerBackendAddressPools LoadBalancerFrontendIPConfigurations = Azure::Network::Mgmt::V2018_01_01::LoadBalancerFrontendIPConfigurations InboundNatRules = Azure::Network::Mgmt::V2018_01_01::InboundNatRules LoadBalancerLoadBalancingRules = Azure::Network::Mgmt::V2018_01_01::LoadBalancerLoadBalancingRules LoadBalancerNetworkInterfaces = Azure::Network::Mgmt::V2018_01_01::LoadBalancerNetworkInterfaces LoadBalancerProbes = Azure::Network::Mgmt::V2018_01_01::LoadBalancerProbes - NetworkInterfaces = Azure::Network::Mgmt::V2018_01_01::NetworkInterfaces NetworkInterfaceIPConfigurations = Azure::Network::Mgmt::V2018_01_01::NetworkInterfaceIPConfigurations NetworkInterfaceLoadBalancers = Azure::Network::Mgmt::V2018_01_01::NetworkInterfaceLoadBalancers - NetworkSecurityGroups = Azure::Network::Mgmt::V2018_01_01::NetworkSecurityGroups - SecurityRules = Azure::Network::Mgmt::V2018_01_01::SecurityRules DefaultSecurityRules = Azure::Network::Mgmt::V2018_01_01::DefaultSecurityRules NetworkWatchers = Azure::Network::Mgmt::V2018_01_01::NetworkWatchers PacketCaptures = Azure::Network::Mgmt::V2018_01_01::PacketCaptures ConnectionMonitors = Azure::Network::Mgmt::V2018_01_01::ConnectionMonitors - Operations = Azure::Network::Mgmt::V2018_01_01::Operations - PublicIPAddresses = Azure::Network::Mgmt::V2018_01_01::PublicIPAddresses RouteFilters = Azure::Network::Mgmt::V2018_01_01::RouteFilters RouteFilterRules = Azure::Network::Mgmt::V2018_01_01::RouteFilterRules - RouteTables = Azure::Network::Mgmt::V2018_01_01::RouteTables - Routes = Azure::Network::Mgmt::V2018_01_01::Routes BgpServiceCommunities = Azure::Network::Mgmt::V2018_01_01::BgpServiceCommunities - Usages = Azure::Network::Mgmt::V2018_01_01::Usages - VirtualNetworks = Azure::Network::Mgmt::V2018_01_01::VirtualNetworks - Subnets = Azure::Network::Mgmt::V2018_01_01::Subnets VirtualNetworkPeerings = Azure::Network::Mgmt::V2018_01_01::VirtualNetworkPeerings - VirtualNetworkGateways = Azure::Network::Mgmt::V2018_01_01::VirtualNetworkGateways - VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2018_01_01::VirtualNetworkGatewayConnections - LocalNetworkGateways = Azure::Network::Mgmt::V2018_01_01::LocalNetworkGateways + Operations = Azure::Network::Mgmt::V2018_01_01::Operations + ApplicationGateways = Azure::Network::Mgmt::V2018_01_01::ApplicationGateways + ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuitAuthorizations + ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuitPeerings + ExpressRouteCircuits = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuits + ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_01_01::ExpressRouteServiceProviders + LoadBalancers = Azure::Network::Mgmt::V2018_01_01::LoadBalancers module Models - TopologyAssociation = Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation - SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource - TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource + OperationDisplay = Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay OperationListResult = Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult Operation = Azure::Network::Mgmt::V2018_01_01::Models::Operation - NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings + Origin = Azure::Network::Mgmt::V2018_01_01::Models::Origin + TopologyAssociation = Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation + TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference - LoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult - ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey InboundNatRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult PublicIPAddressSku = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerBackendAddressPoolListResult IpTag = Azure::Network::Mgmt::V2018_01_01::Models::IpTag LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult TunnelConnectionHealth = Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult - ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress - NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining - ErrorDetails = Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer - Error = Azure::Network::Mgmt::V2018_01_01::Models::Error ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool - AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult - ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult - VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult BgpPeerStatus = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation - VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration - EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule + Error = Azure::Network::Mgmt::V2018_01_01::Models::Error VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroup VirtualNetworkUsage = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupListResult IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult - EffectiveRoute = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute + EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup EffectiveRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult - DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions - SecurityRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult + EffectiveRoute = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule - NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult - LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult - NetworkWatcherListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies TopologyParameters = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters TagsObject = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult Dimension = Azure::Network::Mgmt::V2018_01_01::Models::Dimension - UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult - MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification - Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage + NetworkWatcherListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult Topology = Azure::Network::Mgmt::V2018_01_01::Models::Topology - ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters - ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification VerificationIPFlowResult = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult - BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity NextHopParameters = Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters - ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult NextHopResult = Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult - ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties SecurityGroupViewParameters = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable NetworkInterfaceAssociation = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation - ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable SubnetAssociation = Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary SecurityRuleAssociations = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations - ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface - RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult SecurityGroupViewResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult LoadBalancerSku = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku PacketCaptureStorageLocation = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureStorageLocation @@ -132,49 +106,37 @@ module Models PacketCaptureFilter = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureFilter VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters PacketCaptureParameters = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters - LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult PacketCapture = Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings PacketCaptureResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult IpsecPolicy = Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy PacketCaptureListResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureListResult BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult + BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings TroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy QueryTroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters - BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings TroubleshootingRecommendedActions = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch TroubleshootingDetails = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails - VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult TroubleshootingResult = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult - ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult RetentionPolicyParameters = Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult TrafficAnalyticsConfigurationProperties = Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties - Resource = Azure::Network::Mgmt::V2018_01_01::Models::Resource FlowLogStatusParameters = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters EndpointServicesListResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult FlowLogInformation = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation - UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName ConnectivitySource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig - ConnectivityDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination - RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult ConnectivityParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters - ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult ConnectivityIssue = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered ConnectivityHop = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult ConnectivityInformation = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityInformation VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult AzureReachabilityReportLocation = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation - ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey AzureReachabilityReportParameters = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo GatewayRoute = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute AzureReachabilityReportItem = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportItem @@ -182,37 +144,121 @@ module Models AzureReachabilityReport = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReport ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleGroup AvailableProvidersListParameters = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters - DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult AvailableProvidersListCity = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult AvailableProvidersListState = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState - ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult AvailableProvidersListCountry = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry - ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult AvailableProvidersList = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList ServiceEndpointPropertiesFormat = Azure::Network::Mgmt::V2018_01_01::Models::ServiceEndpointPropertiesFormat ConnectionMonitorSource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorSource ApplicationGatewayBackendHealth = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealth ConnectionMonitorDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorDestination + LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration - ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters - AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult ConnectionMonitor = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters ConnectionMonitorResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult - GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult - AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace ConnectionStateSnapshot = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot - PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult + ApplicationSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup + ConnectivityDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination + Availability = Azure::Network::Mgmt::V2018_01_01::Models::Availability + ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAuthenticationCertificate + ResourceNavigationLink = Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink + ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet + ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectConfiguration + ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy + ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslOptions + RouteFilterRule = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule + EndpointServiceResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServiceResult + NetworkWatcher = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher + RouteFilter = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilter + PatchRouteFilter = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter + PatchRouteFilterRule = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule + VirtualNetworkPeering = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering + BgpServiceCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunity + PublicIPAddressSkuName = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName + VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListEntity + ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol + ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServerHealth + ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName + ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyType + ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType + ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCipherSuite + Access = Azure::Network::Mgmt::V2018_01_01::Models::Access + ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallMode + EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol + LoadBalancerSkuName = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSkuName + EffectiveRouteState = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState + EffectiveRouteSource = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteSource + Direction = Azure::Network::Mgmt::V2018_01_01::Models::Direction + AssociationType = Azure::Network::Mgmt::V2018_01_01::Models::AssociationType + PcProtocol = Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol + NextHopType = Azure::Network::Mgmt::V2018_01_01::Models::NextHopType + PcError = Azure::Network::Mgmt::V2018_01_01::Models::PcError + PcStatus = Azure::Network::Mgmt::V2018_01_01::Models::PcStatus + ConnectionStatus = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus + IssueType = Azure::Network::Mgmt::V2018_01_01::Models::IssueType + EvaluationState = Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState + Severity = Azure::Network::Mgmt::V2018_01_01::Models::Severity + VpnClientProtocol = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol + VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringState + ConnectionState = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState + BgpPeerState = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerState + ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource + ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName + Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage + NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings + NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + Resource = Azure::Network::Mgmt::V2018_01_01::Models::Resource + BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + SecurityRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult + AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace + ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult + ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku - OperationDisplay = Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay + DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + LoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku - Availability = Azure::Network::Mgmt::V2018_01_01::Models::Availability + AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult + RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + ErrorDetails = Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayIPConfiguration + ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCertificate + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendIPConfiguration + AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult BackendAddressPool = Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool + ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult InboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRule - ApplicationSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup SecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRule NetworkInterface = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterface NetworkSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroup @@ -220,123 +266,77 @@ module Models RouteTable = Azure::Network::Mgmt::V2018_01_01::Models::RouteTable PublicIPAddress = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddress IPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::IPConfiguration - ResourceNavigationLink = Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink Subnet = Azure::Network::Mgmt::V2018_01_01::Models::Subnet NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfiguration ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddressPool ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHttpSettings - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayIPConfiguration - ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAuthenticationCertificate - ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCertificate - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendPort - ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayHttpListener ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayPathRule - ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbe + ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayHttpListener ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRule - ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectConfiguration - ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayUrlPathMap + ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbe ApplicationGateway = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGateway - ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet - ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslOptions - ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy - EndpointServiceResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServiceResult - ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization - RouteFilterRule = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule + ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayUrlPathMap ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeering - RouteFilter = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilter - ExpressRouteCircuit = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit + ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization ExpressRouteServiceProvider = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProvider - FrontendIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::FrontendIPConfiguration + ExpressRouteCircuit = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit LoadBalancingRule = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancingRule - Probe = Azure::Network::Mgmt::V2018_01_01::Models::Probe + FrontendIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::FrontendIPConfiguration InboundNatPool = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatPool - OutboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::OutboundNatRule + Probe = Azure::Network::Mgmt::V2018_01_01::Models::Probe LoadBalancer = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancer - NetworkWatcher = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher - PatchRouteFilterRule = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule - PatchRouteFilter = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter - BgpServiceCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunity - VirtualNetworkPeering = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering - VirtualNetwork = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetwork + OutboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::OutboundNatRule VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayIPConfiguration - VpnClientRootCertificate = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRootCertificate + VirtualNetwork = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetwork VpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRevokedCertificate - VirtualNetworkGateway = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGateway + VpnClientRootCertificate = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRootCertificate LocalNetworkGateway = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway + VirtualNetworkGateway = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGateway + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnection - VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListEntity TransportProtocol = Azure::Network::Mgmt::V2018_01_01::Models::TransportProtocol - IPAllocationMethod = Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod - IPVersion = Azure::Network::Mgmt::V2018_01_01::Models::IPVersion SecurityRuleProtocol = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleProtocol + IPAllocationMethod = Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod SecurityRuleAccess = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAccess - SecurityRuleDirection = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection + IPVersion = Azure::Network::Mgmt::V2018_01_01::Models::IPVersion RouteNextHopType = Azure::Network::Mgmt::V2018_01_01::Models::RouteNextHopType - PublicIPAddressSkuName = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProtocol + SecurityRuleDirection = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayCookieBasedAffinity - ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServerHealth - ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName - ApplicationGatewayTier = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier - ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol - ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyType - ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName - ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCipherSuite - ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRuleType - ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProtocol ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayOperationalState - ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallMode - AuthorizationUseStatus = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationUseStatus + ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRuleType ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState - Access = Azure::Network::Mgmt::V2018_01_01::Models::Access + AuthorizationUseStatus = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationUseStatus + ApplicationGatewayTier = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier ExpressRouteCircuitPeeringType = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringType ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringState ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSkuTier ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSkuFamily ServiceProviderProvisioningState = Azure::Network::Mgmt::V2018_01_01::Models::ServiceProviderProvisioningState - LoadBalancerSkuName = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSkuName LoadDistribution = Azure::Network::Mgmt::V2018_01_01::Models::LoadDistribution ProbeProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ProbeProtocol NetworkOperationStatus = Azure::Network::Mgmt::V2018_01_01::Models::NetworkOperationStatus - EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol - EffectiveRouteSource = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteSource - EffectiveRouteState = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState - ProvisioningState = Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState - AssociationType = Azure::Network::Mgmt::V2018_01_01::Models::AssociationType - Direction = Azure::Network::Mgmt::V2018_01_01::Models::Direction - Protocol = Azure::Network::Mgmt::V2018_01_01::Models::Protocol - NextHopType = Azure::Network::Mgmt::V2018_01_01::Models::NextHopType - PcProtocol = Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol - PcStatus = Azure::Network::Mgmt::V2018_01_01::Models::PcStatus - PcError = Azure::Network::Mgmt::V2018_01_01::Models::PcError - Origin = Azure::Network::Mgmt::V2018_01_01::Models::Origin - Severity = Azure::Network::Mgmt::V2018_01_01::Models::Severity - IssueType = Azure::Network::Mgmt::V2018_01_01::Models::IssueType - ConnectionStatus = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus - ConnectionState = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState - EvaluationState = Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState - VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringState VirtualNetworkGatewayType = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayType VpnType = Azure::Network::Mgmt::V2018_01_01::Models::VpnType VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySkuTier - VpnClientProtocol = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol - BgpPeerState = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerState ProcessorArchitecture = Azure::Network::Mgmt::V2018_01_01::Models::ProcessorArchitecture - AuthenticationMethod = Azure::Network::Mgmt::V2018_01_01::Models::AuthenticationMethod - VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionStatus VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionType + VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionStatus + AuthenticationMethod = Azure::Network::Mgmt::V2018_01_01::Models::AuthenticationMethod IpsecEncryption = Azure::Network::Mgmt::V2018_01_01::Models::IpsecEncryption IpsecIntegrity = Azure::Network::Mgmt::V2018_01_01::Models::IpsecIntegrity - IkeEncryption = Azure::Network::Mgmt::V2018_01_01::Models::IkeEncryption + Protocol = Azure::Network::Mgmt::V2018_01_01::Models::Protocol IkeIntegrity = Azure::Network::Mgmt::V2018_01_01::Models::IkeIntegrity - DhGroup = Azure::Network::Mgmt::V2018_01_01::Models::DhGroup + ProvisioningState = Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState PfsGroup = Azure::Network::Mgmt::V2018_01_01::Models::PfsGroup + IkeEncryption = Azure::Network::Mgmt::V2018_01_01::Models::IkeEncryption + DhGroup = Azure::Network::Mgmt::V2018_01_01::Models::DhGroup end class NetworkManagementClass - attr_reader :application_gateways, :application_security_groups, :available_endpoint_services, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interfaces, :network_interface_ipconfigurations, :network_interface_load_balancers, :network_security_groups, :security_rules, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :operations, :public_ipaddresses, :route_filters, :route_filter_rules, :route_tables, :routes, :bgp_service_communities, :usages, :virtual_networks, :subnets, :virtual_network_peerings, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :configurable, :base_url, :options, :model_classes + attr_reader :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :application_security_groups, :available_endpoint_services, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interface_ipconfigurations, :network_interface_load_balancers, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :route_filters, :route_filter_rules, :bgp_service_communities, :virtual_network_peerings, :operations, :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -346,43 +346,43 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @application_gateways = @client_0.application_gateways + @network_interfaces = @client_0.network_interfaces + @network_security_groups = @client_0.network_security_groups + @security_rules = @client_0.security_rules + @public_ipaddresses = @client_0.public_ipaddresses + @route_tables = @client_0.route_tables + @routes = @client_0.routes + @usages = @client_0.usages + @virtual_networks = @client_0.virtual_networks + @subnets = @client_0.subnets + @virtual_network_gateways = @client_0.virtual_network_gateways + @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections + @local_network_gateways = @client_0.local_network_gateways @application_security_groups = @client_0.application_security_groups @available_endpoint_services = @client_0.available_endpoint_services - @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations - @express_route_circuit_peerings = @client_0.express_route_circuit_peerings - @express_route_circuits = @client_0.express_route_circuits - @express_route_service_providers = @client_0.express_route_service_providers - @load_balancers = @client_0.load_balancers @load_balancer_backend_address_pools = @client_0.load_balancer_backend_address_pools @load_balancer_frontend_ipconfigurations = @client_0.load_balancer_frontend_ipconfigurations @inbound_nat_rules = @client_0.inbound_nat_rules @load_balancer_load_balancing_rules = @client_0.load_balancer_load_balancing_rules @load_balancer_network_interfaces = @client_0.load_balancer_network_interfaces @load_balancer_probes = @client_0.load_balancer_probes - @network_interfaces = @client_0.network_interfaces @network_interface_ipconfigurations = @client_0.network_interface_ipconfigurations @network_interface_load_balancers = @client_0.network_interface_load_balancers - @network_security_groups = @client_0.network_security_groups - @security_rules = @client_0.security_rules @default_security_rules = @client_0.default_security_rules @network_watchers = @client_0.network_watchers @packet_captures = @client_0.packet_captures @connection_monitors = @client_0.connection_monitors - @operations = @client_0.operations - @public_ipaddresses = @client_0.public_ipaddresses @route_filters = @client_0.route_filters @route_filter_rules = @client_0.route_filter_rules - @route_tables = @client_0.route_tables - @routes = @client_0.routes @bgp_service_communities = @client_0.bgp_service_communities - @usages = @client_0.usages - @virtual_networks = @client_0.virtual_networks - @subnets = @client_0.subnets @virtual_network_peerings = @client_0.virtual_network_peerings - @virtual_network_gateways = @client_0.virtual_network_gateways - @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections - @local_network_gateways = @client_0.local_network_gateways + @operations = @client_0.operations + @application_gateways = @client_0.application_gateways + @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations + @express_route_circuit_peerings = @client_0.express_route_circuit_peerings + @express_route_circuits = @client_0.express_route_circuits + @express_route_service_providers = @client_0.express_route_service_providers + @load_balancers = @client_0.load_balancers @model_classes = ModelClasses.new end @@ -401,14 +401,8 @@ def method_missing(method, *args) end class ModelClasses - def topology_association - Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation - end - def sub_resource - Azure::Network::Mgmt::V2018_01_01::Models::SubResource - end - def topology_resource - Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource + def operation_display + Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay end def operation_list_result Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult @@ -416,8 +410,14 @@ def operation_list_result def operation Azure::Network::Mgmt::V2018_01_01::Models::Operation end - def network_interface_dns_settings - Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings + def origin + Azure::Network::Mgmt::V2018_01_01::Models::Origin + end + def topology_association + Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation + end + def topology_resource + Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource end def operation_properties_format_service_specification Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification @@ -425,12 +425,6 @@ def operation_properties_format_service_specification def virtual_network_connection_gateway_reference Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference end - def load_balancer_list_result - Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult - end - def connection_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey - end def inbound_nat_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult end @@ -446,9 +440,6 @@ def ip_tag def load_balancer_frontend_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult - end def load_balancer_load_balancing_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult end @@ -458,39 +449,18 @@ def tunnel_connection_health def load_balancer_probe_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult end - def application_gateway_backend_address - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress - end - def network_interface_list_result - Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult - end def application_gateway_connection_draining Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining end - def error_details - Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails - end def application_gateway_backend_health_server Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer end - def error - Azure::Network::Mgmt::V2018_01_01::Models::Error - end def application_gateway_backend_health_pool Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool end - def azure_async_operation_result - Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult - end - def application_gateway_sku - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku - end def network_interface_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult end - def vpn_client_parameters - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters - end def network_interface_load_balancer_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult end @@ -500,11 +470,8 @@ def bgp_peer_status def effective_network_security_group_association Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation end - def vpn_client_configuration - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration - end - def effective_network_security_rule - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule + def error + Azure::Network::Mgmt::V2018_01_01::Models::Error end def virtual_network_list_usage_result Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult @@ -521,8 +488,8 @@ def effective_network_security_group_list_result def ipaddress_availability_result Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult end - def effective_route - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute + def effective_network_security_rule + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule end def application_gateway_firewall_disabled_rule_group Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup @@ -530,30 +497,15 @@ def application_gateway_firewall_disabled_rule_group def effective_route_list_result Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult end - def dhcp_options - Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions - end - def security_rule_list_result - Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult + def effective_route + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute end def application_gateway_firewall_rule Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule end - def network_security_group_list_result - Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult - end def virtual_network_peering_list_result Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult end - def log_specification - Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - end - def subnet_list_result - Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult - end - def network_watcher_list_result - Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult - end def application_gateway_available_ssl_predefined_policies Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies end @@ -569,57 +521,33 @@ def application_security_group_list_result def dimension Azure::Network::Mgmt::V2018_01_01::Models::Dimension end - def usages_list_result - Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult - end - def metric_specification - Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification - end - def usage - Azure::Network::Mgmt::V2018_01_01::Models::Usage + def network_watcher_list_result + Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult end def topology Azure::Network::Mgmt::V2018_01_01::Models::Topology end - def express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig - end def verification_ipflow_parameters Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters end - def express_route_circuit_stats - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + def metric_specification + Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification end def verification_ipflow_result Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult end - def bgpcommunity - Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity - end def next_hop_parameters Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters end - def express_route_circuit_peering_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult - end def next_hop_result Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult end - def express_route_circuit_service_provider_properties - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties - end def security_group_view_parameters Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters end - def express_route_circuit_arp_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable - end def network_interface_association Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation end - def express_route_circuit_routes_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable - end def subnet_association Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation end @@ -629,15 +557,9 @@ def express_route_circuit_routes_table_summary def security_rule_associations Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations end - def express_route_circuit_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult - end def security_group_network_interface Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface end - def route_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult - end def security_group_view_result Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult end @@ -659,15 +581,9 @@ def vpn_device_script_parameters def packet_capture_parameters Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters end - def local_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult - end def packet_capture Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings - end def packet_capture_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult end @@ -680,6 +596,9 @@ def packet_capture_list_result def bgp_peer_status_list_result Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult end + def bgpcommunity + Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity + end def packet_capture_query_status_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult end @@ -695,9 +614,6 @@ def application_gateway_ssl_policy def query_troubleshooting_parameters Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters end - def bgp_settings - Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings - end def troubleshooting_recommended_actions Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions end @@ -707,15 +623,9 @@ def application_gateway_probe_health_response_match def troubleshooting_details Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails end - def virtual_network_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult - end def troubleshooting_result Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult end - def application_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult - end def retention_policy_parameters Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters end @@ -725,9 +635,6 @@ def application_gateway_available_waf_rule_sets_result def traffic_analytics_configuration_properties Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties end - def resource - Azure::Network::Mgmt::V2018_01_01::Models::Resource - end def flow_log_status_parameters Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters end @@ -737,33 +644,18 @@ def endpoint_services_list_result def flow_log_information Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation end - def usage_name - Azure::Network::Mgmt::V2018_01_01::Models::UsageName - end def connectivity_source Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource end def ipv6_express_route_circuit_peering_config Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end - def connectivity_destination - Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination - end - def route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult - end def connectivity_parameters Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters end - def express_route_circuits_routes_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult - end def connectivity_issue Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered - end def connectivity_hop Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop end @@ -779,15 +671,9 @@ def virtual_network_gateway_list_connections_result def azure_reachability_report_location Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation end - def connection_reset_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey - end def azure_reachability_report_parameters Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult - end def azure_reachability_report_latency_info Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo end @@ -809,9 +695,6 @@ def application_gateway_firewall_rule_group def available_providers_list_parameters Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters end - def dns_name_availability_result - Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult - end def available_providers_list_city Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity end @@ -821,15 +704,9 @@ def bgp_service_community_list_result def available_providers_list_state Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState end - def express_route_circuits_arp_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult - end def available_providers_list_country Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult - end def available_providers_list Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList end @@ -845,63 +722,324 @@ def application_gateway_backend_health def connection_monitor_destination Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorDestination end + def log_specification + Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification + end def application_gateway_web_application_firewall_configuration Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration end - def connection_monitor_parameters - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters - end - def authorization_list_result - Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult - end - def connection_monitor - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor + def connection_monitor + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor end def express_route_circuits_routes_table_summary_list_result Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end + def connection_monitor_parameters + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters + end def connection_monitor_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult end - def gateway_route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult - end def connection_monitor_list_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult end - def address_space - Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace - end def connection_state_snapshot Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + def gateway_route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult end def connection_monitor_query_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult end + def application_security_group + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup + end + def connectivity_destination + Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination + end + def availability + Azure::Network::Mgmt::V2018_01_01::Models::Availability + end + def application_gateway_authentication_certificate + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAuthenticationCertificate + end + def resource_navigation_link + Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink + end + def application_gateway_firewall_rule_set + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet + end + def application_gateway_redirect_configuration + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectConfiguration + end + def application_gateway_ssl_predefined_policy + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy + end + def application_gateway_available_ssl_options + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslOptions + end + def route_filter_rule + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule + end + def endpoint_service_result + Azure::Network::Mgmt::V2018_01_01::Models::EndpointServiceResult + end + def network_watcher + Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher + end + def route_filter + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilter + end + def patch_route_filter + Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter + end + def patch_route_filter_rule + Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule + end + def virtual_network_peering + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering + end + def bgp_service_community + Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunity + end + def public_ipaddress_sku_name + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName + end + def virtual_network_gateway_connection_list_entity + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListEntity + end + def application_gateway_ssl_protocol + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol + end + def application_gateway_backend_health_server_health + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServerHealth + end + def application_gateway_ssl_policy_name + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName + end + def application_gateway_ssl_policy_type + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyType + end + def application_gateway_redirect_type + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType + end + def application_gateway_ssl_cipher_suite + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCipherSuite + end + def access + Azure::Network::Mgmt::V2018_01_01::Models::Access + end + def application_gateway_firewall_mode + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallMode + end + def effective_security_rule_protocol + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol + end + def load_balancer_sku_name + Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSkuName + end + def effective_route_state + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState + end + def effective_route_source + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteSource + end + def direction + Azure::Network::Mgmt::V2018_01_01::Models::Direction + end + def association_type + Azure::Network::Mgmt::V2018_01_01::Models::AssociationType + end + def pc_protocol + Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol + end + def next_hop_type + Azure::Network::Mgmt::V2018_01_01::Models::NextHopType + end + def pc_error + Azure::Network::Mgmt::V2018_01_01::Models::PcError + end + def pc_status + Azure::Network::Mgmt::V2018_01_01::Models::PcStatus + end + def connection_status + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus + end + def issue_type + Azure::Network::Mgmt::V2018_01_01::Models::IssueType + end + def evaluation_state + Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState + end + def severity + Azure::Network::Mgmt::V2018_01_01::Models::Severity + end + def vpn_client_protocol + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol + end + def virtual_network_peering_state + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringState + end + def connection_state + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState + end + def bgp_peer_state + Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerState + end + def express_route_circuit_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + end + def sub_resource + Azure::Network::Mgmt::V2018_01_01::Models::SubResource + end + def express_route_service_provider_bandwidths_offered + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + end + def public_ipaddress_list_result + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + end + def application_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + end + def application_gateway_backend_address + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + end + def usage_name + Azure::Network::Mgmt::V2018_01_01::Models::UsageName + end + def usage + Azure::Network::Mgmt::V2018_01_01::Models::Usage + end + def network_interface_dns_settings + Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings + end + def network_security_group_list_result + Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult + end + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + end + def resource + Azure::Network::Mgmt::V2018_01_01::Models::Resource + end + def bgp_settings + Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + end + def express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + end + def vpn_client_configuration + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + end + def express_route_circuit_stats + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + end + def virtual_network_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + end + def security_rule_list_result + Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult + end + def address_space + Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace + end + def express_route_circuit_peering_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + end + def usages_list_result + Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + end + def connection_reset_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + end + def express_route_circuit_service_provider_properties + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + end + def route_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + end + def network_interface_list_result + Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult + end + def connection_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + end + def express_route_circuit_arp_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable + end def express_route_circuit_sku Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku end - def operation_display - Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay + def dns_name_availability_result + Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + end + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + end + def express_route_circuit_routes_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + end + def dhcp_options + Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + end + def express_route_circuits_routes_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + end + def application_gateway_sku + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + end + def local_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult + end + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + end + def load_balancer_list_result + Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult end def virtual_network_gateway_sku Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku end - def availability - Azure::Network::Mgmt::V2018_01_01::Models::Availability + def azure_async_operation_result + Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult + end + def route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + end + def subnet_list_result + Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + end + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + end + def vpn_client_parameters + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + end + def error_details + Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails + end + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayIPConfiguration + end + def application_gateway_ssl_certificate + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCertificate + end + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendIPConfiguration + end + def authorization_list_result + Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult end def backend_address_pool Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool end + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult + end def inbound_nat_rule Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRule end - def application_security_group - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup - end def security_rule Azure::Network::Mgmt::V2018_01_01::Models::SecurityRule end @@ -923,9 +1061,6 @@ def public_ipaddress def ipconfiguration Azure::Network::Mgmt::V2018_01_01::Models::IPConfiguration end - def resource_navigation_link - Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink - end def subnet Azure::Network::Mgmt::V2018_01_01::Models::Subnet end @@ -938,200 +1073,122 @@ def application_gateway_backend_address_pool def application_gateway_backend_http_settings Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHttpSettings end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayIPConfiguration - end - def application_gateway_authentication_certificate - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAuthenticationCertificate - end - def application_gateway_ssl_certificate - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCertificate - end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendIPConfiguration - end def application_gateway_frontend_port Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendPort end - def application_gateway_http_listener - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayHttpListener - end def application_gateway_path_rule Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayPathRule end - def application_gateway_probe - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbe + def application_gateway_http_listener + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayHttpListener end def application_gateway_request_routing_rule Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRule end - def application_gateway_redirect_configuration - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectConfiguration - end - def application_gateway_url_path_map - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayUrlPathMap + def application_gateway_probe + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbe end def application_gateway Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGateway end - def application_gateway_firewall_rule_set - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet - end - def application_gateway_available_ssl_options - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslOptions - end - def application_gateway_ssl_predefined_policy - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy - end - def endpoint_service_result - Azure::Network::Mgmt::V2018_01_01::Models::EndpointServiceResult - end - def express_route_circuit_authorization - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization - end - def route_filter_rule - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule + def application_gateway_url_path_map + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayUrlPathMap end def express_route_circuit_peering Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeering end - def route_filter - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilter - end - def express_route_circuit - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit + def express_route_circuit_authorization + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization end def express_route_service_provider Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProvider end - def frontend_ipconfiguration - Azure::Network::Mgmt::V2018_01_01::Models::FrontendIPConfiguration + def express_route_circuit + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit end def load_balancing_rule Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancingRule end - def probe - Azure::Network::Mgmt::V2018_01_01::Models::Probe + def frontend_ipconfiguration + Azure::Network::Mgmt::V2018_01_01::Models::FrontendIPConfiguration end def inbound_nat_pool Azure::Network::Mgmt::V2018_01_01::Models::InboundNatPool end - def outbound_nat_rule - Azure::Network::Mgmt::V2018_01_01::Models::OutboundNatRule + def probe + Azure::Network::Mgmt::V2018_01_01::Models::Probe end def load_balancer Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancer end - def network_watcher - Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher - end - def patch_route_filter_rule - Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule - end - def patch_route_filter - Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter - end - def bgp_service_community - Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunity + def outbound_nat_rule + Azure::Network::Mgmt::V2018_01_01::Models::OutboundNatRule end - def virtual_network_peering - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering + def virtual_network_gateway_ipconfiguration + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayIPConfiguration end def virtual_network Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetwork end - def virtual_network_gateway_ipconfiguration - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayIPConfiguration + def vpn_client_revoked_certificate + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRevokedCertificate end def vpn_client_root_certificate Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRootCertificate end - def vpn_client_revoked_certificate - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRevokedCertificate + def local_network_gateway + Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway end def virtual_network_gateway Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGateway end - def local_network_gateway - Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway + def application_gateway_sku_name + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName end def virtual_network_gateway_connection Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnection end - def virtual_network_gateway_connection_list_entity - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListEntity - end def transport_protocol Azure::Network::Mgmt::V2018_01_01::Models::TransportProtocol end - def ipallocation_method - Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod - end - def ipversion - Azure::Network::Mgmt::V2018_01_01::Models::IPVersion - end def security_rule_protocol Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleProtocol end + def ipallocation_method + Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod + end def security_rule_access Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAccess end - def security_rule_direction - Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection + def ipversion + Azure::Network::Mgmt::V2018_01_01::Models::IPVersion end def route_next_hop_type Azure::Network::Mgmt::V2018_01_01::Models::RouteNextHopType end - def public_ipaddress_sku_name - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName - end - def application_gateway_protocol - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProtocol + def security_rule_direction + Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection end def application_gateway_cookie_based_affinity Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayCookieBasedAffinity end - def application_gateway_backend_health_server_health - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServerHealth - end - def application_gateway_sku_name - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName - end - def application_gateway_tier - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier - end - def application_gateway_ssl_protocol - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol - end - def application_gateway_ssl_policy_type - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyType - end - def application_gateway_ssl_policy_name - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName + def application_gateway_protocol + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProtocol end - def application_gateway_ssl_cipher_suite - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCipherSuite + def application_gateway_operational_state + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayOperationalState end def application_gateway_request_routing_rule_type Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRuleType end - def application_gateway_redirect_type - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType - end - def application_gateway_operational_state - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayOperationalState - end - def application_gateway_firewall_mode - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallMode + def express_route_circuit_peering_advertised_public_prefix_state + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState end def authorization_use_status Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationUseStatus end - def express_route_circuit_peering_advertised_public_prefix_state - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState - end - def access - Azure::Network::Mgmt::V2018_01_01::Models::Access + def application_gateway_tier + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier end def express_route_circuit_peering_type Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringType @@ -1148,9 +1205,6 @@ def express_route_circuit_sku_family def service_provider_provisioning_state Azure::Network::Mgmt::V2018_01_01::Models::ServiceProviderProvisioningState end - def load_balancer_sku_name - Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSkuName - end def load_distribution Azure::Network::Mgmt::V2018_01_01::Models::LoadDistribution end @@ -1160,60 +1214,6 @@ def probe_protocol def network_operation_status Azure::Network::Mgmt::V2018_01_01::Models::NetworkOperationStatus end - def effective_security_rule_protocol - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol - end - def effective_route_source - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteSource - end - def effective_route_state - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState - end - def provisioning_state - Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState - end - def association_type - Azure::Network::Mgmt::V2018_01_01::Models::AssociationType - end - def direction - Azure::Network::Mgmt::V2018_01_01::Models::Direction - end - def protocol - Azure::Network::Mgmt::V2018_01_01::Models::Protocol - end - def next_hop_type - Azure::Network::Mgmt::V2018_01_01::Models::NextHopType - end - def pc_protocol - Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol - end - def pc_status - Azure::Network::Mgmt::V2018_01_01::Models::PcStatus - end - def pc_error - Azure::Network::Mgmt::V2018_01_01::Models::PcError - end - def origin - Azure::Network::Mgmt::V2018_01_01::Models::Origin - end - def severity - Azure::Network::Mgmt::V2018_01_01::Models::Severity - end - def issue_type - Azure::Network::Mgmt::V2018_01_01::Models::IssueType - end - def connection_status - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus - end - def connection_state - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState - end - def evaluation_state - Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState - end - def virtual_network_peering_state - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringState - end def virtual_network_gateway_type Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayType end @@ -1226,23 +1226,17 @@ def virtual_network_gateway_sku_name def virtual_network_gateway_sku_tier Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySkuTier end - def vpn_client_protocol - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol - end - def bgp_peer_state - Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerState - end def processor_architecture Azure::Network::Mgmt::V2018_01_01::Models::ProcessorArchitecture end - def authentication_method - Azure::Network::Mgmt::V2018_01_01::Models::AuthenticationMethod + def virtual_network_gateway_connection_type + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionType end def virtual_network_gateway_connection_status Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionStatus end - def virtual_network_gateway_connection_type - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionType + def authentication_method + Azure::Network::Mgmt::V2018_01_01::Models::AuthenticationMethod end def ipsec_encryption Azure::Network::Mgmt::V2018_01_01::Models::IpsecEncryption @@ -1250,18 +1244,24 @@ def ipsec_encryption def ipsec_integrity Azure::Network::Mgmt::V2018_01_01::Models::IpsecIntegrity end - def ike_encryption - Azure::Network::Mgmt::V2018_01_01::Models::IkeEncryption + def protocol + Azure::Network::Mgmt::V2018_01_01::Models::Protocol end def ike_integrity Azure::Network::Mgmt::V2018_01_01::Models::IkeIntegrity end - def dh_group - Azure::Network::Mgmt::V2018_01_01::Models::DhGroup + def provisioning_state + Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState end def pfs_group Azure::Network::Mgmt::V2018_01_01::Models::PfsGroup end + def ike_encryption + Azure::Network::Mgmt::V2018_01_01::Models::IkeEncryption + end + def dh_group + Azure::Network::Mgmt::V2018_01_01::Models::DhGroup + end end end end diff --git a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb index 655bfad2cf..9585607879 100644 --- a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb @@ -9,30 +9,30 @@ module NewsSearch NewsOperations = Azure::CognitiveServices::NewsSearch::V1_0::NewsOperations module Models - ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase - Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error - Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization + MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject + Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response NewsArticle = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle - SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer News = Azure::CognitiveServices::NewsSearch::V1_0::Models::News - ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject NewsTopic = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic - Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article + Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase + TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics + VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response Answer = Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing - TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics - MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject - VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject CreativeWork = Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork - Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization - ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse ErrorCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode - Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness SafeSearch = Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat + ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse + Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article + Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness + Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error + ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject end class NewsSearchDataClass @@ -65,78 +65,78 @@ def method_missing(method, *args) end class ModelClasses - def response_base - Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase + def organization + Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization end - def error - Azure::CognitiveServices::NewsSearch::V1_0::Models::Error + def media_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject end - def query - Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + def response + Azure::CognitiveServices::NewsSearch::V1_0::Models::Response end def news_article Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle end - def search_results_answer - Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer - end def news Azure::CognitiveServices::NewsSearch::V1_0::Models::News end - def image_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject - end def news_topic Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic end - def article - Azure::CognitiveServices::NewsSearch::V1_0::Models::Article + def query + Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + end + def response_base + Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase + end + def trending_topics + Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics + end + def video_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + end + def search_results_answer + Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer end def identifiable Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::NewsSearch::V1_0::Models::Response - end def answer Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer end def thing Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing end - def trending_topics - Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics - end - def media_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject - end - def video_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject - end def creative_work Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork end - def organization - Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization - end - def error_response - Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse - end def error_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode end def error_sub_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode end - def freshness - Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness - end def safe_search Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch end def text_format Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat end + def error_response + Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse + end + def article + Azure::CognitiveServices::NewsSearch::V1_0::Models::Article + end + def freshness + Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness + end + def error + Azure::CognitiveServices::NewsSearch::V1_0::Models::Error + end + def image_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + end end end end diff --git a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb index d481e842fd..d74f445e9e 100644 --- a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb @@ -8,26 +8,10 @@ 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 - ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys - PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource - Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation - ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential - ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse - WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential - CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters - GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential - OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay - OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult - Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku - SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters - SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource - NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult - SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult - Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters @@ -38,18 +22,34 @@ module Models NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource + Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters NotificationHubPatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource DebugSendResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse + SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource + NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource + Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName - NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType + OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay + OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult AccessRights = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights + ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse + Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation + ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys + PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource + ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential + WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential + CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential + SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters + NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult + SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult 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 @@ -80,54 +80,6 @@ def method_missing(method, *args) end class ModelClasses - def resource_list_keys - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys - end - def policykey_resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource - end - def operation - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation - end - def apns_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential - end - def error_response - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse - end - def wns_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential - end - def check_availability_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters - end - def gcm_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential - end - def operation_display - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay - end - def operation_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult - end - def sku - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku - end - def shared_access_authorization_rule_create_or_update_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters - end - def sub_resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource - end - def notification_hub_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult - end - def shared_access_authorization_rule_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult - end - def resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource - end def shared_access_authorization_rule_properties Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties end @@ -158,6 +110,9 @@ def namespace_resource def shared_access_authorization_rule_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource end + def sku + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku + end def notification_hub_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters end @@ -170,18 +125,63 @@ def notification_hub_resource def debug_send_response Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse end + def sub_resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource + end + def namespace_type + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType + end def pns_credentials_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource end + def resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource + end def sku_name Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName end - def namespace_type - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType + def operation_display + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay + end + def operation_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult end def access_rights Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights end + def error_response + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse + end + def operation + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation + end + def resource_list_keys + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys + end + def policykey_resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource + end + def apns_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential + end + def wns_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential + end + def check_availability_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + end + def gcm_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential + end + def shared_access_authorization_rule_create_or_update_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters + end + def notification_hub_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult + end + def shared_access_authorization_rule_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult + end end end end diff --git a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb index 5f7eec328a..7232eea931 100644 --- a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb @@ -9,19 +9,20 @@ module OperationalInsights module Mgmt StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights SavedSearches = Azure::OperationalInsights::Mgmt::V2015_03_20::SavedSearches - 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 + LinkedServices = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::LinkedServices + DataSources = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::DataSources module Models + Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount 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 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 - StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount 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 @@ -31,42 +32,41 @@ module Models SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError WorkspacePurgeBodyFilters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters - Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag 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 - WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse 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 + WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse PurgeState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState - MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName + StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum + Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku + Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource OperationDisplay = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay - UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric OperationListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult + MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName + UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric WorkspaceListUsagesResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult LinkedServiceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedServiceListResult ManagementGroup = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ManagementGroup DataSourceFilter = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter WorkspaceListManagementGroupsResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListManagementGroupsResult IntelligencePack = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack - Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku - Operation = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation SharedKeys = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys - Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource DataSourceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult - ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource WorkspaceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult LinkedService = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService - DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource + Operation = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation + ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource Workspace = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace + DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource DataSourceKind = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind - SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum EntityStatus = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus 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, :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 @@ -84,10 +84,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @linked_services = @client_1.linked_services - @data_sources = @client_1.data_sources @workspaces = @client_1.workspaces @operations = @client_1.operations + @linked_services = @client_1.linked_services + @data_sources = @client_1.data_sources @model_classes = ModelClasses.new end @@ -108,6 +108,12 @@ def method_missing(method, *args) end class ModelClasses + def tag + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + end + def storage_account + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount + end def search_schema_value Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue end @@ -126,9 +132,6 @@ def search_parameters def core_summary Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary end - def storage_account - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount - end def search_metadata_schema Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema end @@ -156,9 +159,6 @@ def search_error def workspace_purge_body_filters Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters end - def tag - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag - end def workspace_purge_body Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody end @@ -168,33 +168,42 @@ def workspace_purge_response def search_metadata Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata 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 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 workspace_purge_status_response + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse end def purge_state Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState end - def metric_name - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName + def storage_insight_state + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + end + def sku_name_enum + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum + end + def sku + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku + end + def resource + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource end def operation_display Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay end - def usage_metric - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric - end def operation_list_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult end + def metric_name + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName + end + def usage_metric + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric + end def workspace_list_usages_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult end @@ -213,42 +222,33 @@ def workspace_list_management_groups_result def intelligence_pack Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack end - def sku - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku - end - def operation - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation - end def shared_keys Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys end - def resource - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource - end def data_source_list_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult end - def proxy_resource - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource - end def workspace_list_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult end def linked_service Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService end - def data_source - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource + def operation + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation + end + def proxy_resource + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource end def workspace Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace end + def data_source + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource + end def data_source_kind Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind end - def sku_name_enum - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum - end def entity_status Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus end diff --git a/azure_sdk/lib/latest/modules/policy_profile_module.rb b/azure_sdk/lib/latest/modules/policy_profile_module.rb index 19d680f1f2..8ca73cb485 100644 --- a/azure_sdk/lib/latest/modules/policy_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policy_profile_module.rb @@ -8,25 +8,25 @@ module Azure::Profiles::Latest module Policy module Mgmt PolicyDefinitions = Azure::Policy::Mgmt::V2016_12_01::PolicyDefinitions - PolicyAssignments = Azure::Policy::Mgmt::V2017_06_01_preview::PolicyAssignments PolicySetDefinitions = Azure::Policy::Mgmt::V2017_06_01_preview::PolicySetDefinitions + PolicyAssignments = Azure::Policy::Mgmt::V2017_06_01_preview::PolicyAssignments module Models PolicyDefinition = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition PolicyDefinitionListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult PolicyMode = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode - ErrorResponse = Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse - PolicyDefinitionReference = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference + PolicyType = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType PolicyAssignment = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignment + PolicyAssignmentListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult + PolicyDefinitionReference = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference PolicySetDefinition = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinition PolicySku = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku + ErrorResponse = Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinitionListResult - PolicyAssignmentListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult - PolicyType = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType end class PolicyManagementClass - attr_reader :policy_definitions, :policy_assignments, :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 @@ -43,8 +43,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @policy_assignments = @client_1.policy_assignments @policy_set_definitions = @client_1.policy_set_definitions + @policy_assignments = @client_1.policy_assignments @model_classes = ModelClasses.new end @@ -74,30 +74,30 @@ def policy_definition_list_result def policy_mode Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode end - def error_response - Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse - end - def policy_definition_reference - Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference + def policy_type + Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType end def policy_assignment Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignment end + def policy_assignment_list_result + Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult + end + def policy_definition_reference + Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference + end def policy_set_definition Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinition end def policy_sku Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku end + def error_response + Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse + end def policy_set_definition_list_result Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinitionListResult end - def policy_assignment_list_result - Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult - end - def policy_type - Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType - 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 49e79b35b4..5c6665bd8c 100644 --- a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb @@ -7,11 +7,17 @@ module Azure::Profiles::Latest module PolicyInsights module Mgmt + Operations = Azure::PolicyInsights::Mgmt::V2018_04_04::Operations 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 + QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError + QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions + SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource + OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation PolicyDefinitionSummary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyDefinitionSummary PolicyAssignmentSummary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyAssignmentSummary PolicyEventsQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults @@ -19,19 +25,13 @@ 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 - OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent - Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults - QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError - QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions - SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults - PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource end class PolicyInsightsManagementClass - attr_reader :policy_events, :policy_states, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :policy_events, :policy_states, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -41,9 +41,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 @policy_events = @client_0.policy_events @policy_states = @client_0.policy_states - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -62,6 +62,24 @@ def method_missing(method, *args) end class ModelClasses + 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 summary_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + end + def policy_states_resource + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource + end + def operation_display + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + end + def operation + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation + end def policy_definition_summary Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyDefinitionSummary end @@ -83,33 +101,15 @@ def summarize_results def policy_states_query_results Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults end - def operation_display - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay - end def policy_event Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent end - def operation - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation - 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 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 summary_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults - 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 215c4dbc2c..8053e14052 100644 --- a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb +++ b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb @@ -7,33 +7,33 @@ module Azure::Profiles::Latest module PowerBiEmbedded module Mgmt - WorkspaceCollections = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::WorkspaceCollections Workspaces = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Workspaces + WorkspaceCollections = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::WorkspaceCollections module Models - Operation = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation + CheckNameReason = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason OperationList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList - Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error 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 - Workspace = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace CreateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest - Display = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display + Operation = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation + Workspace = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace UpdateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest - AzureSku = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku + Display = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display CheckNameRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest - WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList + AzureSku = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse - WorkspaceCollectionList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList + WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest + WorkspaceCollectionList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList + Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error 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 end class PowerBiEmbeddedManagementClass - attr_reader :workspace_collections, :workspaces, :configurable, :base_url, :options, :model_classes + attr_reader :workspaces, :workspace_collections, :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) - @workspace_collections = @client_0.workspace_collections @workspaces = @client_0.workspaces + @workspace_collections = @client_0.workspace_collections @model_classes = ModelClasses.new end @@ -63,15 +63,12 @@ def method_missing(method, *args) end class ModelClasses - def operation - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation + def check_name_reason + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason end def operation_list Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList end - def error - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error - end def workspace_collection_access_keys Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys end @@ -81,35 +78,41 @@ def workspace_collection 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 operation + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation + end def workspace Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace end - def create_workspace_collection_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest + def update_workspace_collection_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest 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 + def check_name_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest end def azure_sku Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku end - def check_name_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest + def check_name_response + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse 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 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 end - def migrate_workspace_collection_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest + def error + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error end def error_detail Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail @@ -117,9 +120,6 @@ def error_detail def access_key_name Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName end - def check_name_reason - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason - 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 e4a5a707d8..c628fb3d92 100644 --- a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb @@ -7,19 +7,35 @@ module Azure::Profiles::Latest module RecoveryServices module Mgmt + Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations + 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 - Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages module Models + ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails + NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo + ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails + ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails + PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource + PatchVault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault + VaultExtendedInfoResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource + AuthType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType + TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource + VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState + Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku + UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit + TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType + VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties + Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource + SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName + Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault 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 - Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource ClientDiscoveryForProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties RawCertificateData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse @@ -27,7 +43,6 @@ module Models VaultList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList ReplicationUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage ClientDiscoveryDisplay = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay - Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku ClientDiscoveryForServiceSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification VaultUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary @@ -35,25 +50,10 @@ module Models ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails ReplicationUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList - VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties - ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails - NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo - ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails - ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails - TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource - PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource - Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault - PatchVault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault - VaultExtendedInfoResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource - AuthType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType - SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName - VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState - TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType - UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit end class RecoveryServicesManagementClass - attr_reader :vault_certificates, :registered_identities, :replication_usages, :vaults, :operations, :vault_extended_info_operations, :usages, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :usages, :vault_certificates, :registered_identities, :replication_usages, :vaults, :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 + @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 - @usages = @client_0.usages @model_classes = ModelClasses.new end @@ -88,6 +88,57 @@ def method_missing(method, *args) end class ModelClasses + def resource_certificate_details + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails + end + def name_info + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo + end + def resource_certificate_and_aad_details + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails + end + def resource_certificate_and_acs_details + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails + end + def patch_tracked_resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource + end + def patch_vault + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault + end + def vault_extended_info_resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource + end + def auth_type + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType + end + def tracked_resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource + end + def vault_upgrade_state + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState + end + def sku + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku + end + def usages_unit + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit + end + def trigger_type + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType + end + def vault_properties + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties + end + def resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource + end + def sku_name + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName + end + def vault + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault + end def client_discovery_value_for_single_api Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi end @@ -97,9 +148,6 @@ def client_discovery_response def certificate_request Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest end - def resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource - end def client_discovery_for_properties Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties end @@ -121,9 +169,6 @@ def replication_usage def client_discovery_display Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay end - def sku - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku - end def client_discovery_for_service_specification Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification end @@ -145,51 +190,6 @@ def upgrade_details def replication_usage_list Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList end - def vault_properties - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties - end - def resource_certificate_details - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails - end - def name_info - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo - end - def resource_certificate_and_aad_details - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails - end - def resource_certificate_and_acs_details - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails - end - def tracked_resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource - end - def patch_tracked_resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource - end - def vault - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault - end - def patch_vault - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault - end - def vault_extended_info_resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource - end - def auth_type - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType - end - def sku_name - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName - end - def vault_upgrade_state - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState - end - def trigger_type - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType - end - def usages_unit - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit - 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 03a2f822ae..3fea13abaa 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb @@ -33,78 +33,24 @@ module Mgmt BackupProtectionContainers = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupProtectionContainers SecurityPINs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::SecurityPINs BackupResourceStorageConfigs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupResourceStorageConfigs + Jobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Jobs 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 ExportJobsOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ExportJobsOperationResults - Jobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Jobs BackupPolicies = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupPolicies BackupProtectedItems = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupProtectedItems BackupUsageSummaries = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupUsageSummaries module Models - ClientDiscoveryForProperties = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties ClientDiscoveryDisplay = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay - ClientDiscoveryValueForSingleApi = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi 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 - BMSContainerQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSContainerQueryObject - BMSPOQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSPOQueryObject - KeyAndSecretDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KeyAndSecretDetails - WorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItem - KEKDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KEKDetails - TokenInformation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TokenInformation - GetProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject - GenericContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainerExtendedInfo - TargetAFSRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetAFSRestoreInfo - EncryptionDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EncryptionDetails - RecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPoint - ProtectionContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainer - SQLDataDirectory = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectory - ProtectableContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainer - OperationStatusExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusExtendedInfo - InquiryValidation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryValidation - WorkloadInquiryDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadInquiryDetails - InquiryInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryInfo - DistributedNodesInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DistributedNodesInfo - AzureWorkloadContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo - InstantItemRecoveryTarget = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InstantItemRecoveryTarget - PreBackupValidation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PreBackupValidation - ContainerIdentityInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerIdentityInfo - WorkloadProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItem - PointInTimeRange = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PointInTimeRange - ClientScriptForConnect = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ClientScriptForConnect - RestoreFileSpecs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreFileSpecs - BMSWorkloadItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSWorkloadItemQueryObject - AzureWorkloadSQLRecoveryPointExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPointExtendedInfo - OperationStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus - BMSRPQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRPQueryObject - OperationStatusError = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusError - TargetRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetRestoreInfo - MabContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainerExtendedInfo - SQLDataDirectoryMapping = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryMapping - BMSRefreshContainersQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRefreshContainersQueryObject - RecoveryPointTierInformation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation - BackupEngineExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineExtendedInfo - BackupEngineBase = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBase - BEKDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BEKDetails - MABContainerHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MABContainerHealthDetails - DPMContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DPMContainerExtendedInfo - ILRRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequest - BackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest - RestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequest - BMSBackupEnginesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEnginesQueryObject - BackupResourceConfig = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfig - BMSBackupEngineQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEngineQueryObject - BackupResourceVaultConfig = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfig - AzureBackupServerContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerContainer - AzureBackupServerEngine = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerEngine - AzureFileShareBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareBackupRequest - AzureFileShareProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem - AzureFileShareRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint + ClientDiscoveryValueForSingleApi = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi AzureFileShareRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRestoreRequest AzureIaaSClassicComputeVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMContainer AzureIaaSClassicComputeVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMProtectableItem @@ -142,6 +88,7 @@ module Models GenericRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint IaasVMBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest IaaSVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer + OperationStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus IaasVMILRRegistrationRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMILRRegistrationRequest IaaSVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMProtectableItem IaasVMRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMRecoveryPoint @@ -149,174 +96,227 @@ module Models ILRRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequestResource MabContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainer OperationStatusJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobExtendedInfo - OperationStatusJobsExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo OperationStatusProvisionILRExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo - ProtectableContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource + OperationStatusJobsExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo ProtectableContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList + ProtectableContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource 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 + RecoveryPointResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource RestoreRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestResource WorkloadItemResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResource - WorkloadItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList WorkloadProtectableItemResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResource - WorkloadProtectableItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList + WorkloadItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList AzureFileShareType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareType - RecoveryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryType + WorkloadProtectableItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList CopyOptions = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::CopyOptions + RecoveryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryType RestoreRequestType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestType InquiryStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryStatus SQLDataDirectoryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryType - BackupType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType RestorePointType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointType OverwriteOptions = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OverwriteOptions - StorageType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType + BackupType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType StorageTypeState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageTypeState - EnhancedSecurityState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState ContainerType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerType + EnhancedSecurityState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState RestorePointQueryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointQueryType WorkloadItemType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemType RecoveryPointTierType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierType RecoveryPointTierStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierStatus - BackupItemType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType OperationStatusValues = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusValues - DpmJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails - DpmJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo - ErrorDetail = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail - SchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy - MabJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo - AzureWorkloadErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo - Resource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource - AzureWorkloadJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails - AzureIaaSVMHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails - AzureWorkloadJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo - AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo - MabJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails - AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo - NameInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo - ProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent - BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage - AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo - BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList - PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse - BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest - AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails - BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse - PreValidateEnableBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest - BMSBackupSummariesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject - AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse - Day = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day - Settings = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings - DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat - OperationResultInfoBase = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase - RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration - ResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList - DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule - AzureIaaSVMJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails - DpmErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo - ProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy - AzureFileshareProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo - ProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem - MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo - AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo - MabErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo - AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo - DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo - RetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy - YearlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule - ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject - MonthlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule - AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo - FeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest - SubProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy - WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat - ProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject - WeeklyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule - AzureIaaSVMErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo - Job = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job - OperationWorkerResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse - JobQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject - AzureFileshareProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem - AzureFileShareProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy + BackupItemType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType + StorageType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType + BMSContainerQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSContainerQueryObject + BMSPOQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSPOQueryObject + KeyAndSecretDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KeyAndSecretDetails + WorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItem + KEKDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KEKDetails + TokenInformation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TokenInformation + GetProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject + GenericContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainerExtendedInfo + TargetAFSRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetAFSRestoreInfo + EncryptionDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EncryptionDetails + RecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPoint + ProtectionContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainer + SQLDataDirectory = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectory + ProtectableContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainer + OperationStatusExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusExtendedInfo + InquiryValidation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryValidation + WorkloadInquiryDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadInquiryDetails + InquiryInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryInfo + DistributedNodesInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DistributedNodesInfo + AzureWorkloadContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo + InstantItemRecoveryTarget = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InstantItemRecoveryTarget + PreBackupValidation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PreBackupValidation + ContainerIdentityInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerIdentityInfo + WorkloadProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItem + PointInTimeRange = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PointInTimeRange + ClientScriptForConnect = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ClientScriptForConnect + RestoreFileSpecs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreFileSpecs + BMSWorkloadItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSWorkloadItemQueryObject + AzureWorkloadSQLRecoveryPointExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPointExtendedInfo + BMSRPQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRPQueryObject + OperationStatusError = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusError + TargetRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetRestoreInfo + MabContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainerExtendedInfo + SQLDataDirectoryMapping = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryMapping + BMSRefreshContainersQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRefreshContainersQueryObject + RecoveryPointTierInformation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation + BackupEngineExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineExtendedInfo + BackupEngineBase = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBase + BEKDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BEKDetails + MABContainerHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MABContainerHealthDetails + DPMContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DPMContainerExtendedInfo + ILRRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequest + BackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest + RestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequest + BMSBackupEnginesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEnginesQueryObject + BackupResourceConfig = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfig + BMSBackupEngineQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEngineQueryObject + BackupResourceVaultConfig = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfig + AzureBackupServerContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerContainer + AzureBackupServerEngine = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerEngine + AzureFileShareBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareBackupRequest + AzureFileShareProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem + AzureFileShareRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint + Type = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type + JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType + MabServerType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType + AzureIaaSVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem AzureIaaSClassicComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem AzureIaaSComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem - AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob - AzureIaaSVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem AzureIaaSVMProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectionPolicy - AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + ValidationStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus AzureSqlProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem AzureSqlProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectionPolicy - AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob - AzureVMResourceFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + DayOfWeek = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek + HealthState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState AzureVmWorkloadProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy + JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction AzureVmWorkloadSQLDatabaseProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem - AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob - DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + DataSourceType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType DPMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem - ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo GenericProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectedItem GenericProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectionPolicy - JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource - JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList LogSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LogSchedulePolicy LongTermRetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermRetentionPolicy + RetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy LongTermSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermSchedulePolicy MabFileFolderProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItem - MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob MabProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabProtectionPolicy - OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo - OperationResultInfoBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource + JobStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus + Job = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job ProtectedItemResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResource - ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList - ProtectionIntentResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource ProtectionPolicyResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResource - ProtectionPolicyResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList SimpleRetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleRetentionPolicy SimpleSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleSchedulePolicy + HttpStatusCode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode ProtectionState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionState HealthStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthStatus - JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction ProtectedItemState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemState - SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus LastBackupStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LastBackupStatus ProtectedItemHealthStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus - UsagesUnit = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit - DataSourceType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType + Resource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource + ErrorDetail = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail + BackupManagementType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType + WorkloadType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType ProtectionStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionStatus - FabricName = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName - Type = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type RetentionDurationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDurationType - BackupManagementType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType - JobStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus - JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType - DayOfWeek = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek RetentionScheduleFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionScheduleFormat WeekOfMonth = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeekOfMonth MonthOfYear = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthOfYear - MabServerType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType - WorkloadType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType - HttpStatusCode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode - ValidationStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus - HealthState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState ScheduleRunType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType - end - - class RecoveryServicesBackupManagementClass - attr_reader :operations, :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, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :export_jobs_operation_results, :jobs, :backup_policies, :backup_protected_items, :backup_usage_summaries, :configurable, :base_url, :options, :model_classes - - def initialize(configurable, base_url=nil, options=nil) - @configurable, @base_url, @options = configurable, base_url, options - - @client_0 = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::RecoveryServicesBackupClient.new(configurable.credentials, base_url, options) - if(@client_0.respond_to?(:subscription_id)) - @client_0.subscription_id = configurable.subscription_id - end - add_telemetry(@client_0) - @operations = @client_0.operations - - @client_1 = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::RecoveryServicesBackupClient.new(configurable.credentials, base_url, options) - if(@client_1.respond_to?(:subscription_id)) + NameInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + UsagesUnit = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit + Settings = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings + SubProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy + DpmJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails + DpmJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + ResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList + MabJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo + AzureWorkloadErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo + AzureWorkloadJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo + AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo + MabJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails + ProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent + BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage + BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse + AzureIaaSVMHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse + PreValidateEnableBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest + BMSBackupSummariesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject + AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse + AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo + AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails + AzureIaaSVMJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails + OperationResultInfoBase = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase + AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + Day = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day + MabErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo + AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo + AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + SchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy + AzureIaaSVMErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo + OperationWorkerResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse + DpmErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo + ProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList + JobQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject + AzureWorkloadJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + YearlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule + ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo + DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + WeeklyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule + AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob + FeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest + AzureFileshareProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo + AzureVMResourceFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + ProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem + DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + OperationResultInfoBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource + AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + ProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject + AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob + SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + MonthlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource + AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob + OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo + FabricName = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName + ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList + ProtectionIntentResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource + ProtectionPolicyResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList + AzureFileshareProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem + AzureFileShareProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy + end + + class RecoveryServicesBackupManagementClass + attr_reader :operations, :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, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :jobs, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :export_jobs_operation_results, :backup_policies, :backup_protected_items, :backup_usage_summaries, :configurable, :base_url, :options, :model_classes + + def initialize(configurable, base_url=nil, options=nil) + @configurable, @base_url, @options = configurable, base_url, options + + @client_0 = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::RecoveryServicesBackupClient.new(configurable.credentials, base_url, options) + if(@client_0.respond_to?(:subscription_id)) + @client_0.subscription_id = configurable.subscription_id + end + add_telemetry(@client_0) + @operations = @client_0.operations + + @client_1 = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::RecoveryServicesBackupClient.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) @@ -351,13 +351,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) + @jobs = @client_2.jobs @protection_intent_operations = @client_2.protection_intent_operations @backup_status = @client_2.backup_status @feature_support = @client_2.feature_support @backup_jobs = @client_2.backup_jobs @job_details = @client_2.job_details @export_jobs_operation_results = @client_2.export_jobs_operation_results - @jobs = @client_2.jobs @backup_policies = @client_2.backup_policies @backup_protected_items = @client_2.backup_protected_items @backup_usage_summaries = @client_2.backup_usage_summaries @@ -383,296 +383,137 @@ def method_missing(method, *args) end class ModelClasses - def client_discovery_for_properties - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties - end def client_discovery_display Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay end - def client_discovery_value_for_single_api - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi - end def client_discovery_for_service_specification Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForServiceSpecification end + def client_discovery_for_properties + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties + end 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 bmscontainer_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSContainerQueryObject + def client_discovery_value_for_single_api + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi end - def bmspoquery_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSPOQueryObject + def azure_file_share_restore_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRestoreRequest end - def key_and_secret_details - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KeyAndSecretDetails + def azure_iaa_sclassic_compute_vmcontainer + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMContainer end - def workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItem + def azure_iaa_sclassic_compute_vmprotectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMProtectableItem end - def kekdetails - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KEKDetails + def azure_iaa_scompute_vmcontainer + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMContainer end - def token_information - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TokenInformation + def azure_iaa_scompute_vmprotectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMProtectableItem end - def get_protected_item_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject + def azure_sqlagworkload_container_protection_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSQLAGWorkloadContainerProtectionContainer end - def generic_container_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainerExtendedInfo + def azure_sql_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSqlContainer end - def target_afsrestore_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetAFSRestoreInfo + def azure_storage_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageContainer end - def encryption_details - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EncryptionDetails + def azure_storage_protectable_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageProtectableContainer end - def recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPoint + def azure_vmapp_container_protectable_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectableContainer end - def protection_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainer + def azure_workload_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainer end - def sqldata_directory - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectory + def azure_vmapp_container_protection_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectionContainer end - def protectable_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainer + def azure_vm_workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadItem end - def operation_status_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusExtendedInfo + def azure_vm_workload_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadProtectableItem end - def inquiry_validation - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryValidation + def azure_vm_workload_sqlavailability_group_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLAvailabilityGroupProtectableItem end - def workload_inquiry_details - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadInquiryDetails + def azure_vm_workload_sqldatabase_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseProtectableItem end - def inquiry_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryInfo + def azure_vm_workload_sqldatabase_workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseWorkloadItem end - def distributed_nodes_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DistributedNodesInfo + def azure_vm_workload_sqlinstance_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceProtectableItem end - def azure_workload_container_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo + def azure_vm_workload_sqlinstance_workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceWorkloadItem end - def instant_item_recovery_target - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InstantItemRecoveryTarget + def azure_workload_backup_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadBackupRequest end - def pre_backup_validation - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PreBackupValidation + def azure_workload_recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRecoveryPoint end - def container_identity_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerIdentityInfo + def azure_workload_restore_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRestoreRequest end - def workload_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItem + def azure_workload_sqlrecovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPoint end - def point_in_time_range - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PointInTimeRange + def azure_workload_sqlpoint_in_time_recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRecoveryPoint end - def client_script_for_connect - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ClientScriptForConnect + def azure_workload_sqlrestore_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRestoreRequest end - def restore_file_specs - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreFileSpecs + def azure_workload_sqlpoint_in_time_restore_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRestoreRequest end - def bmsworkload_item_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSWorkloadItemQueryObject + def backup_engine_base_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResource end - def azure_workload_sqlrecovery_point_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPointExtendedInfo + def backup_engine_base_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResourceList end - def operation_status - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus + def backup_request_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequestResource end - def bmsrpquery_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRPQueryObject + def backup_resource_config_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfigResource end - def operation_status_error - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusError + def backup_resource_vault_config_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfigResource end - def target_restore_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetRestoreInfo + def dpm_backup_engine + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmBackupEngine end - def mab_container_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainerExtendedInfo + def dpm_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmContainer end - def sqldata_directory_mapping - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryMapping + def generic_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainer end - def bmsrefresh_containers_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRefreshContainersQueryObject + def generic_recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint end - def recovery_point_tier_information - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation + def iaas_vmbackup_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest end - def backup_engine_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineExtendedInfo + def iaa_svmcontainer + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer end - def backup_engine_base - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBase - end - def bekdetails - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BEKDetails - end - def mabcontainer_health_details - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MABContainerHealthDetails - end - def dpmcontainer_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DPMContainerExtendedInfo - end - def ilrrequest - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequest - end - def backup_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest - end - def restore_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequest - end - def bmsbackup_engines_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEnginesQueryObject - end - def backup_resource_config - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfig - end - def bmsbackup_engine_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEngineQueryObject - end - def backup_resource_vault_config - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfig - end - def azure_backup_server_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerContainer - end - def azure_backup_server_engine - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerEngine - end - def azure_file_share_backup_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareBackupRequest - end - def azure_file_share_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem - end - def azure_file_share_recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint - end - def azure_file_share_restore_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRestoreRequest - end - def azure_iaa_sclassic_compute_vmcontainer - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMContainer - end - def azure_iaa_sclassic_compute_vmprotectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMProtectableItem - end - def azure_iaa_scompute_vmcontainer - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMContainer - end - def azure_iaa_scompute_vmprotectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMProtectableItem - end - def azure_sqlagworkload_container_protection_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSQLAGWorkloadContainerProtectionContainer - end - def azure_sql_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSqlContainer - end - def azure_storage_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageContainer - end - def azure_storage_protectable_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageProtectableContainer - end - def azure_vmapp_container_protectable_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectableContainer - end - def azure_workload_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainer - end - def azure_vmapp_container_protection_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectionContainer - end - def azure_vm_workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadItem - end - def azure_vm_workload_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadProtectableItem - end - def azure_vm_workload_sqlavailability_group_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLAvailabilityGroupProtectableItem - end - def azure_vm_workload_sqldatabase_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseProtectableItem - end - def azure_vm_workload_sqldatabase_workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseWorkloadItem - end - def azure_vm_workload_sqlinstance_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceProtectableItem - end - def azure_vm_workload_sqlinstance_workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceWorkloadItem - end - def azure_workload_backup_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadBackupRequest - end - def azure_workload_recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRecoveryPoint - end - def azure_workload_restore_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRestoreRequest - end - def azure_workload_sqlrecovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPoint - end - def azure_workload_sqlpoint_in_time_recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRecoveryPoint - end - def azure_workload_sqlrestore_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRestoreRequest - end - def azure_workload_sqlpoint_in_time_restore_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRestoreRequest - end - def backup_engine_base_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResource - end - def backup_engine_base_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResourceList - end - def backup_request_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequestResource - end - def backup_resource_config_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfigResource - end - def backup_resource_vault_config_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfigResource - end - def dpm_backup_engine - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmBackupEngine - end - def dpm_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmContainer - end - def generic_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainer - end - def generic_recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint - end - def iaas_vmbackup_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest - end - def iaa_svmcontainer - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer + def operation_status + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus end def iaas_vmilrregistration_request Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMILRRegistrationRequest @@ -695,54 +536,54 @@ def mab_container def operation_status_job_extended_info Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobExtendedInfo end - def operation_status_jobs_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo - end def operation_status_provision_ilrextended_info Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo end - def protectable_container_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource + def operation_status_jobs_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo end def protectable_container_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList end + def protectable_container_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource + 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 recovery_point_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource - end def recovery_point_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList end + def recovery_point_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource + end def restore_request_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestResource end def workload_item_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResource end - def workload_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList - end def workload_protectable_item_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResource end - def workload_protectable_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList + def workload_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList end def azure_file_share_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareType end - def recovery_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryType + def workload_protectable_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList end def copy_options Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::CopyOptions end + def recovery_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryType + end def restore_request_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestType end @@ -752,27 +593,24 @@ def inquiry_status def sqldata_directory_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryType end - def backup_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType - end def restore_point_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointType end def overwrite_options Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OverwriteOptions end - def storage_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType + def backup_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType end def storage_type_state Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageTypeState end - def enhanced_security_state - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState - end def container_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerType end + def enhanced_security_state + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState + end def restore_point_query_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointQueryType end @@ -785,185 +623,185 @@ def recovery_point_tier_type def recovery_point_tier_status Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierStatus end - def backup_item_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType - end def operation_status_values Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusValues end - def dpm_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails - end - def dpm_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + def backup_item_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType end - def error_detail - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail + def storage_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType end - def schedule_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy + def bmscontainer_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSContainerQueryObject end - def mab_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo + def bmspoquery_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSPOQueryObject end - def azure_workload_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo + def key_and_secret_details + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KeyAndSecretDetails end - def resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource + def workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItem end - def azure_workload_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + def kekdetails + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KEKDetails end - def azure_iaa_svmhealth_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + def token_information + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TokenInformation end - def azure_workload_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo + def get_protected_item_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject end - def azure_iaa_svmjob_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo + def generic_container_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainerExtendedInfo end - def mab_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails + def target_afsrestore_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetAFSRestoreInfo end - def azure_iaa_svmprotected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + def encryption_details + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EncryptionDetails end - def name_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + def recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPoint end - def protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent + def protection_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainer end - def backup_management_usage - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage + def sqldata_directory + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectory end - def azure_sql_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo + def protectable_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainer end - def backup_management_usage_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + def operation_status_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusExtendedInfo end - def pre_validate_enable_backup_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse + def inquiry_validation + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryValidation end - def backup_status_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + def workload_inquiry_details + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadInquiryDetails end - def azure_storage_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails + def inquiry_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryInfo end - def backup_status_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse + def distributed_nodes_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DistributedNodesInfo end - def pre_validate_enable_backup_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest + def azure_workload_container_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo end - def bmsbackup_summaries_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject + def instant_item_recovery_target + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InstantItemRecoveryTarget end - def azure_vmresource_feature_support_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse + def pre_backup_validation + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PreBackupValidation end - def day - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day + def container_identity_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerIdentityInfo end - def settings - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings + def workload_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItem end - def daily_retention_format - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + def point_in_time_range + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PointInTimeRange end - def operation_result_info_base - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase + def client_script_for_connect + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ClientScriptForConnect end - def retention_duration - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + def restore_file_specs + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreFileSpecs end - def resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList + def bmsworkload_item_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSWorkloadItemQueryObject end - def daily_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + def azure_workload_sqlrecovery_point_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPointExtendedInfo end - def azure_iaa_svmjob_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails + def bmsrpquery_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRPQueryObject end - def dpm_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo + def operation_status_error + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusError end - def protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + def target_restore_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetRestoreInfo end - def azure_fileshare_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo + def mab_container_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainerExtendedInfo end - def protected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem + def sqldata_directory_mapping + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryMapping end - def mab_file_folder_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + def bmsrefresh_containers_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRefreshContainersQueryObject end - def azure_storage_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + def recovery_point_tier_information + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation end - def mab_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo + def backup_engine_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineExtendedInfo end - def azure_vm_workload_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo + def backup_engine_base + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBase end - def dpmprotected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + def bekdetails + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BEKDetails end - def retention_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy + def mabcontainer_health_details + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MABContainerHealthDetails end - def yearly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule + def dpmcontainer_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DPMContainerExtendedInfo end - def protection_policy_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + def ilrrequest + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequest end - def monthly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + def backup_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest end - def azure_storage_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + def restore_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequest end - def feature_support_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest + def bmsbackup_engines_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEnginesQueryObject end - def sub_protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy + def backup_resource_config + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfig end - def weekly_retention_format - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + def bmsbackup_engine_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEngineQueryObject end - def protected_item_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject + def backup_resource_vault_config + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfig end - def weekly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule + def azure_backup_server_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerContainer end - def azure_iaa_svmerror_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo + def azure_backup_server_engine + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerEngine end - def job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job + def azure_file_share_backup_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareBackupRequest end - def operation_worker_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse + def azure_file_share_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem end - def job_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject + def azure_file_share_recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint end - def azure_fileshare_protected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem + def type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type end - def azure_file_share_protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy + def job_operation_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType + end + def mab_server_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType + end + def azure_iaa_svmprotected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem end def azure_iaa_sclassic_compute_vmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem @@ -971,17 +809,11 @@ def azure_iaa_sclassic_compute_vmprotected_item def azure_iaa_scompute_vmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem end - def azure_iaa_svmjob - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob - end - def azure_iaa_svmprotected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem - end def azure_iaa_svmprotection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectionPolicy end - def azure_resource_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + def validation_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus end def azure_sql_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem @@ -989,137 +821,104 @@ def azure_sql_protected_item def azure_sql_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectionPolicy end - def azure_storage_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + def day_of_week + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek end - def azure_vmresource_feature_support_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + def health_state + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState end def azure_vm_workload_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy end + def job_supported_action + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction + end def azure_vm_workload_sqldatabase_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem end - def azure_workload_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob - end - def dpm_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + def data_source_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType end def dpmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem end - def export_jobs_operation_result_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo - end def generic_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectedItem end def generic_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectionPolicy end - def job_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource - end - def job_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList - end def log_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LogSchedulePolicy end def long_term_retention_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermRetentionPolicy end + def retention_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy + end def long_term_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermSchedulePolicy end def mab_file_folder_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItem end - def mab_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob - end def mab_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabProtectionPolicy end - def operation_result_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo + def job_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus end - def operation_result_info_base_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource + def job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job end def protected_item_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResource end - def protected_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList - end - def protection_intent_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource - end def protection_policy_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResource end - def protection_policy_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList - end def simple_retention_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleRetentionPolicy end def simple_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleSchedulePolicy end + def http_status_code + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode + end def protection_state Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionState end def health_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthStatus end - def job_supported_action - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction - end def protected_item_state Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemState end - def support_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus - end def last_backup_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LastBackupStatus end def protected_item_health_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus end - def usages_unit - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit - end - def data_source_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType - end - def protection_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionStatus - end - def fabric_name - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName - end - def type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type + def resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource end - def retention_duration_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDurationType + def error_detail + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail end def backup_management_type Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType end - def job_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus + def workload_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType end - def job_operation_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType + def protection_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionStatus end - def day_of_week - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek + def retention_duration_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDurationType end def retention_schedule_format Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionScheduleFormat @@ -1130,23 +929,224 @@ def week_of_month def month_of_year Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthOfYear end - def mab_server_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType + def schedule_run_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType end - def workload_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType + def name_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo end - def http_status_code - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode + def usages_unit + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit end - def validation_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus + def settings + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings end - def health_state - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState + def sub_protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy end - def schedule_run_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType + def dpm_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails + end + def dpm_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + end + def resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList + end + def mab_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo + end + def azure_workload_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo + end + def azure_workload_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo + end + def azure_iaa_svmjob_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo + end + def mab_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails + end + def protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent + end + 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 + end + def pre_validate_enable_backup_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse + end + def azure_iaa_svmhealth_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + end + def backup_status_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + end + def backup_status_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse + end + def pre_validate_enable_backup_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest + end + def bmsbackup_summaries_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject + end + def azure_vmresource_feature_support_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse + end + def azure_sql_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo + end + def azure_storage_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails + end + def azure_iaa_svmjob_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails + end + def operation_result_info_base + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase + end + def azure_storage_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + end + def retention_duration + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + end + def protection_policy_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + end + def daily_retention_format + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + end + def daily_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + end + def day + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day + end + def mab_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo + end + def azure_vm_workload_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo + end + def azure_storage_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + end + def mab_file_folder_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + end + def schedule_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy + end + def azure_iaa_svmerror_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo + end + def operation_worker_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse + end + def dpm_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo + end + def protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + end + def weekly_retention_format + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + end + def job_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList + end + def job_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject + end + def azure_workload_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + end + def yearly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule + end + def export_jobs_operation_result_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo + end + def dpmprotected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + end + def weekly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule + end + def azure_iaa_svmjob + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob + end + def feature_support_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest + end + def azure_fileshare_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo + end + def azure_vmresource_feature_support_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + end + def protected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem + end + def dpm_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + end + def operation_result_info_base_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource + end + def azure_resource_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + end + def azure_storage_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + end + def protected_item_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject + end + def azure_workload_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob + end + def support_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + end + def monthly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + end + def job_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource + end + def azure_iaa_svmprotected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + end + def mab_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob + end + def operation_result_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo + end + def fabric_name + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName + end + def protected_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList + end + def protection_intent_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource + end + def protection_policy_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList + end + def azure_fileshare_protected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem + end + def azure_file_share_protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb index 98d1e3110c..3e9279e62f 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb @@ -7,7 +7,9 @@ module Azure::Profiles::Latest module RecoveryServicesSiteRecovery module Mgmt + Operations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Operations ReplicationVaultHealth = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationVaultHealth + RecoveryPoints = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::RecoveryPoints ReplicationProtectedItems = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationProtectedItems ReplicationNetworkMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationNetworkMappings ReplicationFabrics = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationFabrics @@ -15,13 +17,11 @@ module Mgmt ReplicationStorageClassificationMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationStorageClassificationMappings ReplicationStorageClassifications = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationStorageClassifications ReplicationRecoveryServicesProviders = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationRecoveryServicesProviders - RecoveryPoints = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::RecoveryPoints ReplicationRecoveryPlans = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationRecoveryPlans ReplicationProtectionContainers = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationProtectionContainers ReplicationProtectionContainerMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationProtectionContainerMappings ReplicationProtectableItems = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationProtectableItems ReplicationPolicies = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationPolicies - Operations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Operations ReplicationNetworks = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationNetworks ReplicationLogicalNetworks = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationLogicalNetworks ReplicationJobs = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationJobs @@ -29,6 +29,100 @@ module Mgmt ReplicationAlertSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationAlertSettings module Models + HyperVReplicaAzureEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails + HyperVReplicaBaseEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseEventDetails + HyperVReplica2012EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012EventDetails + JobStatusEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails + HyperVVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails + A2AEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEventDetails + InMageAzureV2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EventDetails + InMageAzureV2RecoveryPointDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails + InMageDisableProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput + VMwareVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareVirtualMachineDetails + ReplicationGroupDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationGroupDetails + InMageAzureV2FailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput + InMageFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput + HyperVReplicaAzureFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailoverProviderInput + HyperVReplicaAzureFailbackProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailbackProviderInput + InMageAzureV2ReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput + InMageReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput + A2AFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AFailoverProviderInput + HyperVReplicaAzureReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReprotectInput + InMageAzureV2ApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput + A2AApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput + A2AReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReprotectInput + HyperVReplicaAzureApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureApplyRecoveryPointInput + FabricReplicationGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails + ManualActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails + JobTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobTaskDetails + VirtualMachineTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VirtualMachineTaskDetails + ConsistencyCheckTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails + AutomationRunbookTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails + ScriptActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ScriptActionTaskDetails + VmNicUpdatesTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmNicUpdatesTaskDetails + RecoveryPlanShutdownGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails + AsrJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails + InlineWorkflowTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InlineWorkflowTaskDetails + RecoveryPlanGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupTaskDetails + ExportJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails + SwitchProtectionJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails + TestFailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverJobDetails + FailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverJobDetails + HyperVReplicaAzurePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails + HyperVReplicaBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails + A2AContainerCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AContainerCreationInput + A2ASwitchProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ASwitchProtectionInput + InMageBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails + InMageAzureV2PolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails + HyperVReplicaPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyDetails + HyperVReplicaBluePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyDetails + RcmAzureMigrationPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails + VmwareCbtPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails + InMagePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyDetails + A2APolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyDetails + HyperVReplicaBluePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput + InMageAzureV2PolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput + HyperVReplicaAzurePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyInput + HyperVReplicaPolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyInput + VMwareCbtPolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput + RecoveryPlanScriptActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails + InMagePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyInput + A2APolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyCreationInput + RecoveryPlanHyperVReplicaAzureFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput + RecoveryPlanHyperVReplicaAzureFailbackInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput + RecoveryPlanAutomationRunbookActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAutomationRunbookActionDetails + RecoveryPlanManualActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanManualActionDetails + RecoveryPlanA2AFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput + Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job + RecoveryPlanInMageAzureV2FailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageAzureV2FailoverInput + RecoveryPlanInMageFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageFailoverInput + ReplicationProtectedItemOperation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation + AzureFabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput + VMwareV2FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricCreationInput + RecoveryPlanGroupType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupType + LicenseType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType + PossibleOperationsDirections = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PossibleOperationsDirections + FailoverDeploymentModel = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverDeploymentModel + SourceSiteOperations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations + MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus + DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionReason + HealthErrorCategory = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorCategory + RecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType + DataSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus + SetMultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SetMultiVmSyncStatus + RecoveryPlanActionLocation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionLocation + HyperVReplicaAzureRpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType + A2ARpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType + AlternateLocationRecoveryOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlternateLocationRecoveryOption + InMageV2RpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageV2RpRecoveryPointType + RpInMageRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType + IdentityProviderType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityProviderType + Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Event + PolicyCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyCollection + RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RoleAssignment + JobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobDetails + JobCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobCollection + Severity = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Severity StorageClassificationProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationProperties CreateRecoveryPlanInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInput RecoveryPlanActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionDetails @@ -42,7 +136,6 @@ module Models RunAsAccount = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RunAsAccount EventCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventCollection RecoveryPlanCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanCollection - EncryptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EncryptionDetails CreateRecoveryPlanInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInputProperties FabricProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricProperties MasterTargetServer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MasterTargetServer @@ -58,7 +151,6 @@ module Models RecoveryPlanPlannedFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanPlannedFailoverInput JobErrorDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobErrorDetails RecoveryPlanUnplannedFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInputProperties - JobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobDetails RecoveryPlanUnplannedFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInput ARMExceptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMExceptionDetails RecoveryPlanTestFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverInputProperties @@ -153,7 +245,6 @@ module Models StorageClassificationMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingProperties OperationsDiscoveryCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OperationsDiscoveryCollection FailoverReplicationProtectedItemDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverReplicationProtectedItemDetails - PolicyCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyCollection StorageClassificationMappingCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingCollection UpdatePolicyInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdatePolicyInputProperties StorageMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageMappingInputProperties @@ -183,7 +274,6 @@ module Models ReplicationProtectedItemCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemCollection CreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateNetworkMappingInput ProtectedItemsQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectedItemsQueryParameter - Display = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Display HealthErrorSummary = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorSummary CreatePolicyInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreatePolicyInputProperties ResourceHealthSummary = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResourceHealthSummary @@ -196,168 +286,78 @@ module Models ConfigureAlertRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigureAlertRequestProperties DiskVolumeDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiskVolumeDetails FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCreationInput - Resource = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Resource - JobCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobCollection + Display = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Display A2AVmManagedDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmManagedDiskInputDetails Subnet = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Subnet - A2AVmDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmDiskInputDetails ConfigurationSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigurationSettings - InMageDiskExclusionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput + EncryptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EncryptionDetails A2AProtectedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedDiskDetails + Resource = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Resource + A2AVmDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmDiskInputDetails InMageDiskSignatureExclusionOptions = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskSignatureExclusionOptions - EventQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventQueryParameter + InMageDiskExclusionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput InMageVolumeExclusionOptions = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageVolumeExclusionOptions NetworkMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingProperties - AzureToAzureVmSyncedConfigDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureVmSyncedConfigDetails + EventQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventQueryParameter ReplicationProviderSpecificContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerMappingInput InputEndpoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InputEndpoint - ASRTask = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ASRTask - RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RoleAssignment + AzureToAzureVmSyncedConfigDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureVmSyncedConfigDetails SwitchProtectionInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInputProperties A2AProtectedManagedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedManagedDiskDetails - PolicyProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProperties + ASRTask = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ASRTask MobilityServiceUpdate = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MobilityServiceUpdate Alert = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Alert - Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Event - Fabric = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Fabric - Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job + PolicyProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProperties LogicalNetwork = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetwork NetworkMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMapping - Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Network + Fabric = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Fabric + ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Policy ProtectableItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItem - ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping ProtectionContainer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainer - RecoveryPlan = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlan - RecoveryPoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint + Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Network RecoveryServicesProvider = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProvider ReplicationProtectedItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItem StorageClassification = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassification - StorageClassificationMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping + RecoveryPlan = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlan VCenter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenter VaultHealthDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthDetails AzureToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureNetworkMappingSettings - VmmToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings + StorageClassificationMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping VmmToVmmNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmNetworkMappingSettings AzureToAzureCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureCreateNetworkMappingInput VmmToAzureCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureCreateNetworkMappingInput - VmmToVmmCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput + RecoveryPoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint AzureToAzureUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureUpdateNetworkMappingInput VmmToAzureUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureUpdateNetworkMappingInput VmmToVmmUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmUpdateNetworkMappingInput - AzureFabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricSpecificDetails - VmmDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmDetails + VmmToVmmCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput + VmmToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings HyperVSiteDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVSiteDetails VMwareDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareDetails - VMwareV2FabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricSpecificDetails - HyperVReplicaBaseReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseReplicationDetails + AzureFabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricSpecificDetails + VmmDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmDetails HyperVReplicaReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaReplicationDetails HyperVReplicaBlueReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBlueReplicationDetails - HyperVReplicaAzureReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReplicationDetails - InMageAzureV2ReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReplicationDetails + VMwareV2FabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricSpecificDetails + HyperVReplicaBaseReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseReplicationDetails InMageReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReplicationDetails A2AReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReplicationDetails - HyperVReplicaAzureEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEnableProtectionInput - SanEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SanEnableProtectionInput + HyperVReplicaAzureReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReplicationDetails + InMageAzureV2ReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReplicationDetails InMageAzureV2EnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EnableProtectionInput InMageEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageEnableProtectionInput - A2AEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEnableProtectionInput - HyperVReplicaAzureUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput + HyperVReplicaAzureEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEnableProtectionInput + SanEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SanEnableProtectionInput InMageAzureV2UpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput A2AUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AUpdateReplicationProtectedItemInput - HyperVReplicaBaseEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseEventDetails - HyperVReplica2012EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012EventDetails + A2AEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEnableProtectionInput + HyperVReplicaAzureUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput HyperVReplica2012R2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012R2EventDetails - HyperVReplicaAzureEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails - A2AEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEventDetails - InMageAzureV2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EventDetails - JobStatusEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails - HyperVVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails - VMwareVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareVirtualMachineDetails - ReplicationGroupDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationGroupDetails - InMageAzureV2RecoveryPointDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails - InMageDisableProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput - HyperVReplicaAzureFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailoverProviderInput - HyperVReplicaAzureFailbackProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailbackProviderInput - InMageAzureV2FailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput - InMageFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput - A2AFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AFailoverProviderInput - HyperVReplicaAzureReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReprotectInput - InMageAzureV2ReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput - InMageReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput - A2AReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReprotectInput - HyperVReplicaAzureApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureApplyRecoveryPointInput - InMageAzureV2ApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput - A2AApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput - JobTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobTaskDetails - VirtualMachineTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VirtualMachineTaskDetails - FabricReplicationGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails - ManualActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails - ScriptActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ScriptActionTaskDetails - VmNicUpdatesTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmNicUpdatesTaskDetails - ConsistencyCheckTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails - AutomationRunbookTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails - InlineWorkflowTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InlineWorkflowTaskDetails - RecoveryPlanGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupTaskDetails - RecoveryPlanShutdownGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails - AsrJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails - TestFailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverJobDetails - FailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverJobDetails - ExportJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails - SwitchProtectionJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails - A2AContainerCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AContainerCreationInput - A2ASwitchProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ASwitchProtectionInput - HyperVReplicaAzurePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails - HyperVReplicaBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails - HyperVReplicaPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyDetails - HyperVReplicaBluePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyDetails - InMageBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails - InMageAzureV2PolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails - InMagePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyDetails - A2APolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyDetails - RcmAzureMigrationPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails - VmwareCbtPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails - HyperVReplicaAzurePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyInput - HyperVReplicaPolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyInput - HyperVReplicaBluePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput - InMageAzureV2PolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput - InMagePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyInput - A2APolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyCreationInput - VMwareCbtPolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput - RecoveryPlanScriptActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails - RecoveryPlanAutomationRunbookActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAutomationRunbookActionDetails - RecoveryPlanManualActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanManualActionDetails - RecoveryPlanHyperVReplicaAzureFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput - RecoveryPlanHyperVReplicaAzureFailbackInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput - RecoveryPlanInMageAzureV2FailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageAzureV2FailoverInput - RecoveryPlanInMageFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageFailoverInput - RecoveryPlanA2AFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput - AzureFabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput - VMwareV2FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricCreationInput - RecoveryPlanGroupType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupType - ReplicationProtectedItemOperation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation - PossibleOperationsDirections = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PossibleOperationsDirections - FailoverDeploymentModel = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverDeploymentModel - SourceSiteOperations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations - IdentityProviderType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityProviderType - LicenseType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType - DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionReason - HealthErrorCategory = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorCategory - Severity = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Severity - RecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType - MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus - SetMultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SetMultiVmSyncStatus - RecoveryPlanActionLocation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionLocation - HyperVReplicaAzureRpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType - DataSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus - AlternateLocationRecoveryOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlternateLocationRecoveryOption - InMageV2RpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageV2RpRecoveryPointType - RpInMageRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType - A2ARpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType end class RecoveryServicesSiteRecoveryManagementClass - attr_reader :replication_vault_health, :replication_protected_items, :replication_network_mappings, :replication_fabrics, :replicationv_centers, :replication_storage_classification_mappings, :replication_storage_classifications, :replication_recovery_services_providers, :recovery_points, :replication_recovery_plans, :replication_protection_containers, :replication_protection_container_mappings, :replication_protectable_items, :replication_policies, :operations, :replication_networks, :replication_logical_networks, :replication_jobs, :replication_events, :replication_alert_settings, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :replication_vault_health, :recovery_points, :replication_protected_items, :replication_network_mappings, :replication_fabrics, :replicationv_centers, :replication_storage_classification_mappings, :replication_storage_classifications, :replication_recovery_services_providers, :replication_recovery_plans, :replication_protection_containers, :replication_protection_container_mappings, :replication_protectable_items, :replication_policies, :replication_networks, :replication_logical_networks, :replication_jobs, :replication_events, :replication_alert_settings, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -367,7 +367,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 @replication_vault_health = @client_0.replication_vault_health + @recovery_points = @client_0.recovery_points @replication_protected_items = @client_0.replication_protected_items @replication_network_mappings = @client_0.replication_network_mappings @replication_fabrics = @client_0.replication_fabrics @@ -375,13 +377,11 @@ def initialize(configurable, base_url=nil, options=nil) @replication_storage_classification_mappings = @client_0.replication_storage_classification_mappings @replication_storage_classifications = @client_0.replication_storage_classifications @replication_recovery_services_providers = @client_0.replication_recovery_services_providers - @recovery_points = @client_0.recovery_points @replication_recovery_plans = @client_0.replication_recovery_plans @replication_protection_containers = @client_0.replication_protection_containers @replication_protection_container_mappings = @client_0.replication_protection_container_mappings @replication_protectable_items = @client_0.replication_protectable_items @replication_policies = @client_0.replication_policies - @operations = @client_0.operations @replication_networks = @client_0.replication_networks @replication_logical_networks = @client_0.replication_logical_networks @replication_jobs = @client_0.replication_jobs @@ -405,980 +405,980 @@ def method_missing(method, *args) end class ModelClasses - def storage_classification_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationProperties + def hyper_vreplica_azure_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails end - def create_recovery_plan_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInput + def hyper_vreplica_base_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseEventDetails end - def recovery_plan_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionDetails + def hyper_vreplica2012_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012EventDetails end - def alert_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlertCollection + def job_status_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails end - def recovery_plan_action - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAction + def hyper_vvirtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails end - def configure_alert_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigureAlertRequest + def a2_aevent_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEventDetails end - def recovery_plan_group - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroup + def in_mage_azure_v2_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EventDetails end - def event_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventSpecificDetails + def in_mage_azure_v2_recovery_point_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails end - def recovery_plan_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProperties + def in_mage_disable_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput end - def event_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventProperties + def vmware_virtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareVirtualMachineDetails end - def run_as_account - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RunAsAccount + def replication_group_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationGroupDetails end - def event_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventCollection + def in_mage_azure_v2_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput end - def recovery_plan_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanCollection + def in_mage_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput end - def encryption_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EncryptionDetails + def hyper_vreplica_azure_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailoverProviderInput end - def create_recovery_plan_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInputProperties + def hyper_vreplica_azure_failback_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailbackProviderInput end - def fabric_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricProperties + def in_mage_azure_v2_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput end - def master_target_server - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MasterTargetServer + def in_mage_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput end - def fabric_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCollection + def a2_afailover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AFailoverProviderInput end - def update_recovery_plan_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateRecoveryPlanInputProperties + def hyper_vreplica_azure_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReprotectInput end - def fabric_creation_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCreationInputProperties + def in_mage_azure_v2_apply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput end - def update_recovery_plan_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateRecoveryPlanInput + def a2_aapply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput end - def failover_process_server_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverProcessServerRequestProperties + def a2_areprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReprotectInput end - def recovery_plan_provider_specific_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProviderSpecificFailoverInput + def hyper_vreplica_azure_apply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureApplyRecoveryPointInput end - def task_type_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TaskTypeDetails + def fabric_replication_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails end - def recovery_plan_planned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanPlannedFailoverInputProperties + def manual_action_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails end - def service_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ServiceError + def job_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobTaskDetails end - def recovery_plan_planned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanPlannedFailoverInput + def virtual_machine_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VirtualMachineTaskDetails end - def job_error_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobErrorDetails + def consistency_check_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails end - def recovery_plan_unplanned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInputProperties + def automation_runbook_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails end - def job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobDetails + def script_action_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ScriptActionTaskDetails end - def recovery_plan_unplanned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInput + def vm_nic_updates_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmNicUpdatesTaskDetails end - def armexception_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMExceptionDetails + def recovery_plan_shutdown_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails end - def recovery_plan_test_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverInputProperties + def asr_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails end - def arminner_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMInnerError + def inline_workflow_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InlineWorkflowTaskDetails end - def recovery_plan_test_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverInput + def recovery_plan_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupTaskDetails end - def in_mage_azure_v2_protected_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ProtectedDiskDetails + def export_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails end - def recovery_plan_test_failover_cleanup_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverCleanupInputProperties + def switch_protection_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails end - def job_query_parameter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobQueryParameter + def test_failover_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverJobDetails end - def recovery_plan_test_failover_cleanup_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverCleanupInput + def failover_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverJobDetails end - def resume_job_params - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResumeJobParams + def hyper_vreplica_azure_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails end - def provider_specific_recovery_point_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderSpecificRecoveryPointDetails + def hyper_vreplica_base_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails end - def osdisk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OSDiskDetails + def a2_acontainer_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AContainerCreationInput end - def recovery_point_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointProperties + def a2_aswitch_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ASwitchProtectionInput end - def network_mapping_fabric_specific_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingFabricSpecificSettings + def in_mage_base_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails end - def data_store - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataStore + def in_mage_azure_v2_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails end - def in_mage_protected_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageProtectedDiskDetails + def hyper_vreplica_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyDetails end - def recovery_point_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointCollection + def hyper_vreplica_blue_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyDetails end - def create_network_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateNetworkMappingInputProperties + def rcm_azure_migration_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails end - def identity_information - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityInformation + def vmware_cbt_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails end - def fabric_specific_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificUpdateNetworkMappingInput + def in_mage_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyDetails end - def recovery_services_provider_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProviderProperties + def a2_apolicy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyDetails end - def update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateNetworkMappingInput + def hyper_vreplica_blue_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput end - def retention_volume - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RetentionVolume + def in_mage_azure_v2_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput end - def network_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkProperties + def hyper_vreplica_azure_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyInput end - def recovery_services_provider_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProviderCollection + def hyper_vreplica_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyInput end - def network_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkCollection + def vmware_cbt_policy_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput end - def replication_provider_specific_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificSettings + def recovery_plan_script_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails end - def operations_discovery - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OperationsDiscovery + def in_mage_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyInput end - def replication_protected_item_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemProperties + def a2_apolicy_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyCreationInput end - def policy_provider_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProviderSpecificDetails + def recovery_plan_hyper_vreplica_azure_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput end - def process_server - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProcessServer + def recovery_plan_hyper_vreplica_azure_failback_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput end - def initial_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InitialReplicationDetails + def recovery_plan_automation_runbook_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAutomationRunbookActionDetails end - def enable_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionProviderSpecificInput + def recovery_plan_manual_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanManualActionDetails end - def policy_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProviderSpecificInput + def recovery_plan_a2_afailover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput end - def enable_protection_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionInputProperties + def job + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job end - def create_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreatePolicyInput + def recovery_plan_in_mage_azure_v2_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageAzureV2FailoverInput end - def enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionInput + def recovery_plan_in_mage_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageFailoverInput end - def update_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdatePolicyInput + def replication_protected_item_operation + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation end - def vmnic_input_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMNicInputDetails + def azure_fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput end - def protectable_item_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItemProperties + def vmware_v2_fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricCreationInput end - def update_replication_protected_item_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemProviderInput + def recovery_plan_group_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupType end - def protectable_item_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItemCollection + def license_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType end - def update_replication_protected_item_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemInputProperties + def possible_operations_directions + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PossibleOperationsDirections end - def protection_container_mapping_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingProperties + def failover_deployment_model + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverDeploymentModel end - def update_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemInput + def source_site_operations + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations end - def protection_container_mapping_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingCollection + def multi_vm_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus end - def disable_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionProviderSpecificInput + def disable_protection_reason + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionReason end - def create_protection_container_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerMappingInputProperties + def health_error_category + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorCategory end - def disable_protection_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionInputProperties + def recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType end - def replication_provider_container_unmapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderContainerUnmappingInput + def data_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus end - def disable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionInput + def set_multi_vm_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SetMultiVmSyncStatus end - def remove_protection_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RemoveProtectionContainerMappingInput + def recovery_plan_action_location + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionLocation end - def provider_specific_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderSpecificFailoverInput + def hyper_vreplica_azure_rp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType end - def protection_container_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerProperties + def a2_arp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType end - def planned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PlannedFailoverInputProperties + def alternate_location_recovery_option + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlternateLocationRecoveryOption end - def protection_container_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerCollection + def in_mage_v2_rp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageV2RpRecoveryPointType end - def planned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PlannedFailoverInput + def rp_in_mage_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType end - def create_protection_container_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerInputProperties + def identity_provider_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityProviderType end - def unplanned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UnplannedFailoverInputProperties + def event + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Event end - def discover_protectable_item_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiscoverProtectableItemRequestProperties + def policy_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyCollection end - def unplanned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UnplannedFailoverInput + def role_assignment + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RoleAssignment end - def switch_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionProviderSpecificInput + def job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobDetails end - def test_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverInputProperties + def job_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobCollection end - def switch_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInput + def severity + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Severity end - def test_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverInput + def storage_classification_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationProperties end - def recovery_plan_protected_item - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProtectedItem + def create_recovery_plan_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInput end - def test_failover_cleanup_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverCleanupInputProperties + def recovery_plan_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionDetails end - def event_provider_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventProviderSpecificDetails + def alert_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlertCollection end - def test_failover_cleanup_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverCleanupInput + def recovery_plan_action + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAction end - def osdetails - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OSDetails + def configure_alert_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigureAlertRequest end - def reverse_replication_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationProviderSpecificInput + def recovery_plan_group + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroup end - def fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificDetails + def event_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventSpecificDetails end - def reverse_replication_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationInputProperties + def recovery_plan_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProperties end - def fabric_specific_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificCreationInput + def event_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventProperties end - def reverse_replication_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationInput + def run_as_account + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RunAsAccount end - def failover_process_server_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverProcessServerRequest + def event_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventCollection end - def update_mobility_service_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateMobilityServiceRequestProperties + def recovery_plan_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanCollection end - def provider_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderError + def create_recovery_plan_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInputProperties end - def update_mobility_service_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateMobilityServiceRequest + def fabric_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricProperties end - def job_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobProperties + def master_target_server + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MasterTargetServer end - def apply_recovery_point_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointProviderSpecificInput + def fabric_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCollection end - def armexception - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMException + def update_recovery_plan_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateRecoveryPlanInputProperties end - def apply_recovery_point_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointInputProperties + def fabric_creation_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCreationInputProperties end - def resume_job_params_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResumeJobParamsProperties + def update_recovery_plan_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateRecoveryPlanInput end - def apply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointInput + def failover_process_server_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverProcessServerRequestProperties end - def logical_network_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetworkCollection + def recovery_plan_provider_specific_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProviderSpecificFailoverInput end - def alert_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlertProperties + def task_type_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TaskTypeDetails end - def fabric_specific_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificCreateNetworkMappingInput + def recovery_plan_planned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanPlannedFailoverInputProperties end - def update_network_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateNetworkMappingInputProperties + def service_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ServiceError end - def storage_classification_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationCollection + def recovery_plan_planned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanPlannedFailoverInput end - def disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiskDetails + def job_error_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobErrorDetails end - def storage_classification_mapping_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingProperties + def recovery_plan_unplanned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInputProperties end - def operations_discovery_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OperationsDiscoveryCollection + def recovery_plan_unplanned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInput end - def failover_replication_protected_item_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverReplicationProtectedItemDetails + def armexception_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMExceptionDetails end - def policy_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyCollection + def recovery_plan_test_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverInputProperties end - def storage_classification_mapping_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingCollection + def arminner_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMInnerError end - def update_policy_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdatePolicyInputProperties + def recovery_plan_test_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverInput end - def storage_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageMappingInputProperties + def in_mage_azure_v2_protected_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ProtectedDiskDetails end - def vmnic_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMNicDetails + def recovery_plan_test_failover_cleanup_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverCleanupInputProperties end - def storage_classification_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingInput + def job_query_parameter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobQueryParameter end - def in_mage_agent_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAgentDetails + def recovery_plan_test_failover_cleanup_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverCleanupInput end - def vcenter_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenterProperties + def resume_job_params + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResumeJobParams end - def create_protection_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerMappingInput + def provider_specific_recovery_point_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderSpecificRecoveryPointDetails end - def inconsistent_vm_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InconsistentVmDetails + def osdisk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OSDiskDetails end - def protection_container_fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerFabricSpecificDetails + def recovery_point_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointProperties end - def vcenter_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenterCollection + def network_mapping_fabric_specific_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingFabricSpecificSettings end - def replication_provider_specific_container_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerCreationInput + def data_store + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataStore end - def add_vcenter_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AddVCenterRequestProperties + def in_mage_protected_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageProtectedDiskDetails end - def discover_protectable_item_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiscoverProtectableItemRequest + def recovery_point_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointCollection end - def add_vcenter_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AddVCenterRequest + def create_network_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateNetworkMappingInputProperties end - def current_scenario_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CurrentScenarioDetails + def identity_information + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityInformation end - def update_vcenter_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateVCenterRequestProperties + def fabric_specific_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificUpdateNetworkMappingInput end - def health_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthError + def recovery_services_provider_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProviderProperties end - def update_vcenter_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateVCenterRequest + def update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateNetworkMappingInput end - def azure_vm_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureVmDiskDetails + def retention_volume + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RetentionVolume end - def renew_certificate_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RenewCertificateInputProperties + def network_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkProperties end - def group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::GroupTaskDetails + def recovery_services_provider_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProviderCollection end - def renew_certificate_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RenewCertificateInput + def network_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkCollection end - def method_call_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MethodCallStatus + def replication_provider_specific_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificSettings end - def network_mapping_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingCollection + def operations_discovery + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OperationsDiscovery end - def logical_network_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetworkProperties + def replication_protected_item_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemProperties end - def replication_protected_item_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemCollection + def policy_provider_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProviderSpecificDetails end - def create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateNetworkMappingInput + def process_server + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProcessServer end - def protected_items_query_parameter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectedItemsQueryParameter + def initial_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InitialReplicationDetails end - def display - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Display + def enable_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionProviderSpecificInput end - def health_error_summary - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorSummary + def policy_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProviderSpecificInput end - def create_policy_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreatePolicyInputProperties + def enable_protection_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionInputProperties end - def resource_health_summary - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResourceHealthSummary + def create_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreatePolicyInput end - def protection_container_mapping_provider_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingProviderSpecificDetails + def enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionInput end - def vault_health_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthProperties + def update_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdatePolicyInput end - def remove_protection_container_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RemoveProtectionContainerMappingInputProperties + def vmnic_input_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMNicInputDetails end - def job_entity - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobEntity + def protectable_item_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItemProperties end - def create_protection_container_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerInput + def update_replication_protected_item_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemProviderInput end - def in_mage_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskDetails + def protectable_item_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItemCollection end - def configure_alert_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigureAlertRequestProperties + def update_replication_protected_item_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemInputProperties end - def disk_volume_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiskVolumeDetails + def protection_container_mapping_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingProperties end - def fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCreationInput + def update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemInput end - def resource - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Resource + def protection_container_mapping_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingCollection end - def job_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobCollection + def disable_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionProviderSpecificInput end - def a2_avm_managed_disk_input_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmManagedDiskInputDetails + def create_protection_container_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerMappingInputProperties end - def subnet - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Subnet + def disable_protection_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionInputProperties end - def a2_avm_disk_input_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmDiskInputDetails + def replication_provider_container_unmapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderContainerUnmappingInput end - def configuration_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigurationSettings + def disable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionInput end - def in_mage_disk_exclusion_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput + def remove_protection_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RemoveProtectionContainerMappingInput end - def a2_aprotected_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedDiskDetails + def provider_specific_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderSpecificFailoverInput end - def in_mage_disk_signature_exclusion_options - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskSignatureExclusionOptions + def protection_container_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerProperties end - def event_query_parameter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventQueryParameter + def planned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PlannedFailoverInputProperties end - def in_mage_volume_exclusion_options - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageVolumeExclusionOptions + def protection_container_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerCollection end - def network_mapping_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingProperties + def planned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PlannedFailoverInput end - def azure_to_azure_vm_synced_config_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureVmSyncedConfigDetails + def create_protection_container_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerInputProperties end - def replication_provider_specific_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerMappingInput + def unplanned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UnplannedFailoverInputProperties end - def input_endpoint - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InputEndpoint + def discover_protectable_item_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiscoverProtectableItemRequestProperties end - def asrtask - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ASRTask + def unplanned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UnplannedFailoverInput end - def role_assignment - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RoleAssignment + def switch_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionProviderSpecificInput end - def switch_protection_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInputProperties + def test_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverInputProperties end - def a2_aprotected_managed_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedManagedDiskDetails + def switch_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInput end - def policy_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProperties + def test_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverInput end - def mobility_service_update - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MobilityServiceUpdate + def recovery_plan_protected_item + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProtectedItem end - def alert - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Alert + def test_failover_cleanup_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverCleanupInputProperties end - def event - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Event + def event_provider_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventProviderSpecificDetails end - def fabric - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Fabric + def test_failover_cleanup_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverCleanupInput end - def job - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job + def osdetails + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OSDetails end - def logical_network - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetwork + def reverse_replication_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationProviderSpecificInput end - def network_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMapping + def fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificDetails end - def network - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Network + def reverse_replication_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationInputProperties end - def policy - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Policy + def fabric_specific_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificCreationInput end - def protectable_item - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItem + def reverse_replication_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationInput end - def protection_container_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping + def failover_process_server_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverProcessServerRequest end - def protection_container - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainer + def update_mobility_service_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateMobilityServiceRequestProperties end - def recovery_plan - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlan + def provider_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderError end - def recovery_point - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint + def update_mobility_service_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateMobilityServiceRequest end - def recovery_services_provider - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProvider + def job_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobProperties end - def replication_protected_item - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItem + def apply_recovery_point_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointProviderSpecificInput end - def storage_classification - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassification + def armexception + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMException end - def storage_classification_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping + def apply_recovery_point_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointInputProperties end - def vcenter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenter + def resume_job_params_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResumeJobParamsProperties end - def vault_health_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthDetails + def apply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointInput end - def azure_to_azure_network_mapping_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureNetworkMappingSettings + def logical_network_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetworkCollection end - def vmm_to_azure_network_mapping_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings + def alert_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlertProperties end - def vmm_to_vmm_network_mapping_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmNetworkMappingSettings + def fabric_specific_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificCreateNetworkMappingInput end - def azure_to_azure_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureCreateNetworkMappingInput + def update_network_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateNetworkMappingInputProperties end - def vmm_to_azure_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureCreateNetworkMappingInput + def storage_classification_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationCollection end - def vmm_to_vmm_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput + def disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiskDetails end - def azure_to_azure_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureUpdateNetworkMappingInput + def storage_classification_mapping_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingProperties end - def vmm_to_azure_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureUpdateNetworkMappingInput + def operations_discovery_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OperationsDiscoveryCollection end - def vmm_to_vmm_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmUpdateNetworkMappingInput + def failover_replication_protected_item_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverReplicationProtectedItemDetails end - def azure_fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricSpecificDetails + def storage_classification_mapping_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingCollection end - def vmm_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmDetails + def update_policy_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdatePolicyInputProperties end - def hyper_vsite_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVSiteDetails + def storage_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageMappingInputProperties end - def vmware_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareDetails + def vmnic_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMNicDetails end - def vmware_v2_fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricSpecificDetails + def storage_classification_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingInput end - def hyper_vreplica_base_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseReplicationDetails + def in_mage_agent_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAgentDetails end - def hyper_vreplica_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaReplicationDetails + def vcenter_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenterProperties end - def hyper_vreplica_blue_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBlueReplicationDetails + def create_protection_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerMappingInput end - def hyper_vreplica_azure_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReplicationDetails + def inconsistent_vm_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InconsistentVmDetails end - def in_mage_azure_v2_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReplicationDetails + def protection_container_fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerFabricSpecificDetails end - def in_mage_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReplicationDetails + def vcenter_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenterCollection end - def a2_areplication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReplicationDetails + def replication_provider_specific_container_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerCreationInput end - def hyper_vreplica_azure_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEnableProtectionInput + def add_vcenter_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AddVCenterRequestProperties end - def san_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SanEnableProtectionInput + def discover_protectable_item_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiscoverProtectableItemRequest end - def in_mage_azure_v2_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EnableProtectionInput + def add_vcenter_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AddVCenterRequest end - def in_mage_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageEnableProtectionInput + def current_scenario_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CurrentScenarioDetails end - def a2_aenable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEnableProtectionInput + def update_vcenter_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateVCenterRequestProperties end - def hyper_vreplica_azure_update_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput + def health_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthError end - def in_mage_azure_v2_update_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput + def update_vcenter_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateVCenterRequest end - def a2_aupdate_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AUpdateReplicationProtectedItemInput + def azure_vm_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureVmDiskDetails end - def hyper_vreplica_base_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseEventDetails + def renew_certificate_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RenewCertificateInputProperties end - def hyper_vreplica2012_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012EventDetails + def group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::GroupTaskDetails end - def hyper_vreplica2012_r2_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012R2EventDetails + def renew_certificate_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RenewCertificateInput end - def hyper_vreplica_azure_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails + def method_call_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MethodCallStatus end - def a2_aevent_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEventDetails + def network_mapping_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingCollection end - def in_mage_azure_v2_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EventDetails + def logical_network_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetworkProperties end - def job_status_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails + def replication_protected_item_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemCollection end - def hyper_vvirtual_machine_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails + def create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateNetworkMappingInput end - def vmware_virtual_machine_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareVirtualMachineDetails + def protected_items_query_parameter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectedItemsQueryParameter end - def replication_group_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationGroupDetails + def health_error_summary + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorSummary end - def in_mage_azure_v2_recovery_point_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails + def create_policy_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreatePolicyInputProperties end - def in_mage_disable_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput + def resource_health_summary + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResourceHealthSummary end - def hyper_vreplica_azure_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailoverProviderInput + def protection_container_mapping_provider_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingProviderSpecificDetails end - def hyper_vreplica_azure_failback_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailbackProviderInput + def vault_health_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthProperties end - def in_mage_azure_v2_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput + def remove_protection_container_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RemoveProtectionContainerMappingInputProperties end - def in_mage_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput + def job_entity + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobEntity end - def a2_afailover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AFailoverProviderInput + def create_protection_container_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerInput end - def hyper_vreplica_azure_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReprotectInput + def in_mage_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskDetails end - def in_mage_azure_v2_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput + def configure_alert_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigureAlertRequestProperties end - def in_mage_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput + def disk_volume_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiskVolumeDetails end - def a2_areprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReprotectInput + def fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCreationInput end - def hyper_vreplica_azure_apply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureApplyRecoveryPointInput + def display + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Display end - def in_mage_azure_v2_apply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput + def a2_avm_managed_disk_input_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmManagedDiskInputDetails end - def a2_aapply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput + def subnet + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Subnet end - def job_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobTaskDetails + def configuration_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigurationSettings end - def virtual_machine_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VirtualMachineTaskDetails + def encryption_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EncryptionDetails end - def fabric_replication_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails + def a2_aprotected_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedDiskDetails end - def manual_action_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails + def resource + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Resource end - def script_action_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ScriptActionTaskDetails + def a2_avm_disk_input_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmDiskInputDetails end - def vm_nic_updates_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmNicUpdatesTaskDetails + def in_mage_disk_signature_exclusion_options + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskSignatureExclusionOptions end - def consistency_check_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails + def in_mage_disk_exclusion_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput end - def automation_runbook_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails + def in_mage_volume_exclusion_options + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageVolumeExclusionOptions end - def inline_workflow_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InlineWorkflowTaskDetails + def network_mapping_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingProperties end - def recovery_plan_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupTaskDetails + def event_query_parameter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventQueryParameter end - def recovery_plan_shutdown_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails + def replication_provider_specific_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerMappingInput end - def asr_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails + def input_endpoint + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InputEndpoint end - def test_failover_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverJobDetails + def azure_to_azure_vm_synced_config_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureVmSyncedConfigDetails end - def failover_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverJobDetails + def switch_protection_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInputProperties end - def export_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails + def a2_aprotected_managed_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedManagedDiskDetails end - def switch_protection_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails + def asrtask + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ASRTask end - def a2_acontainer_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AContainerCreationInput + def mobility_service_update + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MobilityServiceUpdate end - def a2_aswitch_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ASwitchProtectionInput + def alert + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Alert end - def hyper_vreplica_azure_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails + def policy_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProperties end - def hyper_vreplica_base_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails + def logical_network + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetwork end - def hyper_vreplica_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyDetails + def network_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMapping end - def hyper_vreplica_blue_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyDetails + def fabric + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Fabric end - def in_mage_base_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails + def protection_container_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping end - def in_mage_azure_v2_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails + def policy + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Policy end - def in_mage_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyDetails + def protectable_item + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItem end - def a2_apolicy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyDetails + def protection_container + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainer end - def rcm_azure_migration_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails + def network + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Network end - def vmware_cbt_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails + def recovery_services_provider + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProvider end - def hyper_vreplica_azure_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyInput + def replication_protected_item + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItem end - def hyper_vreplica_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyInput + def storage_classification + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassification end - def hyper_vreplica_blue_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput + def recovery_plan + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlan end - def in_mage_azure_v2_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput + def vcenter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenter end - def in_mage_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyInput + def vault_health_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthDetails end - def a2_apolicy_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyCreationInput + def azure_to_azure_network_mapping_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureNetworkMappingSettings end - def vmware_cbt_policy_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput + def storage_classification_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping end - def recovery_plan_script_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails + def vmm_to_vmm_network_mapping_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmNetworkMappingSettings end - def recovery_plan_automation_runbook_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAutomationRunbookActionDetails + def azure_to_azure_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureCreateNetworkMappingInput end - def recovery_plan_manual_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanManualActionDetails + def vmm_to_azure_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureCreateNetworkMappingInput end - def recovery_plan_hyper_vreplica_azure_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput + def recovery_point + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint end - def recovery_plan_hyper_vreplica_azure_failback_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput + def azure_to_azure_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureUpdateNetworkMappingInput end - def recovery_plan_in_mage_azure_v2_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageAzureV2FailoverInput + def vmm_to_azure_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureUpdateNetworkMappingInput end - def recovery_plan_in_mage_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageFailoverInput + def vmm_to_vmm_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmUpdateNetworkMappingInput end - def recovery_plan_a2_afailover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput + def vmm_to_vmm_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput end - def azure_fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput + def vmm_to_azure_network_mapping_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings end - def vmware_v2_fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricCreationInput + def hyper_vsite_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVSiteDetails end - def recovery_plan_group_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupType + def vmware_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareDetails end - def replication_protected_item_operation - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation + def azure_fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricSpecificDetails end - def possible_operations_directions - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PossibleOperationsDirections + def vmm_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmDetails end - def failover_deployment_model - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverDeploymentModel + def hyper_vreplica_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaReplicationDetails end - def source_site_operations - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations + def hyper_vreplica_blue_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBlueReplicationDetails end - def identity_provider_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityProviderType + def vmware_v2_fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricSpecificDetails end - def license_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType + def hyper_vreplica_base_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseReplicationDetails end - def disable_protection_reason - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionReason + def in_mage_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReplicationDetails end - def health_error_category - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorCategory + def a2_areplication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReplicationDetails end - def severity - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Severity + def hyper_vreplica_azure_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReplicationDetails end - def recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType + def in_mage_azure_v2_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReplicationDetails end - def multi_vm_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus + def in_mage_azure_v2_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EnableProtectionInput end - def set_multi_vm_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SetMultiVmSyncStatus + def in_mage_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageEnableProtectionInput end - def recovery_plan_action_location - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionLocation + def hyper_vreplica_azure_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEnableProtectionInput end - def hyper_vreplica_azure_rp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType + def san_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SanEnableProtectionInput end - def data_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus + def in_mage_azure_v2_update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput end - def alternate_location_recovery_option - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlternateLocationRecoveryOption + def a2_aupdate_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AUpdateReplicationProtectedItemInput end - def in_mage_v2_rp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageV2RpRecoveryPointType + def a2_aenable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEnableProtectionInput end - def rp_in_mage_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType + def hyper_vreplica_azure_update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput end - def a2_arp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType + def hyper_vreplica2012_r2_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012R2EventDetails end end end diff --git a/azure_sdk/lib/latest/modules/redis_profile_module.rb b/azure_sdk/lib/latest/modules/redis_profile_module.rb index a287ce44e2..5a253a676d 100644 --- a/azure_sdk/lib/latest/modules/redis_profile_module.rb +++ b/azure_sdk/lib/latest/modules/redis_profile_module.rb @@ -7,49 +7,49 @@ module Azure::Profiles::Latest module Redis module Mgmt + LinkedServer = Azure::Redis::Mgmt::V2017_10_01::LinkedServer Operations = Azure::Redis::Mgmt::V2017_10_01::Operations Redis = Azure::Redis::Mgmt::V2017_10_01::Redis FirewallRules = Azure::Redis::Mgmt::V2017_10_01::FirewallRules PatchSchedules = Azure::Redis::Mgmt::V2017_10_01::PatchSchedules - LinkedServer = Azure::Redis::Mgmt::V2017_10_01::LinkedServer module Models - RedisListResult = Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult Sku = Azure::Redis::Mgmt::V2017_10_01::Models::Sku + RedisListResult = Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult RedisRegenerateKeyParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisRegenerateKeyParameters RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleListResult RedisAccessKeys = Azure::Redis::Mgmt::V2017_10_01::Models::RedisAccessKeys - OperationDisplay = Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay - Resource = Azure::Redis::Mgmt::V2017_10_01::Models::Resource - OperationListResult = Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerCreateParameters RedisUpdateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisUpdateParameters RedisRebootParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisRebootParameters RedisFirewallRuleCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleCreateParameters ExportRDBParameters = Azure::Redis::Mgmt::V2017_10_01::Models::ExportRDBParameters ImportRDBParameters = Azure::Redis::Mgmt::V2017_10_01::Models::ImportRDBParameters - Operation = Azure::Redis::Mgmt::V2017_10_01::Models::Operation + Resource = Azure::Redis::Mgmt::V2017_10_01::Models::Resource ScheduleEntry = Azure::Redis::Mgmt::V2017_10_01::Models::ScheduleEntry RedisCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisCreateParameters RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList - RedisLinkedServer = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer RedisForceRebootResponse = Azure::Redis::Mgmt::V2017_10_01::Models::RedisForceRebootResponse - ProxyResource = Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource - TrackedResource = Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource RedisFirewallRule = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRule + RedisLinkedServer = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer RedisResource = Azure::Redis::Mgmt::V2017_10_01::Models::RedisResource RedisPatchSchedule = Azure::Redis::Mgmt::V2017_10_01::Models::RedisPatchSchedule RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithProperties - SkuName = Azure::Redis::Mgmt::V2017_10_01::Models::SkuName SkuFamily = Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily - RedisKeyType = Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType + OperationDisplay = Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay + SkuName = Azure::Redis::Mgmt::V2017_10_01::Models::SkuName + OperationListResult = Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult RebootType = Azure::Redis::Mgmt::V2017_10_01::Models::RebootType - DayOfWeek = Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek ReplicationRole = Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole + RedisKeyType = Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType + ProxyResource = Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource + TrackedResource = Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource + Operation = Azure::Redis::Mgmt::V2017_10_01::Models::Operation + DayOfWeek = Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek end class RedisManagementClass - attr_reader :operations, :redis, :firewall_rules, :patch_schedules, :linked_server, :configurable, :base_url, :options, :model_classes + attr_reader :linked_server, :operations, :redis, :firewall_rules, :patch_schedules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -59,11 +59,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 @operations = @client_0.operations @redis = @client_0.redis @firewall_rules = @client_0.firewall_rules @patch_schedules = @client_0.patch_schedules - @linked_server = @client_0.linked_server @model_classes = ModelClasses.new end @@ -82,12 +82,12 @@ def method_missing(method, *args) end class ModelClasses - def redis_list_result - Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult - end def sku Azure::Redis::Mgmt::V2017_10_01::Models::Sku end + def redis_list_result + Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult + end def redis_regenerate_key_parameters Azure::Redis::Mgmt::V2017_10_01::Models::RedisRegenerateKeyParameters end @@ -97,15 +97,6 @@ def redis_firewall_rule_list_result def redis_access_keys Azure::Redis::Mgmt::V2017_10_01::Models::RedisAccessKeys end - def operation_display - Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay - end - def resource - Azure::Redis::Mgmt::V2017_10_01::Models::Resource - end - def operation_list_result - Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult - end def redis_linked_server_create_parameters Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerCreateParameters end @@ -124,8 +115,8 @@ def export_rdbparameters def import_rdbparameters Azure::Redis::Mgmt::V2017_10_01::Models::ImportRDBParameters end - def operation - Azure::Redis::Mgmt::V2017_10_01::Models::Operation + def resource + Azure::Redis::Mgmt::V2017_10_01::Models::Resource end def schedule_entry Azure::Redis::Mgmt::V2017_10_01::Models::ScheduleEntry @@ -136,21 +127,15 @@ def redis_create_parameters def redis_linked_server_with_properties_list Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList end - def redis_linked_server - Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer - end def redis_force_reboot_response Azure::Redis::Mgmt::V2017_10_01::Models::RedisForceRebootResponse end - def proxy_resource - Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource - end - def tracked_resource - Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource - end def redis_firewall_rule Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRule end + def redis_linked_server + Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer + end def redis_resource Azure::Redis::Mgmt::V2017_10_01::Models::RedisResource end @@ -160,24 +145,39 @@ def redis_patch_schedule def redis_linked_server_with_properties Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithProperties end + def sku_family + Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily + end + def operation_display + Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay + end def sku_name Azure::Redis::Mgmt::V2017_10_01::Models::SkuName end - def sku_family - Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily + def operation_list_result + Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult + end + def reboot_type + Azure::Redis::Mgmt::V2017_10_01::Models::RebootType + end + def replication_role + Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole end def redis_key_type Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType end - def reboot_type - Azure::Redis::Mgmt::V2017_10_01::Models::RebootType + def proxy_resource + Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource + end + def tracked_resource + Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource + end + def operation + Azure::Redis::Mgmt::V2017_10_01::Models::Operation end def day_of_week Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek end - def replication_role - Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole - 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 56d9ce6dd2..817d982098 100644 --- a/azure_sdk/lib/latest/modules/relay_profile_module.rb +++ b/azure_sdk/lib/latest/modules/relay_profile_module.rb @@ -8,42 +8,42 @@ 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 + Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces module Models RelayNamespaceListResult = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult - OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay - Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource CheckNameAvailability = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability HybridConnectionListResult = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult - CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult WcfRelaysListResult = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult - ErrorResponse = Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse - OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult - AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult - Sku = Azure::Relay::Mgmt::V2017_04_01::Models::Sku - AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys - Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation - RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - TrackedResource = Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + Sku = Azure::Relay::Mgmt::V2017_04_01::Models::Sku HybridConnection = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection - WcfRelay = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay RelayNamespace = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace 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 - SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier ProvisioningStateEnum = Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum - AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights + WcfRelay = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay KeyType = Azure::Relay::Mgmt::V2017_04_01::Models::KeyType + CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource + SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier + AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys + AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult + RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult + AuthorizationRule = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule + AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights UnavailableReason = Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason + ErrorResponse = Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse + Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation + TrackedResource = Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource end class RelayManagementClass - attr_reader :operations, :namespaces, :hybrid_connections, :wcfrelays, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :hybrid_connections, :wcfrelays, :namespaces, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -54,9 +54,9 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @operations = @client_0.operations - @namespaces = @client_0.namespaces @hybrid_connections = @client_0.hybrid_connections @wcfrelays = @client_0.wcfrelays + @namespaces = @client_0.namespaces @model_classes = ModelClasses.new end @@ -78,84 +78,84 @@ class ModelClasses 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 resource - Azure::Relay::Mgmt::V2017_04_01::Models::Resource - 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 check_name_availability_result - Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - end def wcf_relays_list_result Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult end - def error_response - Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse - 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 + def resource_namespace_patch + Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end def sku Azure::Relay::Mgmt::V2017_04_01::Models::Sku end - def access_keys - Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys - end - def operation - Azure::Relay::Mgmt::V2017_04_01::Models::Operation - end - def regenerate_access_key_parameters - Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - end - def tracked_resource - Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource - end - def resource_namespace_patch - Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - end def hybrid_connection Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection end - def wcf_relay - Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay - end def relay_namespace Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace end def relay_update_parameters Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters end - def authorization_rule - Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule - end def relaytype Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype end - def sku_tier - Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier - end def provisioning_state_enum Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum end - def access_rights - Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights + def wcf_relay + Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay end def key_type Azure::Relay::Mgmt::V2017_04_01::Models::KeyType end + def check_name_availability_result + Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + end + def resource + Azure::Relay::Mgmt::V2017_04_01::Models::Resource + end + def sku_tier + Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier + end + def access_keys + Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys + end + def authorization_rule_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult + end + def regenerate_access_key_parameters + Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + 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 + Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule + end + def access_rights + Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights + end def unavailable_reason Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason end + def error_response + Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse + end + def operation + Azure::Relay::Mgmt::V2017_04_01::Models::Operation + end + def tracked_resource + Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource + end end end end diff --git a/azure_sdk/lib/latest/modules/resources_profile_module.rb b/azure_sdk/lib/latest/modules/resources_profile_module.rb index 1ad0e88d9d..14de015b89 100644 --- a/azure_sdk/lib/latest/modules/resources_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resources_profile_module.rb @@ -7,65 +7,65 @@ module Azure::Profiles::Latest module Resources module Mgmt + Tags = Azure::Resources::Mgmt::V2017_05_10::Tags + DeploymentOperations = Azure::Resources::Mgmt::V2017_05_10::DeploymentOperations + Resources = Azure::Resources::Mgmt::V2017_05_10::Resources Deployments = Azure::Resources::Mgmt::V2017_05_10::Deployments Providers = Azure::Resources::Mgmt::V2017_05_10::Providers - Resources = Azure::Resources::Mgmt::V2017_05_10::Resources ResourceGroups = Azure::Resources::Mgmt::V2017_05_10::ResourceGroups - Tags = Azure::Resources::Mgmt::V2017_05_10::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2017_05_10::DeploymentOperations module Models - Sku = Azure::Resources::Mgmt::V2017_05_10::Models::Sku + Plan = Azure::Resources::Mgmt::V2017_05_10::Models::Plan + Dependency = Azure::Resources::Mgmt::V2017_05_10::Models::Dependency + DeploymentExtendedFilter = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtendedFilter Identity = Azure::Resources::Mgmt::V2017_05_10::Models::Identity - GenericResourceFilter = Azure::Resources::Mgmt::V2017_05_10::Models::GenericResourceFilter ResourceGroupFilter = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupFilter - ParametersLink = Azure::Resources::Mgmt::V2017_05_10::Models::ParametersLink + TemplateLink = Azure::Resources::Mgmt::V2017_05_10::Models::TemplateLink + DebugSetting = Azure::Resources::Mgmt::V2017_05_10::Models::DebugSetting ResourceListResult = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceListResult - DeploymentProperties = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentProperties + Deployment = Azure::Resources::Mgmt::V2017_05_10::Models::Deployment ResourceGroupProperties = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupProperties - DeploymentExportResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExportResult + ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceManagementErrorWithDetails ResourceGroup = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroup - AliasPathType = Azure::Resources::Mgmt::V2017_05_10::Models::AliasPathType - ResourceGroupPatchable = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupPatchable - ProviderResourceType = Azure::Resources::Mgmt::V2017_05_10::Models::ProviderResourceType + AliasType = Azure::Resources::Mgmt::V2017_05_10::Models::AliasType ResourceGroupListResult = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupListResult - BasicDependency = Azure::Resources::Mgmt::V2017_05_10::Models::BasicDependency + Provider = Azure::Resources::Mgmt::V2017_05_10::Models::Provider ResourcesMoveInfo = Azure::Resources::Mgmt::V2017_05_10::Models::ResourcesMoveInfo - DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentPropertiesExtended ExportTemplateRequest = Azure::Resources::Mgmt::V2017_05_10::Models::ExportTemplateRequest - DeploymentExtended = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended + DeploymentValidateResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentValidateResult TagCount = Azure::Resources::Mgmt::V2017_05_10::Models::TagCount - ProviderListResult = Azure::Resources::Mgmt::V2017_05_10::Models::ProviderListResult + DeploymentListResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentListResult TagValue = Azure::Resources::Mgmt::V2017_05_10::Models::TagValue - DeploymentExtendedFilter = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtendedFilter TagDetails = Azure::Resources::Mgmt::V2017_05_10::Models::TagDetails - DebugSetting = Azure::Resources::Mgmt::V2017_05_10::Models::DebugSetting + ParametersLink = Azure::Resources::Mgmt::V2017_05_10::Models::ParametersLink TagsListResult = Azure::Resources::Mgmt::V2017_05_10::Models::TagsListResult - ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceManagementErrorWithDetails - TargetResource = Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource - Provider = Azure::Resources::Mgmt::V2017_05_10::Models::Provider + DeploymentExportResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExportResult + Sku = Azure::Resources::Mgmt::V2017_05_10::Models::Sku + ProviderResourceType = Azure::Resources::Mgmt::V2017_05_10::Models::ProviderResourceType HttpMessage = Azure::Resources::Mgmt::V2017_05_10::Models::HttpMessage - DeploymentValidateResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentValidateResult + DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentPropertiesExtended DeploymentOperationProperties = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationProperties - Plan = Azure::Resources::Mgmt::V2017_05_10::Models::Plan - DeploymentOperation = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation - Deployment = Azure::Resources::Mgmt::V2017_05_10::Models::Deployment + ProviderListResult = Azure::Resources::Mgmt::V2017_05_10::Models::ProviderListResult + TargetResource = Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource + DeploymentProperties = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentProperties DeploymentOperationsListResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationsListResult - Dependency = Azure::Resources::Mgmt::V2017_05_10::Models::Dependency + BasicDependency = Azure::Resources::Mgmt::V2017_05_10::Models::BasicDependency ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceProviderOperationDisplayProperties - TemplateLink = Azure::Resources::Mgmt::V2017_05_10::Models::TemplateLink - Resource = Azure::Resources::Mgmt::V2017_05_10::Models::Resource - DeploymentListResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentListResult - SubResource = Azure::Resources::Mgmt::V2017_05_10::Models::SubResource - AliasType = Azure::Resources::Mgmt::V2017_05_10::Models::AliasType + GenericResourceFilter = Azure::Resources::Mgmt::V2017_05_10::Models::GenericResourceFilter + DeploymentExtended = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended + AliasPathType = Azure::Resources::Mgmt::V2017_05_10::Models::AliasPathType ResourceGroupExportResult = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupExportResult - GenericResource = Azure::Resources::Mgmt::V2017_05_10::Models::GenericResource + Resource = Azure::Resources::Mgmt::V2017_05_10::Models::Resource + ResourceGroupPatchable = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupPatchable DeploymentMode = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentMode + GenericResource = Azure::Resources::Mgmt::V2017_05_10::Models::GenericResource + SubResource = Azure::Resources::Mgmt::V2017_05_10::Models::SubResource + DeploymentOperation = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation ResourceIdentityType = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceIdentityType end class ResourcesManagementClass - attr_reader :deployments, :providers, :resources, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :tags, :deployment_operations, :resources, :deployments, :providers, :resource_groups, :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) + @tags = @client_0.tags + @deployment_operations = @client_0.deployment_operations + @resources = @client_0.resources @deployments = @client_0.deployments @providers = @client_0.providers - @resources = @client_0.resources @resource_groups = @client_0.resource_groups - @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new end @@ -99,144 +99,144 @@ def method_missing(method, *args) end class ModelClasses - def sku - Azure::Resources::Mgmt::V2017_05_10::Models::Sku + def plan + Azure::Resources::Mgmt::V2017_05_10::Models::Plan + end + def dependency + Azure::Resources::Mgmt::V2017_05_10::Models::Dependency + end + def deployment_extended_filter + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtendedFilter end def identity Azure::Resources::Mgmt::V2017_05_10::Models::Identity end - def generic_resource_filter - Azure::Resources::Mgmt::V2017_05_10::Models::GenericResourceFilter - end def resource_group_filter Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupFilter end - def parameters_link - Azure::Resources::Mgmt::V2017_05_10::Models::ParametersLink + def template_link + Azure::Resources::Mgmt::V2017_05_10::Models::TemplateLink + end + def debug_setting + Azure::Resources::Mgmt::V2017_05_10::Models::DebugSetting end def resource_list_result Azure::Resources::Mgmt::V2017_05_10::Models::ResourceListResult end - def deployment_properties - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentProperties + def deployment + Azure::Resources::Mgmt::V2017_05_10::Models::Deployment end def resource_group_properties Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupProperties end - def deployment_export_result - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExportResult + def resource_management_error_with_details + Azure::Resources::Mgmt::V2017_05_10::Models::ResourceManagementErrorWithDetails end def resource_group Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroup end - def alias_path_type - Azure::Resources::Mgmt::V2017_05_10::Models::AliasPathType - end - def resource_group_patchable - Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupPatchable - end - def provider_resource_type - Azure::Resources::Mgmt::V2017_05_10::Models::ProviderResourceType + def alias_type + Azure::Resources::Mgmt::V2017_05_10::Models::AliasType end def resource_group_list_result Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupListResult end - def basic_dependency - Azure::Resources::Mgmt::V2017_05_10::Models::BasicDependency + def provider + Azure::Resources::Mgmt::V2017_05_10::Models::Provider end def resources_move_info Azure::Resources::Mgmt::V2017_05_10::Models::ResourcesMoveInfo end - def deployment_properties_extended - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentPropertiesExtended - end def export_template_request Azure::Resources::Mgmt::V2017_05_10::Models::ExportTemplateRequest end - def deployment_extended - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended + def deployment_validate_result + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentValidateResult end def tag_count Azure::Resources::Mgmt::V2017_05_10::Models::TagCount end - def provider_list_result - Azure::Resources::Mgmt::V2017_05_10::Models::ProviderListResult + def deployment_list_result + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentListResult end def tag_value Azure::Resources::Mgmt::V2017_05_10::Models::TagValue end - def deployment_extended_filter - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtendedFilter - end def tag_details Azure::Resources::Mgmt::V2017_05_10::Models::TagDetails end - def debug_setting - Azure::Resources::Mgmt::V2017_05_10::Models::DebugSetting + def parameters_link + Azure::Resources::Mgmt::V2017_05_10::Models::ParametersLink end def tags_list_result Azure::Resources::Mgmt::V2017_05_10::Models::TagsListResult end - def resource_management_error_with_details - Azure::Resources::Mgmt::V2017_05_10::Models::ResourceManagementErrorWithDetails + def deployment_export_result + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExportResult end - def target_resource - Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource + def sku + Azure::Resources::Mgmt::V2017_05_10::Models::Sku end - def provider - Azure::Resources::Mgmt::V2017_05_10::Models::Provider + def provider_resource_type + Azure::Resources::Mgmt::V2017_05_10::Models::ProviderResourceType end def http_message Azure::Resources::Mgmt::V2017_05_10::Models::HttpMessage end - def deployment_validate_result - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentValidateResult + def deployment_properties_extended + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentPropertiesExtended end def deployment_operation_properties Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationProperties end - def plan - Azure::Resources::Mgmt::V2017_05_10::Models::Plan + def provider_list_result + Azure::Resources::Mgmt::V2017_05_10::Models::ProviderListResult end - def deployment_operation - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation + def target_resource + Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource end - def deployment - Azure::Resources::Mgmt::V2017_05_10::Models::Deployment + def deployment_properties + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentProperties end def deployment_operations_list_result Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationsListResult end - def dependency - Azure::Resources::Mgmt::V2017_05_10::Models::Dependency + def basic_dependency + Azure::Resources::Mgmt::V2017_05_10::Models::BasicDependency end def resource_provider_operation_display_properties Azure::Resources::Mgmt::V2017_05_10::Models::ResourceProviderOperationDisplayProperties end - def template_link - Azure::Resources::Mgmt::V2017_05_10::Models::TemplateLink - end - def resource - Azure::Resources::Mgmt::V2017_05_10::Models::Resource - end - def deployment_list_result - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentListResult + def generic_resource_filter + Azure::Resources::Mgmt::V2017_05_10::Models::GenericResourceFilter end - def sub_resource - Azure::Resources::Mgmt::V2017_05_10::Models::SubResource + def deployment_extended + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended end - def alias_type - Azure::Resources::Mgmt::V2017_05_10::Models::AliasType + def alias_path_type + Azure::Resources::Mgmt::V2017_05_10::Models::AliasPathType end def resource_group_export_result Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupExportResult end - def generic_resource - Azure::Resources::Mgmt::V2017_05_10::Models::GenericResource + def resource + Azure::Resources::Mgmt::V2017_05_10::Models::Resource + end + def resource_group_patchable + Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupPatchable end def deployment_mode Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentMode end + def generic_resource + Azure::Resources::Mgmt::V2017_05_10::Models::GenericResource + end + def sub_resource + Azure::Resources::Mgmt::V2017_05_10::Models::SubResource + end + def deployment_operation + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation + end def resource_identity_type Azure::Resources::Mgmt::V2017_05_10::Models::ResourceIdentityType end diff --git a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb index 1255806b33..7013a444bc 100644 --- a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb @@ -7,27 +7,27 @@ module Azure::Profiles::Latest module ResourcesManagement module Mgmt + Operations = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Operations ManagementGroups = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroups ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroupSubscriptions - Operations = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Operations module Models - ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupListResult - ErrorDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails - ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ParentGroupInfo OperationDisplay = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationDisplay - ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupDetails OperationListResult = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult - ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo - ErrorResponse = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse + ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupListResult + ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ParentGroupInfo ManagementGroup = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroup + ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupDetails ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupInfo + ErrorResponse = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse + ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo CreateGroupRequest = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::CreateGroupRequest Operation = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::Operation + ErrorDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails end class ResourcesManagementManagementClass - attr_reader :management_groups, :management_group_subscriptions, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :management_groups, :management_group_subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -37,9 +37,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 @management_groups = @client_0.management_groups @management_group_subscriptions = @client_0.management_group_subscriptions - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -58,35 +58,32 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationDisplay + end + def operation_list_result + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult + end def management_group_list_result Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupListResult end - def error_details - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails - end def parent_group_info Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ParentGroupInfo end - def operation_display - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationDisplay + def management_group + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroup end def management_group_details Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupDetails end - def operation_list_result - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult - end - def management_group_child_info - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo + def management_group_info + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupInfo end def error_response Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse end - def management_group - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroup - end - def management_group_info - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupInfo + def management_group_child_info + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo end def create_group_request Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::CreateGroupRequest @@ -94,6 +91,9 @@ def create_group_request def operation Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::Operation end + def error_details + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails + end end end end diff --git a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb index 50290bce4b..2609e2fc04 100644 --- a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb +++ b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb @@ -7,29 +7,15 @@ module Azure::Profiles::Latest module Scheduler module Mgmt - JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections Jobs = Azure::Scheduler::Mgmt::V2016_03_01::Jobs + JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections module Models - JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence - Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku - JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus - JobCollectionQuota = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota - JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties - JobCollectionDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition - JobDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition - HttpAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication - JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult - StorageQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage - JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties - HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest - RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy - ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties JobAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction JobRecurrenceSchedule = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule JobHistoryDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition JobCollectionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties - JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult + JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties JobErrorAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction JobHistoryFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter JobMaxRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence @@ -39,26 +25,40 @@ module Models 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 + JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult ServiceBusTopicMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage ClientCertAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication - BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication 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 - RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType - RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType - DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay - JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState JobHistoryActionName = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName + RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType JobExecutionStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus ServiceBusAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType ServiceBusTransportType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType + RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency + JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus + DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku + JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState + BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication + JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult + RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy + JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence + JobCollectionQuota = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota + JobCollectionDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition + JobDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition + HttpAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication + StorageQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage + JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties + HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest + ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties end class SchedulerManagementClass - attr_reader :job_collections, :jobs, :configurable, :base_url, :options, :model_classes + attr_reader :jobs, :job_collections, :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) - @job_collections = @client_0.job_collections @jobs = @client_0.jobs + @job_collections = @client_0.job_collections @model_classes = ModelClasses.new end @@ -88,48 +88,6 @@ def method_missing(method, *args) end class ModelClasses - def job_recurrence - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence - end - def sku - Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku - end - def job_status - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus - end - def job_collection_quota - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota - end - def job_properties - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties - end - def job_collection_definition - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition - end - def job_definition - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition - end - def http_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication - end - def job_list_result - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult - end - def storage_queue_message - Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage - end - def job_history_definition_properties - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties - end - def http_request - Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest - end - def retry_policy - Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy - end - def service_bus_brokered_message_properties - Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties - end def job_action Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction end @@ -142,8 +100,8 @@ def job_history_definition def job_collection_properties Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties end - def job_history_list_result - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult + def job_properties + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties end def job_error_action Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction @@ -172,45 +130,36 @@ def service_bus_authentication def service_bus_queue_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage end + def job_history_list_result + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult + end def service_bus_topic_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage end def client_cert_authentication Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication end - def basic_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication - 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 recurrence_frequency - Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency - end def job_action_type Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType end - def retry_type - Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType - end - def day_of_week - Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + def sku_definition + Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition end def job_schedule_day Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay end - def job_state - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState - end def job_history_action_name Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName end + def retry_type + Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType + end def job_execution_status Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus end @@ -220,6 +169,57 @@ def service_bus_authentication_type def service_bus_transport_type Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType end + def recurrence_frequency + Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency + end + def job_status + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus + end + def day_of_week + Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + end + def sku + Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku + end + def job_state + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState + end + def basic_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication + end + 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 + def job_recurrence + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence + end + def job_collection_quota + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota + end + def job_collection_definition + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition + end + def job_definition + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition + end + def http_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication + end + def storage_queue_message + Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage + end + def job_history_definition_properties + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties + end + def http_request + Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest + end + def service_bus_brokered_message_properties + Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties + 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 adb8056d46..4d20388c69 100644 --- a/azure_sdk/lib/latest/modules/search_profile_module.rb +++ b/azure_sdk/lib/latest/modules/search_profile_module.rb @@ -14,22 +14,22 @@ module Mgmt module Models CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput - Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource - AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult - SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput OperationDisplay = Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay + OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult Sku = Azure::Search::Mgmt::V2015_08_19::Models::Sku - Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation + AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult + SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey - 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 UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason - SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus - ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind + Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource + SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName + ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState end class SearchManagementClass @@ -68,32 +68,29 @@ class ModelClasses def check_name_availability_input Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput end - def resource - Azure::Search::Mgmt::V2015_08_19::Models::Resource - end - def admin_key_result - Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult - end - def search_management_request_options - Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions - end def check_name_availability_output Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput end def operation_display Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay end + def operation_list_result + Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult + end def sku Azure::Search::Mgmt::V2015_08_19::Models::Sku end - def operation - Azure::Search::Mgmt::V2015_08_19::Models::Operation + def admin_key_result + Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult + end + def search_management_request_options + Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions end def query_key Azure::Search::Mgmt::V2015_08_19::Models::QueryKey end - def operation_list_result - Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult + def operation + Azure::Search::Mgmt::V2015_08_19::Models::Operation end def search_service Azure::Search::Mgmt::V2015_08_19::Models::SearchService @@ -101,21 +98,24 @@ def search_service def unavailable_name_reason Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason end - def sku_name - Azure::Search::Mgmt::V2015_08_19::Models::SkuName - end def hosting_mode Azure::Search::Mgmt::V2015_08_19::Models::HostingMode end def search_service_status Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus end - def provisioning_state - Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState - end def admin_key_kind Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind end + def resource + Azure::Search::Mgmt::V2015_08_19::Models::Resource + end + def sku_name + Azure::Search::Mgmt::V2015_08_19::Models::SkuName + end + def provisioning_state + Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState + end end end end diff --git a/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb b/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb index 43a981c52e..08c77a49e2 100644 --- a/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb @@ -7,14 +7,13 @@ module Azure::Profiles::Latest module ServerManagement module Mgmt - Gateway = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Gateway - Node = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Node Session = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Session + Node = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Node + Gateway = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Gateway PowerShell = Azure::ServerManagement::Mgmt::V2016_07_01_preview::PowerShell module Models - Version = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version - Resource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource + UpgradeMode = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode EncryptionJwkResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::EncryptionJwkResource GatewayStatus = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayStatus GatewayResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResources @@ -25,28 +24,29 @@ module Models PowerShellCommandResults = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResults PowerShellTabCompletionResults = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionResults SessionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters - Error = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error GatewayProfile = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayProfile - PowerShellSessionResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources + Resource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource NodeParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeParameters PowerShellCommandParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandParameters - PowerShellTabCompletionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters + PowerShellSessionResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources PromptMessageResponse = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptMessageResponse GatewayResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResource NodeResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResource SessionResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionResource PowerShellSessionResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResource + PowerShellTabCompletionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters PowerShellCommandStatus = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandStatus - UpgradeMode = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode RetentionPeriod = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::RetentionPeriod CredentialDataFormat = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::CredentialDataFormat PromptFieldType = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldType GatewayExpandOption = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayExpandOption PowerShellExpandOption = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellExpandOption + Version = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version + Error = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error end class ServerManagementManagementClass - attr_reader :gateway, :node, :session, :power_shell, :configurable, :base_url, :options, :model_classes + attr_reader :session, :node, :gateway, :power_shell, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -56,9 +56,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @gateway = @client_0.gateway - @node = @client_0.node @session = @client_0.session + @node = @client_0.node + @gateway = @client_0.gateway @power_shell = @client_0.power_shell @model_classes = ModelClasses.new @@ -78,11 +78,8 @@ def method_missing(method, *args) end class ModelClasses - def version - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version - end - def resource - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource + def upgrade_mode + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode end def encryption_jwk_resource Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::EncryptionJwkResource @@ -114,14 +111,11 @@ def power_shell_tab_completion_results def session_parameters Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters end - def error - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error - end def gateway_profile Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayProfile end - def power_shell_session_resources - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources + def resource + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource end def node_parameters Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeParameters @@ -129,8 +123,8 @@ def node_parameters def power_shell_command_parameters Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandParameters end - def power_shell_tab_completion_parameters - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters + def power_shell_session_resources + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources end def prompt_message_response Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptMessageResponse @@ -147,12 +141,12 @@ def session_resource def power_shell_session_resource Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResource end + def power_shell_tab_completion_parameters + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters + end def power_shell_command_status Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandStatus end - def upgrade_mode - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode - end def retention_period Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::RetentionPeriod end @@ -168,6 +162,12 @@ def gateway_expand_option def power_shell_expand_option Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellExpandOption end + def version + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version + end + def error + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error + 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 b33c7aa2eb..b191be3c3b 100644 --- a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb @@ -8,47 +8,34 @@ module Azure::Profiles::Latest module ServiceBus module Mgmt Operations = Azure::ServiceBus::Mgmt::V2017_04_01::Operations - Namespaces = Azure::ServiceBus::Mgmt::V2017_04_01::Namespaces - DisasterRecoveryConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::DisasterRecoveryConfigs Queues = Azure::ServiceBus::Mgmt::V2017_04_01::Queues - Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics - Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions Rules = Azure::ServiceBus::Mgmt::V2017_04_01::Rules - Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions PremiumMessagingRegionsOperations = Azure::ServiceBus::Mgmt::V2017_04_01::PremiumMessagingRegionsOperations + Namespaces = Azure::ServiceBus::Mgmt::V2017_04_01::Namespaces + Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics + DisasterRecoveryConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::DisasterRecoveryConfigs EventHubs = Azure::ServiceBus::Mgmt::V2017_04_01::EventHubs + Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions + Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions module Models - CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay + OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult + ErrorResponse = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse SBQueueListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueueListResult - Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource PremiumMessagingRegionsListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsListResult + TrackedResource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku SBTopicListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopicListResult SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult PremiumMessagingRegionsProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties - CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription SBSubscriptionListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult AuthorizationRuleProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties - CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability - RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult - Destination = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination - OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay - ArmDisasterRecoveryListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult - Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation SBAuthorizationRuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult - OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult MessageCountDetails = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails - ErrorResponse = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse - EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult - Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action SqlFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter - AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys CorrelationFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter - TrackedResource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource - ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace SBNamespaceUpdateParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters SBAuthorizationRule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule SBQueue = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue @@ -56,23 +43,36 @@ module Models SBSubscription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription Rule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Rule SqlRuleAction = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction + CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions - Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub - ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery + Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation + ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType + KeyType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType + SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource + CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription + Destination = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination + EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult + AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys + ArmDisasterRecoveryListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult SkuName = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName SkuTier = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier + RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery AccessRights = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights - KeyType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType EntityStatus = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus - UnavailableReason = Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason - FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType EncodingCaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + UnavailableReason = Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason ProvisioningStateDR = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR RoleDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery end class ServiceBusManagementClass - attr_reader :operations, :namespaces, :disaster_recovery_configs, :queues, :topics, :subscriptions, :rules, :regions, :premium_messaging_regions_operations, :event_hubs, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :queues, :rules, :premium_messaging_regions_operations, :namespaces, :topics, :disaster_recovery_configs, :event_hubs, :regions, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -83,15 +83,15 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @operations = @client_0.operations - @namespaces = @client_0.namespaces - @disaster_recovery_configs = @client_0.disaster_recovery_configs @queues = @client_0.queues - @topics = @client_0.topics - @subscriptions = @client_0.subscriptions @rules = @client_0.rules - @regions = @client_0.regions @premium_messaging_regions_operations = @client_0.premium_messaging_regions_operations + @namespaces = @client_0.namespaces + @topics = @client_0.topics + @disaster_recovery_configs = @client_0.disaster_recovery_configs @event_hubs = @client_0.event_hubs + @regions = @client_0.regions + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -110,18 +110,24 @@ def method_missing(method, *args) end class ModelClasses - def check_name_availability_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + def operation_display + Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay + end + def operation_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult + end + def error_response + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse end def sbqueue_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueueListResult end - def resource - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource - end def premium_messaging_regions_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsListResult end + def tracked_resource + Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource + end def sbsku Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku end @@ -134,72 +140,27 @@ def sbnamespace_list_result def premium_messaging_regions_properties Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties end - def capture_description - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription - end def sbsubscription_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult end def authorization_rule_properties Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties end - def check_name_availability - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability - end - def regenerate_access_key_parameters - Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - end def rule_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult end - def destination - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination - end - def operation_display - Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay - end - def arm_disaster_recovery_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult - end - def operation - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation - end def sbauthorization_rule_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult end - def operation_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult - end def message_count_details Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails end - def error_response - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse - end - def event_hub_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult - end - def action - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action - end def sql_filter Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter end - def access_keys - Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys - end def correlation_filter Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter end - def tracked_resource - Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource - end - def resource_namespace_patch - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - end - def sbnamespace - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace - end def sbnamespace_update_parameters Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters end @@ -221,14 +182,47 @@ def rule def sql_rule_action Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction end + def check_name_availability + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability + end def premium_messaging_regions Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions end - def eventhub - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + def operation + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation end - def arm_disaster_recovery - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery + def resource_namespace_patch + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + end + def filter_type + Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType + end + def key_type + Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType + end + def sbnamespace + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + end + def check_name_availability_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + end + def resource + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource + end + def capture_description + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription + end + def destination + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination + end + def event_hub_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult + end + def access_keys + Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys + end + def arm_disaster_recovery_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult end def sku_name Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName @@ -236,24 +230,30 @@ def sku_name def sku_tier Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier end + def regenerate_access_key_parameters + Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + end + def action + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + end + def eventhub + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + end + def arm_disaster_recovery + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery + end def access_rights Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights end - def key_type - Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType - end def entity_status Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus end - def unavailable_reason - Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason - end - def filter_type - Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType - end def encoding_capture_description Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription end + def unavailable_reason + Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason + end def provisioning_state_dr Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR end diff --git a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb index f4fb87b171..0cc2847c46 100644 --- a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb @@ -7,41 +7,15 @@ module Azure::Profiles::Latest module ServiceFabric module Mgmt - Clusters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Clusters - ClusterVersions = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ClusterVersions Operations = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Operations - ApplicationType = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ApplicationType + Clusters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Clusters Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version - Application = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Application + ApplicationType = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ApplicationType Service = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Service + Application = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Application + ClusterVersions = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ClusterVersions module Models - ServicePropertiesBase = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase - ErrorModel = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ErrorModel - ServiceTypeHealthPolicyMapItem = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem - OperationListResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationListResult - ApplicationMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription - OperationResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationResult - ServiceCorrelationDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription - ServicePlacementPolicyDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription - ServiceTypeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy - ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationHealthPolicy - ClusterUpdateParameters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpdateParameters - ApplicationParameter = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter - ClusterCodeVersionsListResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsListResult - ServiceLoadMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription - ClusterCodeVersionsResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsResult - PartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription - ProxyResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource - DiagnosticsStorageAccountConfig = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::DiagnosticsStorageAccountConfig - RollingUpgradeMonitoringPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy - Resource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Resource - ClusterUpgradePolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradePolicy - AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay - ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy - AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory - ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy - CertificateDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::CertificateDescription ApplicationTypeResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList ClientCertificateCommonName = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClientCertificateCommonName ApplicationResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList @@ -72,11 +46,37 @@ module Models StatefulServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties StatefulServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties Cluster = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Cluster + CertificateDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::CertificateDescription + OperationListResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationListResult + ProxyResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource + OperationResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationResult + Resource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Resource ProvisioningState = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProvisioningState + ServicePropertiesBase = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase + ErrorModel = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ErrorModel + ServiceTypeHealthPolicyMapItem = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem + ApplicationMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription + ServiceCorrelationDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription + ServicePlacementPolicyDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription + ServiceTypeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy + ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationHealthPolicy + ClusterUpdateParameters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpdateParameters + ApplicationParameter = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter + ClusterCodeVersionsListResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsListResult + ServiceLoadMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription + ClusterCodeVersionsResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsResult + PartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription + DiagnosticsStorageAccountConfig = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::DiagnosticsStorageAccountConfig + RollingUpgradeMonitoringPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy + ClusterUpgradePolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradePolicy + AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay + ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy + AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory + ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy end class ServiceFabricManagementClass - attr_reader :clusters, :cluster_versions, :operations, :application_type, :version, :application, :service, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :clusters, :version, :application_type, :service, :application, :cluster_versions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -86,13 +86,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @clusters = @client_0.clusters - @cluster_versions = @client_0.cluster_versions @operations = @client_0.operations - @application_type = @client_0.application_type + @clusters = @client_0.clusters @version = @client_0.version - @application = @client_0.application + @application_type = @client_0.application_type @service = @client_0.service + @application = @client_0.application + @cluster_versions = @client_0.cluster_versions @model_classes = ModelClasses.new end @@ -111,84 +111,6 @@ def method_missing(method, *args) end class ModelClasses - def service_properties_base - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase - end - def error_model - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ErrorModel - end - def service_type_health_policy_map_item - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem - end - def operation_list_result - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationListResult - end - def application_metric_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription - end - def operation_result - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationResult - end - def service_correlation_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription - end - def service_placement_policy_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription - end - def service_type_delta_health_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy - end - def application_health_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationHealthPolicy - end - def cluster_update_parameters - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpdateParameters - end - def application_parameter - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter - end - def cluster_code_versions_list_result - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsListResult - end - def service_load_metric_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription - end - def cluster_code_versions_result - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsResult - end - def partition_scheme_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription - end - def proxy_resource - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource - end - def diagnostics_storage_account_config - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::DiagnosticsStorageAccountConfig - end - def rolling_upgrade_monitoring_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy - end - def resource - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Resource - end - def cluster_upgrade_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradePolicy - end - def available_operation_display - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay - end - def cluster_health_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy - end - def azure_active_directory - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory - end - def service_type_health_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy - end - def certificate_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::CertificateDescription - end def application_type_resource_list Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList end @@ -279,9 +201,87 @@ def stateful_service_update_properties def cluster Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Cluster end + def certificate_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::CertificateDescription + end + def operation_list_result + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationListResult + end + def proxy_resource + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource + end + def operation_result + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationResult + end + def resource + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Resource + end def provisioning_state Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProvisioningState end + def service_properties_base + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase + end + def error_model + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ErrorModel + end + def service_type_health_policy_map_item + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem + end + def application_metric_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription + end + def service_correlation_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription + end + def service_placement_policy_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription + end + def service_type_delta_health_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy + end + def application_health_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationHealthPolicy + end + def cluster_update_parameters + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpdateParameters + end + def application_parameter + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter + end + def cluster_code_versions_list_result + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsListResult + end + def service_load_metric_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription + end + def cluster_code_versions_result + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsResult + end + def partition_scheme_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription + end + def diagnostics_storage_account_config + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::DiagnosticsStorageAccountConfig + end + def rolling_upgrade_monitoring_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy + end + def cluster_upgrade_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradePolicy + end + def available_operation_display + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay + end + def cluster_health_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy + end + def azure_active_directory + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory + end + def service_type_health_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy + 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 1537bc1ec8..3670d1ac77 100644 --- a/azure_sdk/lib/latest/modules/signalr_profile_module.rb +++ b/azure_sdk/lib/latest/modules/signalr_profile_module.rb @@ -11,27 +11,27 @@ module Mgmt SignalR = Azure::Signalr::Mgmt::V2018_03_01_preview::SignalR module Models - ResourceSku = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku + SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters + SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource + ProvisioningState = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState + SignalRSkuTier = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier OperationDisplay = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay - ServiceSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification - SignalRResourceList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList - Operation = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation + KeyType = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType OperationList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + ResourceSku = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku + RegenerateKeyParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters + Operation = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation + MetricSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification + TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource + SignalRResourceList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList SignalRUpdateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters + ServiceSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification NameAvailability = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability + SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties Resource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource OperationProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties - SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties - MetricSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification - SignalRKeys = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys NameAvailabilityParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters - RegenerateKeyParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters - TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource - SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource - SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters - SignalRSkuTier = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier - ProvisioningState = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState - KeyType = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType + SignalRKeys = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys end class SignalrManagementClass @@ -65,68 +65,68 @@ def method_missing(method, *args) end class ModelClasses - def resource_sku - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku + def signal_rcreate_parameters + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters + end + def signal_rresource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource + end + def provisioning_state + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState + end + def signal_rsku_tier + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier end def operation_display Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay end - def service_specification - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + def key_type + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType end - def signal_rresource_list - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList + def operation_list + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + end + def resource_sku + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku + end + def regenerate_key_parameters + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters end def operation Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation end - def operation_list - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + def metric_specification + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification + end + def tracked_resource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource + end + def signal_rresource_list + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList end def signal_rupdate_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters end + def service_specification + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + end def name_availability Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability end + def signal_rcreate_or_update_properties + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties + end def resource Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource end def operation_properties Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties end - def signal_rcreate_or_update_properties - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties - end - def metric_specification - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification - end - def signal_rkeys - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys - end def name_availability_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters end - def regenerate_key_parameters - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters - end - def tracked_resource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource - end - 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 signal_rsku_tier - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier - end - def provisioning_state - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState - end - def key_type - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType + def signal_rkeys + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys 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 270c7da4d9..04fd32a58c 100644 --- a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb +++ b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb @@ -8,20 +8,20 @@ module Azure::Profiles::Latest module SpellCheck module Models - SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion - ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase - SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken - Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error - SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck Identifiable = Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response Answer = Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer - ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse - ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType ErrorCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode + SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion + SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken + ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType + ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType Mode = Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode + SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck + Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response + ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase + Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error end class SpellCheckDataClass @@ -53,48 +53,48 @@ def method_missing(method, *args) end class ModelClasses - def spelling_token_suggestion - Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion - end - def response_base - Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase - end - def spelling_flagged_token - Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken - end - def error - Azure::CognitiveServices::SpellCheck::V1_0::Models::Error - end - def spell_check - Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck - end def identifiable Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::SpellCheck::V1_0::Models::Response - end def answer Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer end - def error_response - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse - end - def error_type - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType - end def error_code Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode end def error_sub_code Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode end + def spelling_token_suggestion + Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion + end + def spelling_flagged_token + Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken + end + def error_type + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType + end + def error_response + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse + end def action_type Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType end def mode Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode 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 error + Azure::CognitiveServices::SpellCheck::V1_0::Models::Error + end 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 d423ce40d6..71a735b637 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -10,7 +10,6 @@ module Mgmt BackupLongTermRetentionVaults = Azure::SQL::Mgmt::V2014_04_01::BackupLongTermRetentionVaults RecoverableDatabases = Azure::SQL::Mgmt::V2014_04_01::RecoverableDatabases RestorableDroppedDatabases = Azure::SQL::Mgmt::V2014_04_01::RestorableDroppedDatabases - Capabilities = Azure::SQL::Mgmt::V2014_04_01::Capabilities ServerConnectionPolicies = Azure::SQL::Mgmt::V2014_04_01::ServerConnectionPolicies DatabaseThreatDetectionPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseThreatDetectionPolicies DataMaskingPolicies = Azure::SQL::Mgmt::V2014_04_01::DataMaskingPolicies @@ -28,78 +27,60 @@ module Mgmt ServerAzureADAdministrators = Azure::SQL::Mgmt::V2014_04_01::ServerAzureADAdministrators ServerCommunicationLinks = Azure::SQL::Mgmt::V2014_04_01::ServerCommunicationLinks ServiceObjectives = Azure::SQL::Mgmt::V2014_04_01::ServiceObjectives - ElasticPoolActivities = Azure::SQL::Mgmt::V2014_04_01::ElasticPoolActivities ElasticPoolDatabaseActivities = Azure::SQL::Mgmt::V2014_04_01::ElasticPoolDatabaseActivities - ServiceTierAdvisors = Azure::SQL::Mgmt::V2014_04_01::ServiceTierAdvisors + ElasticPoolActivities = Azure::SQL::Mgmt::V2014_04_01::ElasticPoolActivities TransparentDataEncryptions = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptions - TransparentDataEncryptionActivities = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptionActivities + ServiceTierAdvisors = Azure::SQL::Mgmt::V2014_04_01::ServiceTierAdvisors ServerTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::ServerTableAuditingPolicies - DatabaseTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseTableAuditingPolicies + TransparentDataEncryptionActivities = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptionActivities DatabaseConnectionPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseConnectionPolicies - ServerUsages = Azure::SQL::Mgmt::V2014_04_01::ServerUsages + DatabaseTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseTableAuditingPolicies DatabaseUsages = Azure::SQL::Mgmt::V2014_04_01::DatabaseUsages - DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors + ServerUsages = Azure::SQL::Mgmt::V2014_04_01::ServerUsages + Capabilities = Azure::SQL::Mgmt::V2014_04_01::Capabilities + Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers + Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations DatabaseRecommendedActions = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseRecommendedActions - ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors - DatabaseAutomaticTuningOperations = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAutomaticTuningOperations + DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors EncryptionProtectors = Azure::SQL::Mgmt::V2015_05_01_preview::EncryptionProtectors FailoverGroups = Azure::SQL::Mgmt::V2015_05_01_preview::FailoverGroups - FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules ManagedInstances = Azure::SQL::Mgmt::V2015_05_01_preview::ManagedInstances - Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations + ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors ServerKeys = Azure::SQL::Mgmt::V2015_05_01_preview::ServerKeys - Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers - SyncAgents = Azure::SQL::Mgmt::V2015_05_01_preview::SyncAgents + DatabaseAutomaticTuningOperations = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAutomaticTuningOperations SyncGroups = Azure::SQL::Mgmt::V2015_05_01_preview::SyncGroups - SyncMembers = Azure::SQL::Mgmt::V2015_05_01_preview::SyncMembers + SyncAgents = Azure::SQL::Mgmt::V2015_05_01_preview::SyncAgents SubscriptionUsages = Azure::SQL::Mgmt::V2015_05_01_preview::SubscriptionUsages + SyncMembers = Azure::SQL::Mgmt::V2015_05_01_preview::SyncMembers VirtualNetworkRules = Azure::SQL::Mgmt::V2015_05_01_preview::VirtualNetworkRules + FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules + DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies + Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs + BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies + Databases = Azure::SQL::Mgmt::V2017_03_01_preview::Databases ExtendedDatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedDatabaseBlobAuditingPolicies ExtendedServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedServerBlobAuditingPolicies ServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerBlobAuditingPolicies - DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies DatabaseOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseOperations - Databases = Azure::SQL::Mgmt::V2017_03_01_preview::Databases DatabaseVulnerabilityAssessmentRuleBaselines = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessmentRuleBaselines DatabaseVulnerabilityAssessments = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessments DataWarehouseUserActivitiesOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DataWarehouseUserActivitiesOperations JobAgents = Azure::SQL::Mgmt::V2017_03_01_preview::JobAgents JobCredentials = Azure::SQL::Mgmt::V2017_03_01_preview::JobCredentials + RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints JobExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobExecutions - Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs JobStepExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobStepExecutions JobSteps = Azure::SQL::Mgmt::V2017_03_01_preview::JobSteps - JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions 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 - BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies ManagedDatabases = Azure::SQL::Mgmt::V2017_03_01_preview::ManagedDatabases - RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations + JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies module Models - MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue - ServiceObjectiveListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult - DataMaskingRuleListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult - QueryText = Azure::SQL::Mgmt::V2014_04_01::Models::QueryText - DatabaseUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult - TransparentDataEncryptionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult - DatabaseUsage = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage - ExtensionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult - ServerUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult - ServerCommunicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult - ServerUsage = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage - DisasterRecoveryConfigurationListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult - MaxSizeCapability = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability - ServerAdministratorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult - EditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability - ElasticPoolPerDatabaseMaxDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability - ElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult - ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability - ReplicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult LocationCapabilities = Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities CheckNameAvailabilityResponse = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityResponse RecommendedElasticPoolListMetricsResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListMetricsResult @@ -115,7 +96,6 @@ module Models ExportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ExportRequest QueryTextListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult BackupLongTermRetentionVaultListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult - MetricName = Azure::SQL::Mgmt::V2014_04_01::Models::MetricName RestorableDroppedDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult Metric = Azure::SQL::Mgmt::V2014_04_01::Models::Metric ElasticPoolPerDatabaseMinDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability @@ -137,79 +117,96 @@ module Models 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 - TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult - AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult QueryStatisticListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult + TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult BackupLongTermRetentionVault = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault RecoverableDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase - RestorableDroppedDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase + AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult ServerConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy - ServiceTierAdvisor = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor TransparentDataEncryption = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption RecommendedIndex = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex - DatabaseSecurityAlertPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy + RestorableDroppedDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase DataMaskingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy - DataMaskingRule = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule - DisasterRecoveryConfiguration = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration - ElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPool + DatabaseSecurityAlertPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy + ServiceTierAdvisor = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor ElasticPoolUpdate = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolUpdate - GeoBackupPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy + ElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPool + DataMaskingRule = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule ImportExportResponse = Azure::SQL::Mgmt::V2014_04_01::Models::ImportExportResponse ImportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest + GeoBackupPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy + DisasterRecoveryConfiguration = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration RecommendedElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool ReplicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink ServerAzureADAdministrator = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator ServerCommunicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink - ServiceObjective = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective ElasticPoolActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + ServiceObjective = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective + DatabaseConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy ElasticPoolDatabaseActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity TransparentDataEncryptionActivity = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity - DatabaseConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy DatabaseTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy ServerTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy - BackupLongTermRetentionPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState CapabilityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::CapabilityStatus + BackupLongTermRetentionPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState + CheckNameAvailabilityReason = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason MaxSizeUnits = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits PerformanceLevelUnit = Azure::SQL::Mgmt::V2014_04_01::Models::PerformanceLevelUnit - CheckNameAvailabilityReason = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason - ServerConnectionType = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType - DatabaseEdition = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition ServiceObjectiveName = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName + ServerConnectionType = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType TransparentDataEncryptionStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus RecommendedIndexAction = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexAction - RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState + DatabaseEdition = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition RecommendedIndexType = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType ReadScale = Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale + RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault DataMaskingState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState - DataMaskingRuleState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState DataMaskingFunction = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingFunction DisasterRecoveryConfigurationStatus = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationStatus DisasterRecoveryConfigurationAutoFailover = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationAutoFailover - DisasterRecoveryConfigurationFailoverPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy + DataMaskingRuleState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState DisasterRecoveryConfigurationRole = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole ElasticPoolState = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolState ElasticPoolEdition = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition - GeoBackupPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState + DisasterRecoveryConfigurationFailoverPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy StorageKeyType = Azure::SQL::Mgmt::V2014_04_01::Models::StorageKeyType AuthenticationType = Azure::SQL::Mgmt::V2014_04_01::Models::AuthenticationType UnitType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitType - PrimaryAggregationType = Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType + GeoBackupPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState UnitDefinitionType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType QueryAggregationFunction = Azure::SQL::Mgmt::V2014_04_01::Models::QueryAggregationFunction QueryExecutionType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryExecutionType - QueryObservedMetricType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType + PrimaryAggregationType = Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType QueryMetricUnit = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit - ReplicationRole = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole ReplicationState = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState ServerVersion = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion - ServerState = Azure::SQL::Mgmt::V2014_04_01::Models::ServerState + QueryObservedMetricType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType TransparentDataEncryptionActivityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus - OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay - Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + ServerState = Azure::SQL::Mgmt::V2014_04_01::Models::ServerState + ReplicationRole = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole + MetricName = Azure::SQL::Mgmt::V2014_04_01::Models::MetricName + MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue + ServiceObjectiveListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult + DataMaskingRuleListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult + QueryText = Azure::SQL::Mgmt::V2014_04_01::Models::QueryText + DatabaseUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult + TransparentDataEncryptionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult + DatabaseUsage = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage + ExtensionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult + ServerUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult + ServerCommunicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult + ServerUsage = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage + DisasterRecoveryConfigurationListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult + MaxSizeCapability = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability + ServerAdministratorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult + EditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability + ElasticPoolPerDatabaseMaxDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability + ElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult + ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + ReplicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult RecommendedActionImplementationInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo - OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult RecommendedActionImpactRecord = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord ManagedInstanceUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceUpdate FirewallRuleList = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleList @@ -226,154 +223,157 @@ module Models RecommendedActionStateInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionStateInfo SyncGroupLogProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogProperties RecommendedActionErrorInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionErrorInfo + OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay FailoverGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult - RecommendedActionMetricInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo + OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult SyncFullSchemaPropertiesListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult - FirewallRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult - ServerKeyListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult + RecommendedActionMetricInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo VirtualNetworkRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult - SyncGroupLogListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult - ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + ServerKeyListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult PartnerInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo - ServerUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate - ResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName + SyncGroupLogListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult SubscriptionUsageListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsageListResult - SyncGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult - SyncAgentListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult + ResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName FailoverGroupReadWriteEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint SyncAgentKeyProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties - SyncFullSchemaProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties + SyncAgentListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult SyncMemberListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult + Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation FailoverGroupUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate - SyncAgentLinkedDatabaseListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult AutomaticTuningOptions = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningOptions SyncDatabaseIdProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdProperties - RecommendedAction = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction - Advisor = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor + SyncGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult DatabaseAutomaticTuning = Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning + SyncAgentLinkedDatabaseListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult + SyncFullSchemaProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties + ProxyResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName + RecommendedAction = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction + SyncAgent = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent EncryptionProtector = Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector FailoverGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup - ProxyResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName - FirewallRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + ServerUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate ManagedInstance = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance - ServerKey = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey - Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server - SyncAgent = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent - SyncAgentLinkedDatabase = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase - SyncGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup + Advisor = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor SyncMember = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember + SyncAgentLinkedDatabase = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase + Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server SubscriptionUsage = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsage - VirtualNetworkRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule - AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus + SyncGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup AutoExecuteStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus + ServerKey = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey + VirtualNetworkRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule AutoExecuteStatusInheritedFrom = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom - RecommendedActionCurrentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState + AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus RecommendedActionInitiatedBy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy ImplementationMethod = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod IsRetryable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable - 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 - ReadWriteEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy - ReadOnlyEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadOnlyEndpointFailoverPolicy + RecommendedActionCurrentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState FailoverGroupReplicationRole = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole - IdentityType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType - OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin - SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState - SyncMemberDbType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType + AutomaticTuningMode = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode + ReadOnlyEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadOnlyEndpointFailoverPolicy SyncGroupLogType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType + IdentityType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType + ServerKeyType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType + SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState SyncConflictResolutionPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy SyncGroupState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupState + SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + SyncMemberDbType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType + ReadWriteEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection - SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState - JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate - ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate - VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties - ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition - JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget - RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult - JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult - CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition - JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult - JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult - AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource - DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate - JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions - JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult - JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget - LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult - ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult - Sku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku - JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult - ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition - DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult - JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult - DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult - JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction - DatabaseVulnerabilityAssessmentRuleBaselineItem = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem - JobStepOutput = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput - ProxyResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource + FirewallRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult + FirewallRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin + ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult ExtendedDatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy ExtendedServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy ServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy - DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy DatabaseOperation = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperation - TrackedResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::TrackedResource - Database = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Database ImportExportOperationResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult DatabaseVulnerabilityAssessmentRuleBaseline = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline DatabaseVulnerabilityAssessment = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment + JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule DataWarehouseUserActivities = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities JobAgent = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent JobCredential = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential - JobExecution = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution - Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult JobStep = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep - JobTargetGroup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup + JobExecution = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution JobVersion = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion - LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup - BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + JobTargetGroup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup ManagedDatabase = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase - RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint - ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias - ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy - BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState + ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning ManagementOperationState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState - CreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode - SampleName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName - DatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus + ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy CatalogCollationType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CatalogCollationType - JobAgentState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState + DatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus JobExecutionLifecycle = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle - ProvisioningState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState - JobTargetType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType + DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult JobScheduleType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType + JobTargetType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType + JobAgentState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState JobStepActionType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType JobStepActionSource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource JobStepOutputType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType JobTargetGroupMembershipType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType - ManagedDatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + CreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode ManagedDatabaseCreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode - RestorePointType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType AutomaticTuningServerMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode + ManagedDatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + ProxyResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource + Database = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Database + DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate + TrackedResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::TrackedResource + DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint + Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + Sku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku + 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 - AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + SampleName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName SecurityAlertPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState - LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState - VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + RestorePointType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType + JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + ProvisioningState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState + JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult + AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions + JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult + ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition + RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction + DatabaseVulnerabilityAssessmentRuleBaselineItem = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + JobStepOutput = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput end class SQLManagementClass - attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :server_security_alert_policies, :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, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :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, :capabilities, :servers, :operations, :database_recommended_actions, :database_advisors, :encryption_protectors, :failover_groups, :managed_instances, :server_advisors, :server_keys, :database_automatic_tuning_operations, :sync_groups, :sync_agents, :subscription_usages, :sync_members, :virtual_network_rules, :firewall_rules, :database_blob_auditing_policies, :jobs, :backup_long_term_retention_policies, :databases, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_operations, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :restore_points, :job_executions, :job_step_executions, :job_steps, :job_target_groups, :job_versions, :long_term_retention_backups, :managed_databases, :server_automatic_tuning_operations, :job_target_executions, :server_dns_aliases, :server_security_alert_policies, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -386,7 +386,6 @@ def initialize(configurable, base_url=nil, options=nil) @backup_long_term_retention_vaults = @client_0.backup_long_term_retention_vaults @recoverable_databases = @client_0.recoverable_databases @restorable_dropped_databases = @client_0.restorable_dropped_databases - @capabilities = @client_0.capabilities @server_connection_policies = @client_0.server_connection_policies @database_threat_detection_policies = @client_0.database_threat_detection_policies @data_masking_policies = @client_0.data_masking_policies @@ -404,67 +403,68 @@ def initialize(configurable, base_url=nil, options=nil) @server_azure_adadministrators = @client_0.server_azure_adadministrators @server_communication_links = @client_0.server_communication_links @service_objectives = @client_0.service_objectives - @elastic_pool_activities = @client_0.elastic_pool_activities @elastic_pool_database_activities = @client_0.elastic_pool_database_activities - @service_tier_advisors = @client_0.service_tier_advisors + @elastic_pool_activities = @client_0.elastic_pool_activities @transparent_data_encryptions = @client_0.transparent_data_encryptions - @transparent_data_encryption_activities = @client_0.transparent_data_encryption_activities + @service_tier_advisors = @client_0.service_tier_advisors @server_table_auditing_policies = @client_0.server_table_auditing_policies - @database_table_auditing_policies = @client_0.database_table_auditing_policies + @transparent_data_encryption_activities = @client_0.transparent_data_encryption_activities @database_connection_policies = @client_0.database_connection_policies - @server_usages = @client_0.server_usages + @database_table_auditing_policies = @client_0.database_table_auditing_policies @database_usages = @client_0.database_usages + @server_usages = @client_0.server_usages + @capabilities = @client_0.capabilities @client_1 = Azure::SQL::Mgmt::V2015_05_01_preview::SqlManagementClient.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) - @database_advisors = @client_1.database_advisors + @servers = @client_1.servers + @operations = @client_1.operations @database_recommended_actions = @client_1.database_recommended_actions - @server_advisors = @client_1.server_advisors - @database_automatic_tuning_operations = @client_1.database_automatic_tuning_operations + @database_advisors = @client_1.database_advisors @encryption_protectors = @client_1.encryption_protectors @failover_groups = @client_1.failover_groups - @firewall_rules = @client_1.firewall_rules @managed_instances = @client_1.managed_instances - @operations = @client_1.operations + @server_advisors = @client_1.server_advisors @server_keys = @client_1.server_keys - @servers = @client_1.servers - @sync_agents = @client_1.sync_agents + @database_automatic_tuning_operations = @client_1.database_automatic_tuning_operations @sync_groups = @client_1.sync_groups - @sync_members = @client_1.sync_members + @sync_agents = @client_1.sync_agents @subscription_usages = @client_1.subscription_usages + @sync_members = @client_1.sync_members @virtual_network_rules = @client_1.virtual_network_rules + @firewall_rules = @client_1.firewall_rules @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) + @database_blob_auditing_policies = @client_2.database_blob_auditing_policies + @jobs = @client_2.jobs + @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies + @databases = @client_2.databases @extended_database_blob_auditing_policies = @client_2.extended_database_blob_auditing_policies @extended_server_blob_auditing_policies = @client_2.extended_server_blob_auditing_policies @server_blob_auditing_policies = @client_2.server_blob_auditing_policies - @database_blob_auditing_policies = @client_2.database_blob_auditing_policies @database_operations = @client_2.database_operations - @databases = @client_2.databases @database_vulnerability_assessment_rule_baselines = @client_2.database_vulnerability_assessment_rule_baselines @database_vulnerability_assessments = @client_2.database_vulnerability_assessments @data_warehouse_user_activities_operations = @client_2.data_warehouse_user_activities_operations @job_agents = @client_2.job_agents @job_credentials = @client_2.job_credentials + @restore_points = @client_2.restore_points @job_executions = @client_2.job_executions - @jobs = @client_2.jobs @job_step_executions = @client_2.job_step_executions @job_steps = @client_2.job_steps - @job_target_executions = @client_2.job_target_executions @job_target_groups = @client_2.job_target_groups @job_versions = @client_2.job_versions @long_term_retention_backups = @client_2.long_term_retention_backups - @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies @managed_databases = @client_2.managed_databases - @restore_points = @client_2.restore_points @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations + @job_target_executions = @client_2.job_target_executions @server_dns_aliases = @client_2.server_dns_aliases @server_security_alert_policies = @client_2.server_security_alert_policies @@ -489,63 +489,6 @@ def method_missing(method, *args) end class ModelClasses - def metric_value - Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue - end - def service_objective_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult - end - def data_masking_rule_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult - end - def query_text - Azure::SQL::Mgmt::V2014_04_01::Models::QueryText - end - def database_usage_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult - end - def transparent_data_encryption_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult - end - def database_usage - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage - end - def extension_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult - end - def server_usage_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult - end - def server_communication_link_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult - end - def server_usage - Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage - end - def disaster_recovery_configuration_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult - end - def max_size_capability - Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability - end - def server_administrator_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult - end - def edition_capability - Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability - end - def elastic_pool_per_database_max_dtu_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability - end - def elastic_pool_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult - end - def elastic_pool_edition_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability - end - def replication_link_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult - end def location_capabilities Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities end @@ -591,9 +534,6 @@ def query_text_list_result def backup_long_term_retention_vault_list_result Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult end - def metric_name - Azure::SQL::Mgmt::V2014_04_01::Models::MetricName - end def restorable_dropped_database_list_result Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult end @@ -657,56 +597,50 @@ def top_queries def elastic_pool_dtu_capability Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability end - def top_queries_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult - end - def advisor_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult - end def query_statistic_list_result Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult end + def top_queries_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult + end def backup_long_term_retention_vault Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault end def recoverable_database Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase end - def restorable_dropped_database - Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase + def advisor_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult end def server_connection_policy Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy end - def service_tier_advisor - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor - end def transparent_data_encryption Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption end def recommended_index Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex end - def database_security_alert_policy - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy + def restorable_dropped_database + Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase end def data_masking_policy Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy end - def data_masking_rule - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule - end - def disaster_recovery_configuration - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration + def database_security_alert_policy + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy end - def elastic_pool - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPool + def service_tier_advisor + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor end def elastic_pool_update Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolUpdate end - def geo_backup_policy - Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy + def elastic_pool + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPool + end + def data_masking_rule + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule end def import_export_response Azure::SQL::Mgmt::V2014_04_01::Models::ImportExportResponse @@ -714,6 +648,12 @@ def import_export_response def import_request Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest end + def geo_backup_policy + Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy + end + def disaster_recovery_configuration + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration + end def recommended_elastic_pool Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool end @@ -726,11 +666,14 @@ def server_azure_adadministrator def server_communication_link Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink end + def elastic_pool_activity + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + end def service_objective Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective end - def elastic_pool_activity - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + def database_connection_policy + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy end def elastic_pool_database_activity Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity @@ -738,20 +681,20 @@ def elastic_pool_database_activity def transparent_data_encryption_activity Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity end - def database_connection_policy - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy - 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 capability_status + Azure::SQL::Mgmt::V2014_04_01::Models::CapabilityStatus + end def backup_long_term_retention_policy_state Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState end - def capability_status - Azure::SQL::Mgmt::V2014_04_01::Models::CapabilityStatus + def check_name_availability_reason + Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason end def max_size_units Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits @@ -759,26 +702,20 @@ def max_size_units def performance_level_unit Azure::SQL::Mgmt::V2014_04_01::Models::PerformanceLevelUnit end - def check_name_availability_reason - Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason + def service_objective_name + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName end def server_connection_type Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType end - def database_edition - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition - end - def service_objective_name - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName - end def transparent_data_encryption_status Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus end def recommended_index_action Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexAction end - def recommended_index_state - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState + def database_edition + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition end def recommended_index_type Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType @@ -786,6 +723,9 @@ def recommended_index_type def read_scale Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale end + def recommended_index_state + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState + end def security_alert_policy_email_account_admins Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins end @@ -795,9 +735,6 @@ def security_alert_policy_use_server_default def data_masking_state Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState end - def data_masking_rule_state - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState - end def data_masking_function Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingFunction end @@ -807,8 +744,8 @@ def disaster_recovery_configuration_status def disaster_recovery_configuration_auto_failover Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationAutoFailover end - def disaster_recovery_configuration_failover_policy - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy + def data_masking_rule_state + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState end def disaster_recovery_configuration_role Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole @@ -819,8 +756,8 @@ def elastic_pool_state def elastic_pool_edition Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition end - def geo_backup_policy_state - Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState + def disaster_recovery_configuration_failover_policy + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy end def storage_key_type Azure::SQL::Mgmt::V2014_04_01::Models::StorageKeyType @@ -831,8 +768,8 @@ def authentication_type def unit_type Azure::SQL::Mgmt::V2014_04_01::Models::UnitType end - def primary_aggregation_type - Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType + def geo_backup_policy_state + Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState end def unit_definition_type Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType @@ -843,39 +780,93 @@ def query_aggregation_function def query_execution_type Azure::SQL::Mgmt::V2014_04_01::Models::QueryExecutionType end - def query_observed_metric_type - Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType + def primary_aggregation_type + Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType end def query_metric_unit Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit end - def replication_role - Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole - end def replication_state Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState end def server_version Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion end - def server_state - Azure::SQL::Mgmt::V2014_04_01::Models::ServerState + def query_observed_metric_type + Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType end def transparent_data_encryption_activity_status Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus end - def operation_display - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + def server_state + Azure::SQL::Mgmt::V2014_04_01::Models::ServerState end - def operation - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + def replication_role + Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole + end + def metric_name + Azure::SQL::Mgmt::V2014_04_01::Models::MetricName + end + def metric_value + Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue + end + def service_objective_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult + end + def data_masking_rule_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult + end + def query_text + Azure::SQL::Mgmt::V2014_04_01::Models::QueryText + end + def database_usage_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult + end + def transparent_data_encryption_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult + end + def database_usage + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage + end + def extension_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult + end + def server_usage_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult + end + def server_communication_link_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult + end + def server_usage + Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage + end + def disaster_recovery_configuration_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult + end + def max_size_capability + Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability + end + def server_administrator_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult + end + def edition_capability + Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability + end + def elastic_pool_per_database_max_dtu_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability + end + def elastic_pool_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult + end + def elastic_pool_edition_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + end + def replication_link_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult end def recommended_action_implementation_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo end - def operation_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult - end def recommended_action_impact_record Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord end @@ -924,47 +915,38 @@ def sync_group_log_properties def recommended_action_error_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionErrorInfo end + def operation_display + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + end def failover_group_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult end - def recommended_action_metric_info - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo + def operation_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult end def sync_full_schema_properties_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult end - def firewall_rule_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult - end - def server_key_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult + def recommended_action_metric_info + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo end def virtual_network_rule_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult end - def sync_group_log_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult - end - def server_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + def server_key_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult end def partner_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo end - def server_update - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate - end - def resource_with_writable_name - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName + def sync_group_log_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult end def subscription_usage_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsageListResult end - def sync_group_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult - end - def sync_agent_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult + def resource_with_writable_name + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName end def failover_group_read_write_endpoint Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint @@ -972,83 +954,89 @@ def failover_group_read_write_endpoint def sync_agent_key_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties end - def sync_full_schema_properties - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties + def sync_agent_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult end def sync_member_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult end + def operation + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + end def failover_group_update Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate end - def sync_agent_linked_database_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult - end def automatic_tuning_options Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningOptions end def sync_database_id_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdProperties end - def recommended_action - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction - end - def advisor - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor + def sync_group_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult end def database_automatic_tuning Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning end + def sync_agent_linked_database_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult + end + def sync_full_schema_properties + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties + end + def proxy_resource_with_writable_name + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName + end + def recommended_action + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction + end + def sync_agent + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent + end def encryption_protector Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector end def failover_group Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup end - def proxy_resource_with_writable_name - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName - end - def firewall_rule - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + def server_update + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate end def managed_instance Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance end - def server_key - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey - end - def server - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server + def advisor + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor end - def sync_agent - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent + def sync_member + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember end def sync_agent_linked_database Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase end - def sync_group - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup - end - def sync_member - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember + def server + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server end def subscription_usage Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsage end - def virtual_network_rule - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule - end - def advisor_status - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus + def sync_group + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup end def auto_execute_status Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus end + def server_key + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey + end + def virtual_network_rule + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule + end def auto_execute_status_inherited_from Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom end - def recommended_action_current_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState + def advisor_status + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus end def recommended_action_initiated_by Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy @@ -1059,38 +1047,32 @@ def implementation_method def is_retryable Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable end - def automatic_tuning_mode - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode - end def automatic_tuning_disabled_reason Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason end - def server_key_type - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType + def recommended_action_current_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState end - def read_write_endpoint_failover_policy - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy + def failover_group_replication_role + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole + end + def automatic_tuning_mode + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode end def read_only_endpoint_failover_policy Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadOnlyEndpointFailoverPolicy end - def failover_group_replication_role - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole + def sync_group_log_type + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType end def identity_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType end - def operation_origin - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin - end - 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 + def server_key_type + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType end - def sync_group_log_type - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType + def sync_member_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState end def sync_conflict_resolution_policy Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy @@ -1098,134 +1080,44 @@ def sync_conflict_resolution_policy def sync_group_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupState end + 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 read_write_endpoint_failover_policy + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy + end def sync_direction Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection 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 job_agent_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + def firewall_rule_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult end - def managed_database_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + def firewall_rule + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule end - def vulnerability_assessment_recurring_scans_properties - Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + def operation_origin + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin end - def resource_move_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + def server_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult end - def job_target - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + def extended_database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy end - def restore_point_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + def extended_server_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy end - def job_step_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + def server_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy end - def create_database_restore_point_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - end - def server_dns_alias_acquisition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition - end - def job_version_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult - end - def job_agent_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult - end - def automatic_tuning_server_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - end - def resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource - end - def database_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate - end - def job_step_execution_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions - end - def job_target_group_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult - end - def job_credential_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - end - def server_dns_alias_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - end - def job_execution_target - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget - end - def long_term_retention_backup_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult - end - def managed_database_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult - end - def sku - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku - end - def job_execution_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult - end - def import_export_database_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - end - def job_schedule - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - end - def complete_database_restore_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition - end - def database_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult - end - def job_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult - end - def database_operation_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult - end - def job_step_action - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction - end - def database_vulnerability_assessment_rule_baseline_item - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem - end - def job_step_output - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput - end - def proxy_resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource - end - def extended_database_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy - end - def extended_server_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy - end - def server_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy - end - def database_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy - end - def database_operation - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperation - end - def tracked_resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::TrackedResource - end - def database - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Database + def database_operation + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperation end def import_export_operation_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult @@ -1236,6 +1128,9 @@ def database_vulnerability_assessment_rule_baseline def database_vulnerability_assessment Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment end + def job_schedule + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + end def data_warehouse_user_activities Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities end @@ -1245,74 +1140,59 @@ def job_agent def job_credential Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential end - def job_execution - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution - end - def job - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + def database_operation_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult end def job_step Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep end - def job_target_group - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup + def job_execution + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution end def job_version Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion end - def long_term_retention_backup - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup - end - def backup_long_term_retention_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + def job_target_group + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup end def managed_database Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase end - def restore_point - Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint - end - def server_automatic_tuning - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + def long_term_retention_backup + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup end def server_dns_alias Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias end - def server_security_alert_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy - end - def blob_auditing_policy_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState + def server_automatic_tuning + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning end def management_operation_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState end - def create_mode - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode - end - def sample_name - Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName - end - def database_status - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus + def server_security_alert_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy end def catalog_collation_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::CatalogCollationType end - def job_agent_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState + def database_status + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus end def job_execution_lifecycle Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle end - def provisioning_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState + def database_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult + end + def job_schedule_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType end def job_target_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType end - def job_schedule_type - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType + def job_agent_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState end def job_step_action_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType @@ -1326,35 +1206,155 @@ def job_step_output_type def job_target_group_membership_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType end - def managed_database_status - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + def create_mode + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode end def managed_database_create_mode Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode end - def restore_point_type - Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType - end def automatic_tuning_server_mode Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode end + def managed_database_status + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + end + def long_term_retention_database_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + end + def vulnerability_assessment_policy_baseline_name + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + end + def automatic_tuning_server_reason + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + end + def backup_long_term_retention_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + end + def proxy_resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource + end + def database + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Database + end + def database_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate + end + def tracked_resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::TrackedResource + end + def database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + end + def restore_point + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint + end + def job + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + end + def sku + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku + end + def blob_auditing_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState + end def automatic_tuning_option_mode_desired Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired end def automatic_tuning_option_mode_actual Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual end - def automatic_tuning_server_reason - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + def resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + end + def sample_name + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName end def security_alert_policy_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState end - def long_term_retention_database_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + def restore_point_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType end - def vulnerability_assessment_policy_baseline_name - Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + def job_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + end + def provisioning_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState + end + def job_agent_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + end + def managed_database_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + end + def vulnerability_assessment_recurring_scans_properties + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + end + def resource_move_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + end + def job_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + end + def job_step_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + end + def create_database_restore_point_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + end + def server_dns_alias_acquisition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + end + def job_version_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + end + def job_agent_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult + end + def automatic_tuning_server_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions + end + def job_step_execution_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + end + def job_target_group_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + end + def job_credential_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + end + def server_dns_alias_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + end + def job_execution_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + end + def long_term_retention_backup_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + end + def managed_database_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + end + def job_execution_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult + end + def import_export_database_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition + end + def restore_point_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + end + def complete_database_restore_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + end + def job_step_action + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction + end + def database_vulnerability_assessment_rule_baseline_item + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + end + def job_step_output + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput end end end diff --git a/azure_sdk/lib/latest/modules/storage_profile_module.rb b/azure_sdk/lib/latest/modules/storage_profile_module.rb index fbc28071f2..8059b055b6 100644 --- a/azure_sdk/lib/latest/modules/storage_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storage_profile_module.rb @@ -9,92 +9,92 @@ module Storage module Mgmt Operations = Azure::Storage::Mgmt::V2018_03_01_preview::Operations Skus = Azure::Storage::Mgmt::V2018_03_01_preview::Skus - StorageAccounts = Azure::Storage::Mgmt::V2018_03_01_preview::StorageAccounts - Usages = Azure::Storage::Mgmt::V2018_03_01_preview::Usages BlobContainers = Azure::Storage::Mgmt::V2018_03_01_preview::BlobContainers + Usages = Azure::Storage::Mgmt::V2018_03_01_preview::Usages + StorageAccounts = Azure::Storage::Mgmt::V2018_03_01_preview::StorageAccounts module Models + SignedResourceTypes = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes + HttpProtocol = Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol + SignedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource + PublicAccess = Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess + LeaseStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus + KeyPermission = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission + LeaseState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState + LeaseDuration = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration + ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState + ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType + Permissions = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions + ServiceSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + State = Azure::Storage::Mgmt::V2018_03_01_preview::Models::State + OperationDisplay = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay + Reason = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason + OperationListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult + ProxyResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource + Services = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services + Operation = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation + Identity = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity + TrackedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource + VirtualNetworkRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule + StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters + StorageAccountKey = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey + Sku = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku StorageAccountListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult + EncryptionService = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult - Dimension = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension + Encryption = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters - ServiceSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + Endpoints = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters - OperationListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult + CustomDomain = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain + Dimension = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension UsageName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName - SKUCapability = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability Usage = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage - Sku = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku + EncryptionServices = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices UsageListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult + Resource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource + MetricSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification + StorageAccount = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount + SkuName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName + SkuTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier + StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters + Kind = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind + AccessTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier + AccountStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus + ProvisioningState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState + UsageUnit = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit + Action = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action + SKUCapability = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability AccountSasParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountSasParameters - EncryptionService = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService ListAccountSasResponse = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListAccountSasResponse KeyVaultProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyVaultProperties ServiceSasParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSasParameters - VirtualNetworkRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule ListServiceSasResponse = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListServiceSasResponse NetworkRuleSet = Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet - EncryptionServices = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices - Encryption = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption - Endpoints = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints IPRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule - StorageAccountKey = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey - Identity = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity - MetricSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification - StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters ManagementPoliciesRulesSetParameter = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter StorageSkuListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageSkuListResult ListContainerItems = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItems - StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters LegalHold = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHold - OperationDisplay = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay LegalHoldProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHoldProperties Restriction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction - Resource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource TagProperty = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TagProperty - Operation = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation UpdateHistoryProperty = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UpdateHistoryProperty - CustomDomain = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyProperties - StorageAccount = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount StorageAccountManagementPolicies = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies - ProxyResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource - TrackedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource AzureEntityResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AzureEntityResource BlobContainer = Azure::Storage::Mgmt::V2018_03_01_preview::Models::BlobContainer ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicy ListContainerItem = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItem ReasonCode = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode - SkuName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName - SkuTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier - Kind = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind - Reason = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason KeySource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource - Action = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action - State = Azure::Storage::Mgmt::V2018_03_01_preview::Models::State Bypass = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass DefaultAction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction - AccessTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier - ProvisioningState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState - AccountStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus - KeyPermission = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission - UsageUnit = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit - Services = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services - SignedResourceTypes = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes - Permissions = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions - HttpProtocol = Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol - SignedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource - PublicAccess = Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess - LeaseStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus - LeaseState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState - LeaseDuration = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration - ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState - ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType end class StorageManagementClass - attr_reader :operations, :skus, :storage_accounts, :usages, :blob_containers, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :skus, :blob_containers, :usages, :storage_accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -106,9 +106,9 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @operations = @client_0.operations @skus = @client_0.skus - @storage_accounts = @client_0.storage_accounts - @usages = @client_0.usages @blob_containers = @client_0.blob_containers + @usages = @client_0.usages + @storage_accounts = @client_0.storage_accounts @model_classes = ModelClasses.new end @@ -127,38 +127,116 @@ def method_missing(method, *args) end class ModelClasses + def signed_resource_types + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes + end + def http_protocol + Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol + end + def signed_resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource + end + def public_access + Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess + end + def lease_status + Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus + end + def key_permission + Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission + end + def lease_state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState + end + def lease_duration + Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration + end + def immutability_policy_state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState + end + def immutability_policy_update_type + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType + end + def permissions + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions + end + def service_specification + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + end + def state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::State + end + def operation_display + Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay + end + def reason + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason + end + def operation_list_result + Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult + end + def proxy_resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource + end + def services + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services + end + def operation + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation + end + def identity + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity + end + def tracked_resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource + end + def virtual_network_rule + Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule + end + def storage_account_check_name_availability_parameters + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters + end + def storage_account_key + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey + end + def sku + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku + end def storage_account_list_result Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult end + def encryption_service + Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService + end def storage_account_list_keys_result Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult end - def dimension - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension + def encryption + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption end def storage_account_regenerate_key_parameters Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters end - def service_specification - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + def endpoints + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints end def storage_account_update_parameters Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters end - def operation_list_result - Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult + def custom_domain + Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain + end + def dimension + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension end def usage_name Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName end - def skucapability - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability - end def usage Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage end - def sku - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku + def encryption_services + Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices end def usage_list_result Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult @@ -166,12 +244,48 @@ def usage_list_result def check_name_availability_result Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult end + def resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource + end + def metric_specification + Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification + end + def storage_account + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount + end + def sku_name + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName + end + def sku_tier + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier + end + def storage_account_create_parameters + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters + end + def kind + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind + end + def access_tier + Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier + end + def account_status + Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus + end + def provisioning_state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState + end + def usage_unit + Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit + end + def action + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action + end + def skucapability + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability + end def account_sas_parameters Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountSasParameters end - def encryption_service - Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService - end def list_account_sas_response Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListAccountSasResponse end @@ -181,39 +295,15 @@ def key_vault_properties def service_sas_parameters Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSasParameters end - def virtual_network_rule - Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule - end def list_service_sas_response Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListServiceSasResponse end def network_rule_set Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet end - def encryption_services - Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices - end - def encryption - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption - end - def endpoints - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints - end def iprule Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule end - def storage_account_key - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey - end - def identity - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity - end - def metric_specification - Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification - end - def storage_account_check_name_availability_parameters - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters - end def management_policies_rules_set_parameter Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter end @@ -223,51 +313,27 @@ def storage_sku_list_result def list_container_items Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItems end - def storage_account_create_parameters - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters - end def legal_hold Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHold end - def operation_display - Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay - end def legal_hold_properties Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHoldProperties end def restriction Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction end - def resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource - end def tag_property Azure::Storage::Mgmt::V2018_03_01_preview::Models::TagProperty end - def operation - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation - end def update_history_property Azure::Storage::Mgmt::V2018_03_01_preview::Models::UpdateHistoryProperty end - def custom_domain - Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain - end def immutability_policy_properties Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyProperties end - def storage_account - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount - end def storage_account_management_policies Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies end - def proxy_resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource - end - def tracked_resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource - end def azure_entity_resource Azure::Storage::Mgmt::V2018_03_01_preview::Models::AzureEntityResource end @@ -283,81 +349,15 @@ def list_container_item def reason_code Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode end - def sku_name - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName - end - def sku_tier - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier - end - def kind - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind - end - def reason - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason - end def key_source Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource end - def action - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action - end - def state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::State - end def bypass Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass end def default_action Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction end - def access_tier - Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier - end - def provisioning_state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState - end - def account_status - Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus - end - def key_permission - Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission - end - def usage_unit - Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit - end - def services - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services - end - def signed_resource_types - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes - end - def permissions - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions - end - def http_protocol - Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol - end - def signed_resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource - end - def public_access - Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess - end - def lease_status - Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus - end - def lease_state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState - end - def lease_duration - Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration - end - def immutability_policy_state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState - end - def immutability_policy_update_type - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType - 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 4eea5339b1..107fb87a73 100644 --- a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb @@ -7,24 +7,91 @@ module Azure::Profiles::Latest module StorSimple8000Series module Mgmt + HardwareComponentGroups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::HardwareComponentGroups Operations = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Operations + Volumes = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Volumes + VolumeContainers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::VolumeContainers + Backups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Backups + StorageAccountCredentials = Azure::StorSimple8000Series::Mgmt::V2017_06_01::StorageAccountCredentials + Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs + Devices = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Devices + BackupPolicies = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupPolicies 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 CloudAppliances = Azure::StorSimple8000Series::Mgmt::V2017_06_01::CloudAppliances - Devices = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Devices DeviceSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::DeviceSettings - BackupPolicies = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupPolicies BackupSchedules = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupSchedules - Backups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Backups - HardwareComponentGroups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::HardwareComponentGroups - Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs - VolumeContainers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::VolumeContainers - Volumes = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Volumes - StorageAccountCredentials = Azure::StorSimple8000Series::Mgmt::V2017_06_01::StorageAccountCredentials module Models + BackupSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule + ControllerPowerStateChangeRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest + HardwareComponentGroup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup + ConfigureDeviceRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest + ManagerExtendedInfo = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo + NetworkSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings + Manager = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager + StorageAccountCredential = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential + TimeSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings + SecuritySettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings + VolumeContainer = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer + AlertScope = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope + Updates = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates + AlertSeverity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity + AlertStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus + AlertSourceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType + BackupJobCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType + VolumeType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType + AlertEmailNotificationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus + BackupPolicyCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType + EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm + ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus + MetricDefinition = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition + 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 + DayOfWeek = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek + ControllerStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus + DeviceConfigurationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus + EncryptionSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings + ControllerId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId + VirtualMachineApiType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType + AuthorizationEligibility = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility + DeviceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus + DeviceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType + EncryptionStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus + KeyRolloverStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus + AuthorizationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus + InEligibilityCategory = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory + FeatureSupportStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus + HardwareComponentStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus + TargetEligibilityStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus + TargetEligibilityResultCode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode + MetricAggregationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType + NetInterfaceId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId + ManagerType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType + MetricUnit = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit + NetworkMode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode + RemoteManagementModeConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration + NetInterfaceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus + ISCSIAndCloudStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus + JobErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails + OwnerShipStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus + SslStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus + JobType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType + MonitoringStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus + OperationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus + VolumeStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus + JobStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus + Job = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job + Volume = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume + BackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus + BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType + Resource = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource + Kind = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind + AuthenticationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType + Device = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device TargetEligibilityResult = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult FailoverTarget = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTarget AccessControlRecordList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecordList @@ -48,7 +115,6 @@ module Models ScheduleRecurrence = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleRecurrence SymmetricEncryptedSecret = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SymmetricEncryptedSecret NicIPv6 = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv6 - Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time AcsConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AcsConfiguration StorageAccountCredentialList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredentialList AlertErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertErrorDetails @@ -64,130 +130,64 @@ module Models NetworkSettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettingsPatch NetworkInterfaceData0Settings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkInterfaceData0Settings HardwareComponentGroupList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroupList - Resource = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource JobErrorItem = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorItem DeviceDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceDetails - JobErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails + Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time RemoteManagementSettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettingsPatch - JobStage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage DevicePatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DevicePatch WebproxySettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::WebproxySettings + JobStage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage DNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DNSSettings - JobFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter JobList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobList AvailableProviderOperationList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationList - Key = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key + JobFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter BackupList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupList - ListFailoverTargetsRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest BackupScheduleList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupScheduleList ManagerIntrinsicSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerIntrinsicSettings - BandwidthSettingList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList + ListFailoverTargetsRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest + Key = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key ManagerSku = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerSku - CloneRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest + BandwidthSettingList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList NetworkAdapterList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapterList CloudApplianceConfigurationList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfigurationList - 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 + CloneRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest 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 + NetworkAdapters = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters AvailableProviderOperationDisplay = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData - BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList - MetricName = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName + DeviceRolloverDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails ChapSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings MetricDimension = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension - SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings - MetricDefinition = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition + MetricAvailablity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity DeviceList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList MetricDefinitionList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList - VolumeList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList + BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList MetricNameFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricNameFilter VmImage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage - MetricFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings AlertFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertFilter Metrics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics - DataStatistics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + VolumeList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList MetricList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList BandwidthSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule + MetricName = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName NicIPv4 = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv4 AccessControlRecord = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord + DataStatistics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + MetricFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter Alert = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert - AlertSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings Backup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Backup BackupPolicy = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy - BackupSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule + AlertSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings BandwidthSetting = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting CloudApplianceConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration - ConfigureDeviceRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest - ControllerPowerStateChangeRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest - Device = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device - EncryptionSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings - HardwareComponentGroup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup - Job = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job - Manager = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager - ManagerExtendedInfo = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo - NetworkSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings - SecuritySettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings - StorageAccountCredential = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential - TimeSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings - Updates = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates - Volume = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume - VolumeContainer = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer - AlertScope = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope - AlertSourceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType - AlertSeverity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity - AlertStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus - AlertEmailNotificationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus - EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm - BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType - BackupJobCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType - VolumeType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType - ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus - BackupPolicyCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType - RecurrenceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType - DayOfWeek = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek - ScheduleStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus - Kind = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind - ControllerPowerStateAction = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction - ControllerId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId - ControllerStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus - DeviceConfigurationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus - DeviceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus - DeviceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType - VirtualMachineApiType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType - AuthorizationEligibility = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility - AuthorizationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus - InEligibilityCategory = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory - EncryptionStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus - KeyRolloverStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus - TargetEligibilityStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus - TargetEligibilityResultCode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode - FeatureSupportStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus - HardwareComponentStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus - JobStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus - JobType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType - ManagerType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType - MetricUnit = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit - MetricAggregationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType - NetInterfaceId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId - NetInterfaceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus - ISCSIAndCloudStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus - NetworkMode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode - AuthenticationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType - RemoteManagementModeConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration - SslStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus - VolumeStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus - OperationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus - BackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus - MonitoringStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus - OwnerShipStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus end class StorSimple8000SeriesManagementClass - attr_reader :operations, :managers, :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :devices, :device_settings, :backup_policies, :backup_schedules, :backups, :hardware_component_groups, :jobs, :volume_containers, :volumes, :storage_account_credentials, :configurable, :base_url, :options, :model_classes + attr_reader :hardware_component_groups, :operations, :volumes, :volume_containers, :backups, :storage_account_credentials, :jobs, :devices, :backup_policies, :managers, :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :device_settings, :backup_schedules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -197,22 +197,22 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @hardware_component_groups = @client_0.hardware_component_groups @operations = @client_0.operations + @volumes = @client_0.volumes + @volume_containers = @client_0.volume_containers + @backups = @client_0.backups + @storage_account_credentials = @client_0.storage_account_credentials + @jobs = @client_0.jobs + @devices = @client_0.devices + @backup_policies = @client_0.backup_policies @managers = @client_0.managers @access_control_records = @client_0.access_control_records @alerts = @client_0.alerts @bandwidth_settings = @client_0.bandwidth_settings @cloud_appliances = @client_0.cloud_appliances - @devices = @client_0.devices @device_settings = @client_0.device_settings - @backup_policies = @client_0.backup_policies @backup_schedules = @client_0.backup_schedules - @backups = @client_0.backups - @hardware_component_groups = @client_0.hardware_component_groups - @jobs = @client_0.jobs - @volume_containers = @client_0.volume_containers - @volumes = @client_0.volumes - @storage_account_credentials = @client_0.storage_account_credentials @model_classes = ModelClasses.new end @@ -231,47 +231,248 @@ def method_missing(method, *args) end class ModelClasses - def target_eligibility_result - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult + def backup_schedule + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule end - def failover_target - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTarget + def controller_power_state_change_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest end - def access_control_record_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecordList + def hardware_component_group + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup end - def failover_targets_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTargetsList + def configure_device_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest end - def alert_source - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSource + def manager_extended_info + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo end - def feature - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Feature + def network_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings end - def remote_management_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettings + def manager + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager end - def failover_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverRequest + def storage_account_credential + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential end - def alert_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertList + def time_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings end - def volume_failover_metadata - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeFailoverMetadata + def security_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings end - def asymmetric_encrypted_secret - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AsymmetricEncryptedSecret + def volume_container + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer end - def volume_container_failover_metadata - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerFailoverMetadata + def alert_scope + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope end - def available_provider_operation - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperation + def updates + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates end - def failover_set_eligibility_result - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetEligibilityResult + def alert_severity + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity + end + def alert_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus + end + def alert_source_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType + end + def backup_job_creation_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType + end + def volume_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType + end + def alert_email_notification_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus + end + def backup_policy_creation_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType + end + def encryption_algorithm + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm + end + def scheduled_backup_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus + end + def metric_definition + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition + end + def recurrence_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType + end + def schedule_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus + end + def controller_power_state_action + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction + end + def day_of_week + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek + end + def controller_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus + end + def device_configuration_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus + end + def encryption_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings + end + def controller_id + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId + end + def virtual_machine_api_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType + end + def authorization_eligibility + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility + end + def device_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus + end + def device_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType + end + def encryption_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus + end + def key_rollover_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus + end + def authorization_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus + end + def in_eligibility_category + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory + end + def feature_support_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus + end + def hardware_component_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus + end + def target_eligibility_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus + end + def target_eligibility_result_code + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode + end + def metric_aggregation_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType + end + def net_interface_id + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId + end + def manager_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType + end + def metric_unit + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit + end + def network_mode + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode + end + def remote_management_mode_configuration + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration + end + def net_interface_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus + end + def iscsiand_cloud_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus + end + def job_error_details + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails + end + def owner_ship_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus + end + def ssl_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus + end + def job_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType + end + def monitoring_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus + end + def operation_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus + end + def volume_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus + end + def job_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus + end + def job + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job + end + def volume + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume + end + def backup_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus + end + def backup_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType + end + def resource + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource + end + def kind + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind + end + def authentication_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType + end + def device + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device + end + def target_eligibility_result + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult + end + def failover_target + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTarget + end + def access_control_record_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecordList + end + def failover_targets_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTargetsList + end + def alert_source + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSource + end + def feature + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Feature + end + def remote_management_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettings + end + def failover_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverRequest + end + def alert_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertList + end + def volume_failover_metadata + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeFailoverMetadata + end + def asymmetric_encrypted_secret + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AsymmetricEncryptedSecret + end + def volume_container_failover_metadata + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerFailoverMetadata + end + def available_provider_operation + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperation + end + def failover_set_eligibility_result + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetEligibilityResult end def backup_element Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupElement @@ -300,9 +501,6 @@ def symmetric_encrypted_secret def nic_ipv6 Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv6 end - def time - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time - end def acs_configuration Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AcsConfiguration end @@ -348,65 +546,59 @@ def network_interface_data0_settings def hardware_component_group_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroupList end - def resource - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource - end def job_error_item Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorItem end def device_details Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceDetails end - def job_error_details - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails + def time + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time end def remote_management_settings_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettingsPatch end - def job_stage - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage - end def device_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DevicePatch end def webproxy_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::WebproxySettings end + def job_stage + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage + end def dnssettings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DNSSettings end - def job_filter - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter - end def job_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobList end def available_provider_operation_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationList end - def key - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key + def job_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter end def backup_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupList end - def list_failover_targets_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest - end def backup_schedule_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupScheduleList end def manager_intrinsic_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerIntrinsicSettings end - def bandwidth_setting_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList + def list_failover_targets_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest + end + def key + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key end def manager_sku Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerSku end - def clone_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest + def bandwidth_setting_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList end def network_adapter_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapterList @@ -414,17 +606,14 @@ def network_adapter_list def cloud_appliance_configuration_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfigurationList end - def network_adapters - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters - end def security_settings_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettingsPatch end def manager_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList end - def device_rollover_details - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails + def clone_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest end def manager_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch @@ -432,8 +621,8 @@ def manager_patch def dimension_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter end - def metric_availablity - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity + def network_adapters + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters end def available_provider_operation_display Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay @@ -441,11 +630,8 @@ def available_provider_operation_display def metric_data Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData end - def backup_policy_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList - end - def metric_name - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName + def device_rollover_details + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails end def chap_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings @@ -453,11 +639,8 @@ def chap_settings def metric_dimension Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension end - def secondary_dnssettings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings - end - def metric_definition - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition + def metric_availablity + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity end def device_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList @@ -465,8 +648,8 @@ def device_list def metric_definition_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList end - def volume_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList + def backup_policy_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList end def metric_name_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricNameFilter @@ -474,8 +657,8 @@ def metric_name_filter def vm_image Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage end - def metric_filter - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + def secondary_dnssettings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings end def alert_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertFilter @@ -483,8 +666,8 @@ def alert_filter def metrics Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics end - def data_statistics - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + def volume_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList end def metric_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList @@ -492,26 +675,32 @@ def metric_list def bandwidth_schedule Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule end + def metric_name + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName + end def nic_ipv4 Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv4 end def access_control_record Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord end + def data_statistics + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + end + def metric_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + end def alert Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert end - def alert_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings - end def backup Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Backup end def backup_policy Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy end - def backup_schedule - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule + def alert_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings end def bandwidth_setting Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting @@ -519,195 +708,6 @@ def bandwidth_setting def cloud_appliance_configuration Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration end - def configure_device_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest - end - def controller_power_state_change_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest - end - def device - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device - end - def encryption_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings - end - def hardware_component_group - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup - end - def job - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job - end - def manager - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager - end - def manager_extended_info - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo - end - def network_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings - end - def security_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings - end - def storage_account_credential - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential - end - def time_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings - end - def updates - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates - end - def volume - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume - end - def volume_container - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer - end - def alert_scope - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope - end - def alert_source_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType - end - def alert_severity - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity - end - def alert_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus - end - 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 backup_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType - end - def backup_job_creation_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType - end - def volume_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType - end - def scheduled_backup_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus - 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 - def day_of_week - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek - end - def schedule_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus - end - def kind - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind - end - def controller_power_state_action - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction - end - def controller_id - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId - end - def controller_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus - end - def device_configuration_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus - end - def device_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus - end - def device_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType - end - def virtual_machine_api_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType - end - def authorization_eligibility - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility - end - def authorization_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus - end - def in_eligibility_category - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory - end - def encryption_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus - end - def key_rollover_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus - end - def target_eligibility_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus - end - def target_eligibility_result_code - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode - end - def feature_support_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus - end - def hardware_component_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus - end - def job_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus - end - def job_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType - end - def manager_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType - end - def metric_unit - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit - end - def metric_aggregation_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType - end - def net_interface_id - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId - end - def net_interface_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus - end - def iscsiand_cloud_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus - end - def network_mode - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode - end - def authentication_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType - end - def remote_management_mode_configuration - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration - end - def ssl_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus - end - def volume_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus - end - def operation_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus - end - def backup_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus - end - def monitoring_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus - end - def owner_ship_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus - 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 f6c5f72855..6e98c0f218 100644 --- a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb @@ -16,16 +16,17 @@ module Mgmt Subscriptions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Subscriptions module Models - AzureMachineLearningWebServiceInputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn OperationDisplay = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay - AzureMachineLearningWebServiceInputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs OperationListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult - ReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource + ErrorResponse = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse + Operation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation + Encoding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding + AzureMachineLearningWebServiceInputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn Serialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization + AzureMachineLearningWebServiceInputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs FunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionBinding Diagnostics = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics - FunctionOutput = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput - Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku + ReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource DiagnosticCondition = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition OutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputDataSource InputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputProperties @@ -36,58 +37,57 @@ module Models StartStreamingJobParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters BlobDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobDataSourceProperties FunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters - SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource - Operation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation - StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku AzureSqlDatabaseDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties - StreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource StreamingJobListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJobListResult InputListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputListResult - AzureMachineLearningWebServiceOutputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn + StreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource + SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource OAuthBasedDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OAuthBasedDataSourceProperties - ResourceTestStatus = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus - ErrorResponse = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse + AzureMachineLearningWebServiceOutputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn SubscriptionQuotasListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult - Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource - FunctionListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult + ResourceTestStatus = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus Input = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input - Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation + FunctionListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult Output = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output + Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation + JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource + StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + AvroSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization 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 + CsvSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization 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 - JsonSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization - CsvSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization AzureDataLakeStoreOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource + JsonSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization + FunctionOutput = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput + ServiceBusTopicOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource PowerBIOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource EventHubDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties - ServiceBusTopicOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource + AzureSqlDatabaseOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource ServiceBusQueueOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource DocumentDbOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource - AzureSqlDatabaseOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource + BlobOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource EventHubOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource AzureTableOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource - BlobOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource + IoTHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource BlobReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobReferenceInputDataSource ReferenceInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties - IoTHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource + StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties 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 + SubscriptionQuota = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters JavaScriptFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters - SubscriptionQuota = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota + OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy SkuName = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName - 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 + UdfType = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType CompatibilityLevel = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel + OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode JsonOutputSerializationFormat = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat - Encoding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding - UdfType = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType end class StreamAnalyticsManagementClass @@ -126,35 +126,38 @@ def method_missing(method, *args) end class ModelClasses - def azure_machine_learning_web_service_input_column - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn - end def operation_display Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay end - def azure_machine_learning_web_service_inputs - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs - end def operation_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult end - def reference_input_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource + def error_response + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse + end + def operation + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation + end + def encoding + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding + end + def azure_machine_learning_web_service_input_column + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn end def serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization end + def azure_machine_learning_web_service_inputs + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs + end def function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionBinding end def diagnostics Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics end - def function_output - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput - end - def sku - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku + def reference_input_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource end def diagnostic_condition Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition @@ -186,56 +189,59 @@ def blob_data_source_properties def function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters end - def sub_resource - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource - end - def operation - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation - end - def storage_account - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + def sku + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku end def azure_sql_database_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties end - def stream_input_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource - end def streaming_job_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJobListResult end def input_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputListResult end - def azure_machine_learning_web_service_output_column - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn + def stream_input_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource + end + def sub_resource + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource end def oauth_based_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OAuthBasedDataSourceProperties end - def resource_test_status - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus - end - def error_response - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse + def azure_machine_learning_web_service_output_column + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn end def subscription_quotas_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult end - def resource - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource + def resource_test_status + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus + end + def input + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input end def function_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult end - def input - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input + def output + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output end def transformation Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation 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 resource + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource + end + def storage_account + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + end + def avro_serialization + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization end def function Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function @@ -243,8 +249,8 @@ def function def streaming_job Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob end - def java_script_function_binding - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + def csv_serialization + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization end def azure_machine_learning_web_service_function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding @@ -252,17 +258,17 @@ def azure_machine_learning_web_service_function_binding def scalar_function_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties end - def avro_serialization - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization + def azure_data_lake_store_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource end def json_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization end - def csv_serialization - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization + def function_output + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput end - def azure_data_lake_store_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource + 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 @@ -270,8 +276,8 @@ def power_bioutput_data_source def event_hub_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties end - def service_bus_topic_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource + 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 @@ -279,8 +285,8 @@ def service_bus_queue_output_data_source def document_db_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource end - def azure_sql_database_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource + def blob_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource end def event_hub_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource @@ -288,8 +294,8 @@ def event_hub_output_data_source def azure_table_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource end - def blob_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource + def io_thub_stream_input_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource end def blob_reference_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobReferenceInputDataSource @@ -297,8 +303,8 @@ def blob_reference_input_data_source def reference_input_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties end - def io_thub_stream_input_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource + def stream_input_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties end def event_hub_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource @@ -306,8 +312,8 @@ 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 subscription_quota + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota end def azure_machine_learning_web_service_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters @@ -315,33 +321,27 @@ def azure_machine_learning_web_service_function_retrieve_default_definition_para def java_script_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters end - def subscription_quota - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota + 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 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 + def udf_type + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType end def compatibility_level Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel end + def output_start_mode + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode + end def json_output_serialization_format Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat end - def encoding - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding - end - def udf_type - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType - end end end end diff --git a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb index 19c99b6d0d..82659e0d14 100644 --- a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb +++ b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb @@ -7,23 +7,23 @@ module Azure::Profiles::Latest module Subscriptions module Mgmt - Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult SubscriptionPolicies = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies + Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit end class SubscriptionsManagementClass - attr_reader :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes + attr_reader :tenants, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -33,8 +33,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @subscriptions = @client_0.subscriptions @tenants = @client_0.tenants + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -65,15 +65,15 @@ def location_list_result def tenant_id_description Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end - def location - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location - end def tenant_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult end def subscription_policies Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies end + def location + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location + end def subscription_state Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState end diff --git a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb index c09fb5f90c..f4bbad3ddf 100644 --- a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb @@ -8,21 +8,21 @@ module Azure::Profiles::Latest module TextAnalytics module Models + SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem + MultiLanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput + SentimentBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult + InternalError = Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError + AzureRegions = Azure::CognitiveServices::TextAnalytics::V2_0::Models::AzureRegions + ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse Input = Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input + DetectedLanguage = Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage MultiLanguageInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput BatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::BatchInput KeyPhraseBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem - DetectedLanguage = Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage KeyPhraseBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult LanguageBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem - ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse LanguageBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult ErrorRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord - SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem - MultiLanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput - SentimentBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult - InternalError = Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError - AzureRegions = Azure::CognitiveServices::TextAnalytics::V2_0::Models::AzureRegions end class TextAnalyticsDataClass @@ -54,9 +54,30 @@ def method_missing(method, *args) end class ModelClasses + def sentiment_batch_result_item + Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem + end + def multi_language_batch_input + Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput + end + def sentiment_batch_result + Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult + end + def internal_error + Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError + end + def azure_regions + Azure::CognitiveServices::TextAnalytics::V2_0::Models::AzureRegions + end + def error_response + Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse + end def input Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input end + def detected_language + Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage + end def multi_language_input Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput end @@ -66,39 +87,18 @@ def batch_input def key_phrase_batch_result_item Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem end - def detected_language - Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage - end def key_phrase_batch_result Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult end def language_batch_result_item Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem end - def error_response - Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse - end def language_batch_result Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult end def error_record Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord end - def sentiment_batch_result_item - Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem - end - def multi_language_batch_input - Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput - end - def sentiment_batch_result - Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult - end - def internal_error - Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError - end - def azure_regions - Azure::CognitiveServices::TextAnalytics::V2_0::Models::AzureRegions - end end end end diff --git a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb index f4c275236c..168e4f43e8 100644 --- a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb +++ b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb @@ -8,8 +8,8 @@ module Azure::Profiles::Latest module TrafficManager module Mgmt Endpoints = Azure::TrafficManager::Mgmt::V2017_05_01::Endpoints - Profiles = Azure::TrafficManager::Mgmt::V2017_05_01::Profiles GeographicHierarchies = Azure::TrafficManager::Mgmt::V2017_05_01::GeographicHierarchies + Profiles = Azure::TrafficManager::Mgmt::V2017_05_01::Profiles HeatMap = Azure::TrafficManager::Mgmt::V2017_09_01_preview::HeatMap TrafficManagerUserMetricsKeys = Azure::TrafficManager::Mgmt::V2017_09_01_preview::TrafficManagerUserMetricsKeys @@ -19,29 +19,29 @@ module Models CheckTrafficManagerRelativeDnsNameAvailabilityParameters = Azure::TrafficManager::Mgmt::V2017_05_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters DnsConfig = Azure::TrafficManager::Mgmt::V2017_05_01::Models::DnsConfig MonitorConfig = Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorConfig - ProfileListResult = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult - Endpoint = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint - Profile = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile TrafficManagerGeographicHierarchy = Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficManagerGeographicHierarchy EndpointStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::EndpointStatus EndpointMonitorStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::EndpointMonitorStatus ProfileMonitorStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileMonitorStatus MonitorProtocol = Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorProtocol + Profile = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile + ProfileListResult = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult ProfileStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileStatus + Endpoint = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint TrafficRoutingMethod = Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficRoutingMethod + TrafficManagerUserMetricsKeyModel = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel + TrackedResource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource DeleteOperationResult = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::DeleteOperationResult - HeatMapEndpoint = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint Resource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::Resource + HeatMapEndpoint = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint TrafficFlow = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficFlow QueryExperience = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience - TrackedResource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource ProxyResource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::ProxyResource HeatMapModel = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapModel - TrafficManagerUserMetricsKeyModel = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel end class TrafficManagerManagementClass - attr_reader :endpoints, :profiles, :geographic_hierarchies, :heat_map, :traffic_manager_user_metrics_keys, :configurable, :base_url, :options, :model_classes + attr_reader :endpoints, :geographic_hierarchies, :profiles, :heat_map, :traffic_manager_user_metrics_keys, :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) end add_telemetry(@client_0) @endpoints = @client_0.endpoints - @profiles = @client_0.profiles @geographic_hierarchies = @client_0.geographic_hierarchies + @profiles = @client_0.profiles @client_1 = Azure::TrafficManager::Mgmt::V2017_09_01_preview::TrafficManagerManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @@ -97,15 +97,6 @@ def dns_config def monitor_config Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorConfig end - def profile_list_result - Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult - end - def endpoint - Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint - end - def profile - Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile - end def traffic_manager_geographic_hierarchy Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficManagerGeographicHierarchy end @@ -121,39 +112,48 @@ def profile_monitor_status def monitor_protocol Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorProtocol end + def profile + Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile + end + def profile_list_result + Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult + end def profile_status Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileStatus end + def endpoint + Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint + end def traffic_routing_method Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficRoutingMethod end + def traffic_manager_user_metrics_key_model + Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel + end + def tracked_resource + Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource + end def delete_operation_result Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::DeleteOperationResult end - def heat_map_endpoint - Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint - end def resource Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::Resource end + def heat_map_endpoint + Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint + end def traffic_flow Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficFlow end def query_experience Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience end - def tracked_resource - Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource - end def proxy_resource Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::ProxyResource end def heat_map_model Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapModel end - def traffic_manager_user_metrics_key_model - Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel - end end end end diff --git a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb index 20f1613c62..336743e456 100644 --- a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb @@ -9,38 +9,38 @@ module VideoSearch VideosOperations = Azure::CognitiveServices::VideoSearch::V1_0::VideosOperations module Models + MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject TrendingVideosCategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory TrendingVideosSubcategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory - Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error - PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions - QueryContext = Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext - Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query VideosModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule TrendingVideosTile = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile - ResponseBase = Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase - ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject - VideoObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject Videos = Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos - Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response - Answer = Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer - SearchResultsAnswer = Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer - Thing = Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing - CreativeWork = Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork - MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject - Identifiable = Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable - ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse TrendingVideos = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos VideoDetails = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails VideoQueryScenario = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario - ErrorCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode - Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness VideoLength = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength VideoPricing = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing + Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response VideoResolution = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + ResponseBase = Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase + QueryContext = Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext + Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query + VideoObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject + PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions + SearchResultsAnswer = Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer + Answer = Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork + ErrorCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode + Identifiable = Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable SafeSearch = Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat - VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness + Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error + ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject end class VideoSearchDataClass @@ -73,92 +73,83 @@ def method_missing(method, *args) end class ModelClasses + def media_object + Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject + end def trending_videos_category Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory end def trending_videos_subcategory Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory end - def error - Azure::CognitiveServices::VideoSearch::V1_0::Models::Error - end - def pivot_suggestions - Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions - end - def query_context - Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext - end - def query - Azure::CognitiveServices::VideoSearch::V1_0::Models::Query - end def videos_module Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule end def trending_videos_tile Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile end + def videos + Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos + end + def trending_videos + Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos + end + def video_details + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails + end + def video_query_scenario + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario + end + def video_length + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength + end + def video_pricing + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing + end + def response + Azure::CognitiveServices::VideoSearch::V1_0::Models::Response + end + def video_resolution + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + end + def video_insight_module + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + end def response_base Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase end - def image_object - Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + 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 videos - Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos + def pivot_suggestions + Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions end - def response - Azure::CognitiveServices::VideoSearch::V1_0::Models::Response + def search_results_answer + Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer end def answer Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer end - def search_results_answer - Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer - end def thing Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing end def creative_work Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork end - def media_object - Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject - end - def identifiable - Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable - end - def error_response - Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse - end - def trending_videos - Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos - end - def video_details - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails - end - def video_query_scenario - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario - end def error_code Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode end def error_sub_code Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode end - def freshness - Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness - end - def video_length - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength - end - def video_pricing - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing - end - def video_resolution - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + def identifiable + Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable end def safe_search Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch @@ -166,8 +157,17 @@ def safe_search def text_format Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat end - def video_insight_module - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + def error_response + Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + end + def freshness + Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness + end + def error + Azure::CognitiveServices::VideoSearch::V1_0::Models::Error + end + def image_object + Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject end end end diff --git a/azure_sdk/lib/latest/modules/web_profile_module.rb b/azure_sdk/lib/latest/modules/web_profile_module.rb index 6949b51f0c..c3e9611dbe 100644 --- a/azure_sdk/lib/latest/modules/web_profile_module.rb +++ b/azure_sdk/lib/latest/modules/web_profile_module.rb @@ -7,79 +7,81 @@ module Azure::Profiles::Latest module Web module Mgmt - DomainRegistrationProvider = Azure::Web::Mgmt::V2015_04_01::DomainRegistrationProvider - Domains = Azure::Web::Mgmt::V2015_04_01::Domains TopLevelDomains = Azure::Web::Mgmt::V2015_04_01::TopLevelDomains - AppServiceCertificateOrders = Azure::Web::Mgmt::V2015_08_01::AppServiceCertificateOrders + Domains = Azure::Web::Mgmt::V2015_04_01::Domains + DomainRegistrationProvider = Azure::Web::Mgmt::V2015_04_01::DomainRegistrationProvider CertificateRegistrationProvider = Azure::Web::Mgmt::V2015_08_01::CertificateRegistrationProvider - Certificates = Azure::Web::Mgmt::V2016_03_01::Certificates + AppServiceCertificateOrders = Azure::Web::Mgmt::V2015_08_01::AppServiceCertificateOrders DeletedWebApps = Azure::Web::Mgmt::V2016_03_01::DeletedWebApps + Recommendations = Azure::Web::Mgmt::V2016_03_01::Recommendations + Certificates = Azure::Web::Mgmt::V2016_03_01::Certificates Diagnostics = Azure::Web::Mgmt::V2016_03_01::Diagnostics Provider = Azure::Web::Mgmt::V2016_03_01::Provider - Recommendations = Azure::Web::Mgmt::V2016_03_01::Recommendations WebApps = Azure::Web::Mgmt::V2016_08_01::WebApps AppServiceEnvironments = Azure::Web::Mgmt::V2016_09_01::AppServiceEnvironments AppServicePlans = Azure::Web::Mgmt::V2016_09_01::AppServicePlans module Models + TopLevelDomain = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain + DomainStatus = Azure::Web::Mgmt::V2015_04_01::Models::DomainStatus + DnsType = Azure::Web::Mgmt::V2015_04_01::Models::DnsType + DomainType = Azure::Web::Mgmt::V2015_04_01::Models::DomainType + DomainOwnershipIdentifier = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier + DomainPatchResource = Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource + ErrorResponse = Azure::Web::Mgmt::V2015_04_01::Models::ErrorResponse + Domain = Azure::Web::Mgmt::V2015_04_01::Models::Domain Contact = Azure::Web::Mgmt::V2015_04_01::Models::Contact DomainPurchaseConsent = Azure::Web::Mgmt::V2015_04_01::Models::DomainPurchaseConsent DomainAvailablilityCheckResult = Azure::Web::Mgmt::V2015_04_01::Models::DomainAvailablilityCheckResult DomainControlCenterSsoRequest = Azure::Web::Mgmt::V2015_04_01::Models::DomainControlCenterSsoRequest - DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection DomainRecommendationSearchParameters = Azure::Web::Mgmt::V2015_04_01::Models::DomainRecommendationSearchParameters NameIdentifierCollection = Azure::Web::Mgmt::V2015_04_01::Models::NameIdentifierCollection + DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection Address = Azure::Web::Mgmt::V2015_04_01::Models::Address - HostName = Azure::Web::Mgmt::V2015_04_01::Models::HostName TopLevelDomainCollection = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainCollection + HostName = Azure::Web::Mgmt::V2015_04_01::Models::HostName DomainCollection = Azure::Web::Mgmt::V2015_04_01::Models::DomainCollection TldLegalAgreement = Azure::Web::Mgmt::V2015_04_01::Models::TldLegalAgreement - ErrorResponse = Azure::Web::Mgmt::V2015_04_01::Models::ErrorResponse TopLevelDomainAgreementOption = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainAgreementOption TldLegalAgreementCollection = Azure::Web::Mgmt::V2015_04_01::Models::TldLegalAgreementCollection - Domain = Azure::Web::Mgmt::V2015_04_01::Models::Domain - DomainOwnershipIdentifier = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier - DomainPatchResource = Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource - TopLevelDomain = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain - DomainStatus = Azure::Web::Mgmt::V2015_04_01::Models::DomainStatus - DnsType = Azure::Web::Mgmt::V2015_04_01::Models::DnsType - DomainType = Azure::Web::Mgmt::V2015_04_01::Models::DomainType + CertificateEmail = Azure::Web::Mgmt::V2015_08_01::Models::CertificateEmail + CertificateOrderAction = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction + RenewCertificateOrderRequest = Azure::Web::Mgmt::V2015_08_01::Models::RenewCertificateOrderRequest + CertificateProductType = Azure::Web::Mgmt::V2015_08_01::Models::CertificateProductType + CertificateOrderStatus = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderStatus AppServiceCertificate = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificate AppServiceCertificateCollection = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateCollection AppServiceCertificateOrderCollection = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrderCollection SiteSealRequest = Azure::Web::Mgmt::V2015_08_01::Models::SiteSealRequest - CertificateDetails = Azure::Web::Mgmt::V2015_08_01::Models::CertificateDetails - SiteSeal = Azure::Web::Mgmt::V2015_08_01::Models::SiteSeal - AppServiceCertificateResource = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource AppServiceCertificateOrder = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder + SiteSeal = Azure::Web::Mgmt::V2015_08_01::Models::SiteSeal + CertificateDetails = Azure::Web::Mgmt::V2015_08_01::Models::CertificateDetails + ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest AppServiceCertificateOrderPatchResource = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrderPatchResource AppServiceCertificatePatchResource = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificatePatchResource - CertificateEmail = Azure::Web::Mgmt::V2015_08_01::Models::CertificateEmail - CertificateOrderAction = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction - ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest - RenewCertificateOrderRequest = Azure::Web::Mgmt::V2015_08_01::Models::RenewCertificateOrderRequest - CertificateProductType = Azure::Web::Mgmt::V2015_08_01::Models::CertificateProductType - CertificateOrderStatus = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderStatus CertificateOrderActionType = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderActionType + AppServiceCertificateResource = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource + SolutionType = Azure::Web::Mgmt::V2016_03_01::Models::SolutionType + ResourceScopeType = Azure::Web::Mgmt::V2016_03_01::Models::ResourceScopeType + NotificationLevel = Azure::Web::Mgmt::V2016_03_01::Models::NotificationLevel + VnetValidationFailureDetails = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails MetricAvailability = Azure::Web::Mgmt::V2016_03_01::Models::MetricAvailability - MetricSpecification = Azure::Web::Mgmt::V2016_03_01::Models::MetricSpecification + ServiceSpecification = Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification + CheckNameResourceTypes = Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes + Channels = Azure::Web::Mgmt::V2016_03_01::Models::Channels + IssueType = Azure::Web::Mgmt::V2016_03_01::Models::IssueType + KeyVaultSecretStatus = Azure::Web::Mgmt::V2016_03_01::Models::KeyVaultSecretStatus + SkuName = Azure::Web::Mgmt::V2016_03_01::Models::SkuName + Certificate = Azure::Web::Mgmt::V2016_03_01::Models::Certificate HostingEnvironmentDeploymentInfo = Azure::Web::Mgmt::V2016_03_01::Models::HostingEnvironmentDeploymentInfo - CertificateCollection = Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection ValidateResponse = Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponse ValidateRequest = Azure::Web::Mgmt::V2016_03_01::Models::ValidateRequest ResourceNameAvailabilityRequest = Azure::Web::Mgmt::V2016_03_01::Models::ResourceNameAvailabilityRequest PremierAddOnOfferCollection = Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOfferCollection AppServiceEnvironment = Azure::Web::Mgmt::V2016_03_01::Models::AppServiceEnvironment GeoRegionCollection = Azure::Web::Mgmt::V2016_03_01::Models::GeoRegionCollection - CsmOperationDisplay = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay - Dimension = Azure::Web::Mgmt::V2016_03_01::Models::Dimension CsmMoveResourceEnvelope = Azure::Web::Mgmt::V2016_03_01::Models::CsmMoveResourceEnvelope - ServiceSpecification = Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification - CsmOperationDescriptionProperties = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties - CsmOperationDescription = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription - CsmOperationCollection = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection DeploymentLocations = Azure::Web::Mgmt::V2016_03_01::Models::DeploymentLocations - NameIdentifier = Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier SourceControlCollection = Azure::Web::Mgmt::V2016_03_01::Models::SourceControlCollection GlobalCsmSkuDescription = Azure::Web::Mgmt::V2016_03_01::Models::GlobalCsmSkuDescription DeletedSite = Azure::Web::Mgmt::V2016_03_01::Models::DeletedSite @@ -92,38 +94,80 @@ module Models RecommendationRule = Azure::Web::Mgmt::V2016_03_01::Models::RecommendationRule 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 AnalysisData = Azure::Web::Mgmt::V2016_03_01::Models::AnalysisData Recommendation = Azure::Web::Mgmt::V2016_03_01::Models::Recommendation SkuInfos = Azure::Web::Mgmt::V2016_03_01::Models::SkuInfos DiagnosticDetectorCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorCollection DiagnosticAnalysisCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysisCollection - DiagnosticCategoryCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection - Certificate = Azure::Web::Mgmt::V2016_03_01::Models::Certificate + DataSource = Azure::Web::Mgmt::V2016_03_01::Models::DataSource CertificatePatchResource = Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource - DetectorDefinition = Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition + DiagnosticCategoryCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection AnalysisDefinition = Azure::Web::Mgmt::V2016_03_01::Models::AnalysisDefinition - DiagnosticAnalysis = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysis + DetectorDefinition = Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition DiagnosticCategory = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategory - DiagnosticDetectorResponse = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse + DiagnosticAnalysis = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysis GeoRegion = Azure::Web::Mgmt::V2016_03_01::Models::GeoRegion + CsmOperationDisplay = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay + CertificateCollection = Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection + CsmOperationCollection = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection + VnetValidationTestFailure = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationTestFailure + Dimension = Azure::Web::Mgmt::V2016_03_01::Models::Dimension + MetricSpecification = Azure::Web::Mgmt::V2016_03_01::Models::MetricSpecification PremierAddOnOffer = Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOffer - SourceControl = Azure::Web::Mgmt::V2016_03_01::Models::SourceControl VnetParameters = Azure::Web::Mgmt::V2016_03_01::Models::VnetParameters - VnetValidationTestFailure = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationTestFailure - VnetValidationFailureDetails = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails - KeyVaultSecretStatus = Azure::Web::Mgmt::V2016_03_01::Models::KeyVaultSecretStatus - IssueType = Azure::Web::Mgmt::V2016_03_01::Models::IssueType - SolutionType = Azure::Web::Mgmt::V2016_03_01::Models::SolutionType - ResourceScopeType = Azure::Web::Mgmt::V2016_03_01::Models::ResourceScopeType - NotificationLevel = Azure::Web::Mgmt::V2016_03_01::Models::NotificationLevel - Channels = Azure::Web::Mgmt::V2016_03_01::Models::Channels + DiagnosticDetectorResponse = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse + SourceControl = Azure::Web::Mgmt::V2016_03_01::Models::SourceControl AppServicePlanRestrictions = Azure::Web::Mgmt::V2016_03_01::Models::AppServicePlanRestrictions - InAvailabilityReasonType = Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType - CheckNameResourceTypes = Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes + NameIdentifier = Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier + CsmOperationDescription = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription + CsmOperationDescriptionProperties = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties ValidateResourceTypes = Azure::Web::Mgmt::V2016_03_01::Models::ValidateResourceTypes - SkuName = Azure::Web::Mgmt::V2016_03_01::Models::SkuName + InAvailabilityReasonType = Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType + PublicCertificate = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificate + RestoreResponse = Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse + SiteAuthSettings = Azure::Web::Mgmt::V2016_08_01::Models::SiteAuthSettings + MigrateMySqlStatus = Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlStatus + SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfo + SiteInstance = Azure::Web::Mgmt::V2016_08_01::Models::SiteInstance + ProcessThreadInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfo + ProcessModuleInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo + SitePhpErrorLogFlag = Azure::Web::Mgmt::V2016_08_01::Models::SitePhpErrorLogFlag + SlotConfigNamesResource = Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource + SlotDifference = Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference + SiteConfigResource = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource + StorageMigrationResponse = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationResponse + SiteExtensionInfo = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfo + TriggeredJobRun = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobRun + TriggeredJobHistory = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistory + SitePatchResource = Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource + WebJob = Azure::Web::Mgmt::V2016_08_01::Models::WebJob + SiteSourceControl = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl + BackupItemStatus = Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus + StorageMigrationOptions = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions + StringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::StringDictionary + TriggeredWebJob = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob + AzureResourceType = Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType + LogLevel = Azure::Web::Mgmt::V2016_08_01::Models::LogLevel + HostNameType = Azure::Web::Mgmt::V2016_08_01::Models::HostNameType + FrequencyUnit = Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit + BackupRestoreOperationType = Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType + PublishingProfileFormat = Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat + DnsVerificationTestResult = Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + MSDeployLogEntryType = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType + MySqlMigrationType = Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType + PublicCertificateLocation = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + DatabaseType = Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType + Snapshot = Azure::Web::Mgmt::V2016_08_01::Models::Snapshot + CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType + ContinuousWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus + WebJobType = Azure::Web::Mgmt::V2016_08_01::Models::WebJobType + UnauthenticatedClientAction = Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction + BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider + CloneAbilityResult = Azure::Web::Mgmt::V2016_08_01::Models::CloneAbilityResult + SiteExtensionType = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionType + MSDeployProvisioningState = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState + TriggeredWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus AzureTableStorageApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureTableStorageApplicationLogsConfig ApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::ApplicationLogsConfig DatabaseBackupSetting = Azure::Web::Mgmt::V2016_08_01::Models::DatabaseBackupSetting @@ -134,184 +178,61 @@ module Models ProcessThreadInfoCollection = Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfoCollection CsmPublishingProfileOptions = Azure::Web::Mgmt::V2016_08_01::Models::CsmPublishingProfileOptions WebAppInstanceCollection = Azure::Web::Mgmt::V2016_08_01::Models::WebAppInstanceCollection - PublicCertificateCollection = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection IdentifierCollection = Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection + PublicCertificateCollection = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection TriggeredWebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobCollection EnabledConfig = Azure::Web::Mgmt::V2016_08_01::Models::EnabledConfig TriggeredJobHistoryCollection = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistoryCollection SnapshotCollection = Azure::Web::Mgmt::V2016_08_01::Models::SnapshotCollection + PerfMonSet = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSet SiteCloneabilityCriterion = Azure::Web::Mgmt::V2016_08_01::Models::SiteCloneabilityCriterion HostNameBindingCollection = Azure::Web::Mgmt::V2016_08_01::Models::HostNameBindingCollection SiteCloneability = Azure::Web::Mgmt::V2016_08_01::Models::SiteCloneability - PerfMonSet = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSet - PerfMonCounterCollection = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonCounterCollection - WebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::WebJobCollection ContinuousWebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobCollection FileSystemApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::FileSystemApplicationLogsConfig + PerfMonCounterCollection = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonCounterCollection + WebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::WebJobCollection + SlotDifferenceCollection = Azure::Web::Mgmt::V2016_08_01::Models::SlotDifferenceCollection FileSystemHttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::FileSystemHttpLogsConfig AzureBlobStorageApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageApplicationLogsConfig - AzureBlobStorageHttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig MSDeployLogEntry = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntry - BackupSchedule = Azure::Web::Mgmt::V2016_08_01::Models::BackupSchedule - PerfMonSample = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSample - SlotDifferenceCollection = Azure::Web::Mgmt::V2016_08_01::Models::SlotDifferenceCollection + FunctionEnvelopeCollection = Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection DeploymentCollection = Azure::Web::Mgmt::V2016_08_01::Models::DeploymentCollection - HttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig + AzureBlobStorageHttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig SiteConfigResourceCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResourceCollection - FunctionEnvelopeCollection = Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection + PerfMonSample = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSample PerfMonResponse = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonResponse SiteConfigurationSnapshotInfoCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection + HttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig + ConnectionStringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary CsmSlotEntity = Azure::Web::Mgmt::V2016_08_01::Models::CsmSlotEntity - SiteExtensionInfoCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection BackupItem = Azure::Web::Mgmt::V2016_08_01::Models::BackupItem - BackupRequest = Azure::Web::Mgmt::V2016_08_01::Models::BackupRequest - ConnectionStringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary ContinuousWebJob = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJob - CustomHostnameAnalysisResult = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult - Deployment = Azure::Web::Mgmt::V2016_08_01::Models::Deployment FunctionEnvelope = Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelope - FunctionSecrets = Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets HostNameBinding = Azure::Web::Mgmt::V2016_08_01::Models::HostNameBinding - MSDeploy = Azure::Web::Mgmt::V2016_08_01::Models::MSDeploy MSDeployLog = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLog - MSDeployStatus = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployStatus MigrateMySqlRequest = Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlRequest - MigrateMySqlStatus = Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlStatus - RelayServiceConnectionEntity = Azure::Web::Mgmt::V2016_08_01::Models::RelayServiceConnectionEntity - NetworkFeatures = Azure::Web::Mgmt::V2016_08_01::Models::NetworkFeatures + SiteExtensionInfoCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection PremierAddOn = Azure::Web::Mgmt::V2016_08_01::Models::PremierAddOn - ProcessThreadInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfo - ProcessModuleInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo + MSDeployStatus = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployStatus + CustomHostnameAnalysisResult = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult + NetworkFeatures = Azure::Web::Mgmt::V2016_08_01::Models::NetworkFeatures + Deployment = Azure::Web::Mgmt::V2016_08_01::Models::Deployment + RelayServiceConnectionEntity = Azure::Web::Mgmt::V2016_08_01::Models::RelayServiceConnectionEntity + MSDeploy = Azure::Web::Mgmt::V2016_08_01::Models::MSDeploy ProcessInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessInfo - PublicCertificate = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificate - RestoreRequest = Azure::Web::Mgmt::V2016_08_01::Models::RestoreRequest - RestoreResponse = Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse - SiteAuthSettings = Azure::Web::Mgmt::V2016_08_01::Models::SiteAuthSettings - SiteConfigResource = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource - SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfo - SiteExtensionInfo = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfo - SiteInstance = Azure::Web::Mgmt::V2016_08_01::Models::SiteInstance + BackupRequest = Azure::Web::Mgmt::V2016_08_01::Models::BackupRequest SiteLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::SiteLogsConfig - SitePatchResource = Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource - SitePhpErrorLogFlag = Azure::Web::Mgmt::V2016_08_01::Models::SitePhpErrorLogFlag - SiteSourceControl = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl - SlotConfigNamesResource = Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource - SlotDifference = Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference - Snapshot = Azure::Web::Mgmt::V2016_08_01::Models::Snapshot - StorageMigrationOptions = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions - StorageMigrationResponse = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationResponse - StringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::StringDictionary - TriggeredJobRun = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobRun - TriggeredJobHistory = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistory - TriggeredWebJob = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob - WebJob = Azure::Web::Mgmt::V2016_08_01::Models::WebJob - LogLevel = Azure::Web::Mgmt::V2016_08_01::Models::LogLevel - BackupItemStatus = Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus - DatabaseType = Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType - FrequencyUnit = Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit - BackupRestoreOperationType = Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType - ContinuousWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus - WebJobType = Azure::Web::Mgmt::V2016_08_01::Models::WebJobType - PublishingProfileFormat = Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat - DnsVerificationTestResult = Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult - AzureResourceType = Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType - CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType - HostNameType = Azure::Web::Mgmt::V2016_08_01::Models::HostNameType - MSDeployLogEntryType = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType - MSDeployProvisioningState = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState - MySqlMigrationType = Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType - PublicCertificateLocation = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation - UnauthenticatedClientAction = Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction - BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider - CloneAbilityResult = Azure::Web::Mgmt::V2016_08_01::Models::CloneAbilityResult - SiteExtensionType = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionType - TriggeredWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus - HostingEnvironmentProfile = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile - VirtualIPMapping = Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping - IpSecurityRestriction = Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction - VirtualNetworkProfile = Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile - ApiDefinitionInfo = Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo - StampCapacity = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity - CorsSettings = Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings - NameValuePair = Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair - AutoHealCustomAction = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction - AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection - AutoHealActions = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions - HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics - SlowRequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger - SlotSwapStatus = Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus - SkuCapacity = Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity - CloningInfo = Azure::Web::Mgmt::V2016_09_01::Models::CloningInfo - SkuDescription = Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription - AddressResponse = Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse - SkuInfoCollection = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection - WorkerPool = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool - NetworkAccessControlEntry = Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry - ResourceCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection - WorkerPoolCollection = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection - HybridConnectionCollection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection - Resource = Azure::Web::Mgmt::V2016_09_01::Models::Resource - ErrorEntity = Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity - ResourceMetricProperty = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty - SnapshotRecoveryTarget = Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryTarget - MetricAvailabilily = Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily - ResourceMetricAvailability = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricAvailability - ResourceMetric = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric - CsmUsageQuotaCollection = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection - StatusCodesBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger - LocalizableString = Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString - RequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger - ResourceMetricCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection - AutoHealTriggers = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers - ManagedServiceIdentity = Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity - AutoHealRules = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealRules - SkuInfo = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo - SiteLimits = Azure::Web::Mgmt::V2016_09_01::Models::SiteLimits - UsageCollection = Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection - RampUpRule = Azure::Web::Mgmt::V2016_09_01::Models::RampUpRule - AppServicePlanCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection - Experiments = Azure::Web::Mgmt::V2016_09_01::Models::Experiments - ResourceMetricName = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName - VirtualDirectory = Azure::Web::Mgmt::V2016_09_01::Models::VirtualDirectory - ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection - VirtualApplication = Azure::Web::Mgmt::V2016_09_01::Models::VirtualApplication - Capability = Azure::Web::Mgmt::V2016_09_01::Models::Capability - HandlerMapping = Azure::Web::Mgmt::V2016_09_01::Models::HandlerMapping - Operation = Azure::Web::Mgmt::V2016_09_01::Models::Operation - SiteMachineKey = Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey - CsmUsageQuota = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota - ConnStringInfo = Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo - StampCapacityCollection = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection - SiteConfig = Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig - ProxyOnlyResource = Azure::Web::Mgmt::V2016_09_01::Models::ProxyOnlyResource - HostNameSslState = Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState - WebAppCollection = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection - ResourceMetricValue = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue - AppServiceEnvironmentResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource - AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource - MetricDefinition = Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition - Usage = Azure::Web::Mgmt::V2016_09_01::Models::Usage - WorkerPoolResource = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource - VnetRoute = Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute - VnetInfo = Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo - VnetGateway = Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway - User = Azure::Web::Mgmt::V2016_09_01::Models::User + BackupSchedule = Azure::Web::Mgmt::V2016_08_01::Models::BackupSchedule + RestoreRequest = Azure::Web::Mgmt::V2016_08_01::Models::RestoreRequest + FunctionSecrets = Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets SnapshotRecoveryRequest = Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryRequest ResourceMetricDefinition = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinition PushSettings = Azure::Web::Mgmt::V2016_09_01::Models::PushSettings - Identifier = Azure::Web::Mgmt::V2016_09_01::Models::Identifier HybridConnectionKey = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionKey - HybridConnection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnection Site = Azure::Web::Mgmt::V2016_09_01::Models::Site AppServicePlan = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan - AppServicePlanPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource - HybridConnectionLimits = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits - ProvisioningState = Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState - HostingEnvironmentStatus = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus - InternalLoadBalancingMode = Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode - ComputeModeOptions = Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions - WorkerSizeOptions = Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions - AccessControlEntryAction = Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction + VnetGateway = Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway RouteType = Azure::Web::Mgmt::V2016_09_01::Models::RouteType AutoHealActionType = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActionType ConnectionStringType = Azure::Web::Mgmt::V2016_09_01::Models::ConnectionStringType @@ -321,13 +242,92 @@ module Models SslState = Azure::Web::Mgmt::V2016_09_01::Models::SslState HostType = Azure::Web::Mgmt::V2016_09_01::Models::HostType UsageState = Azure::Web::Mgmt::V2016_09_01::Models::UsageState + MetricDefinition = Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition SiteAvailabilityState = Azure::Web::Mgmt::V2016_09_01::Models::SiteAvailabilityState StatusOptions = Azure::Web::Mgmt::V2016_09_01::Models::StatusOptions OperationStatus = Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus + Operation = Azure::Web::Mgmt::V2016_09_01::Models::Operation + HybridConnection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnection + Usage = Azure::Web::Mgmt::V2016_09_01::Models::Usage + Resource = Azure::Web::Mgmt::V2016_09_01::Models::Resource + ProvisioningState = Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState + ProxyOnlyResource = Azure::Web::Mgmt::V2016_09_01::Models::ProxyOnlyResource + LocalizableString = Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString + User = Azure::Web::Mgmt::V2016_09_01::Models::User + VirtualNetworkProfile = Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile + WorkerPool = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool + VirtualIPMapping = Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping + StampCapacity = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity + AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection + NetworkAccessControlEntry = Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry + HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics + SkuInfoCollection = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection + ResourceCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection + AddressResponse = Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse + WorkerPoolCollection = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection + HybridConnectionCollection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection + MetricAvailabilily = Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily + ErrorEntity = Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity + UsageCollection = Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection + CsmUsageQuotaCollection = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection + AppServiceEnvironmentResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource + ResourceMetricProperty = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty + SkuInfo = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo + AppServicePlanCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection + ResourceMetric = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric + ResourceMetricCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection + ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection + WebAppCollection = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection + StampCapacityCollection = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection + HybridConnectionLimits = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits + AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource + WorkerPoolResource = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource + ResourceMetricValue = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue + ManagedServiceIdentity = Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity + CsmUsageQuota = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota + AppServicePlanPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource + SlotSwapStatus = Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus + CloningInfo = Azure::Web::Mgmt::V2016_09_01::Models::CloningInfo + HostingEnvironmentProfile = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile + HostingEnvironmentStatus = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus + IpSecurityRestriction = Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction + InternalLoadBalancingMode = Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode + ApiDefinitionInfo = Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo + WorkerSizeOptions = Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions + CorsSettings = Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings + AutoHealCustomAction = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction + ComputeModeOptions = Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions + AutoHealActions = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions + AccessControlEntryAction = Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction + SlowRequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger + StatusCodesBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger + RequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger + SiteConfig = Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig + SnapshotRecoveryTarget = Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryTarget + ResourceMetricAvailability = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricAvailability + NameValuePair = Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair + ConnStringInfo = Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo + SkuDescription = Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription + Capability = Azure::Web::Mgmt::V2016_09_01::Models::Capability + HostNameSslState = Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState + AutoHealTriggers = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers + AutoHealRules = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealRules + ResourceMetricName = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName + SiteLimits = Azure::Web::Mgmt::V2016_09_01::Models::SiteLimits + SkuCapacity = Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity + RampUpRule = Azure::Web::Mgmt::V2016_09_01::Models::RampUpRule + Experiments = Azure::Web::Mgmt::V2016_09_01::Models::Experiments + VirtualDirectory = Azure::Web::Mgmt::V2016_09_01::Models::VirtualDirectory + VirtualApplication = Azure::Web::Mgmt::V2016_09_01::Models::VirtualApplication + HandlerMapping = Azure::Web::Mgmt::V2016_09_01::Models::HandlerMapping + SiteMachineKey = Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey + VnetRoute = Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute + VnetInfo = Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo + Identifier = Azure::Web::Mgmt::V2016_09_01::Models::Identifier end class WebManagementClass - attr_reader :domain_registration_provider, :domains, :top_level_domains, :app_service_certificate_orders, :certificate_registration_provider, :certificates, :deleted_web_apps, :diagnostics, :provider, :recommendations, :web_apps, :app_service_environments, :app_service_plans, :configurable, :base_url, :options, :model_classes + attr_reader :top_level_domains, :domains, :domain_registration_provider, :certificate_registration_provider, :app_service_certificate_orders, :deleted_web_apps, :recommendations, :certificates, :diagnostics, :provider, :web_apps, :app_service_environments, :app_service_plans, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -337,28 +337,28 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @domain_registration_provider = @client_0.domain_registration_provider - @domains = @client_0.domains @top_level_domains = @client_0.top_level_domains + @domains = @client_0.domains + @domain_registration_provider = @client_0.domain_registration_provider @client_1 = Azure::Web::Mgmt::V2015_08_01::WebSiteManagementClient.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) - @app_service_certificate_orders = @client_1.app_service_certificate_orders @certificate_registration_provider = @client_1.certificate_registration_provider + @app_service_certificate_orders = @client_1.app_service_certificate_orders @client_2 = Azure::Web::Mgmt::V2016_03_01::WebSiteManagementClient.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) - @certificates = @client_2.certificates @deleted_web_apps = @client_2.deleted_web_apps + @recommendations = @client_2.recommendations + @certificates = @client_2.certificates @diagnostics = @client_2.diagnostics @provider = @client_2.provider - @recommendations = @client_2.recommendations @client_3 = Azure::Web::Mgmt::V2016_08_01::WebSiteManagementClient.new(configurable.credentials, base_url, options) if(@client_3.respond_to?(:subscription_id)) @@ -400,6 +400,30 @@ def method_missing(method, *args) end class ModelClasses + def top_level_domain + Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain + end + def domain_status + Azure::Web::Mgmt::V2015_04_01::Models::DomainStatus + end + def dns_type + Azure::Web::Mgmt::V2015_04_01::Models::DnsType + end + def domain_type + Azure::Web::Mgmt::V2015_04_01::Models::DomainType + end + def domain_ownership_identifier + Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier + end + def domain_patch_resource + Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource + end + def error_response + Azure::Web::Mgmt::V2015_04_01::Models::ErrorResponse + end + def domain + Azure::Web::Mgmt::V2015_04_01::Models::Domain + end def contact Azure::Web::Mgmt::V2015_04_01::Models::Contact end @@ -412,59 +436,50 @@ def domain_availablility_check_result def domain_control_center_sso_request Azure::Web::Mgmt::V2015_04_01::Models::DomainControlCenterSsoRequest end - def domain_ownership_identifier_collection - Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection - end def domain_recommendation_search_parameters Azure::Web::Mgmt::V2015_04_01::Models::DomainRecommendationSearchParameters end def name_identifier_collection Azure::Web::Mgmt::V2015_04_01::Models::NameIdentifierCollection end + def domain_ownership_identifier_collection + Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection + end def address Azure::Web::Mgmt::V2015_04_01::Models::Address end - def host_name - Azure::Web::Mgmt::V2015_04_01::Models::HostName - end def top_level_domain_collection Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainCollection end + def host_name + Azure::Web::Mgmt::V2015_04_01::Models::HostName + end def domain_collection Azure::Web::Mgmt::V2015_04_01::Models::DomainCollection end def tld_legal_agreement Azure::Web::Mgmt::V2015_04_01::Models::TldLegalAgreement end - def error_response - Azure::Web::Mgmt::V2015_04_01::Models::ErrorResponse - end def top_level_domain_agreement_option Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainAgreementOption end def tld_legal_agreement_collection Azure::Web::Mgmt::V2015_04_01::Models::TldLegalAgreementCollection end - def domain - Azure::Web::Mgmt::V2015_04_01::Models::Domain - end - def domain_ownership_identifier - Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier - end - def domain_patch_resource - Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource + def certificate_email + Azure::Web::Mgmt::V2015_08_01::Models::CertificateEmail end - def top_level_domain - Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain + def certificate_order_action + Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction end - def domain_status - Azure::Web::Mgmt::V2015_04_01::Models::DomainStatus + def renew_certificate_order_request + Azure::Web::Mgmt::V2015_08_01::Models::RenewCertificateOrderRequest end - def dns_type - Azure::Web::Mgmt::V2015_04_01::Models::DnsType + def certificate_product_type + Azure::Web::Mgmt::V2015_08_01::Models::CertificateProductType end - def domain_type - Azure::Web::Mgmt::V2015_04_01::Models::DomainType + def certificate_order_status + Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderStatus end def app_service_certificate Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificate @@ -478,17 +493,17 @@ def app_service_certificate_order_collection def site_seal_request Azure::Web::Mgmt::V2015_08_01::Models::SiteSealRequest end - def certificate_details - Azure::Web::Mgmt::V2015_08_01::Models::CertificateDetails + def app_service_certificate_order + Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder end def site_seal Azure::Web::Mgmt::V2015_08_01::Models::SiteSeal end - def app_service_certificate_resource - Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource + def certificate_details + Azure::Web::Mgmt::V2015_08_01::Models::CertificateDetails end - def app_service_certificate_order - Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder + def reissue_certificate_order_request + Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest end def app_service_certificate_order_patch_resource Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrderPatchResource @@ -496,38 +511,50 @@ def app_service_certificate_order_patch_resource def app_service_certificate_patch_resource Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificatePatchResource end - def certificate_email - Azure::Web::Mgmt::V2015_08_01::Models::CertificateEmail - end - def certificate_order_action - Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction + def certificate_order_action_type + Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderActionType end - def reissue_certificate_order_request - Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest + def app_service_certificate_resource + Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource end - def renew_certificate_order_request - Azure::Web::Mgmt::V2015_08_01::Models::RenewCertificateOrderRequest + def solution_type + Azure::Web::Mgmt::V2016_03_01::Models::SolutionType end - def certificate_product_type - Azure::Web::Mgmt::V2015_08_01::Models::CertificateProductType + def resource_scope_type + Azure::Web::Mgmt::V2016_03_01::Models::ResourceScopeType end - def certificate_order_status - Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderStatus + def notification_level + Azure::Web::Mgmt::V2016_03_01::Models::NotificationLevel end - def certificate_order_action_type - Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderActionType + def vnet_validation_failure_details + Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails end def metric_availability Azure::Web::Mgmt::V2016_03_01::Models::MetricAvailability end - def metric_specification - Azure::Web::Mgmt::V2016_03_01::Models::MetricSpecification + def service_specification + Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification end - def hosting_environment_deployment_info - Azure::Web::Mgmt::V2016_03_01::Models::HostingEnvironmentDeploymentInfo + def check_name_resource_types + Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes end - def certificate_collection - Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection + def channels + Azure::Web::Mgmt::V2016_03_01::Models::Channels + end + def issue_type + Azure::Web::Mgmt::V2016_03_01::Models::IssueType + end + def key_vault_secret_status + Azure::Web::Mgmt::V2016_03_01::Models::KeyVaultSecretStatus + end + def sku_name + Azure::Web::Mgmt::V2016_03_01::Models::SkuName + end + def certificate + Azure::Web::Mgmt::V2016_03_01::Models::Certificate + end + def hosting_environment_deployment_info + Azure::Web::Mgmt::V2016_03_01::Models::HostingEnvironmentDeploymentInfo end def validate_response Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponse @@ -547,33 +574,12 @@ def app_service_environment def geo_region_collection Azure::Web::Mgmt::V2016_03_01::Models::GeoRegionCollection end - def csm_operation_display - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay - end - def dimension - Azure::Web::Mgmt::V2016_03_01::Models::Dimension - end def csm_move_resource_envelope Azure::Web::Mgmt::V2016_03_01::Models::CsmMoveResourceEnvelope end - def service_specification - Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification - end - def csm_operation_description_properties - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties - end - def csm_operation_description - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription - end - def csm_operation_collection - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection - end def deployment_locations Azure::Web::Mgmt::V2016_03_01::Models::DeploymentLocations end - def name_identifier - Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier - end def source_control_collection Azure::Web::Mgmt::V2016_03_01::Models::SourceControlCollection end @@ -610,9 +616,6 @@ 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 @@ -631,80 +634,209 @@ def diagnostic_detector_collection def diagnostic_analysis_collection Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysisCollection end - def diagnostic_category_collection - Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection - end - def certificate - Azure::Web::Mgmt::V2016_03_01::Models::Certificate + def data_source + Azure::Web::Mgmt::V2016_03_01::Models::DataSource end def certificate_patch_resource Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource end - def detector_definition - Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition + def diagnostic_category_collection + Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection end def analysis_definition Azure::Web::Mgmt::V2016_03_01::Models::AnalysisDefinition end - def diagnostic_analysis - Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysis + def detector_definition + Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition end def diagnostic_category Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategory end - def diagnostic_detector_response - Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse + def diagnostic_analysis + Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysis end def geo_region Azure::Web::Mgmt::V2016_03_01::Models::GeoRegion end - def premier_add_on_offer - Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOffer + def csm_operation_display + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay end - def source_control - Azure::Web::Mgmt::V2016_03_01::Models::SourceControl + def certificate_collection + Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection end - def vnet_parameters - Azure::Web::Mgmt::V2016_03_01::Models::VnetParameters + def csm_operation_collection + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection end def vnet_validation_test_failure Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationTestFailure end - def vnet_validation_failure_details - Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails - end - def key_vault_secret_status - Azure::Web::Mgmt::V2016_03_01::Models::KeyVaultSecretStatus + def dimension + Azure::Web::Mgmt::V2016_03_01::Models::Dimension end - def issue_type - Azure::Web::Mgmt::V2016_03_01::Models::IssueType + def metric_specification + Azure::Web::Mgmt::V2016_03_01::Models::MetricSpecification end - def solution_type - Azure::Web::Mgmt::V2016_03_01::Models::SolutionType + def premier_add_on_offer + Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOffer end - def resource_scope_type - Azure::Web::Mgmt::V2016_03_01::Models::ResourceScopeType + def vnet_parameters + Azure::Web::Mgmt::V2016_03_01::Models::VnetParameters end - def notification_level - Azure::Web::Mgmt::V2016_03_01::Models::NotificationLevel + def diagnostic_detector_response + Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse end - def channels - Azure::Web::Mgmt::V2016_03_01::Models::Channels + def source_control + Azure::Web::Mgmt::V2016_03_01::Models::SourceControl end def app_service_plan_restrictions Azure::Web::Mgmt::V2016_03_01::Models::AppServicePlanRestrictions end - def in_availability_reason_type - Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType + def name_identifier + Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier end - def check_name_resource_types - Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes + def csm_operation_description + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription + end + def csm_operation_description_properties + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties end def validate_resource_types Azure::Web::Mgmt::V2016_03_01::Models::ValidateResourceTypes end - def sku_name - Azure::Web::Mgmt::V2016_03_01::Models::SkuName + def in_availability_reason_type + Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType + end + def public_certificate + Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificate + end + def restore_response + Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse + end + def site_auth_settings + Azure::Web::Mgmt::V2016_08_01::Models::SiteAuthSettings + end + def migrate_my_sql_status + Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlStatus + end + def site_configuration_snapshot_info + Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfo + end + def site_instance + Azure::Web::Mgmt::V2016_08_01::Models::SiteInstance + end + def process_thread_info + Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfo + end + def process_module_info + Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo + end + def site_php_error_log_flag + Azure::Web::Mgmt::V2016_08_01::Models::SitePhpErrorLogFlag + end + def slot_config_names_resource + Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource + end + def slot_difference + Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference + end + def site_config_resource + Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource + end + def storage_migration_response + Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationResponse + end + def site_extension_info + Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfo + end + def triggered_job_run + Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobRun + end + def triggered_job_history + Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistory + end + def site_patch_resource + Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource + end + def web_job + Azure::Web::Mgmt::V2016_08_01::Models::WebJob + end + def site_source_control + Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl + end + def backup_item_status + Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus + end + def storage_migration_options + Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions + end + def string_dictionary + Azure::Web::Mgmt::V2016_08_01::Models::StringDictionary + end + def triggered_web_job + Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob + end + def azure_resource_type + Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType + end + def log_level + Azure::Web::Mgmt::V2016_08_01::Models::LogLevel + end + def host_name_type + Azure::Web::Mgmt::V2016_08_01::Models::HostNameType + end + def frequency_unit + Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit + end + def backup_restore_operation_type + Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType + end + def publishing_profile_format + Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat + end + def dns_verification_test_result + Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + end + def msdeploy_log_entry_type + Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType + end + def my_sql_migration_type + Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType + end + def public_certificate_location + Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + end + def database_type + Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType + end + def snapshot + Azure::Web::Mgmt::V2016_08_01::Models::Snapshot + end + def custom_host_name_dns_record_type + Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType + end + def continuous_web_job_status + Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus + end + def web_job_type + Azure::Web::Mgmt::V2016_08_01::Models::WebJobType + end + def unauthenticated_client_action + Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction + end + def built_in_authentication_provider + Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider + end + def clone_ability_result + Azure::Web::Mgmt::V2016_08_01::Models::CloneAbilityResult + end + def site_extension_type + Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionType + end + def msdeploy_provisioning_state + Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState + end + def triggered_web_job_status + Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus end def azure_table_storage_application_logs_config Azure::Web::Mgmt::V2016_08_01::Models::AzureTableStorageApplicationLogsConfig @@ -736,12 +868,12 @@ def csm_publishing_profile_options def web_app_instance_collection Azure::Web::Mgmt::V2016_08_01::Models::WebAppInstanceCollection end - def public_certificate_collection - Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection - end def identifier_collection Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection end + def public_certificate_collection + Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection + end def triggered_web_job_collection Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobCollection end @@ -754,6 +886,9 @@ def triggered_job_history_collection def snapshot_collection Azure::Web::Mgmt::V2016_08_01::Models::SnapshotCollection end + def perf_mon_set + Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSet + end def site_cloneability_criterion Azure::Web::Mgmt::V2016_08_01::Models::SiteCloneabilityCriterion end @@ -763,8 +898,11 @@ def host_name_binding_collection def site_cloneability Azure::Web::Mgmt::V2016_08_01::Models::SiteCloneability end - def perf_mon_set - Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSet + def continuous_web_job_collection + Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobCollection + end + def file_system_application_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::FileSystemApplicationLogsConfig end def perf_mon_counter_collection Azure::Web::Mgmt::V2016_08_01::Models::PerfMonCounterCollection @@ -772,11 +910,8 @@ def perf_mon_counter_collection def web_job_collection Azure::Web::Mgmt::V2016_08_01::Models::WebJobCollection end - def continuous_web_job_collection - Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobCollection - end - def file_system_application_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::FileSystemApplicationLogsConfig + def slot_difference_collection + Azure::Web::Mgmt::V2016_08_01::Models::SlotDifferenceCollection end def file_system_http_logs_config Azure::Web::Mgmt::V2016_08_01::Models::FileSystemHttpLogsConfig @@ -784,32 +919,23 @@ def file_system_http_logs_config def azure_blob_storage_application_logs_config Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageApplicationLogsConfig end - def azure_blob_storage_http_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig - end def msdeploy_log_entry Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntry end - def backup_schedule - Azure::Web::Mgmt::V2016_08_01::Models::BackupSchedule - end - def perf_mon_sample - Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSample - end - def slot_difference_collection - Azure::Web::Mgmt::V2016_08_01::Models::SlotDifferenceCollection + def function_envelope_collection + Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection end def deployment_collection Azure::Web::Mgmt::V2016_08_01::Models::DeploymentCollection end - def http_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig + def azure_blob_storage_http_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig end def site_config_resource_collection Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResourceCollection end - def function_envelope_collection - Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection + def perf_mon_sample + Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSample end def perf_mon_response Azure::Web::Mgmt::V2016_08_01::Models::PerfMonResponse @@ -817,495 +943,369 @@ def perf_mon_response def site_configuration_snapshot_info_collection Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection end + def http_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig + end + def connection_string_dictionary + Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary + end def csm_slot_entity Azure::Web::Mgmt::V2016_08_01::Models::CsmSlotEntity end - def site_extension_info_collection - Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection - end def backup_item Azure::Web::Mgmt::V2016_08_01::Models::BackupItem end - def backup_request - Azure::Web::Mgmt::V2016_08_01::Models::BackupRequest - end - def connection_string_dictionary - Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary - end def continuous_web_job Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJob end - def custom_hostname_analysis_result - Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult - end - def deployment - Azure::Web::Mgmt::V2016_08_01::Models::Deployment - end def function_envelope Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelope end - def function_secrets - Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets - end def host_name_binding Azure::Web::Mgmt::V2016_08_01::Models::HostNameBinding end - def msdeploy - Azure::Web::Mgmt::V2016_08_01::Models::MSDeploy - end def msdeploy_log Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLog end - def msdeploy_status - Azure::Web::Mgmt::V2016_08_01::Models::MSDeployStatus - end def migrate_my_sql_request Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlRequest end - def migrate_my_sql_status - Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlStatus + def site_extension_info_collection + Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection end - def relay_service_connection_entity - Azure::Web::Mgmt::V2016_08_01::Models::RelayServiceConnectionEntity + def premier_add_on + Azure::Web::Mgmt::V2016_08_01::Models::PremierAddOn + end + def msdeploy_status + Azure::Web::Mgmt::V2016_08_01::Models::MSDeployStatus + end + def custom_hostname_analysis_result + Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult end def network_features Azure::Web::Mgmt::V2016_08_01::Models::NetworkFeatures end - def premier_add_on - Azure::Web::Mgmt::V2016_08_01::Models::PremierAddOn + def deployment + Azure::Web::Mgmt::V2016_08_01::Models::Deployment end - def process_thread_info - Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfo + def relay_service_connection_entity + Azure::Web::Mgmt::V2016_08_01::Models::RelayServiceConnectionEntity end - def process_module_info - Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo + def msdeploy + Azure::Web::Mgmt::V2016_08_01::Models::MSDeploy end def process_info Azure::Web::Mgmt::V2016_08_01::Models::ProcessInfo end - def public_certificate - Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificate + def backup_request + Azure::Web::Mgmt::V2016_08_01::Models::BackupRequest + end + def site_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::SiteLogsConfig + end + def backup_schedule + Azure::Web::Mgmt::V2016_08_01::Models::BackupSchedule end def restore_request Azure::Web::Mgmt::V2016_08_01::Models::RestoreRequest end - def restore_response - Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse + def function_secrets + Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets end - def site_auth_settings - Azure::Web::Mgmt::V2016_08_01::Models::SiteAuthSettings + def snapshot_recovery_request + Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryRequest end - def site_config_resource - Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource + def resource_metric_definition + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinition end - def site_configuration_snapshot_info - Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfo + def push_settings + Azure::Web::Mgmt::V2016_09_01::Models::PushSettings end - def site_extension_info - Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfo + def hybrid_connection_key + Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionKey end - def site_instance - Azure::Web::Mgmt::V2016_08_01::Models::SiteInstance + def site + Azure::Web::Mgmt::V2016_09_01::Models::Site end - def site_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::SiteLogsConfig + def app_service_plan + Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan end - def site_patch_resource - Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource + def vnet_gateway + Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway end - def site_php_error_log_flag - Azure::Web::Mgmt::V2016_08_01::Models::SitePhpErrorLogFlag + def route_type + Azure::Web::Mgmt::V2016_09_01::Models::RouteType end - def site_source_control - Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl + def auto_heal_action_type + Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActionType end - def slot_config_names_resource - Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource + def connection_string_type + Azure::Web::Mgmt::V2016_09_01::Models::ConnectionStringType end - def slot_difference - Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference + def scm_type + Azure::Web::Mgmt::V2016_09_01::Models::ScmType end - def snapshot - Azure::Web::Mgmt::V2016_08_01::Models::Snapshot + def managed_pipeline_mode + Azure::Web::Mgmt::V2016_09_01::Models::ManagedPipelineMode end - def storage_migration_options - Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions + def site_load_balancing + Azure::Web::Mgmt::V2016_09_01::Models::SiteLoadBalancing end - def storage_migration_response - Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationResponse + def ssl_state + Azure::Web::Mgmt::V2016_09_01::Models::SslState end - def string_dictionary - Azure::Web::Mgmt::V2016_08_01::Models::StringDictionary + def host_type + Azure::Web::Mgmt::V2016_09_01::Models::HostType end - def triggered_job_run - Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobRun + def usage_state + Azure::Web::Mgmt::V2016_09_01::Models::UsageState end - def triggered_job_history - Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistory + def metric_definition + Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition end - def triggered_web_job - Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob + def site_availability_state + Azure::Web::Mgmt::V2016_09_01::Models::SiteAvailabilityState end - def web_job - Azure::Web::Mgmt::V2016_08_01::Models::WebJob + def status_options + Azure::Web::Mgmt::V2016_09_01::Models::StatusOptions end - def log_level - Azure::Web::Mgmt::V2016_08_01::Models::LogLevel + def operation_status + Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus end - def backup_item_status - Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus + def operation + Azure::Web::Mgmt::V2016_09_01::Models::Operation end - def database_type - Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType + def hybrid_connection + Azure::Web::Mgmt::V2016_09_01::Models::HybridConnection end - def frequency_unit - Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit + def usage + Azure::Web::Mgmt::V2016_09_01::Models::Usage end - def backup_restore_operation_type - Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType + def resource + Azure::Web::Mgmt::V2016_09_01::Models::Resource end - def continuous_web_job_status - Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus + def provisioning_state + Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState end - def web_job_type - Azure::Web::Mgmt::V2016_08_01::Models::WebJobType + def proxy_only_resource + Azure::Web::Mgmt::V2016_09_01::Models::ProxyOnlyResource end - def publishing_profile_format - Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat + def localizable_string + Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString end - def dns_verification_test_result - Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + def user + Azure::Web::Mgmt::V2016_09_01::Models::User end - def azure_resource_type - Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType + def virtual_network_profile + Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile end - def custom_host_name_dns_record_type - Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType + def worker_pool + Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool end - def host_name_type - Azure::Web::Mgmt::V2016_08_01::Models::HostNameType + def virtual_ipmapping + Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping end - def msdeploy_log_entry_type - Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType + def stamp_capacity + Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity end - def msdeploy_provisioning_state - Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState + def app_service_environment_collection + Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection end - def my_sql_migration_type - Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType + def network_access_control_entry + Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry end - def public_certificate_location - Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + def hosting_environment_diagnostics + Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics end - def unauthenticated_client_action - Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction + def sku_info_collection + Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection end - def built_in_authentication_provider - Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider + def resource_collection + Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection end - def clone_ability_result - Azure::Web::Mgmt::V2016_08_01::Models::CloneAbilityResult + def address_response + Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse end - def site_extension_type - Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionType + def worker_pool_collection + Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection end - def triggered_web_job_status - Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus + def hybrid_connection_collection + Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection end - def hosting_environment_profile - Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile + def metric_availabilily + Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily end - def virtual_ipmapping - Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping + def error_entity + Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity end - def ip_security_restriction - Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction + def usage_collection + Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection end - def virtual_network_profile - Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile + def csm_usage_quota_collection + Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection end - def api_definition_info - Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo + def app_service_environment_resource + Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource end - def stamp_capacity - Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity + def resource_metric_property + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty end - def cors_settings - Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings + def sku_info + Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo end - def name_value_pair - Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair + def app_service_plan_collection + Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection end - def auto_heal_custom_action - Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction + def resource_metric + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric end - def app_service_environment_collection - Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection + def resource_metric_collection + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection end - def auto_heal_actions - Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions + def resource_metric_definition_collection + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection end - def hosting_environment_diagnostics - Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics + def web_app_collection + Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection end - def slow_requests_based_trigger - Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger + def stamp_capacity_collection + Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection + end + def hybrid_connection_limits + Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits + end + def app_service_environment_patch_resource + Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource + end + def worker_pool_resource + Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource + end + def resource_metric_value + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue + end + def managed_service_identity + Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity + end + def csm_usage_quota + Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota + end + def app_service_plan_patch_resource + Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource end def slot_swap_status Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus end - def sku_capacity - Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity - end def cloning_info Azure::Web::Mgmt::V2016_09_01::Models::CloningInfo end - def sku_description - Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription + def hosting_environment_profile + Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile end - def address_response - Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse + def hosting_environment_status + Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus end - def sku_info_collection - Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection + def ip_security_restriction + Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction end - def worker_pool - Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool + def internal_load_balancing_mode + Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode end - def network_access_control_entry - Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry + def api_definition_info + Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo end - def resource_collection - Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection + def worker_size_options + Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions end - def worker_pool_collection - Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection + def cors_settings + Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings end - def hybrid_connection_collection - Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection + def auto_heal_custom_action + Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction end - def resource - Azure::Web::Mgmt::V2016_09_01::Models::Resource + def compute_mode_options + Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions end - def error_entity - Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity + def auto_heal_actions + Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions end - def resource_metric_property - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty + def access_control_entry_action + Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction + end + def slow_requests_based_trigger + Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger + end + def status_codes_based_trigger + Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger + end + def requests_based_trigger + Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger + end + def site_config + Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig end def snapshot_recovery_target Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryTarget end - def metric_availabilily - Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily - end def resource_metric_availability Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricAvailability end - def resource_metric - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric - end - def csm_usage_quota_collection - Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection + def name_value_pair + Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair end - def status_codes_based_trigger - Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger + def conn_string_info + Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo end - def localizable_string - Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString + def sku_description + Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription end - def requests_based_trigger - Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger + def capability + Azure::Web::Mgmt::V2016_09_01::Models::Capability end - def resource_metric_collection - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection + def host_name_ssl_state + Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState end def auto_heal_triggers Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers end - def managed_service_identity - Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity - end def auto_heal_rules Azure::Web::Mgmt::V2016_09_01::Models::AutoHealRules end - def sku_info - Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo + def resource_metric_name + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName end def site_limits Azure::Web::Mgmt::V2016_09_01::Models::SiteLimits end - def usage_collection - Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection + def sku_capacity + Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity end def ramp_up_rule Azure::Web::Mgmt::V2016_09_01::Models::RampUpRule end - def app_service_plan_collection - Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection - end def experiments Azure::Web::Mgmt::V2016_09_01::Models::Experiments end - def resource_metric_name - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName - end def virtual_directory Azure::Web::Mgmt::V2016_09_01::Models::VirtualDirectory end - def resource_metric_definition_collection - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection - end def virtual_application Azure::Web::Mgmt::V2016_09_01::Models::VirtualApplication end - def capability - Azure::Web::Mgmt::V2016_09_01::Models::Capability - end def handler_mapping Azure::Web::Mgmt::V2016_09_01::Models::HandlerMapping end - def operation - Azure::Web::Mgmt::V2016_09_01::Models::Operation - end def site_machine_key Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey end - def csm_usage_quota - Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota - end - def conn_string_info - Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo - end - def stamp_capacity_collection - Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection - end - def site_config - Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig - end - def proxy_only_resource - Azure::Web::Mgmt::V2016_09_01::Models::ProxyOnlyResource - end - def host_name_ssl_state - Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState - end - def web_app_collection - Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection - end - def resource_metric_value - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue - end - def app_service_environment_resource - Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource - end - def app_service_environment_patch_resource - Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource - end - def metric_definition - Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition - end - def usage - Azure::Web::Mgmt::V2016_09_01::Models::Usage - end - def worker_pool_resource - Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource - end def vnet_route Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute end def vnet_info Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo end - def vnet_gateway - Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway - end - def user - Azure::Web::Mgmt::V2016_09_01::Models::User - end - def snapshot_recovery_request - Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryRequest - end - def resource_metric_definition - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinition - end - def push_settings - Azure::Web::Mgmt::V2016_09_01::Models::PushSettings - end def identifier Azure::Web::Mgmt::V2016_09_01::Models::Identifier end - def hybrid_connection_key - Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionKey - end - def hybrid_connection - Azure::Web::Mgmt::V2016_09_01::Models::HybridConnection - end - def site - Azure::Web::Mgmt::V2016_09_01::Models::Site - end - def app_service_plan - Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan - end - def app_service_plan_patch_resource - Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource - end - def hybrid_connection_limits - Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits - end - def provisioning_state - Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState - end - def hosting_environment_status - Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus - end - def internal_load_balancing_mode - Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode - end - def compute_mode_options - Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions - end - def worker_size_options - Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions - end - def access_control_entry_action - Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction - end - def route_type - Azure::Web::Mgmt::V2016_09_01::Models::RouteType - end - def auto_heal_action_type - Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActionType - end - def connection_string_type - Azure::Web::Mgmt::V2016_09_01::Models::ConnectionStringType - end - def scm_type - Azure::Web::Mgmt::V2016_09_01::Models::ScmType - end - def managed_pipeline_mode - Azure::Web::Mgmt::V2016_09_01::Models::ManagedPipelineMode - end - def site_load_balancing - Azure::Web::Mgmt::V2016_09_01::Models::SiteLoadBalancing - end - def ssl_state - Azure::Web::Mgmt::V2016_09_01::Models::SslState - end - def host_type - Azure::Web::Mgmt::V2016_09_01::Models::HostType - end - def usage_state - Azure::Web::Mgmt::V2016_09_01::Models::UsageState - end - def site_availability_state - Azure::Web::Mgmt::V2016_09_01::Models::SiteAvailabilityState - end - def status_options - Azure::Web::Mgmt::V2016_09_01::Models::StatusOptions - end - def operation_status - Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus - 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 55a3a0b7ee..b256258621 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 + Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places + Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible + MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos + Images = Azure::CognitiveServices::WebSearch::V1_0::Models::Images + Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response + AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup + Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag - RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping - Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error - Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query TimeZoneTimeZoneInformation = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation - ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase - QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext - ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject - CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork + SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage - NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle - VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response - SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse - Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing Answer = Azure::CognitiveServices::WebSearch::V1_0::Models::Answer - Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork + RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer - WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer - Images = Azure::CognitiveServices::WebSearch::V1_0::Models::Images - News = Azure::CognitiveServices::WebSearch::V1_0::Models::News - RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer + VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject + Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone - Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos - Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places - ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse - Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible - MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject - Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article - StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue - AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType - ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode - Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness + WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer + ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase + ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat + RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer + News = Azure::CognitiveServices::WebSearch::V1_0::Models::News + Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article + Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness + Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error + ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject end class WebSearchDataClass @@ -82,83 +82,83 @@ def method_missing(method, *args) end class ModelClasses + def places + Azure::CognitiveServices::WebSearch::V1_0::Models::Places + end + def intangible + Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible + end + def media_object + Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + end + def structured_value + Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + end + def videos + Azure::CognitiveServices::WebSearch::V1_0::Models::Videos + end + def images + Azure::CognitiveServices::WebSearch::V1_0::Models::Images + end + def response + Azure::CognitiveServices::WebSearch::V1_0::Models::Response + end + def answer_type + Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + end + def news_article + Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle + end def ranking_ranking_item Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem end def ranking_ranking_group Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup end + def query + Azure::CognitiveServices::WebSearch::V1_0::Models::Query + end def web_meta_tag Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag end - def ranking_ranking_response - Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse - end def web_web_grouping Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping end - def error - Azure::CognitiveServices::WebSearch::V1_0::Models::Error - end - def query - Azure::CognitiveServices::WebSearch::V1_0::Models::Query - end def time_zone_time_zone_information Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation end - def response_base - Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase - end - def query_context - Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext - end - def image_object - Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject - end - def creative_work - Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork + def search_response + Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse end def web_page Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage end - def news_article - Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle - end - def video_object - Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject - end def identifiable Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::WebSearch::V1_0::Models::Response - end - def search_response - Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse + def answer + Azure::CognitiveServices::WebSearch::V1_0::Models::Answer end def thing Azure::CognitiveServices::WebSearch::V1_0::Models::Thing end - def answer - Azure::CognitiveServices::WebSearch::V1_0::Models::Answer + def creative_work + Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork end - def computation - Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + def ranking_ranking_response + Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse end def search_results_answer Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer end - def web_web_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer - end - def images - Azure::CognitiveServices::WebSearch::V1_0::Models::Images + def video_object + Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject end - def news - Azure::CognitiveServices::WebSearch::V1_0::Models::News + def computation + Azure::CognitiveServices::WebSearch::V1_0::Models::Computation end - def related_searches_related_search_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer + def query_context + Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext end def spell_suggestions Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions @@ -166,44 +166,44 @@ def spell_suggestions def time_zone Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone end - def videos - Azure::CognitiveServices::WebSearch::V1_0::Models::Videos + def error_sub_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode end - def places - Azure::CognitiveServices::WebSearch::V1_0::Models::Places + def web_web_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer end - def error_response - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse + def response_base + Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase end - def intangible - Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible + def error_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode end - def media_object - Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + def error_response + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse end - def article - Azure::CognitiveServices::WebSearch::V1_0::Models::Article + def safe_search + Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch end - def structured_value - Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + def text_format + Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat end - def answer_type - Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + def related_searches_related_search_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer end - def error_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + def news + Azure::CognitiveServices::WebSearch::V1_0::Models::News end - def error_sub_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode + def article + Azure::CognitiveServices::WebSearch::V1_0::Models::Article end def freshness Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness end - def safe_search - Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + def error + Azure::CognitiveServices::WebSearch::V1_0::Models::Error end - def text_format - Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat + def image_object + Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject 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 3d49eb5831..b9b7436448 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,17 +7,22 @@ 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 - UsageOperations = Azure::Compute::Mgmt::V2016_03_30::UsageOperations VirtualMachineSizes = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineSizes VirtualMachineScaleSets = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSets VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSetVMs + UsageOperations = Azure::Compute::Mgmt::V2016_03_30::UsageOperations + AvailabilitySets = Azure::Compute::Mgmt::V2016_03_30::AvailabilitySets + VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensionImages + VirtualMachineExtensions = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensions module Models + Sku = Azure::Compute::Mgmt::V2016_03_30::Models::Sku + SubResource = Azure::Compute::Mgmt::V2016_03_30::Models::SubResource + UsageName = Azure::Compute::Mgmt::V2016_03_30::Models::UsageName + Usage = Azure::Compute::Mgmt::V2016_03_30::Models::Usage + Resource = Azure::Compute::Mgmt::V2016_03_30::Models::Resource DiagnosticsProfile = Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile InstanceViewStatus = Azure::Compute::Mgmt::V2016_03_30::Models::InstanceViewStatus VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionHandlerInstanceView @@ -28,13 +33,10 @@ module Models InnerError = Azure::Compute::Mgmt::V2016_03_30::Models::InnerError VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionInstanceView NetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile - Resource = Azure::Compute::Mgmt::V2016_03_30::Models::Resource BootDiagnostics = Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics PurchasePlan = Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan - SubResource = Azure::Compute::Mgmt::V2016_03_30::Models::SubResource DataDiskImage = Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage ApiErrorBase = Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase - UsageName = Azure::Compute::Mgmt::V2016_03_30::Models::UsageName VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView ListUsagesResult = Azure::Compute::Mgmt::V2016_03_30::Models::ListUsagesResult DiskInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::DiskInstanceView @@ -49,7 +51,6 @@ module Models OSDisk = Azure::Compute::Mgmt::V2016_03_30::Models::OSDisk VirtualMachineListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineListResult StorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile - Sku = Azure::Compute::Mgmt::V2016_03_30::Models::Sku WinRMListener = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener UpgradePolicy = Azure::Compute::Mgmt::V2016_03_30::Models::UpgradePolicy WindowsConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WindowsConfiguration @@ -84,7 +85,6 @@ module Models VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineStatusCodeCount LinuxConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::LinuxConfiguration VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceViewStatusesSummary - Usage = Azure::Compute::Mgmt::V2016_03_30::Models::Usage VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMExtensionsSummary WinRMConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMConfiguration VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceView @@ -122,7 +122,7 @@ module Models 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_machines, :virtual_machine_images, :virtual_machine_sizes, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :usage_operations, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -132,15 +132,15 @@ 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 - @usage_operations = @client_0.usage_operations @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 + @usage_operations = @client_0.usage_operations + @availability_sets = @client_0.availability_sets + @virtual_machine_extension_images = @client_0.virtual_machine_extension_images + @virtual_machine_extensions = @client_0.virtual_machine_extensions @model_classes = ModelClasses.new end @@ -159,6 +159,21 @@ def method_missing(method, *args) end class ModelClasses + def sku + Azure::Compute::Mgmt::V2016_03_30::Models::Sku + end + def sub_resource + Azure::Compute::Mgmt::V2016_03_30::Models::SubResource + end + def usage_name + Azure::Compute::Mgmt::V2016_03_30::Models::UsageName + end + def usage + Azure::Compute::Mgmt::V2016_03_30::Models::Usage + end + def resource + Azure::Compute::Mgmt::V2016_03_30::Models::Resource + end def diagnostics_profile Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile end @@ -189,27 +204,18 @@ def virtual_machine_extension_instance_view def network_profile Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile end - def resource - Azure::Compute::Mgmt::V2016_03_30::Models::Resource - end def boot_diagnostics Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics end def purchase_plan Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan end - def sub_resource - Azure::Compute::Mgmt::V2016_03_30::Models::SubResource - end def data_disk_image Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage end def api_error_base Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase end - def usage_name - Azure::Compute::Mgmt::V2016_03_30::Models::UsageName - end def virtual_machine_agent_instance_view Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView end @@ -252,9 +258,6 @@ def virtual_machine_list_result def storage_profile Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile end - def sku - Azure::Compute::Mgmt::V2016_03_30::Models::Sku - end def win_rmlistener Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener end @@ -357,9 +360,6 @@ def linux_configuration def virtual_machine_scale_set_instance_view_statuses_summary Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceViewStatusesSummary end - def usage - Azure::Compute::Mgmt::V2016_03_30::Models::Usage - end def virtual_machine_scale_set_vmextensions_summary Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMExtensionsSummary end diff --git a/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb index 9fd4849d18..613649e774 100644 --- a/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb @@ -10,9 +10,9 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2015_01_01::ManagementLocks module Models + LockLevel = Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel ManagementLockListResult = Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockListResult ManagementLockObject = Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockObject - LockLevel = Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel end class LocksManagementClass @@ -45,15 +45,15 @@ def method_missing(method, *args) end class ModelClasses + def lock_level + Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel + end def management_lock_list_result Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockListResult end def management_lock_object Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockObject end - def lock_level - Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel - 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 5575c7982b..e19abe6da8 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,12 +7,6 @@ module Azure::Profiles::V2017_03_09 module Network module Mgmt - ApplicationGateways = Azure::Network::Mgmt::V2015_06_15::ApplicationGateways - ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitAuthorizations - ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitPeerings - ExpressRouteCircuits = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuits - ExpressRouteServiceProviders = Azure::Network::Mgmt::V2015_06_15::ExpressRouteServiceProviders - LoadBalancers = Azure::Network::Mgmt::V2015_06_15::LoadBalancers NetworkInterfaces = Azure::Network::Mgmt::V2015_06_15::NetworkInterfaces NetworkSecurityGroups = Azure::Network::Mgmt::V2015_06_15::NetworkSecurityGroups SecurityRules = Azure::Network::Mgmt::V2015_06_15::SecurityRules @@ -25,6 +19,12 @@ module Mgmt VirtualNetworkGateways = Azure::Network::Mgmt::V2015_06_15::VirtualNetworkGateways VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2015_06_15::VirtualNetworkGatewayConnections LocalNetworkGateways = Azure::Network::Mgmt::V2015_06_15::LocalNetworkGateways + ApplicationGateways = Azure::Network::Mgmt::V2015_06_15::ApplicationGateways + ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitAuthorizations + ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitPeerings + ExpressRouteCircuits = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuits + ExpressRouteServiceProviders = Azure::Network::Mgmt::V2015_06_15::ExpressRouteServiceProviders + LoadBalancers = Azure::Network::Mgmt::V2015_06_15::LoadBalancers module Models ExpressRouteCircuitsStatsListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsStatsListResult @@ -34,35 +34,35 @@ module Models PublicIPAddressListResult = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressListResult ApplicationGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayListResult ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress - Resource = Azure::Network::Mgmt::V2015_06_15::Models::Resource ConnectionResetSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey DnsNameAvailabilityResult = Azure::Network::Mgmt::V2015_06_15::Models::DnsNameAvailabilityResult NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroupListResult VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult + Resource = Azure::Network::Mgmt::V2015_06_15::Models::Resource AuthorizationListResult = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationListResult BgpSettings = Azure::Network::Mgmt::V2015_06_15::Models::BgpSettings ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringConfig VpnClientConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration ExpressRouteCircuitStats = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitStats - VirtualNetworkListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult SecurityRuleListResult = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleListResult AddressSpace = Azure::Network::Mgmt::V2015_06_15::Models::AddressSpace ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringListResult UsagesListResult = Azure::Network::Mgmt::V2015_06_15::Models::UsagesListResult ExpressRouteCircuitSku = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku - UsageName = Azure::Network::Mgmt::V2015_06_15::Models::UsageName + VirtualNetworkListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitServiceProviderProperties RouteTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteTableListResult NetworkInterfaceListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult - ConnectionSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey + UsageName = Azure::Network::Mgmt::V2015_06_15::Models::UsageName ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable - ConnectionSharedKeyResult = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult + ConnectionSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings + ConnectionSharedKeyResult = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitRoutesTable - DhcpOptions = Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsRoutesTableListResult + DhcpOptions = Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions Usage = Azure::Network::Mgmt::V2015_06_15::Models::Usage ApplicationGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGatewayListResult @@ -71,14 +71,10 @@ module Models VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku AzureAsyncOperationResult = Azure::Network::Mgmt::V2015_06_15::Models::AzureAsyncOperationResult RouteListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult - Error = Azure::Network::Mgmt::V2015_06_15::Models::Error SubnetListResult = Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult VpnClientParameters = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters ErrorDetails = Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration - ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort BackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::BackendAddressPool InboundNatRule = Azure::Network::Mgmt::V2015_06_15::Models::InboundNatRule @@ -113,12 +109,15 @@ module Models 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 - VirtualNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway + ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration LocalNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway - VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection + VirtualNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway ApplicationGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName - ApplicationGatewayTier = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier + VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod + ApplicationGatewayTier = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration TransportProtocol = Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol SecurityRuleProtocol = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol SecurityRuleAccess = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleAccess @@ -140,15 +139,16 @@ module Models NetworkOperationStatus = Azure::Network::Mgmt::V2015_06_15::Models::NetworkOperationStatus VirtualNetworkGatewayType = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayType VpnType = Azure::Network::Mgmt::V2015_06_15::Models::VpnType - VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuName + Error = Azure::Network::Mgmt::V2015_06_15::Models::Error VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuTier ProcessorArchitecture = Azure::Network::Mgmt::V2015_06_15::Models::ProcessorArchitecture - VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionType + VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionStatus + VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionType end class NetworkManagementClass - attr_reader :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :configurable, :base_url, :options, :model_classes + attr_reader :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -158,12 +158,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @application_gateways = @client_0.application_gateways - @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations - @express_route_circuit_peerings = @client_0.express_route_circuit_peerings - @express_route_circuits = @client_0.express_route_circuits - @express_route_service_providers = @client_0.express_route_service_providers - @load_balancers = @client_0.load_balancers @network_interfaces = @client_0.network_interfaces @network_security_groups = @client_0.network_security_groups @security_rules = @client_0.security_rules @@ -176,6 +170,12 @@ def initialize(configurable, base_url=nil, options=nil) @virtual_network_gateways = @client_0.virtual_network_gateways @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections @local_network_gateways = @client_0.local_network_gateways + @application_gateways = @client_0.application_gateways + @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations + @express_route_circuit_peerings = @client_0.express_route_circuit_peerings + @express_route_circuits = @client_0.express_route_circuits + @express_route_service_providers = @client_0.express_route_service_providers + @load_balancers = @client_0.load_balancers @model_classes = ModelClasses.new end @@ -215,9 +215,6 @@ def application_gateway_list_result def application_gateway_backend_address Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress end - def resource - Azure::Network::Mgmt::V2015_06_15::Models::Resource - end def connection_reset_shared_key Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey end @@ -233,6 +230,9 @@ def network_security_group_list_result def virtual_network_gateway_list_result Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult end + def resource + Azure::Network::Mgmt::V2015_06_15::Models::Resource + end def authorization_list_result Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationListResult end @@ -248,9 +248,6 @@ def vpn_client_configuration def express_route_circuit_stats Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitStats end - def virtual_network_list_result - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult - end def security_rule_list_result Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleListResult end @@ -266,8 +263,8 @@ def usages_list_result def express_route_circuit_sku Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku end - def usage_name - Azure::Network::Mgmt::V2015_06_15::Models::UsageName + def virtual_network_list_result + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult end def express_route_circuit_service_provider_properties Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitServiceProviderProperties @@ -278,30 +275,33 @@ def route_table_list_result def network_interface_list_result Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult end - def connection_shared_key - Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey + def usage_name + Azure::Network::Mgmt::V2015_06_15::Models::UsageName end def express_route_circuit_arp_table Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable end - def connection_shared_key_result - Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult + def connection_shared_key + Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey end def express_route_circuits_arp_table_list_result Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings + def connection_shared_key_result + Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult end def express_route_circuit_routes_table Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitRoutesTable end - def dhcp_options - Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings end def express_route_circuits_routes_table_list_result Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsRoutesTableListResult end + def dhcp_options + Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions + end def usage Azure::Network::Mgmt::V2015_06_15::Models::Usage end @@ -326,9 +326,6 @@ def azure_async_operation_result def route_list_result Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult end - def error - Azure::Network::Mgmt::V2015_06_15::Models::Error - end def subnet_list_result Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult end @@ -341,15 +338,6 @@ def vpn_client_parameters def error_details Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration - end - def application_gateway_ssl_certificate - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate - end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration - end def application_gateway_frontend_port Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort end @@ -452,24 +440,33 @@ def vpn_client_root_certificate def vpn_client_revoked_certificate Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRevokedCertificate end - def virtual_network_gateway - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway + def application_gateway_ssl_certificate + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate + end + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration end def local_network_gateway Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway end - def virtual_network_gateway_connection - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection + def virtual_network_gateway + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway end def application_gateway_sku_name Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName end - def application_gateway_tier - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier + def virtual_network_gateway_connection + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection end def ipallocation_method Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod end + def application_gateway_tier + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier + end + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration + end def transport_protocol Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol end @@ -533,8 +530,8 @@ def virtual_network_gateway_type def vpn_type Azure::Network::Mgmt::V2015_06_15::Models::VpnType end - def virtual_network_gateway_sku_name - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuName + def error + Azure::Network::Mgmt::V2015_06_15::Models::Error end def virtual_network_gateway_sku_tier Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuTier @@ -542,12 +539,15 @@ def virtual_network_gateway_sku_tier def processor_architecture Azure::Network::Mgmt::V2015_06_15::Models::ProcessorArchitecture end - def virtual_network_gateway_connection_type - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionType + def virtual_network_gateway_sku_name + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuName end def virtual_network_gateway_connection_status Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionStatus end + def virtual_network_gateway_connection_type + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionType + 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 855dd74068..95235e7d32 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 @@ -7,15 +7,16 @@ module Azure::Profiles::V2017_03_09 module Resources module Mgmt + Tags = Azure::Resources::Mgmt::V2016_02_01::Tags + DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations + Resources = Azure::Resources::Mgmt::V2016_02_01::Resources Deployments = Azure::Resources::Mgmt::V2016_02_01::Deployments Providers = Azure::Resources::Mgmt::V2016_02_01::Providers ResourceGroups = Azure::Resources::Mgmt::V2016_02_01::ResourceGroups - Resources = Azure::Resources::Mgmt::V2016_02_01::Resources - Tags = Azure::Resources::Mgmt::V2016_02_01::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations module Models - Sku = Azure::Resources::Mgmt::V2016_02_01::Models::Sku + Plan = Azure::Resources::Mgmt::V2016_02_01::Models::Plan + Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency DeploymentExtendedFilter = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter Identity = Azure::Resources::Mgmt::V2016_02_01::Models::Identity ResourceGroupFilter = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupFilter @@ -30,17 +31,16 @@ module Models ResourceGroupListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult Provider = Azure::Resources::Mgmt::V2016_02_01::Models::Provider ResourcesMoveInfo = Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo - Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency ExportTemplateRequest = Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest DeploymentValidateResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult TagCount = Azure::Resources::Mgmt::V2016_02_01::Models::TagCount DeploymentListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult TagValue = Azure::Resources::Mgmt::V2016_02_01::Models::TagValue - Plan = Azure::Resources::Mgmt::V2016_02_01::Models::Plan TagDetails = Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails ParametersLink = Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink TagsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult DeploymentExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult + Sku = Azure::Resources::Mgmt::V2016_02_01::Models::Sku TargetResource = Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource ProviderResourceType = Azure::Resources::Mgmt::V2016_02_01::Models::ProviderResourceType HttpMessage = Azure::Resources::Mgmt::V2016_02_01::Models::HttpMessage @@ -53,18 +53,18 @@ module Models BasicDependency = Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties GenericResourceFilter = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter - Resource = Azure::Resources::Mgmt::V2016_02_01::Models::Resource DeploymentExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended - SubResource = Azure::Resources::Mgmt::V2016_02_01::Models::SubResource AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType - ResourceGroupExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult + Resource = Azure::Resources::Mgmt::V2016_02_01::Models::Resource GenericResource = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource + ResourceGroupExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult DeploymentMode = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode + SubResource = Azure::Resources::Mgmt::V2016_02_01::Models::SubResource ResourceIdentityType = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType end class ResourcesManagementClass - attr_reader :deployments, :providers, :resource_groups, :resources, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :tags, :deployment_operations, :resources, :deployments, :providers, :resource_groups, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -74,12 +74,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @tags = @client_0.tags + @deployment_operations = @client_0.deployment_operations + @resources = @client_0.resources @deployments = @client_0.deployments @providers = @client_0.providers @resource_groups = @client_0.resource_groups - @resources = @client_0.resources - @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new end @@ -98,8 +98,11 @@ def method_missing(method, *args) end class ModelClasses - def sku - Azure::Resources::Mgmt::V2016_02_01::Models::Sku + def plan + Azure::Resources::Mgmt::V2016_02_01::Models::Plan + end + def dependency + Azure::Resources::Mgmt::V2016_02_01::Models::Dependency end def deployment_extended_filter Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter @@ -143,9 +146,6 @@ def provider def resources_move_info Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo end - def dependency - Azure::Resources::Mgmt::V2016_02_01::Models::Dependency - end def export_template_request Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest end @@ -161,9 +161,6 @@ def deployment_list_result def tag_value Azure::Resources::Mgmt::V2016_02_01::Models::TagValue end - def plan - Azure::Resources::Mgmt::V2016_02_01::Models::Plan - end def tag_details Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails end @@ -176,6 +173,9 @@ def tags_list_result def deployment_export_result Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult end + def sku + Azure::Resources::Mgmt::V2016_02_01::Models::Sku + end def target_resource Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource end @@ -212,27 +212,27 @@ def resource_provider_operation_display_properties def generic_resource_filter Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter end - def resource - Azure::Resources::Mgmt::V2016_02_01::Models::Resource - end def deployment_extended Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended end - def sub_resource - Azure::Resources::Mgmt::V2016_02_01::Models::SubResource - end def alias_path_type Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType end - def resource_group_export_result - Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult + def resource + Azure::Resources::Mgmt::V2016_02_01::Models::Resource end def generic_resource Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource end + def resource_group_export_result + Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult + end def deployment_mode Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode end + def sub_resource + Azure::Resources::Mgmt::V2016_02_01::Models::SubResource + end def resource_identity_type Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType 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 7b84bfc0bc..066d48483a 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 @@ -30,7 +30,6 @@ module Models CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult Resource = Azure::Storage::Mgmt::V2016_01_01::Models::Resource StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount - Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier @@ -39,6 +38,7 @@ module Models AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason end class StorageManagementClass @@ -129,9 +129,6 @@ def resource def storage_account Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount end - def reason - Azure::Storage::Mgmt::V2016_01_01::Models::Reason - end def sku_name Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end @@ -156,6 +153,9 @@ def key_permission def usage_unit Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end + def reason + Azure::Storage::Mgmt::V2016_01_01::Models::Reason + end 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 d995649c42..adb01282d7 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,23 +7,23 @@ module Azure::Profiles::V2017_03_09 module Subscriptions module Mgmt - Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult SubscriptionPolicies = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies + Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit end class SubscriptionsManagementClass - attr_reader :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes + attr_reader :tenants, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -33,8 +33,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @subscriptions = @client_0.subscriptions @tenants = @client_0.tenants + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -65,15 +65,15 @@ def location_list_result def tenant_id_description Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end - def location - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location - end def tenant_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult end def subscription_policies Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies end + def location + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location + end def subscription_state Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState end diff --git a/management/azure_mgmt_container_service/lib/azure_mgmt_container_service.rb b/management/azure_mgmt_container_service/lib/azure_mgmt_container_service.rb index 07d3424f90..f6d477bf92 100644 --- a/management/azure_mgmt_container_service/lib/azure_mgmt_container_service.rb +++ b/management/azure_mgmt_container_service/lib/azure_mgmt_container_service.rb @@ -2,7 +2,7 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require '2017-01-31/generated/azure_mgmt_container_service' require '2016-03-30/generated/azure_mgmt_container_service' require '2016-09-30/generated/azure_mgmt_container_service' +require '2017-01-31/generated/azure_mgmt_container_service' require 'profiles/latest/containerservice_latest_profile_client' diff --git a/management/azure_mgmt_container_service/lib/profiles/latest/modules/containerservice_profile_module.rb b/management/azure_mgmt_container_service/lib/profiles/latest/modules/containerservice_profile_module.rb index 4be86c23f4..bd5ebf14e2 100644 --- a/management/azure_mgmt_container_service/lib/profiles/latest/modules/containerservice_profile_module.rb +++ b/management/azure_mgmt_container_service/lib/profiles/latest/modules/containerservice_profile_module.rb @@ -22,9 +22,9 @@ module Models ContainerServiceAgentPoolProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceAgentPoolProfile ContainerServiceCustomProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceCustomProfile ContainerServiceListResult = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult - ContainerService = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService ContainerServiceOrchestratorTypes = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorTypes ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes + ContainerService = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService end # @@ -111,15 +111,15 @@ def container_service_custom_profile def container_service_list_result Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult end - def container_service - Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService - end def container_service_orchestrator_types Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorTypes end def container_service_vmsize_types Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes end + def container_service + Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService + end end end end From 4cedc96167245ba7779d800cfd3d7645d57c076e Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 19 Sep 2018 10:19:44 -0700 Subject: [PATCH 21/22] Generated from 19c94f3e6c0b83241ce012d44f5db47765d5e6a4 (#1664) Remove serverAppSecret which is not required for AKS cluster updates --- .../analysisservices_profile_module.rb | 8 +- .../modules/apimanagement_profile_module.rb | 50 +- .../modules/authorization_profile_module.rb | 14 +- .../modules/automation_profile_module.rb | 76 +-- .../latest/modules/batch_profile_module.rb | 24 +- .../latest/modules/billing_profile_module.rb | 38 +- .../lib/latest/modules/cdn_profile_module.rb | 24 +- .../cognitiveservices_profile_module.rb | 14 +- .../latest/modules/commerce_profile_module.rb | 8 +- .../latest/modules/compute_profile_module.rb | 230 ++++---- .../modules/computervision_profile_module.rb | 24 +- .../containerinstance_profile_module.rb | 40 +- .../containerregistry_profile_module.rb | 90 +-- .../containerservice_profile_module.rb | 8 +- .../contentmoderator_profile_module.rb | 44 +- .../customerinsights_profile_module.rb | 50 +- .../modules/customsearch_profile_module.rb | 24 +- .../datalakeanalytics_profile_module.rb | 26 +- .../modules/datalakestore_profile_module.rb | 96 ++-- .../modules/devtestlabs_profile_module.rb | 30 +- .../lib/latest/modules/dns_profile_module.rb | 20 +- .../modules/entitysearch_profile_module.rb | 40 +- .../modules/eventgrid_profile_module.rb | 42 +- .../latest/modules/eventhub_profile_module.rb | 48 +- .../lib/latest/modules/face_profile_module.rb | 72 +-- .../modules/graphrbac_profile_module.rb | 30 +- .../modules/imagesearch_profile_module.rb | 62 +-- .../latest/modules/iothub_profile_module.rb | 8 +- .../latest/modules/keyvault_profile_module.rb | 58 +- .../latest/modules/links_profile_module.rb | 8 +- .../latest/modules/logic_profile_module.rb | 182 +++---- .../modules/machinelearning_profile_module.rb | 36 +- .../managedapplications_profile_module.rb | 22 +- .../managedserviceidentity_profile_module.rb | 24 +- .../marketplaceordering_profile_module.rb | 16 +- .../modules/mediaservices_profile_module.rb | 22 +- .../mobileengagement_profile_module.rb | 36 +- .../latest/modules/monitor_profile_module.rb | 112 ++-- .../latest/modules/network_profile_module.rb | 414 +++++++------- .../modules/newssearch_profile_module.rb | 50 +- .../notificationhubs_profile_module.rb | 38 +- .../operationalinsights_profile_module.rb | 48 +- .../latest/modules/policy_profile_module.rb | 36 +- .../modules/policyinsights_profile_module.rb | 24 +- .../modules/powerbiembedded_profile_module.rb | 30 +- .../recoveryservices_profile_module.rb | 46 +- .../recoveryservicesbackup_profile_module.rb | 248 ++++----- ...veryservicessiterecovery_profile_module.rb | 514 +++++++++--------- .../latest/modules/redis_profile_module.rb | 54 +- .../latest/modules/relay_profile_module.rb | 14 +- .../modules/resources_profile_module.rb | 52 +- .../resourcesmanagement_profile_module.rb | 14 +- .../modules/scheduler_profile_module.rb | 72 +-- .../latest/modules/search_profile_module.rb | 38 +- .../servermanagement_profile_module.rb | 34 +- .../modules/servicebus_profile_module.rb | 76 +-- .../modules/servicefabric_profile_module.rb | 34 +- .../latest/modules/signalr_profile_module.rb | 54 +- .../modules/spellcheck_profile_module.rb | 20 +- .../lib/latest/modules/sql_profile_module.rb | 224 ++++---- .../latest/modules/storage_profile_module.rb | 74 +-- .../storsimple8000series_profile_module.rb | 206 +++---- .../modules/streamanalytics_profile_module.rb | 76 +-- .../modules/subscriptions_profile_module.rb | 8 +- .../modules/textanalytics_profile_module.rb | 24 +- .../modules/trafficmanager_profile_module.rb | 38 +- .../modules/videosearch_profile_module.rb | 22 +- .../lib/latest/modules/web_profile_module.rb | 322 +++++------ .../modules/websearch_profile_module.rb | 106 ++-- .../modules/compute_profile_module.rb | 18 +- .../modules/links_profile_module.rb | 8 +- .../modules/locks_profile_module.rb | 8 +- .../modules/network_profile_module.rb | 162 +++--- .../modules/resources_profile_module.rb | 34 +- .../modules/subscriptions_profile_module.rb | 8 +- 75 files changed, 2502 insertions(+), 2502 deletions(-) diff --git a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb index bc16075a84..4f980a1b13 100644 --- a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb @@ -11,6 +11,7 @@ module Mgmt Operations = Azure::AnalysisServices::Mgmt::V2017_08_01::Operations module Models + Status = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State @@ -37,7 +38,6 @@ module Models SkuEnumerationForExistingResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForExistingResourceResult AnalysisServicesServer = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer ConnectionMode = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode - Status = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status end class AnalysisServicesManagementClass @@ -71,6 +71,9 @@ def method_missing(method, *args) end class ModelClasses + def status + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status + end def resource Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource end @@ -149,9 +152,6 @@ def analysis_services_server def connection_mode Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode end - def status - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status - end end end end diff --git a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb index 8cae55cd93..99b93b7013 100644 --- a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb @@ -7,24 +7,27 @@ module Azure::Profiles::Latest module ApiManagement module Mgmt + ProductSubscriptions = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductSubscriptions + ProductPolicy = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductPolicy + Property = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Property QuotaByCounterKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByCounterKeys QuotaByPeriodKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByPeriodKeys + Group = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Group Reports = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Reports - ProductSubscriptions = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductSubscriptions TagResource = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagResource - Group = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Group - OperationOperations = Azure::ApiManagement::Mgmt::V2018_01_01_preview::OperationOperations TagDescription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagDescription - TenantAccessGit = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccessGit + OperationOperations = Azure::ApiManagement::Mgmt::V2018_01_01_preview::OperationOperations TenantAccess = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccess - User = Azure::ApiManagement::Mgmt::V2018_01_01_preview::User + DelegationSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::DelegationSettings TenantConfiguration = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantConfiguration - UserSubscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserSubscription + TenantAccessGit = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccessGit UserGroup = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserGroup - ApiVersionSet = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiVersionSet + User = Azure::ApiManagement::Mgmt::V2018_01_01_preview::User UserIdentities = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserIdentities - Subscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Subscription + UserSubscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserSubscription ApiExport = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiExport + Subscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Subscription + ApiVersionSet = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiVersionSet Policy = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Policy Tag = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Tag Logger = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Logger @@ -57,12 +60,9 @@ module Mgmt SignInSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::SignInSettings SignUpSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::SignUpSettings Certificate = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Certificate - DelegationSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::DelegationSettings + Product = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Product ProductApi = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductApi ProductGroup = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductGroup - Product = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Product - ProductPolicy = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductPolicy - Property = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Property module Models SubscriptionState = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SubscriptionState @@ -266,7 +266,7 @@ module Models end class ApiManagementManagementClass - attr_reader :quota_by_counter_keys, :quota_by_period_keys, :reports, :product_subscriptions, :tag_resource, :group, :operation_operations, :tag_description, :tenant_access_git, :tenant_access, :user, :tenant_configuration, :user_subscription, :user_group, :api_version_set, :user_identities, :subscription, :api_export, :policy, :tag, :logger, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_diagnostic_logger, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :diagnostic_logger, :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, :certificate, :delegation_settings, :product_api, :product_group, :product, :product_policy, :property, :configurable, :base_url, :options, :model_classes + attr_reader :product_subscriptions, :product_policy, :property, :quota_by_counter_keys, :quota_by_period_keys, :group, :reports, :tag_resource, :tag_description, :operation_operations, :tenant_access, :delegation_settings, :tenant_configuration, :tenant_access_git, :user_group, :user, :user_identities, :user_subscription, :api_export, :subscription, :api_version_set, :policy, :tag, :logger, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_diagnostic_logger, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :diagnostic_logger, :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, :certificate, :product, :product_api, :product_group, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -276,24 +276,27 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @product_subscriptions = @client_0.product_subscriptions + @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 + @group = @client_0.group @reports = @client_0.reports - @product_subscriptions = @client_0.product_subscriptions @tag_resource = @client_0.tag_resource - @group = @client_0.group - @operation_operations = @client_0.operation_operations @tag_description = @client_0.tag_description - @tenant_access_git = @client_0.tenant_access_git + @operation_operations = @client_0.operation_operations @tenant_access = @client_0.tenant_access - @user = @client_0.user + @delegation_settings = @client_0.delegation_settings @tenant_configuration = @client_0.tenant_configuration - @user_subscription = @client_0.user_subscription + @tenant_access_git = @client_0.tenant_access_git @user_group = @client_0.user_group - @api_version_set = @client_0.api_version_set + @user = @client_0.user @user_identities = @client_0.user_identities - @subscription = @client_0.subscription + @user_subscription = @client_0.user_subscription @api_export = @client_0.api_export + @subscription = @client_0.subscription + @api_version_set = @client_0.api_version_set @policy = @client_0.policy @tag = @client_0.tag @logger = @client_0.logger @@ -326,12 +329,9 @@ def initialize(configurable, base_url=nil, options=nil) @sign_in_settings = @client_0.sign_in_settings @sign_up_settings = @client_0.sign_up_settings @certificate = @client_0.certificate - @delegation_settings = @client_0.delegation_settings + @product = @client_0.product @product_api = @client_0.product_api @product_group = @client_0.product_group - @product = @client_0.product - @product_policy = @client_0.product_policy - @property = @client_0.property @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/authorization_profile_module.rb b/azure_sdk/lib/latest/modules/authorization_profile_module.rb index 0a2cc51141..e6061cd6f9 100644 --- a/azure_sdk/lib/latest/modules/authorization_profile_module.rb +++ b/azure_sdk/lib/latest/modules/authorization_profile_module.rb @@ -8,14 +8,14 @@ module Azure::Profiles::Latest module Authorization module Mgmt ClassicAdministrators = Azure::Authorization::Mgmt::V2015_06_01_preview::ClassicAdministrators - ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2018_01_01_preview::ProviderOperationsMetadataOperations Permissions = Azure::Authorization::Mgmt::V2018_01_01_preview::Permissions RoleAssignments = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleAssignments RoleDefinitions = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleDefinitions + ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2018_01_01_preview::ProviderOperationsMetadataOperations module Models - ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult ClassicAdministrator = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator + ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult RoleDefinitionFilter = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter RoleDefinition = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition ResourceType = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ResourceType @@ -32,7 +32,7 @@ module Models end class AuthorizationManagementClass - attr_reader :classic_administrators, :provider_operations_metadata_operations, :permissions, :role_assignments, :role_definitions, :configurable, :base_url, :options, :model_classes + attr_reader :classic_administrators, :permissions, :role_assignments, :role_definitions, :provider_operations_metadata_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -49,10 +49,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations @permissions = @client_1.permissions @role_assignments = @client_1.role_assignments @role_definitions = @client_1.role_definitions + @provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations @model_classes = ModelClasses.new end @@ -73,12 +73,12 @@ def method_missing(method, *args) end class ModelClasses - def classic_administrator_list_result - Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult - end def classic_administrator Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator end + def classic_administrator_list_result + Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult + end def role_definition_filter Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter end diff --git a/azure_sdk/lib/latest/modules/automation_profile_module.rb b/azure_sdk/lib/latest/modules/automation_profile_module.rb index c27e9acb80..3f41b9f924 100644 --- a/azure_sdk/lib/latest/modules/automation_profile_module.rb +++ b/azure_sdk/lib/latest/modules/automation_profile_module.rb @@ -7,6 +7,9 @@ module Azure::Profiles::Latest module Automation module Mgmt + DscNodeConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeConfigurationOperations + HybridRunbookWorkerGroupOperations = Azure::Automation::Mgmt::V2015_10_31::HybridRunbookWorkerGroupOperations + JobOperations = Azure::Automation::Mgmt::V2015_10_31::JobOperations JobStreamOperations = Azure::Automation::Mgmt::V2015_10_31::JobStreamOperations JobScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::JobScheduleOperations LinkedWorkspaceOperations = Azure::Automation::Mgmt::V2015_10_31::LinkedWorkspaceOperations @@ -36,11 +39,11 @@ module Mgmt AgentRegistrationInformation = Azure::Automation::Mgmt::V2015_10_31::AgentRegistrationInformation DscNodeOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeOperations NodeReports = Azure::Automation::Mgmt::V2015_10_31::NodeReports - DscNodeConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeConfigurationOperations - HybridRunbookWorkerGroupOperations = Azure::Automation::Mgmt::V2015_10_31::HybridRunbookWorkerGroupOperations - JobOperations = Azure::Automation::Mgmt::V2015_10_31::JobOperations module Models + RunAsCredentialAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty + ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter + HybridRunbookWorkerGroup = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup ActivityOutputType = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType HybridRunbookWorkerGroupsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupsListResult ActivityListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult @@ -112,22 +115,22 @@ module Models RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum 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 + Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku ContentSourceType = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSourceType DscConfigurationProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState - Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku - SkuNameEnum = Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + ModuleProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState AutomationAccountState = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState ScheduleDay = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay - DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + AgentRegistrationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName SubResource = Azure::Automation::Mgmt::V2015_10_31::Models::SubResource HttpStatusCode = Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency - AgentRegistrationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName - JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage + JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType UsageListResult = Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource + SkuNameEnum = Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration @@ -176,13 +179,10 @@ module Models ConnectionTypeCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters HybridRunbookWorker = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker CredentialUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters - RunAsCredentialAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty - ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter - HybridRunbookWorkerGroup = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup end class AutomationManagementClass - attr_reader :job_stream_operations, :job_schedule_operations, :linked_workspace_operations, :activity_operations, :module_model_operations, :object_data_types, :usages, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :operations, :automation_account_operations, :statistics_operations, :keys, :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, :configurable, :base_url, :options, :model_classes + attr_reader :dsc_node_configuration_operations, :hybrid_runbook_worker_group_operations, :job_operations, :job_stream_operations, :job_schedule_operations, :linked_workspace_operations, :activity_operations, :module_model_operations, :object_data_types, :usages, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :operations, :automation_account_operations, :statistics_operations, :keys, :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, :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,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @dsc_node_configuration_operations = @client_0.dsc_node_configuration_operations + @hybrid_runbook_worker_group_operations = @client_0.hybrid_runbook_worker_group_operations + @job_operations = @client_0.job_operations @job_stream_operations = @client_0.job_stream_operations @job_schedule_operations = @client_0.job_schedule_operations @linked_workspace_operations = @client_0.linked_workspace_operations @@ -221,9 +224,6 @@ def initialize(configurable, base_url=nil, options=nil) @agent_registration_information = @client_0.agent_registration_information @dsc_node_operations = @client_0.dsc_node_operations @node_reports = @client_0.node_reports - @dsc_node_configuration_operations = @client_0.dsc_node_configuration_operations - @hybrid_runbook_worker_group_operations = @client_0.hybrid_runbook_worker_group_operations - @job_operations = @client_0.job_operations @model_classes = ModelClasses.new end @@ -242,6 +242,15 @@ def method_missing(method, *args) end class ModelClasses + def run_as_credential_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty + end + def activity_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter + end + def hybrid_runbook_worker_group + Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup + end def activity_output_type Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType end @@ -455,8 +464,8 @@ 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 sku + Azure::Automation::Mgmt::V2015_10_31::Models::Sku end def content_source_type Azure::Automation::Mgmt::V2015_10_31::Models::ContentSourceType @@ -464,11 +473,11 @@ def content_source_type def dsc_configuration_provisioning_state Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState end - def sku - Azure::Automation::Mgmt::V2015_10_31::Models::Sku + def dsc_configuration_state + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState end - def sku_name_enum - Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + def module_provisioning_state + Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState end def automation_account_state Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState @@ -476,8 +485,8 @@ def automation_account_state def schedule_day Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay end - def dsc_configuration_state - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + def agent_registration_key_name + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName end def sub_resource Azure::Automation::Mgmt::V2015_10_31::Models::SubResource @@ -488,21 +497,21 @@ def http_status_code def schedule_frequency Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency end - def agent_registration_key_name - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName + def usage + Azure::Automation::Mgmt::V2015_10_31::Models::Usage end def job_stream_type Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType end - def usage - Azure::Automation::Mgmt::V2015_10_31::Models::Usage - end def usage_list_result Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult end def resource Azure::Automation::Mgmt::V2015_10_31::Models::Resource 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 @@ -647,15 +656,6 @@ def hybrid_runbook_worker def credential_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters end - def run_as_credential_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty - end - def activity_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter - end - def hybrid_runbook_worker_group - Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup - end end end end diff --git a/azure_sdk/lib/latest/modules/batch_profile_module.rb b/azure_sdk/lib/latest/modules/batch_profile_module.rb index acae668e51..d3d063dd6d 100644 --- a/azure_sdk/lib/latest/modules/batch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/batch_profile_module.rb @@ -16,6 +16,9 @@ module Mgmt PoolOperations = Azure::Batch::Mgmt::V2017_09_01::PoolOperations 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 OSDisk = Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk @@ -92,9 +95,6 @@ module Models 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 - TaskSchedulingPolicy = Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy - CloudServiceConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration end class BatchManagementClass @@ -133,6 +133,15 @@ 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 @@ -361,15 +370,6 @@ def delete_certificate_error 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 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 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 0259fae8b7..fdbac53f4c 100644 --- a/azure_sdk/lib/latest/modules/billing_profile_module.rb +++ b/azure_sdk/lib/latest/modules/billing_profile_module.rb @@ -12,17 +12,17 @@ module Mgmt Invoices = Azure::Billing::Mgmt::V2017_04_24_preview::Invoices module Models + Invoice = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice + ErrorResponse = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse Operation = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation OperationDisplay = Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay + Resource = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource BillingPeriodsListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriodsListResult InvoicesListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::InvoicesListResult - DownloadUrl = Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl - Resource = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource ErrorDetails = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails - Invoice = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice - OperationListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult - ErrorResponse = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse BillingPeriod = Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriod + DownloadUrl = Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl + OperationListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult end class BillingManagementClass @@ -57,39 +57,39 @@ def method_missing(method, *args) end class ModelClasses + def invoice + Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice + end + def error_response + Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse + end def operation Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation end def operation_display Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay end + def resource + Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource + end def billing_periods_list_result Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriodsListResult end def invoices_list_result Azure::Billing::Mgmt::V2017_04_24_preview::Models::InvoicesListResult end - def download_url - Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl - end - def resource - Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource - end def error_details Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails end - def invoice - Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice + def billing_period + Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriod + end + def download_url + Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl end def operation_list_result Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult end - def error_response - Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse - end - def billing_period - Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriod - 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 f82d91819b..24d13d894e 100644 --- a/azure_sdk/lib/latest/modules/cdn_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cdn_profile_module.rb @@ -16,6 +16,9 @@ module Mgmt EdgeNodes = Azure::CDN::Mgmt::V2017_10_12::EdgeNodes module Models + ValidateCustomDomainInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput + IpAddressGroup = Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup + ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput 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 @@ -72,9 +75,6 @@ module Models 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 - ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput end class CDNManagementClass @@ -113,6 +113,15 @@ def method_missing(method, *args) end class ModelClasses + 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 validate_custom_domain_output + Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput + end def check_name_availability_input Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput end @@ -281,15 +290,6 @@ def edgenode_result 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 validate_custom_domain_output - Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput - end 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 0ca9f9cf2d..2af93da8ba 100644 --- a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb @@ -7,9 +7,9 @@ module Azure::Profiles::Latest module CognitiveServices module Mgmt + CheckSkuAvailability = Azure::CognitiveServices::Mgmt::V2017_04_18::CheckSkuAvailability Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts - CheckSkuAvailability = Azure::CognitiveServices::Mgmt::V2017_04_18::CheckSkuAvailability module Models CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult @@ -27,8 +27,8 @@ module Models CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList - KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku + KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName SkuName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error @@ -37,7 +37,7 @@ module Models end class CognitiveServicesManagementClass - attr_reader :operations, :accounts, :check_sku_availability, :configurable, :base_url, :options, :model_classes + attr_reader :check_sku_availability, :operations, :accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -47,9 +47,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @check_sku_availability = @client_0.check_sku_availability @operations = @client_0.operations @accounts = @client_0.accounts - @check_sku_availability = @client_0.check_sku_availability @model_classes = ModelClasses.new end @@ -113,12 +113,12 @@ def cognitive_services_account_list_result def check_sku_availability_result_list Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList end - def key_name - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName - end def sku Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku end + def key_name + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName + end def sku_name Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName end diff --git a/azure_sdk/lib/latest/modules/commerce_profile_module.rb b/azure_sdk/lib/latest/modules/commerce_profile_module.rb index d0a33f4a88..425065162c 100644 --- a/azure_sdk/lib/latest/modules/commerce_profile_module.rb +++ b/azure_sdk/lib/latest/modules/commerce_profile_module.rb @@ -20,9 +20,9 @@ module Models RateCardQueryParameters = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters MonetaryCredit = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit ErrorResponse = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse + 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 - MonetaryCommitment = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment end class CommerceManagementClass @@ -83,15 +83,15 @@ def monetary_credit def error_response Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse end + def monetary_commitment + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment + end def recurring_charge Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge end def aggregation_granularity Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity end - def monetary_commitment - Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment - 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 63f397f731..3c1757ccb2 100644 --- a/azure_sdk/lib/latest/modules/compute_profile_module.rb +++ b/azure_sdk/lib/latest/modules/compute_profile_module.rb @@ -10,23 +10,26 @@ module Mgmt Disks = Azure::Compute::Mgmt::V2018_04_01::Disks Snapshots = Azure::Compute::Mgmt::V2018_04_01::Snapshots ResourceSkus = Azure::Compute::Mgmt::V2017_09_01::ResourceSkus + AvailabilitySets = Azure::Compute::Mgmt::V2017_12_01::AvailabilitySets + VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensionImages + VirtualMachineExtensions = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensions VirtualMachines = Azure::Compute::Mgmt::V2017_12_01::VirtualMachines Operations = Azure::Compute::Mgmt::V2017_12_01::Operations VirtualMachineImages = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineImages - VirtualMachineSizes = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineSizes - VirtualMachineScaleSets = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSets UsageOperations = Azure::Compute::Mgmt::V2017_12_01::UsageOperations + VirtualMachineScaleSets = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSets + VirtualMachineSizes = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineSizes VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSetVMs Images = Azure::Compute::Mgmt::V2017_12_01::Images VirtualMachineScaleSetExtensions = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSetExtensions VirtualMachineScaleSetRollingUpgrades = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSetRollingUpgrades LogAnalytics = Azure::Compute::Mgmt::V2017_12_01::LogAnalytics VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineRunCommands - AvailabilitySets = Azure::Compute::Mgmt::V2017_12_01::AvailabilitySets - VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensionImages - VirtualMachineExtensions = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensions module Models + EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData DiskList = Azure::Compute::Mgmt::V2018_04_01::Models::DiskList KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference @@ -43,9 +46,9 @@ module Models DiskCreateOption = Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption SnapshotStorageAccountTypes = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotStorageAccountTypes AccessLevel = Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel - EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings - DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku - DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate + ResourceSkuRestrictionsType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType + ResourceSkuRestrictionsReasonCode = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode + ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku ResourceSkuRestrictions = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo @@ -54,17 +57,14 @@ module Models ResourceSkusResult = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult ResourceSkuRestrictionInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo ResourceSkuCapacityScaleType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType - ResourceSkuRestrictionsType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType - ResourceSkuRestrictionsReasonCode = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode - ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku StorageAccountTypes = Azure::Compute::Mgmt::V2017_12_01::Models::StorageAccountTypes Sku = Azure::Compute::Mgmt::V2017_12_01::Models::Sku SubResource = Azure::Compute::Mgmt::V2017_12_01::Models::SubResource UsageName = Azure::Compute::Mgmt::V2017_12_01::Models::UsageName Usage = Azure::Compute::Mgmt::V2017_12_01::Models::Usage + Resource = Azure::Compute::Mgmt::V2017_12_01::Models::Resource ComputeOperationValue = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationValue VirtualMachineScaleSetUpdateOSProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSProfile - Resource = Azure::Compute::Mgmt::V2017_12_01::Models::Resource VirtualMachineScaleSetManagedDiskParameters = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetManagedDiskParameters AutoOSUpgradePolicy = Azure::Compute::Mgmt::V2017_12_01::Models::AutoOSUpgradePolicy RollingUpgradePolicy = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradePolicy @@ -78,18 +78,19 @@ module Models RollingUpgradeProgressInfo = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeProgressInfo VirtualMachineScaleSetUpdateOSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSDisk VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetDataDisk + VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateStorageProfile InstanceViewStatus = Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewStatus VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings - VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateStorageProfile + VaultCertificate = Azure::Compute::Mgmt::V2017_12_01::Models::VaultCertificate VaultSecretGroup = Azure::Compute::Mgmt::V2017_12_01::Models::VaultSecretGroup VirtualMachineSize = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSize - VaultCertificate = Azure::Compute::Mgmt::V2017_12_01::Models::VaultCertificate + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration OSProfile = Azure::Compute::Mgmt::V2017_12_01::Models::OSProfile VirtualMachineHealthStatus = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineHealthStatus RunCommandListResult = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandListResult VirtualMachineScaleSetUpdateNetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateNetworkProfile RunCommandInput = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInput - VirtualMachineScaleSetListOSUpgradeHistory = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + NetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile VirtualMachineScaleSetExtensionListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionListResult LogAnalyticsOutput = Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOutput LogAnalyticsInputBase = Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsInputBase @@ -100,9 +101,9 @@ module Models BootDiagnostics = Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnostics DiagnosticsProfile = Azure::Compute::Mgmt::V2017_12_01::Models::DiagnosticsProfile VirtualMachineInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineInstanceView - VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView - NetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile - RollingUpgradeRunningStatus = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeRunningStatus + DiskEncryptionSettings = Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings + VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult + OSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk VirtualMachineListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineListResult StorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::StorageProfile WinRMListener = Azure::Compute::Mgmt::V2017_12_01::Models::WinRMListener @@ -113,7 +114,7 @@ module Models VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSProfile AvailabilitySetListResult = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetListResult VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSDisk - ListUsagesResult = Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult + VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetStorageProfile VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionsListResult ApiEntityReference = Azure::Compute::Mgmt::V2017_12_01::Models::ApiEntityReference @@ -121,7 +122,7 @@ module Models VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceView VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureParameters RecoveryWalkResponse = Azure::Compute::Mgmt::V2017_12_01::Models::RecoveryWalkResponse - DiskEncryptionSettings = Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings + VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkProfile VirtualHardDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualHardDisk PurchasePlan = Azure::Compute::Mgmt::V2017_12_01::Models::PurchasePlan @@ -130,14 +131,14 @@ module Models SshPublicKey = Azure::Compute::Mgmt::V2017_12_01::Models::SshPublicKey VirtualMachineScaleSetVMProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMProfile VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeListResult - OSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk + VirtualMachineScaleSetSkuCapacity = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuCapacity BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnosticsInstanceView VirtualMachineScaleSetVMInstanceIDs = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs Plan = Azure::Compute::Mgmt::V2017_12_01::Models::Plan VirtualMachineScaleSetVMInstanceRequiredIDs = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs - VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration + DataDisk = Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineStatusCodeCount - MaintenanceRedeployStatus = Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus + ListUsagesResult = Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMExtensionsSummary @@ -147,31 +148,31 @@ module Models UpdateResource = Azure::Compute::Mgmt::V2017_12_01::Models::UpdateResource VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineAgentInstanceView - LinuxConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::LinuxConfiguration - VirtualMachineScaleSetListWithLinkResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListWithLinkResult + RollingUpgradeRunningStatus = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeRunningStatus + MaintenanceRedeployStatus = Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListResult - DataDisk = Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk - VirtualMachineScaleSetSkuCapacity = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuCapacity + WinRMConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::WinRMConfiguration + VirtualMachineScaleSetListWithLinkResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListWithLinkResult OSDiskImage = Azure::Compute::Mgmt::V2017_12_01::Models::OSDiskImage RollbackStatusInfo = Azure::Compute::Mgmt::V2017_12_01::Models::RollbackStatusInfo UpgradeOperationHistoryStatus = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoryStatus DataDiskImage = Azure::Compute::Mgmt::V2017_12_01::Models::DataDiskImage - VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult + ApiErrorBase = Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionHandlerInstanceView - OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse + LinuxConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::LinuxConfiguration VirtualMachineExtension = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension VirtualMachineScaleSetSku = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSku - WinRMConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::WinRMConfiguration + AvailabilitySet = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet SubResourceReadOnly = Azure::Compute::Mgmt::V2017_12_01::Models::SubResourceReadOnly VirtualMachineIdentity = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineIdentity VirtualMachine = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachine - VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult + VirtualMachineExtensionUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionUpdate AvailabilitySetUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetUpdate - AvailabilitySet = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet - ApiErrorBase = Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase + VirtualMachineScaleSetListOSUpgradeHistory = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse VirtualMachineImageResource = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImageResource KeyVaultKeyReference = Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultKeyReference - VirtualMachineExtensionUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionUpdate + VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration ApiError = Azure::Compute::Mgmt::V2017_12_01::Models::ApiError VirtualMachineCaptureResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureResult NetworkInterfaceReference = Azure::Compute::Mgmt::V2017_12_01::Models::NetworkInterfaceReference @@ -196,14 +197,14 @@ module Models PassNames = Azure::Compute::Mgmt::V2017_12_01::Models::PassNames ComponentNames = Azure::Compute::Mgmt::V2017_12_01::Models::ComponentNames SettingNames = Azure::Compute::Mgmt::V2017_12_01::Models::SettingNames - VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration + StatusLevelTypes = Azure::Compute::Mgmt::V2017_12_01::Models::StatusLevelTypes OperatingSystemTypes = Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemTypes VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeTypes RollingUpgradeStatusInfo = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusInfo RequestRateByIntervalInput = Azure::Compute::Mgmt::V2017_12_01::Models::RequestRateByIntervalInput ThrottledRequestsInput = Azure::Compute::Mgmt::V2017_12_01::Models::ThrottledRequestsInput RunCommandResult = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandResult - StatusLevelTypes = Azure::Compute::Mgmt::V2017_12_01::Models::StatusLevelTypes + ResourceIdentityType = Azure::Compute::Mgmt::V2017_12_01::Models::ResourceIdentityType UpgradeMode = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeMode IPVersion = Azure::Compute::Mgmt::V2017_12_01::Models::IPVersion CachingTypes = Azure::Compute::Mgmt::V2017_12_01::Models::CachingTypes @@ -212,7 +213,7 @@ module Models UpgradeOperationInvoker = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationInvoker RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusCode ProtocolTypes = Azure::Compute::Mgmt::V2017_12_01::Models::ProtocolTypes - ResourceIdentityType = Azure::Compute::Mgmt::V2017_12_01::Models::ResourceIdentityType + IntervalInMins = Azure::Compute::Mgmt::V2017_12_01::Models::IntervalInMins VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuScaleType InstanceViewTypes = Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewTypes MaintenanceOperationResultCodeTypes = Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceOperationResultCodeTypes @@ -220,11 +221,10 @@ module Models VirtualMachinePriorityTypes = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachinePriorityTypes VirtualMachineEvictionPolicyTypes = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineEvictionPolicyTypes RollingUpgradeActionType = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeActionType - IntervalInMins = Azure::Compute::Mgmt::V2017_12_01::Models::IntervalInMins end class ComputeManagementClass - attr_reader :disks, :snapshots, :resource_skus, :virtual_machines, :operations, :virtual_machine_images, :virtual_machine_sizes, :virtual_machine_scale_sets, :usage_operations, :virtual_machine_scale_set_vms, :images, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :log_analytics, :virtual_machine_run_commands, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :configurable, :base_url, :options, :model_classes + attr_reader :disks, :snapshots, :resource_skus, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :operations, :virtual_machine_images, :usage_operations, :virtual_machine_scale_sets, :virtual_machine_sizes, :virtual_machine_scale_set_vms, :images, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :log_analytics, :virtual_machine_run_commands, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -249,21 +249,21 @@ def initialize(configurable, base_url=nil, options=nil) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) + @availability_sets = @client_2.availability_sets + @virtual_machine_extension_images = @client_2.virtual_machine_extension_images + @virtual_machine_extensions = @client_2.virtual_machine_extensions @virtual_machines = @client_2.virtual_machines @operations = @client_2.operations @virtual_machine_images = @client_2.virtual_machine_images - @virtual_machine_sizes = @client_2.virtual_machine_sizes - @virtual_machine_scale_sets = @client_2.virtual_machine_scale_sets @usage_operations = @client_2.usage_operations + @virtual_machine_scale_sets = @client_2.virtual_machine_scale_sets + @virtual_machine_sizes = @client_2.virtual_machine_sizes @virtual_machine_scale_set_vms = @client_2.virtual_machine_scale_set_vms @images = @client_2.images @virtual_machine_scale_set_extensions = @client_2.virtual_machine_scale_set_extensions @virtual_machine_scale_set_rolling_upgrades = @client_2.virtual_machine_scale_set_rolling_upgrades @log_analytics = @client_2.log_analytics @virtual_machine_run_commands = @client_2.virtual_machine_run_commands - @availability_sets = @client_2.availability_sets - @virtual_machine_extension_images = @client_2.virtual_machine_extension_images - @virtual_machine_extensions = @client_2.virtual_machine_extensions @model_classes = ModelClasses.new end @@ -286,6 +286,15 @@ def method_missing(method, *args) end class ModelClasses + def encryption_settings + Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + end + def disk_sku + Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + end + def disk_update + Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate + end def creation_data Azure::Compute::Mgmt::V2018_04_01::Models::CreationData end @@ -334,14 +343,14 @@ def snapshot_storage_account_types def access_level Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel end - def encryption_settings - Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + def resource_sku_restrictions_type + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType end - def disk_sku - Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + def resource_sku_restrictions_reason_code + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode end - def disk_update - Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate + def resource_sku + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku end def resource_sku_restrictions Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions @@ -367,15 +376,6 @@ def resource_sku_restriction_info def resource_sku_capacity_scale_type Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType end - def resource_sku_restrictions_type - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType - end - def resource_sku_restrictions_reason_code - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode - end - def resource_sku - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku - end def storage_account_types Azure::Compute::Mgmt::V2017_12_01::Models::StorageAccountTypes end @@ -391,15 +391,15 @@ def usage_name def usage Azure::Compute::Mgmt::V2017_12_01::Models::Usage end + def resource + Azure::Compute::Mgmt::V2017_12_01::Models::Resource + end def compute_operation_value Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationValue end def virtual_machine_scale_set_update_osprofile Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSProfile end - def resource - Azure::Compute::Mgmt::V2017_12_01::Models::Resource - end def virtual_machine_scale_set_managed_disk_parameters Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetManagedDiskParameters end @@ -439,14 +439,17 @@ def virtual_machine_scale_set_update_osdisk def virtual_machine_scale_set_data_disk Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetDataDisk end + def virtual_machine_scale_set_update_storage_profile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateStorageProfile + end def instance_view_status Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewStatus end def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings end - def virtual_machine_scale_set_update_storage_profile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateStorageProfile + def vault_certificate + Azure::Compute::Mgmt::V2017_12_01::Models::VaultCertificate end def vault_secret_group Azure::Compute::Mgmt::V2017_12_01::Models::VaultSecretGroup @@ -454,8 +457,8 @@ def vault_secret_group def virtual_machine_size Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSize end - def vault_certificate - Azure::Compute::Mgmt::V2017_12_01::Models::VaultCertificate + def virtual_machine_scale_set_update_public_ipaddress_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration end def osprofile Azure::Compute::Mgmt::V2017_12_01::Models::OSProfile @@ -472,8 +475,8 @@ def virtual_machine_scale_set_update_network_profile def run_command_input Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInput end - def virtual_machine_scale_set_list_osupgrade_history - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + def network_profile + Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile end def virtual_machine_scale_set_extension_list_result Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionListResult @@ -505,14 +508,14 @@ def diagnostics_profile def virtual_machine_instance_view Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineInstanceView end - def virtual_machine_extension_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView + def disk_encryption_settings + Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings end - def network_profile - Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile + def virtual_machine_scale_set_vmlist_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult end - def rolling_upgrade_running_status - Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeRunningStatus + def osdisk + Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk end def virtual_machine_list_result Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineListResult @@ -544,8 +547,8 @@ def availability_set_list_result def virtual_machine_scale_set_osdisk Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSDisk end - def list_usages_result - Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult + def virtual_machine_extension_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView end def virtual_machine_scale_set_storage_profile Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetStorageProfile @@ -568,8 +571,8 @@ def virtual_machine_capture_parameters def recovery_walk_response Azure::Compute::Mgmt::V2017_12_01::Models::RecoveryWalkResponse end - def disk_encryption_settings - Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings + def virtual_machine_scale_set_list_skus_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult end def virtual_machine_scale_set_network_profile Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkProfile @@ -595,8 +598,8 @@ def virtual_machine_scale_set_vmprofile def virtual_machine_size_list_result Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeListResult end - def osdisk - Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk + def virtual_machine_scale_set_sku_capacity + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuCapacity end def boot_diagnostics_instance_view Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnosticsInstanceView @@ -610,14 +613,14 @@ def plan def virtual_machine_scale_set_vminstance_required_ids Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs end - def virtual_machine_scale_set_update_public_ipaddress_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration + def data_disk + Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk end def virtual_machine_status_code_count Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineStatusCodeCount end - def maintenance_redeploy_status - Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus + def list_usages_result + Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult end def virtual_machine_scale_set_network_configuration_dns_settings Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings @@ -646,20 +649,20 @@ def virtual_machine_scale_set_public_ipaddress_configuration def virtual_machine_agent_instance_view Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineAgentInstanceView end - def linux_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::LinuxConfiguration + def rolling_upgrade_running_status + Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeRunningStatus end - def virtual_machine_scale_set_list_with_link_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListWithLinkResult + def maintenance_redeploy_status + Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus end def virtual_machine_scale_set_list_result Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListResult end - def data_disk - Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk + def win_rmconfiguration + Azure::Compute::Mgmt::V2017_12_01::Models::WinRMConfiguration end - def virtual_machine_scale_set_sku_capacity - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuCapacity + def virtual_machine_scale_set_list_with_link_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListWithLinkResult end def osdisk_image Azure::Compute::Mgmt::V2017_12_01::Models::OSDiskImage @@ -673,14 +676,14 @@ def upgrade_operation_history_status def data_disk_image Azure::Compute::Mgmt::V2017_12_01::Models::DataDiskImage end - def virtual_machine_scale_set_vmlist_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult + def api_error_base + Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase end def virtual_machine_extension_handler_instance_view Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionHandlerInstanceView end - def operation_status_response - Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse + def linux_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::LinuxConfiguration end def virtual_machine_extension Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension @@ -688,8 +691,8 @@ def virtual_machine_extension def virtual_machine_scale_set_sku Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSku end - def win_rmconfiguration - Azure::Compute::Mgmt::V2017_12_01::Models::WinRMConfiguration + def availability_set + Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet end def sub_resource_read_only Azure::Compute::Mgmt::V2017_12_01::Models::SubResourceReadOnly @@ -700,17 +703,17 @@ def virtual_machine_identity def virtual_machine Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachine end - def virtual_machine_scale_set_list_skus_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult + def virtual_machine_extension_update + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionUpdate end def availability_set_update Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetUpdate end - def availability_set - Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet + def virtual_machine_scale_set_list_osupgrade_history + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListOSUpgradeHistory end - def api_error_base - Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase + def operation_status_response + Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse end def virtual_machine_image_resource Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImageResource @@ -718,8 +721,8 @@ def virtual_machine_image_resource def key_vault_key_reference Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultKeyReference end - def virtual_machine_extension_update - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionUpdate + def virtual_machine_scale_set_update_ipconfiguration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration end def api_error Azure::Compute::Mgmt::V2017_12_01::Models::ApiError @@ -793,8 +796,8 @@ def component_names def setting_names Azure::Compute::Mgmt::V2017_12_01::Models::SettingNames end - def virtual_machine_scale_set_update_ipconfiguration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration + def status_level_types + Azure::Compute::Mgmt::V2017_12_01::Models::StatusLevelTypes end def operating_system_types Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemTypes @@ -814,8 +817,8 @@ def throttled_requests_input def run_command_result Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandResult end - def status_level_types - Azure::Compute::Mgmt::V2017_12_01::Models::StatusLevelTypes + def resource_identity_type + Azure::Compute::Mgmt::V2017_12_01::Models::ResourceIdentityType end def upgrade_mode Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeMode @@ -841,8 +844,8 @@ def rolling_upgrade_status_code def protocol_types Azure::Compute::Mgmt::V2017_12_01::Models::ProtocolTypes end - def resource_identity_type - Azure::Compute::Mgmt::V2017_12_01::Models::ResourceIdentityType + def interval_in_mins + Azure::Compute::Mgmt::V2017_12_01::Models::IntervalInMins end def virtual_machine_scale_set_sku_scale_type Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuScaleType @@ -865,9 +868,6 @@ def virtual_machine_eviction_policy_types def rolling_upgrade_action_type Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeActionType end - def interval_in_mins - Azure::Compute::Mgmt::V2017_12_01::Models::IntervalInMins - end end end end diff --git a/azure_sdk/lib/latest/modules/computervision_profile_module.rb b/azure_sdk/lib/latest/modules/computervision_profile_module.rb index fa42607808..f705f2819a 100644 --- a/azure_sdk/lib/latest/modules/computervision_profile_module.rb +++ b/azure_sdk/lib/latest/modules/computervision_profile_module.rb @@ -8,6 +8,9 @@ module Azure::Profiles::Latest module ComputerVision module Models + ComputerVisionError = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError + CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail + ImageUrl = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes Gender = Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender @@ -43,9 +46,6 @@ module Models RecognitionResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult TagResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TagResult ImageType = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType - ComputerVisionError = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError - CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail - ImageUrl = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl end class ComputerVisionDataClass @@ -77,6 +77,15 @@ def method_missing(method, *args) end class ModelClasses + def computer_vision_error + Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError + end + def category_detail + Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail + end + def image_url + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl + end def image_description_details Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails end @@ -182,15 +191,6 @@ def tag_result def image_type Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType end - def computer_vision_error - Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError - end - def category_detail - Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail - end - def image_url - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl - end end end end diff --git a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb index a9f74f47e1..71136e0463 100644 --- a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb @@ -7,16 +7,19 @@ module Azure::Profiles::Latest module ContainerInstance module Mgmt + ContainerLogs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerLogs + StartContainer = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::StartContainer Operations = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Operations ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroups ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroupUsage - ContainerLogs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerLogs - StartContainer = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::StartContainer module Models + Logs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs + Port = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize VolumeMount = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest + Operation = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse Volume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume @@ -42,17 +45,14 @@ module Models Container = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential - Operation = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation + EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult - EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable - Logs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs - Port = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume end class ContainerInstanceManagementClass - attr_reader :operations, :container_groups, :container_group_usage, :container_logs, :start_container, :configurable, :base_url, :options, :model_classes + attr_reader :container_logs, :start_container, :operations, :container_groups, :container_group_usage, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -62,11 +62,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @container_logs = @client_0.container_logs + @start_container = @client_0.start_container @operations = @client_0.operations @container_groups = @client_0.container_groups @container_group_usage = @client_0.container_group_usage - @container_logs = @client_0.container_logs - @start_container = @client_0.start_container @model_classes = ModelClasses.new end @@ -85,6 +85,12 @@ def method_missing(method, *args) end class ModelClasses + def logs + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs + end + def port + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port + end def container_exec_request_terminal_size Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize end @@ -94,6 +100,9 @@ def volume_mount def container_exec_request Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest end + def operation + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation + end def container_properties_instance_view Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView end @@ -169,8 +178,8 @@ def git_repo_volume def image_registry_credential Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential end - def operation - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation + def environment_variable + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable end def resource_limits Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits @@ -178,15 +187,6 @@ def resource_limits def container_group_list_result Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult end - def environment_variable - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable - end - def logs - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs - end - def port - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port - end def azure_file_volume Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume end diff --git a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb index d0886f8cd4..a2eb8c1023 100644 --- a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb @@ -13,10 +13,12 @@ module Mgmt Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks module Models - Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook @@ -24,8 +26,8 @@ module Models Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier - RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState + RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters @@ -36,28 +38,26 @@ module Models RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters ImportImageParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters - Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult + Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo - Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target + Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition - Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor + EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult - EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent - EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage - RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage - Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry - RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage + 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 - Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication - RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult end class ContainerRegistryManagementClass @@ -93,18 +93,24 @@ def method_missing(method, *args) end class ModelClasses - def source - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - end - def webhook_status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + def registry + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry end def webhook_action Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction end + def registry_usage + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + end + def source + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source + end def request Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request end + def webhook_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + end def event Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event end @@ -126,12 +132,12 @@ def sku_name def sku_tier Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier end - def registry_usage_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult - end def provisioning_state Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState end + def registry_usage_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + end def import_source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource end @@ -162,26 +168,29 @@ def registry_password def regenerate_credential_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters end + def status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + end def webhook_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters end def import_image_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters end - def status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status - end def webhook_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult end + def target + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target + end def callback_config Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig end def event_info Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo end - def target - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target + def actor + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor end def storage_account_properties Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties @@ -189,8 +198,8 @@ def storage_account_properties def operation_definition Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition end - def actor - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor + def event_content + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent end def registry_name_status Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus @@ -198,23 +207,14 @@ def registry_name_status 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 event_request_message - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage - end - def registry_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult - 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 event_request_message + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end - def registry_usage_unit - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + def replication + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication end def import_mode Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode @@ -222,11 +222,11 @@ def import_mode def password_name Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName end - def replication - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication + def registry_usage_unit + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit end - def registry_usage - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + def registry_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult end end end diff --git a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb index 6ccd418244..5d6ea251d8 100644 --- a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb @@ -22,10 +22,10 @@ module Models ContainerServiceOrchestratorProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorProfile ContainerServiceAgentPoolProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceAgentPoolProfile ContainerServiceCustomProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceCustomProfile + Resource = Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource ContainerServiceListResult = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult ContainerServiceOrchestratorTypes = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorTypes ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes - Resource = Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource end class ContainerServiceManagementClass @@ -94,6 +94,9 @@ def container_service_agent_pool_profile def container_service_custom_profile Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceCustomProfile end + def resource + Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource + end def container_service_list_result Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult end @@ -103,9 +106,6 @@ def container_service_orchestrator_types def container_service_vmsize_types Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes end - def resource - Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource - 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 4829c93e34..83461458a6 100644 --- a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb +++ b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb @@ -28,10 +28,10 @@ module Models Review = Azure::CognitiveServices::ContentModerator::V1_0::Models::Review DetectedTerms = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms JobExecutionReportDetails = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails + Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face Candidate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate Evaluate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId - Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse ImageListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError @@ -43,9 +43,9 @@ module Models CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem Frames = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem - Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem @@ -62,14 +62,14 @@ module Models VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR - CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem + Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone + CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem + TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content - Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error - AzureRegionBaseUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job - TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + AzureRegionBaseUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address @@ -151,6 +151,9 @@ def detected_terms def job_execution_report_details Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails end + def face + Azure::CognitiveServices::ContentModerator::V1_0::Models::Face + end def candidate Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate end @@ -160,9 +163,6 @@ def evaluate def job_id Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId end - def face - Azure::CognitiveServices::ContentModerator::V1_0::Models::Face - end def match_response Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse end @@ -196,15 +196,15 @@ def frames def create_video_reviews_body_item_video_frames_item_metadata_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem end - def email - Azure::CognitiveServices::ContentModerator::V1_0::Models::Email - end def create_video_reviews_body_item_video_frames_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem end def pii Azure::CognitiveServices::ContentModerator::V1_0::Models::PII end + def email + Azure::CognitiveServices::ContentModerator::V1_0::Models::Email + end def found_faces Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces end @@ -253,20 +253,20 @@ def create_review_body_item_metadata_item def ocr Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR end - def create_review_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem + def error + Azure::CognitiveServices::ContentModerator::V1_0::Models::Error end def phone Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone end - def content - Azure::CognitiveServices::ContentModerator::V1_0::Models::Content + def create_review_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem end - def error - Azure::CognitiveServices::ContentModerator::V1_0::Models::Error + def term_list + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList end - def azure_region_base_url - Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl + def content + Azure::CognitiveServices::ContentModerator::V1_0::Models::Content end def image_url Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl @@ -274,8 +274,8 @@ def image_url def job Azure::CognitiveServices::ContentModerator::V1_0::Models::Job end - def term_list - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + def azure_region_base_url + Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl end def tag Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag diff --git a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb index 105b9583bf..eaa7bdda06 100644 --- a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb @@ -7,6 +7,9 @@ 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 Operations = Azure::CustomerInsights::Mgmt::V2017_04_26::Operations AuthorizationPolicies = Azure::CustomerInsights::Mgmt::V2017_04_26::AuthorizationPolicies @@ -18,14 +21,14 @@ module Mgmt WidgetTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::WidgetTypes Predictions = Azure::CustomerInsights::Mgmt::V2017_04_26::Predictions Roles = Azure::CustomerInsights::Mgmt::V2017_04_26::Roles - Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links RoleAssignments = Azure::CustomerInsights::Mgmt::V2017_04_26::RoleAssignments Images = Azure::CustomerInsights::Mgmt::V2017_04_26::Images - Hubs = Azure::CustomerInsights::Mgmt::V2017_04_26::Hubs - Interactions = Azure::CustomerInsights::Mgmt::V2017_04_26::Interactions - Relationships = Azure::CustomerInsights::Mgmt::V2017_04_26::Relationships + Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links module Models + ParticipantPropertyReference = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference + SalesforceDiscoverSetting = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting + PredictionDistributionDefinitionDistributionsItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinitionDistributionsItem KpiDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition RoleListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleListResult ConnectorMappingStructure = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStructure @@ -51,7 +54,6 @@ module Models PredictionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat EntityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes DataSourceType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType - Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status ProvisioningStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates PermissionTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes ConnectorTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes @@ -59,6 +61,7 @@ module Models ErrorManagementTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes FrequencyTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes CompletionOperationTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes + Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status ConnectorMappingStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates CalculationWindowTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes KpiFunctions = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions @@ -127,13 +130,10 @@ module Models ResourceSetDescription = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ResourceSetDescription KpiGroupByMetadata = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiGroupByMetadata PredictionDistributionDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinition - ParticipantPropertyReference = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference - SalesforceDiscoverSetting = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting - PredictionDistributionDefinitionDistributionsItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinitionDistributionsItem end class CustomerInsightsManagementClass - attr_reader :relationship_links, :operations, :authorization_policies, :connectors, :connector_mappings, :kpi, :profiles, :views, :widget_types, :predictions, :roles, :links, :role_assignments, :images, :hubs, :interactions, :relationships, :configurable, :base_url, :options, :model_classes + attr_reader :hubs, :interactions, :relationships, :relationship_links, :operations, :authorization_policies, :connectors, :connector_mappings, :kpi, :profiles, :views, :widget_types, :predictions, :roles, :role_assignments, :images, :links, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -143,6 +143,9 @@ 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 @operations = @client_0.operations @authorization_policies = @client_0.authorization_policies @@ -154,12 +157,9 @@ def initialize(configurable, base_url=nil, options=nil) @widget_types = @client_0.widget_types @predictions = @client_0.predictions @roles = @client_0.roles - @links = @client_0.links @role_assignments = @client_0.role_assignments @images = @client_0.images - @hubs = @client_0.hubs - @interactions = @client_0.interactions - @relationships = @client_0.relationships + @links = @client_0.links @model_classes = ModelClasses.new end @@ -178,6 +178,15 @@ def method_missing(method, *args) end class ModelClasses + def participant_property_reference + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference + end + def salesforce_discover_setting + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting + end + def prediction_distribution_definition_distributions_item + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinitionDistributionsItem + end def kpi_definition Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition end @@ -253,9 +262,6 @@ def entity_types def data_source_type Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType end - def status - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status - end def provisioning_states Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates end @@ -277,6 +283,9 @@ def frequency_types def completion_operation_types Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes end + def status + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status + end def connector_mapping_states Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates end @@ -481,15 +490,6 @@ def kpi_group_by_metadata def prediction_distribution_definition Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinition end - def participant_property_reference - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference - end - def salesforce_discover_setting - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting - end - def prediction_distribution_definition_distributions_item - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinitionDistributionsItem - end end end end diff --git a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb index 41d36e710b..960089b15e 100644 --- a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb @@ -9,6 +9,9 @@ module CustomSearch CustomInstance = Azure::CognitiveServices::CustomSearch::V1_0::CustomInstance module Models + ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase + QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext + Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query WebMetaTag = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag WebPage = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage WebWebAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer @@ -17,7 +20,6 @@ module Models Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing - QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode @@ -26,8 +28,6 @@ module Models ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error - ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase - Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query end class CustomSearchDataClass @@ -60,6 +60,15 @@ def method_missing(method, *args) end class ModelClasses + def response_base + Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase + end + def query_context + Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext + end + def query + Azure::CognitiveServices::CustomSearch::V1_0::Models::Query + end def web_meta_tag Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag end @@ -84,9 +93,6 @@ def answer def thing Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing end - def query_context - Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext - end def creative_work Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork end @@ -111,12 +117,6 @@ def response def error Azure::CognitiveServices::CustomSearch::V1_0::Models::Error end - def response_base - Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase - end - def query - Azure::CognitiveServices::CustomSearch::V1_0::Models::Query - 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 8140460295..4f33a4c8c5 100644 --- a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb @@ -7,15 +7,17 @@ module Azure::Profiles::Latest module DataLakeAnalytics module Mgmt + 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 + Accounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Accounts 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 module Models + CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation NameAvailabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation UpdateFirewallRuleParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters UpdateComputePolicyParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters @@ -62,12 +64,10 @@ module Models Operation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation SubResource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource Resource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource - CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation end class DataLakeAnalyticsManagementClass - attr_reader :operations, :accounts, :storage_accounts, :data_lake_store_accounts, :compute_policies, :firewall_rules, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :locations, :operations, :storage_accounts, :accounts, :data_lake_store_accounts, :compute_policies, :firewall_rules, :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) + @locations = @client_0.locations @operations = @client_0.operations - @accounts = @client_0.accounts @storage_accounts = @client_0.storage_accounts + @accounts = @client_0.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 @model_classes = ModelClasses.new end @@ -102,6 +102,12 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end + def capability_information + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation + end def name_availability_information Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation end @@ -240,12 +246,6 @@ def sub_resource def resource Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource end - def check_name_availability_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end - def capability_information - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation - 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 5afd7df8ab..61a1383399 100644 --- a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb @@ -7,13 +7,15 @@ module Azure::Profiles::Latest module DataLakeStore module Mgmt + Locations = Azure::DataLakeStore::Mgmt::V2016_11_01::Locations TrustedIdProviders = Azure::DataLakeStore::Mgmt::V2016_11_01::TrustedIdProviders Operations = Azure::DataLakeStore::Mgmt::V2016_11_01::Operations Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts 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 + CapabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation NameAvailabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation UpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters CreateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters @@ -24,41 +26,39 @@ module Models EncryptionConfig = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfig CreateTrustedIdProviderWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateTrustedIdProviderWithAccountParameters KeyVaultMetaInfo = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::KeyVaultMetaInfo - CreateOrUpdateTrustedIdProviderParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters + Resource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource UpdateTrustedIdProviderParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderParameters - FirewallRuleListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult + CreateOrUpdateTrustedIdProviderParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters UpdateEncryptionConfig = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateEncryptionConfig - CreateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters + FirewallRuleListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult UpdateTrustedIdProviderWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderWithAccountParameters UpdateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters - TrustedIdProviderListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult - Resource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource + CreateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters + UpdateKeyVaultMetaInfo = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo FirewallRule = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule - DataLakeStoreAccountListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult + TrustedIdProviderListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult TrustedIdProvider = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider - UpdateKeyVaultMetaInfo = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo + DataLakeStoreAccount = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount OperationDisplay = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay EncryptionConfigType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfigType OperationListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult DataLakeStoreAccountBasic = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic - FirewallState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState + DataLakeStoreAccountListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult EncryptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState - DataLakeStoreAccount = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount + EncryptionProvisioningState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState TrustedIdProviderState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderState - DataLakeStoreAccountStatus = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus + FirewallState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState FirewallAllowAzureIpsState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState - EncryptionProvisioningState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState + TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType + DataLakeStoreAccountStatus = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus DataLakeStoreAccountState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountState SubscriptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState Operation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation OperationOrigin = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin - TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType - CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - CapabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation end class DataLakeStoreManagementClass - attr_reader :trusted_id_providers, :operations, :accounts, :firewall_rules, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :locations, :trusted_id_providers, :operations, :accounts, :firewall_rules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -68,11 +68,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @locations = @client_0.locations @trusted_id_providers = @client_0.trusted_id_providers @operations = @client_0.operations @accounts = @client_0.accounts @firewall_rules = @client_0.firewall_rules - @locations = @client_0.locations @model_classes = ModelClasses.new end @@ -91,6 +91,12 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end + def capability_information + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation + end def name_availability_information Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation end @@ -121,20 +127,20 @@ def create_trusted_id_provider_with_account_parameters def key_vault_meta_info Azure::DataLakeStore::Mgmt::V2016_11_01::Models::KeyVaultMetaInfo end - def create_or_update_trusted_id_provider_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters + def resource + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource end def update_trusted_id_provider_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderParameters end - def firewall_rule_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult + def create_or_update_trusted_id_provider_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters end def update_encryption_config Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateEncryptionConfig end - def create_data_lake_store_account_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters + def firewall_rule_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult end def update_trusted_id_provider_with_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderWithAccountParameters @@ -142,23 +148,23 @@ def update_trusted_id_provider_with_account_parameters def update_data_lake_store_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters end - def trusted_id_provider_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult + def create_data_lake_store_account_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters end - def resource - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource + def update_key_vault_meta_info + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo end def firewall_rule Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule end - def data_lake_store_account_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult + def trusted_id_provider_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult end def trusted_id_provider Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider end - def update_key_vault_meta_info - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo + def data_lake_store_account + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount end def operation_display Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay @@ -172,26 +178,29 @@ def operation_list_result def data_lake_store_account_basic Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic end - def firewall_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState + def data_lake_store_account_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult end def encryption_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState end - def data_lake_store_account - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount + def encryption_provisioning_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState end def trusted_id_provider_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderState end - def data_lake_store_account_status - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus + def firewall_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState end def firewall_allow_azure_ips_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState end - def encryption_provisioning_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState + def tier_type + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType + end + def data_lake_store_account_status + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus end def data_lake_store_account_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountState @@ -205,15 +214,6 @@ def operation def operation_origin Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin end - def tier_type - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType - end - def check_name_availability_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end - def capability_information - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation - 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 e8045c5f41..12903de28a 100644 --- a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb @@ -7,12 +7,15 @@ module Azure::Profiles::Latest module DevTestLabs module Mgmt - VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules + Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments + Secrets = Azure::DevTestLabs::Mgmt::V2016_05_15::Secrets + VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks Disks = Azure::DevTestLabs::Mgmt::V2016_05_15::Disks VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations + Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies ProviderOperations = Azure::DevTestLabs::Mgmt::V2016_05_15::ProviderOperations Labs = Azure::DevTestLabs::Mgmt::V2016_05_15::Labs GlobalSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::GlobalSchedules @@ -27,9 +30,6 @@ module Mgmt PolicySets = Azure::DevTestLabs::Mgmt::V2016_05_15::PolicySets Schedules = Azure::DevTestLabs::Mgmt::V2016_05_15::Schedules ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners - Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users - Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies - Secrets = Azure::DevTestLabs::Mgmt::V2016_05_15::Secrets module Models ExternalSubnetFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ExternalSubnetFragment @@ -117,9 +117,9 @@ module Models PortFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PortFragment ProviderOperationResult = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ProviderOperationResult CostThresholdProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties - DetachDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties - ResponseWithContinuationArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate Resource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource + ResponseWithContinuationArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate + DetachDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port EvaluatePoliciesResponse = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse ResponseWithContinuationArtifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifact @@ -191,7 +191,7 @@ module Models end class DevTestLabsManagementClass - attr_reader :virtual_machine_schedules, :environments, :virtual_networks, :disks, :virtual_machines, :operations, :provider_operations, :labs, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :notification_channels, :policy_sets, :schedules, :service_runners, :users, :policies, :secrets, :configurable, :base_url, :options, :model_classes + attr_reader :users, :environments, :secrets, :virtual_machine_schedules, :virtual_networks, :disks, :virtual_machines, :operations, :policies, :provider_operations, :labs, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :notification_channels, :policy_sets, :schedules, :service_runners, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -201,12 +201,15 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @virtual_machine_schedules = @client_0.virtual_machine_schedules + @users = @client_0.users @environments = @client_0.environments + @secrets = @client_0.secrets + @virtual_machine_schedules = @client_0.virtual_machine_schedules @virtual_networks = @client_0.virtual_networks @disks = @client_0.disks @virtual_machines = @client_0.virtual_machines @operations = @client_0.operations + @policies = @client_0.policies @provider_operations = @client_0.provider_operations @labs = @client_0.labs @global_schedules = @client_0.global_schedules @@ -221,9 +224,6 @@ def initialize(configurable, base_url=nil, options=nil) @policy_sets = @client_0.policy_sets @schedules = @client_0.schedules @service_runners = @client_0.service_runners - @users = @client_0.users - @policies = @client_0.policies - @secrets = @client_0.secrets @model_classes = ModelClasses.new end @@ -497,14 +497,14 @@ def provider_operation_result def cost_threshold_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties end - def detach_disk_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties + def resource + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource end def response_with_continuation_arm_template Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate end - def resource - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource + def detach_disk_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties end def port Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port diff --git a/azure_sdk/lib/latest/modules/dns_profile_module.rb b/azure_sdk/lib/latest/modules/dns_profile_module.rb index 24e4a55ab2..7c88fe0416 100644 --- a/azure_sdk/lib/latest/modules/dns_profile_module.rb +++ b/azure_sdk/lib/latest/modules/dns_profile_module.rb @@ -18,17 +18,17 @@ module Models NsRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::NsRecord RecordSetListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetListResult SrvRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord + SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource CnameRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord SoaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SoaRecord MxRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord - SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource ZoneUpdate = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate TxtRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::TxtRecord ZoneListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult PtrRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord - ARecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord - Zone = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource + Zone = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone + ARecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord RecordType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType end @@ -85,6 +85,9 @@ def record_set_list_result def srv_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord end + def sub_resource + Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource + end def cname_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord end @@ -94,9 +97,6 @@ def soa_record def mx_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord end - def sub_resource - Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource - end def zone_update Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate end @@ -109,14 +109,14 @@ def zone_list_result def ptr_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord end - def arecord - Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord + def resource + Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource end def zone Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone end - def resource - Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource + def arecord + Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord end def record_type Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType diff --git a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb index 4a994bde74..9bf2571293 100644 --- a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb @@ -9,6 +9,9 @@ module EntitySearch EntitiesOperations = Azure::CognitiveServices::EntitySearch::V1_0::EntitiesOperations module Models + EntitiesEntityPresentationInfo = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo + ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities Places = Azure::CognitiveServices::EntitySearch::V1_0::Models::Places PostalAddress = Azure::CognitiveServices::EntitySearch::V1_0::Models::PostalAddress Place = Azure::CognitiveServices::EntitySearch::V1_0::Models::Place @@ -30,12 +33,12 @@ module Models ContractualRulesTextAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesTextAttribution FoodEstablishment = Azure::CognitiveServices::EntitySearch::V1_0::Models::FoodEstablishment LodgingBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::LodgingBusiness - Restaurant = Azure::CognitiveServices::EntitySearch::V1_0::Models::Restaurant Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response + Restaurant = Azure::CognitiveServices::EntitySearch::V1_0::Models::Restaurant Hotel = Azure::CognitiveServices::EntitySearch::V1_0::Models::Hotel + EntityQueryScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario EntityScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType - EntityQueryScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse @@ -52,9 +55,6 @@ module Models ErrorSubCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode SafeSearch = Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch ContractualRulesContractualRule = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule - EntitiesEntityPresentationInfo = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo - ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject - Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities end class EntitySearchDataClass @@ -87,6 +87,15 @@ def method_missing(method, *args) end class ModelClasses + def entities_entity_presentation_info + Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo + end + def image_object + Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + end + def entities + Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities + end def places Azure::CognitiveServices::EntitySearch::V1_0::Models::Places end @@ -150,24 +159,24 @@ def food_establishment def lodging_business Azure::CognitiveServices::EntitySearch::V1_0::Models::LodgingBusiness end - def restaurant - Azure::CognitiveServices::EntitySearch::V1_0::Models::Restaurant - end def response Azure::CognitiveServices::EntitySearch::V1_0::Models::Response end + def restaurant + Azure::CognitiveServices::EntitySearch::V1_0::Models::Restaurant + end def hotel Azure::CognitiveServices::EntitySearch::V1_0::Models::Hotel end + def entity_query_scenario + Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario + end def entity_scenario Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario end def answer_type Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType end - def entity_query_scenario - Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario - end def response_format Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat end @@ -216,15 +225,6 @@ def safe_search def contractual_rules_contractual_rule Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule end - def entities_entity_presentation_info - Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo - end - def image_object - Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject - end - def entities - Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities - end end end end diff --git a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb index dce4bb7aa0..a0ebc80308 100644 --- a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb @@ -9,6 +9,9 @@ module Azure::Profiles::Latest module EventGrid module Models + SubscriptionDeletedEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData + ServiceBusActiveMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData + StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData MediaJobStateChangeEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData ResourceWriteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData ContainerRegistryEventTarget = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventTarget @@ -38,9 +41,6 @@ module Models EventGridEvent = Azure::EventGrid::V2018_01_01::Models::EventGridEvent SubscriptionValidationEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData SubscriptionValidationResponse = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse - SubscriptionDeletedEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData - ServiceBusActiveMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData - StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData end class EventGridDataClass @@ -72,6 +72,15 @@ def method_missing(method, *args) end class ModelClasses + def subscription_deleted_event_data + Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData + end + def service_bus_active_messages_available_with_no_listeners_event_data + Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData + end + def storage_blob_created_event_data + Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData + end def media_job_state_change_event_data Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData end @@ -159,24 +168,16 @@ def subscription_validation_event_data def subscription_validation_response Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse end - def subscription_deleted_event_data - Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData - end - def service_bus_active_messages_available_with_no_listeners_event_data - Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData - end - def storage_blob_created_event_data - Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData - end end end module Mgmt - TopicTypes = Azure::EventGrid::Mgmt::V2018_05_01_preview::TopicTypes - Operations = Azure::EventGrid::Mgmt::V2018_05_01_preview::Operations EventSubscriptions = Azure::EventGrid::Mgmt::V2018_05_01_preview::EventSubscriptions Topics = Azure::EventGrid::Mgmt::V2018_05_01_preview::Topics + TopicTypes = Azure::EventGrid::Mgmt::V2018_05_01_preview::TopicTypes + Operations = Azure::EventGrid::Mgmt::V2018_05_01_preview::Operations module Models + TopicTypeProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeProvisioningState Resource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource EventSubscriptionFilter = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFilter InputSchemaMapping = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchemaMapping @@ -213,11 +214,10 @@ module Models TopicProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicProvisioningState InputSchema = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchema ResourceRegionType = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::ResourceRegionType - TopicTypeProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeProvisioningState end class EventGridManagementClass - attr_reader :topic_types, :operations, :event_subscriptions, :topics, :configurable, :base_url, :options, :model_classes + attr_reader :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 @@ -227,10 +227,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @topic_types = @client_0.topic_types - @operations = @client_0.operations @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 @@ -249,6 +249,9 @@ def method_missing(method, *args) end class ModelClasses + def topic_type_provisioning_state + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeProvisioningState + end def resource Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource end @@ -357,9 +360,6 @@ def input_schema def resource_region_type Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::ResourceRegionType end - def topic_type_provisioning_state - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeProvisioningState - end end end end diff --git a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb index 21443d91be..d6a0aba4be 100644 --- a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb @@ -14,10 +14,12 @@ module Mgmt ConsumerGroups = Azure::EventHub::Mgmt::V2017_04_01::ConsumerGroups module Models - KeyType = Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType Sku = Azure::EventHub::Mgmt::V2017_04_01::Models::Sku + KeyType = Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType CheckNameAvailabilityResult = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult Resource = Azure::EventHub::Mgmt::V2017_04_01::Models::Resource + SkuName = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName + SkuTier = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier CaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription Destination = Azure::EventHub::Mgmt::V2017_04_01::Models::Destination EventHubListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult @@ -34,18 +36,16 @@ module Models EHNamespace = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace ConsumerGroup = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup Eventhub = Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub - SkuTier = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier - ArmDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery AccessRights = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights - ErrorResponse = Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse + ArmDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery EncodingCaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription - SkuName = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName + ErrorResponse = Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse + ProvisioningStateDR = Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR + UnavailableReason = Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason EntityStatus = Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus RoleDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery Operation = Azure::EventHub::Mgmt::V2017_04_01::Models::Operation TrackedResource = Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource - UnavailableReason = Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason - ProvisioningStateDR = Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR end class EventHubManagementClass @@ -82,18 +82,24 @@ def method_missing(method, *args) end class ModelClasses - def key_type - Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType - end def sku Azure::EventHub::Mgmt::V2017_04_01::Models::Sku end + def key_type + Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType + end def check_name_availability_result Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult end def resource Azure::EventHub::Mgmt::V2017_04_01::Models::Resource end + def sku_name + Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName + end + def sku_tier + Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier + end def capture_description Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription end @@ -142,23 +148,23 @@ def consumer_group def eventhub Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub end - def sku_tier - Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier + def access_rights + Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights end def arm_disaster_recovery Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery end - def access_rights - Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights + def encoding_capture_description + Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription end def error_response Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse end - def encoding_capture_description - Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + def provisioning_state_dr + Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR end - def sku_name - Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName + def unavailable_reason + Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason end def entity_status Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus @@ -172,12 +178,6 @@ def operation def tracked_resource Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource end - def unavailable_reason - Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason - end - def provisioning_state_dr - Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR - 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 cd2040801f..e7a3f5e61d 100644 --- a/azure_sdk/lib/latest/modules/face_profile_module.rb +++ b/azure_sdk/lib/latest/modules/face_profile_module.rb @@ -6,10 +6,10 @@ module Azure::Profiles::Latest module Face + PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations Face = Azure::CognitiveServices::Face::V1_0::Face - PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson module Models APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError @@ -36,33 +36,33 @@ module Models Coordinate = Azure::CognitiveServices::Face::V1_0::Models::Coordinate Emotion = Azure::CognitiveServices::Face::V1_0::Models::Emotion Occlusion = Azure::CognitiveServices::Face::V1_0::Models::Occlusion - Noise = Azure::CognitiveServices::Face::V1_0::Models::Noise - Hair = Azure::CognitiveServices::Face::V1_0::Models::Hair - DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace Error = Azure::CognitiveServices::Face::V1_0::Models::Error + NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract + DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace + UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur + ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup Person = Azure::CognitiveServices::Face::V1_0::Models::Person GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType - Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel - AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType + Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel - NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract - TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType - UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest - ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode - AzureRegions = Azure::CognitiveServices::Face::V1_0::Models::AzureRegions + AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType + TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType + Noise = Azure::CognitiveServices::Face::V1_0::Models::Noise + Hair = Azure::CognitiveServices::Face::V1_0::Models::Hair + AzureRegions = Azure::CognitiveServices::Face::V1_0::Models::AzureRegions end class FaceDataClass - attr_reader :person_group_operations, :face_list_operations, :face, :person_group_person, :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 @@ -72,10 +72,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @person_group_person = @client_0.person_group_person @person_group_operations = @client_0.person_group_operations @face_list_operations = @client_0.face_list_operations @face = @client_0.face - @person_group_person = @client_0.person_group_person @model_classes = ModelClasses.new end @@ -166,21 +166,24 @@ def emotion def occlusion Azure::CognitiveServices::Face::V1_0::Models::Occlusion end - def noise - Azure::CognitiveServices::Face::V1_0::Models::Noise + def error + Azure::CognitiveServices::Face::V1_0::Models::Error end - def hair - Azure::CognitiveServices::Face::V1_0::Models::Hair + def name_and_user_data_contract + Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract end def detected_face Azure::CognitiveServices::Face::V1_0::Models::DetectedFace end - def error - Azure::CognitiveServices::Face::V1_0::Models::Error + def update_person_face_request + Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest end def blur Azure::CognitiveServices::Face::V1_0::Models::Blur end + def image_url + Azure::CognitiveServices::Face::V1_0::Models::ImageUrl + end def training_status Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus end @@ -199,42 +202,39 @@ def glasses_type def hair_color_type Azure::CognitiveServices::Face::V1_0::Models::HairColorType end - def gender - Azure::CognitiveServices::Face::V1_0::Models::Gender - end def blur_level Azure::CognitiveServices::Face::V1_0::Models::BlurLevel end def exposure_level Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel end - def accessory_type - Azure::CognitiveServices::Face::V1_0::Models::AccessoryType + def gender + Azure::CognitiveServices::Face::V1_0::Models::Gender end def noise_level Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel end - def name_and_user_data_contract - Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract + def find_similar_match_mode + Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode + end + def accessory_type + Azure::CognitiveServices::Face::V1_0::Models::AccessoryType + end + def face_attribute_type + Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType end def training_status_type Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType end - def update_person_face_request - Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest - end - def image_url - Azure::CognitiveServices::Face::V1_0::Models::ImageUrl + def noise + Azure::CognitiveServices::Face::V1_0::Models::Noise end - def find_similar_match_mode - Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode + def hair + Azure::CognitiveServices::Face::V1_0::Models::Hair end def azure_regions Azure::CognitiveServices::Face::V1_0::Models::AzureRegions end - def face_attribute_type - Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType - 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 aff87eba3a..9358cc9199 100644 --- a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb +++ b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb @@ -6,14 +6,17 @@ module Azure::Profiles::Latest module GraphRbac + Users = Azure::GraphRbac::V1_6::Users Objects = Azure::GraphRbac::V1_6::Objects Applications = Azure::GraphRbac::V1_6::Applications Groups = Azure::GraphRbac::V1_6::Groups ServicePrincipals = Azure::GraphRbac::V1_6::ServicePrincipals Domains = Azure::GraphRbac::V1_6::Domains - Users = Azure::GraphRbac::V1_6::Users module Models + 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 Domain = Azure::GraphRbac::V1_6::Models::Domain @@ -53,13 +56,10 @@ module Models GetObjectsResult = Azure::GraphRbac::V1_6::Models::GetObjectsResult DomainListResult = Azure::GraphRbac::V1_6::Models::DomainListResult 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 - attr_reader :objects, :applications, :groups, :service_principals, :domains, :users, :configurable, :base_url, :options, :model_classes + attr_reader :users, :objects, :applications, :groups, :service_principals, :domains, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -69,12 +69,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @users = @client_0.users @objects = @client_0.objects @applications = @client_0.applications @groups = @client_0.groups @service_principals = @client_0.service_principals @domains = @client_0.domains - @users = @client_0.users @model_classes = ModelClasses.new end @@ -93,6 +93,15 @@ def method_missing(method, *args) end class ModelClasses + def service_principal_list_result + Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult + end + 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 @@ -210,15 +219,6 @@ def domain_list_result def password_credential Azure::GraphRbac::V1_6::Models::PasswordCredential end - def service_principal_list_result - Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult - end - 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 6efb2353e5..9ebc0b9fe4 100644 --- a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb @@ -9,6 +9,7 @@ module ImageSearch ImagesOperations = Azure::CognitiveServices::ImageSearch::V1_0::ImagesOperations 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 @@ -31,29 +32,29 @@ module Models AggregateRating = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating Offer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Offer AggregateOffer = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer - ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse ImageGallery = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery Recipe = Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe NormalizedRectangle = Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle RecognizedEntity = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity + RecognizedEntityRegion = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion ImageInsights = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights TrendingImages = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages - RecognizedEntityRegion = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion + Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating CollectionPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage + ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse Currency = Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency - Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating - ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability + Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error ImageAspect = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect + ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability + Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness ImageColor = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor - Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error + ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType ImageContent = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent - Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness - ImageSize = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize ImageLicense = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person ImageCropType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType ImageInsightModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule - ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + ImageSize = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query @@ -66,7 +67,6 @@ module Models ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch - ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject end class ImageSearchDataClass @@ -99,6 +99,9 @@ def method_missing(method, *args) end class ModelClasses + def image_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject + end def organization Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization end @@ -165,9 +168,6 @@ def offer def aggregate_offer Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer end - def error_response - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse - end def image_gallery Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery end @@ -180,45 +180,48 @@ def normalized_rectangle def recognized_entity Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity end + def recognized_entity_region + Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion + end def image_insights Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights end def trending_images Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages end - def recognized_entity_region - Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion + def rating + Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating end def collection_page Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage end + def error_response + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse + end def currency Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency end - def rating - Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating + def error + Azure::CognitiveServices::ImageSearch::V1_0::Models::Error + end + def image_aspect + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect end def item_availability Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability end - def image_aspect - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect + def freshness + Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness end def image_color Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor end - def error - Azure::CognitiveServices::ImageSearch::V1_0::Models::Error + def image_type + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType end def image_content Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent end - def freshness - Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness - end - def image_size - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize - end def image_license Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense end @@ -231,8 +234,8 @@ def image_crop_type def image_insight_module Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule end - def image_type - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + def image_size + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize end def images Azure::CognitiveServices::ImageSearch::V1_0::Models::Images @@ -270,9 +273,6 @@ def error_sub_code def safe_search Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch end - def image_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject - end end end end diff --git a/azure_sdk/lib/latest/modules/iothub_profile_module.rb b/azure_sdk/lib/latest/modules/iothub_profile_module.rb index bcf679a448..991e58c2f5 100644 --- a/azure_sdk/lib/latest/modules/iothub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iothub_profile_module.rb @@ -49,8 +49,8 @@ module Models EventHubProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubProperties CertificatePropertiesWithNonce = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificatePropertiesWithNonce RoutingProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingProperties - Operation = Azure::IotHub::Mgmt::V2017_07_01::Models::Operation CloudToDeviceProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::CloudToDeviceProperties + Operation = Azure::IotHub::Mgmt::V2017_07_01::Models::Operation IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameAvailabilityInfo OperationInputs = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationInputs ExportDevicesRequest = Azure::IotHub::Mgmt::V2017_07_01::Models::ExportDevicesRequest @@ -215,12 +215,12 @@ def certificate_properties_with_nonce def routing_properties Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingProperties end - def operation - Azure::IotHub::Mgmt::V2017_07_01::Models::Operation - end def cloud_to_device_properties Azure::IotHub::Mgmt::V2017_07_01::Models::CloudToDeviceProperties end + def operation + Azure::IotHub::Mgmt::V2017_07_01::Models::Operation + end def iot_hub_name_availability_info Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameAvailabilityInfo end diff --git a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb index 67093c47ae..02b84829a0 100644 --- a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb @@ -21,25 +21,25 @@ module Models VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters - VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties - LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification - CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource + VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties + 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 DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault - AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry - VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters - SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions - KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName + CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult + KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay - Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult end @@ -105,41 +105,41 @@ def vault_check_name_availability_parameters def vault_access_policy_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters end + def resource + Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource + end def vault_patch_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties end - def log_specification - Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification - end - def check_name_availability_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult - end - def resource - Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource + 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 deleted_vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties end def vault Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault 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 vault_patch_parameters - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters + def sku_name + Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName end - def secret_permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions + def check_name_availability_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult end def key_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions end - def sku_name - Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName + def secret_permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions end def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions @@ -150,8 +150,8 @@ def storage_permissions def operation_display Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay 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 operation_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult @@ -159,8 +159,8 @@ def operation_list_result 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 operation Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation diff --git a/azure_sdk/lib/latest/modules/links_profile_module.rb b/azure_sdk/lib/latest/modules/links_profile_module.rb index f2ec0cb6c4..61c1cd6274 100644 --- a/azure_sdk/lib/latest/modules/links_profile_module.rb +++ b/azure_sdk/lib/latest/modules/links_profile_module.rb @@ -10,11 +10,11 @@ module Mgmt ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks module Models + Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties - Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter end class LinksManagementClass @@ -47,6 +47,9 @@ def method_missing(method, *args) end class ModelClasses + def filter + Azure::Links::Mgmt::V2016_09_01::Models::Filter + end def resource_link Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink end @@ -59,9 +62,6 @@ def resource_link_result def resource_link_properties Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties end - def filter - Azure::Links::Mgmt::V2016_09_01::Models::Filter - 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 85e3128c84..915440fa83 100644 --- a/azure_sdk/lib/latest/modules/logic_profile_module.rb +++ b/azure_sdk/lib/latest/modules/logic_profile_module.rb @@ -27,17 +27,17 @@ module Models OperationListResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult ErrorResponse = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse Operation = Azure::Logic::Mgmt::V2016_06_01::Models::Operation - KeyType = Azure::Logic::Mgmt::V2016_06_01::Models::KeyType Sku = Azure::Logic::Mgmt::V2016_06_01::Models::Sku + KeyType = Azure::Logic::Mgmt::V2016_06_01::Models::KeyType SubResource = Azure::Logic::Mgmt::V2016_06_01::Models::SubResource IntegrationAccountPartnerFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter + Resource = Azure::Logic::Mgmt::V2016_06_01::Models::Resource AS2MessageConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2MessageConnectionSettings ResourceReference = Azure::Logic::Mgmt::V2016_06_01::Models::ResourceReference - Resource = Azure::Logic::Mgmt::V2016_06_01::Models::Resource AS2AcknowledgementConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings - WorkflowParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowParameter AS2MdnSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2MdnSettings WorkflowFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowFilter + AS2SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings KeyVaultKeyReferenceKeyVault = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault WorkflowVersionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersionListResult IntegrationAccountPartnerListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerListResult @@ -49,25 +49,25 @@ module Models WorkflowListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowListResult IntegrationAccountAgreementFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter WorkflowTriggerHistoryListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryListResult + WorkflowParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowParameter AS2ValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2ValidationSettings - WorkflowRunTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunTrigger AS2EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings - AS2SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings AS2ErrorSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2ErrorSettings - AS2ProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2ProtocolSettings - AS2OneWayAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::AS2OneWayAgreement + WorkflowRunTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunTrigger WorkflowRunListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult - AS2AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AgreementContent - WorkflowRunActionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionListResult + AS2OneWayAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::AS2OneWayAgreement IntegrationAccountSessionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult + AS2ProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2ProtocolSettings + WorkflowRunActionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionListResult + X12ValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings GenerateUpgradedDefinitionParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters X12FramingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12FramingSettings - X12ValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings + IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter X12EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeSettings GetCallbackUrlParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters - IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter + X12AcknowledgementSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings IntegrationAccountCertificateListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult - X12MessageFilter = Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageFilter + AS2AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AgreementContent IntegrationAccountSchemaFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter X12SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12SecuritySettings X12ProcessingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ProcessingSettings @@ -110,37 +110,37 @@ module Models EdifactProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactProtocolSettings WorkflowTriggerRecurrence = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerRecurrence EdifactOneWayAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactOneWayAgreement - X12AcknowledgementSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings + IntegrationAccountMapPropertiesParametersSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema KeyVaultKeyReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference + X12MessageFilter = Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageFilter + ErrorProperties = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties EdifactAgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent - IntegrationAccountMapPropertiesParametersSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema + Workflow = Azure::Logic::Mgmt::V2016_06_01::Models::Workflow AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementContent - ErrorProperties = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties + WorkflowTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger WorkflowVersion = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersion - Workflow = Azure::Logic::Mgmt::V2016_06_01::Models::Workflow + WorkflowOutputParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter WorkflowTriggerHistory = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistory - WorkflowTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger + WorkflowRunAction = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction WorkflowRun = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun - WorkflowOutputParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter + IntegrationAccountSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema IntegrationAccount = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount - WorkflowRunAction = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction + IntegrationAccountPartner = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner IntegrationAccountMap = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMap - IntegrationAccountSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema + IntegrationAccountCertificate = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate IntegrationAccountAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreement - IntegrationAccountPartner = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner + WorkflowProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState IntegrationAccountSession = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession - IntegrationAccountCertificate = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate + ParameterType = Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType WorkflowState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState - WorkflowProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState + WorkflowStatus = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus WorkflowTriggerProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState - ParameterType = Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType + DaysOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek RecurrenceFrequency = Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceFrequency - WorkflowStatus = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus + SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName DayOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek - DaysOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek - SchemaType = Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType IntegrationAccountSkuName = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName - SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName + SchemaType = Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType MapType = Azure::Logic::Mgmt::V2016_06_01::Models::MapType PartnerType = Azure::Logic::Mgmt::V2016_06_01::Models::PartnerType AgreementType = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType @@ -216,39 +216,39 @@ def error_response def operation Azure::Logic::Mgmt::V2016_06_01::Models::Operation end - def key_type - Azure::Logic::Mgmt::V2016_06_01::Models::KeyType - end def sku Azure::Logic::Mgmt::V2016_06_01::Models::Sku end + def key_type + Azure::Logic::Mgmt::V2016_06_01::Models::KeyType + end def sub_resource Azure::Logic::Mgmt::V2016_06_01::Models::SubResource end def integration_account_partner_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter end + def resource + Azure::Logic::Mgmt::V2016_06_01::Models::Resource + end def as2_message_connection_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2MessageConnectionSettings end def resource_reference Azure::Logic::Mgmt::V2016_06_01::Models::ResourceReference end - def resource - Azure::Logic::Mgmt::V2016_06_01::Models::Resource - end def as2_acknowledgement_connection_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings end - def workflow_parameter - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowParameter - end def as2_mdn_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2MdnSettings end def workflow_filter Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowFilter end + def as2_security_settings + Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings + end def key_vault_key_reference_key_vault Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault end @@ -282,38 +282,38 @@ def integration_account_agreement_filter def workflow_trigger_history_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryListResult end + def workflow_parameter + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowParameter + end def as2_validation_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2ValidationSettings end - def workflow_run_trigger - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunTrigger - end def as2_envelope_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings end - def as2_security_settings - Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings - end def as2_error_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2ErrorSettings end - def as2_protocol_settings - Azure::Logic::Mgmt::V2016_06_01::Models::AS2ProtocolSettings + def workflow_run_trigger + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunTrigger + end + def workflow_run_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult end def as2_one_way_agreement Azure::Logic::Mgmt::V2016_06_01::Models::AS2OneWayAgreement end - def workflow_run_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult + def integration_account_session_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult end - def as2_agreement_content - Azure::Logic::Mgmt::V2016_06_01::Models::AS2AgreementContent + def as2_protocol_settings + Azure::Logic::Mgmt::V2016_06_01::Models::AS2ProtocolSettings end def workflow_run_action_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionListResult end - def integration_account_session_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult + def x12_validation_settings + Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings end def generate_upgraded_definition_parameters Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters @@ -321,8 +321,8 @@ def generate_upgraded_definition_parameters def x12_framing_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12FramingSettings end - def x12_validation_settings - Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings + def integration_account_session_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter end def x12_envelope_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeSettings @@ -330,14 +330,14 @@ def x12_envelope_settings def get_callback_url_parameters Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters end - def integration_account_session_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter + def x12_acknowledgement_settings + Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings end def integration_account_certificate_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult end - def x12_message_filter - Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageFilter + def as2_agreement_content + Azure::Logic::Mgmt::V2016_06_01::Models::AS2AgreementContent end def integration_account_schema_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter @@ -465,98 +465,98 @@ def workflow_trigger_recurrence def edifact_one_way_agreement Azure::Logic::Mgmt::V2016_06_01::Models::EdifactOneWayAgreement end - def x12_acknowledgement_settings - Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings + def integration_account_map_properties_parameters_schema + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema end def key_vault_key_reference Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference end + def x12_message_filter + Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageFilter + end + def error_properties + Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties + end def edifact_agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent end - def integration_account_map_properties_parameters_schema - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema + def workflow + Azure::Logic::Mgmt::V2016_06_01::Models::Workflow end def agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::AgreementContent end - def error_properties - Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties + def workflow_trigger + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger end def workflow_version Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersion end - def workflow - Azure::Logic::Mgmt::V2016_06_01::Models::Workflow + def workflow_output_parameter + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter end def workflow_trigger_history Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistory end - def workflow_trigger - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger + def workflow_run_action + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction end def workflow_run Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun end - def workflow_output_parameter - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter + def integration_account_schema + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema end def integration_account Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount end - def workflow_run_action - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction + def integration_account_partner + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner end def integration_account_map Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMap end - def integration_account_schema - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema + def integration_account_certificate + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate end def integration_account_agreement Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreement end - def integration_account_partner - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner + def workflow_provisioning_state + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState end def integration_account_session Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession end - def integration_account_certificate - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate + def parameter_type + Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType end def workflow_state Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState end - def workflow_provisioning_state - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState + def workflow_status + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus end def workflow_trigger_provisioning_state Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState end - def parameter_type - Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType + def days_of_week + Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek end def recurrence_frequency Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceFrequency end - def workflow_status - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus + def sku_name + Azure::Logic::Mgmt::V2016_06_01::Models::SkuName end def day_of_week Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek end - def days_of_week - Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek - end - def schema_type - Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType - end def integration_account_sku_name Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName end - def sku_name - Azure::Logic::Mgmt::V2016_06_01::Models::SkuName + def schema_type + Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType end def map_type Azure::Logic::Mgmt::V2016_06_01::Models::MapType diff --git a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb index 4d5091f49d..cb21dd7d0c 100644 --- a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb +++ b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb @@ -10,6 +10,9 @@ module Mgmt WebServices = Azure::MachineLearning::Mgmt::V2017_01_01::WebServices module Models + AsyncOperationErrorInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo + 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 ColumnFormat = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat @@ -17,9 +20,9 @@ module Models InputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType OutputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType ParameterType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType - AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus - StorageAccount = Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount Resource = Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource + StorageAccount = Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount + AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus ProvisioningState = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState ModeValueInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo ModuleAssetParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModuleAssetParameter @@ -44,9 +47,6 @@ module Models GraphPackage = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage PaginatedWebServicesList = Azure::MachineLearning::Mgmt::V2017_01_01::Models::PaginatedWebServicesList ExampleRequest = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ExampleRequest - AsyncOperationErrorInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo - WebService = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService - WebServicePropertiesForGraph = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph end class MachineLearningManagementClass @@ -79,6 +79,15 @@ def method_missing(method, *args) end class ModelClasses + def async_operation_error_info + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo + end + def web_service + Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService + end + def web_service_properties_for_graph + Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph + end def diagnostics_level Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel end @@ -100,14 +109,14 @@ def output_port_type def parameter_type Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType end - def async_operation_status - Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus + def resource + Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource end def storage_account Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount end - def resource - Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource + def async_operation_status + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus end def provisioning_state Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState @@ -181,15 +190,6 @@ def paginated_web_services_list def example_request Azure::MachineLearning::Mgmt::V2017_01_01::Models::ExampleRequest end - def async_operation_error_info - Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo - end - def web_service - Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService - end - def web_service_properties_for_graph - Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph - 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 72d2b8aa56..92d1c89599 100644 --- a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb @@ -11,23 +11,23 @@ module Mgmt ApplicationDefinitions = Azure::ManagedApplications::Mgmt::V2017_09_01::ApplicationDefinitions module Models + Plan = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan PlanPatchable = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::PlanPatchable ApplicationProviderAuthorization = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationProviderAuthorization ApplicationDefinitionListResult = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationDefinitionListResult ApplicationArtifact = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationArtifact ApplicationPatchable = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationPatchable ApplicationDefinition = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationDefinition + Sku = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku Application = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Application - ApplicationLockLevel = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationLockLevel ApplicationArtifactType = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationArtifactType - Sku = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku + ApplicationLockLevel = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationLockLevel ResourceIdentityType = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ResourceIdentityType ErrorResponse = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ErrorResponse ApplicationListResult = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationListResult Identity = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Identity Resource = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Resource GenericResource = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::GenericResource - Plan = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan ProvisioningState = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ProvisioningState end @@ -62,6 +62,9 @@ def method_missing(method, *args) end class ModelClasses + def plan + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan + end def plan_patchable Azure::ManagedApplications::Mgmt::V2017_09_01::Models::PlanPatchable end @@ -80,17 +83,17 @@ def application_patchable def application_definition Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationDefinition end + def sku + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku + end def application Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Application end - def application_lock_level - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationLockLevel - end def application_artifact_type Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationArtifactType end - def sku - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku + def application_lock_level + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationLockLevel end def resource_identity_type Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ResourceIdentityType @@ -110,9 +113,6 @@ def resource def generic_resource Azure::ManagedApplications::Mgmt::V2017_09_01::Models::GenericResource end - def plan - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan - end def provisioning_state Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ProvisioningState end diff --git a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb index 31f9903f39..9a2cecec38 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 - UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities - Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation Identity = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity - OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay UserAssignedIdentitiesListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult OperationListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult + UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation + OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay end class ManagedServiceIdentityManagementClass @@ -50,24 +50,24 @@ def method_missing(method, *args) end class ModelClasses - def user_assigned_identities - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities - end - def operation - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation - 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 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 user_assigned_identities + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + end + def operation + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation + 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 dc53046af9..15746cb1bc 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 + AgreementTerms = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms + ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse Operation = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay 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 - ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse end class MarketplaceOrderingManagementClass @@ -51,6 +51,12 @@ def method_missing(method, *args) end class ModelClasses + def agreement_terms + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms + end + def error_response + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse + end def operation Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation end @@ -66,12 +72,6 @@ def resource def error_response_error Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError end - def agreement_terms - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms - end - def error_response - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse - 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 5b7e4ad55a..ab86224dc8 100644 --- a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb @@ -7,6 +7,7 @@ module Azure::Profiles::Latest module MediaServices module Mgmt + Locations = Azure::MediaServices::Mgmt::V2018_03_30_preview::Locations Operations = Azure::MediaServices::Mgmt::V2018_03_30_preview::Operations Mediaservices = Azure::MediaServices::Mgmt::V2018_03_30_preview::Mediaservices Assets = Azure::MediaServices::Mgmt::V2018_03_30_preview::Assets @@ -18,7 +19,6 @@ module Mgmt LiveEvents = Azure::MediaServices::Mgmt::V2018_03_30_preview::LiveEvents LiveOutputs = Azure::MediaServices::Mgmt::V2018_03_30_preview::LiveOutputs StreamingEndpoints = Azure::MediaServices::Mgmt::V2018_03_30_preview::StreamingEndpoints - Locations = Azure::MediaServices::Mgmt::V2018_03_30_preview::Locations module Models StorageAccountType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType @@ -133,9 +133,9 @@ module Models H264Video = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::H264Video JpgLayer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgLayer JpgImage = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgImage - MultiBitrateFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MultiBitrateFormat Mp4Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Mp4Format PngLayer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngLayer + PngImage = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage BuiltInStandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::BuiltInStandardEncoderPreset StandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StandardEncoderPreset VideoAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::VideoAnalyzerPreset @@ -185,8 +185,8 @@ module Models StreamOptionsFlag = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamOptionsFlag StreamingEndpointResourceState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointResourceState ProxyResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ProxyResource + MultiBitrateFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MultiBitrateFormat TrackedResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource - PngImage = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage Resource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Resource StorageAccount = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccount Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format @@ -198,7 +198,7 @@ module Models end class MediaServicesManagementClass - attr_reader :operations, :mediaservices, :assets, :content_key_policies, :transforms, :jobs, :streaming_policies, :streaming_locators, :live_events, :live_outputs, :streaming_endpoints, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :locations, :operations, :mediaservices, :assets, :content_key_policies, :transforms, :jobs, :streaming_policies, :streaming_locators, :live_events, :live_outputs, :streaming_endpoints, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -208,6 +208,7 @@ 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 @mediaservices = @client_0.mediaservices @assets = @client_0.assets @@ -219,7 +220,6 @@ 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 @@ -574,15 +574,15 @@ def jpg_layer def jpg_image Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgImage end - def multi_bitrate_format - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MultiBitrateFormat - end def mp4_format Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Mp4Format end def png_layer Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngLayer end + def png_image + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage + end def built_in_standard_encoder_preset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::BuiltInStandardEncoderPreset end @@ -730,12 +730,12 @@ def streaming_endpoint_resource_state def proxy_resource Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ProxyResource end + def multi_bitrate_format + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MultiBitrateFormat + end def tracked_resource Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource end - def png_image - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage - end def resource Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Resource end diff --git a/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb b/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb index e7e41a152c..635d0b6196 100644 --- a/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb @@ -7,13 +7,13 @@ module Azure::Profiles::Latest module MobileEngagement module Mgmt + ExportTasks = Azure::MobileEngagement::Mgmt::V2014_12_01::ExportTasks + ImportTasks = Azure::MobileEngagement::Mgmt::V2014_12_01::ImportTasks AppCollections = Azure::MobileEngagement::Mgmt::V2014_12_01::AppCollections Apps = Azure::MobileEngagement::Mgmt::V2014_12_01::Apps SupportedPlatforms = Azure::MobileEngagement::Mgmt::V2014_12_01::SupportedPlatforms Campaigns = Azure::MobileEngagement::Mgmt::V2014_12_01::Campaigns Devices = Azure::MobileEngagement::Mgmt::V2014_12_01::Devices - ExportTasks = Azure::MobileEngagement::Mgmt::V2014_12_01::ExportTasks - ImportTasks = Azure::MobileEngagement::Mgmt::V2014_12_01::ImportTasks module Models ProvisioningStates = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ProvisioningStates @@ -30,11 +30,11 @@ module Models ApiError = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiError SupportedPlatformsListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::SupportedPlatformsListResult ExportOptions = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportOptions - CampaignTestSavedParameters = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestSavedParameters DateRangeExportTaskParameter = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DateRangeExportTaskParameter - NotificationOptions = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationOptions - CampaignsListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignsListResult DeviceMeta = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta + CampaignTestSavedParameters = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestSavedParameters + CampaignsListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignsListResult + PollQuestionLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization CampaignStatisticsResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStatisticsResult CampaignLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignLocalization PollQuestionChoiceLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionChoiceLocalization @@ -104,11 +104,11 @@ module Models ExportType = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportType JobStates = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::JobStates CampaignKinds = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignKinds - PollQuestionLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization + NotificationOptions = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationOptions end class MobileEngagementManagementClass - attr_reader :app_collections, :apps, :supported_platforms, :campaigns, :devices, :export_tasks, :import_tasks, :configurable, :base_url, :options, :model_classes + attr_reader :export_tasks, :import_tasks, :app_collections, :apps, :supported_platforms, :campaigns, :devices, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -118,13 +118,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @export_tasks = @client_0.export_tasks + @import_tasks = @client_0.import_tasks @app_collections = @client_0.app_collections @apps = @client_0.apps @supported_platforms = @client_0.supported_platforms @campaigns = @client_0.campaigns @devices = @client_0.devices - @export_tasks = @client_0.export_tasks - @import_tasks = @client_0.import_tasks @model_classes = ModelClasses.new end @@ -185,20 +185,20 @@ def supported_platforms_list_result def export_options Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportOptions end - def campaign_test_saved_parameters - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestSavedParameters - end def date_range_export_task_parameter Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DateRangeExportTaskParameter end - def notification_options - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationOptions + def device_meta + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta + end + def campaign_test_saved_parameters + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestSavedParameters end def campaigns_list_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignsListResult end - def device_meta - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta + def poll_question_localization + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization end def campaign_statistics_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStatisticsResult @@ -407,8 +407,8 @@ def job_states def campaign_kinds Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignKinds end - def poll_question_localization - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization + def notification_options + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationOptions 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 7432d9b6de..0f34ccfa32 100644 --- a/azure_sdk/lib/latest/modules/monitor_profile_module.rb +++ b/azure_sdk/lib/latest/modules/monitor_profile_module.rb @@ -19,6 +19,7 @@ module Mgmt MetricBaseline = Azure::Monitor::Mgmt::V2017_11_01_preview::MetricBaseline module Models + RecurrenceFrequency = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency 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 @@ -29,25 +30,28 @@ module Models AutoscaleSettingResourcePatch = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch AutoscaleProfile = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile AutoscaleSettingResourceCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection - MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence TimeWindow = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow AutoscaleSettingResource = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource MetricStatisticType = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType TimeAggregationType = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType ComparisonOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType + ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult - ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation - RecurrenceFrequency = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency + ManagementEventRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition + RuleEmailAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction + RuleWebhookAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction AlertRuleResource = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource + ThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource - LocationThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch + Incident = Azure::Monitor::Mgmt::V2016_03_01::Models::Incident AlertRuleResourceCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection ManagementEventAggregationCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition @@ -56,15 +60,14 @@ module Models IncidentListResult = Azure::Monitor::Mgmt::V2016_03_01::Models::IncidentListResult LogProfileCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection RuleDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource - Incident = Azure::Monitor::Mgmt::V2016_03_01::Models::Incident RuleMetricDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource RuleManagementEventDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource LogProfileResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch - ThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition - ManagementEventRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition - RuleEmailAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction - RuleWebhookAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction + LocationThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition + ItsmReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::ItsmReceiver + ActivityLogAlertActionList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList SmsReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver + Resource = Azure::Monitor::Mgmt::V2017_04_01::Models::Resource ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody ActionGroupList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupList ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList @@ -79,19 +82,17 @@ module Models AzureAppPushReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::AzureAppPushReceiver ActivityLogAlertAllOfCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::AutomationRunbookReceiver - Resource = Azure::Monitor::Mgmt::V2017_04_01::Models::Resource ActivityLogAlertActionGroup = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup - ItsmReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::ItsmReceiver - ActivityLogAlertActionList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList + DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource + CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource 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 + MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection - DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource - MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings - CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType + ErrorResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse 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 @@ -100,7 +101,6 @@ module Models CalculateBaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse Sensitivity = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity ResultType = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ResultType - ErrorResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse end class MonitorManagementClass @@ -174,6 +174,9 @@ def method_missing(method, *args) end class ModelClasses + def recurrence_frequency + Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency + end def email_notification Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification end @@ -204,9 +207,6 @@ def autoscale_profile def autoscale_setting_resource_collection Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection end - def metric_trigger - Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger - end def recurrence Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence end @@ -225,6 +225,9 @@ def time_aggregation_type def comparison_operation_type Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType end + def scale_direction + Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + end def operation_display Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay end @@ -234,24 +237,30 @@ def scale_type def operation_list_result Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult end - def scale_direction - Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + def metric_trigger + Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger end def operation Azure::Monitor::Mgmt::V2015_04_01::Models::Operation end - def recurrence_frequency - Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency + def management_event_rule_condition + Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition + end + def rule_email_action + Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction + end + def rule_webhook_action + Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction end def alert_rule_resource Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource end + def threshold_rule_condition + Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition + end def log_profile_resource Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource end - def location_threshold_rule_condition - Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition - end def condition_operator Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator end @@ -261,6 +270,9 @@ def time_aggregation_operator def alert_rule_resource_patch Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch end + def incident + Azure::Monitor::Mgmt::V2016_03_01::Models::Incident + end def alert_rule_resource_collection Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection end @@ -285,9 +297,6 @@ def log_profile_collection def rule_data_source Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource end - def incident - Azure::Monitor::Mgmt::V2016_03_01::Models::Incident - end def rule_metric_data_source Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource end @@ -297,21 +306,21 @@ def rule_management_event_data_source def log_profile_resource_patch Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch end - def threshold_rule_condition - Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition - end - def management_event_rule_condition - Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition + def location_threshold_rule_condition + Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition end - def rule_email_action - Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction + def itsm_receiver + Azure::Monitor::Mgmt::V2017_04_01::Models::ItsmReceiver end - def rule_webhook_action - Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction + def activity_log_alert_action_list + Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList end def sms_receiver Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver end + def resource + Azure::Monitor::Mgmt::V2017_04_01::Models::Resource + end def activity_log_alert_patch_body Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody end @@ -354,17 +363,14 @@ def activity_log_alert_all_of_condition def automation_runbook_receiver Azure::Monitor::Mgmt::V2017_04_01::Models::AutomationRunbookReceiver end - def resource - Azure::Monitor::Mgmt::V2017_04_01::Models::Resource - end def activity_log_alert_action_group Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup end - def itsm_receiver - Azure::Monitor::Mgmt::V2017_04_01::Models::ItsmReceiver + def diagnostic_settings_category_resource + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource end - def activity_log_alert_action_list - Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList + def category_type + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType end def diagnostic_settings_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource @@ -378,20 +384,17 @@ def proxy_only_resource def log_settings Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings end + 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 diagnostic_settings_resource_collection Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection end - def diagnostic_settings_category_resource - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource - end - def metric_settings - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings - end - def category_type - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType + def error_response + Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse end def baseline Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline @@ -417,9 +420,6 @@ def sensitivity def result_type Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ResultType end - def error_response - Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse - end end end end diff --git a/azure_sdk/lib/latest/modules/network_profile_module.rb b/azure_sdk/lib/latest/modules/network_profile_module.rb index 3f63e32cb9..fb3cfb3c40 100644 --- a/azure_sdk/lib/latest/modules/network_profile_module.rb +++ b/azure_sdk/lib/latest/modules/network_profile_module.rb @@ -7,6 +7,9 @@ module Azure::Profiles::Latest module Network module Mgmt + ExpressRouteCircuits = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuits + ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_01_01::ExpressRouteServiceProviders + LoadBalancers = Azure::Network::Mgmt::V2018_01_01::LoadBalancers NetworkInterfaces = Azure::Network::Mgmt::V2018_01_01::NetworkInterfaces NetworkSecurityGroups = Azure::Network::Mgmt::V2018_01_01::NetworkSecurityGroups SecurityRules = Azure::Network::Mgmt::V2018_01_01::SecurityRules @@ -41,9 +44,6 @@ module Mgmt ApplicationGateways = Azure::Network::Mgmt::V2018_01_01::ApplicationGateways ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuitAuthorizations ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuitPeerings - ExpressRouteCircuits = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuits - ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_01_01::ExpressRouteServiceProviders - LoadBalancers = Azure::Network::Mgmt::V2018_01_01::LoadBalancers module Models OperationDisplay = Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay @@ -60,33 +60,33 @@ module Models IpTag = Azure::Network::Mgmt::V2018_01_01::Models::IpTag LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult + Error = Azure::Network::Mgmt::V2018_01_01::Models::Error TunnelConnectionHealth = Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult - ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult BgpPeerStatus = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation - Error = Azure::Network::Mgmt::V2018_01_01::Models::Error + EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroup VirtualNetworkUsage = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupListResult IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult - EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule + EffectiveRoute = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup EffectiveRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult - EffectiveRoute = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + NetworkWatcherListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies TopologyParameters = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters + ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining TagsObject = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult Dimension = Azure::Network::Mgmt::V2018_01_01::Models::Dimension - NetworkWatcherListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult Topology = Azure::Network::Mgmt::V2018_01_01::Models::Topology VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification @@ -126,9 +126,9 @@ module Models TrafficAnalyticsConfigurationProperties = Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties FlowLogStatusParameters = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters EndpointServicesListResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult - FlowLogInformation = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation ConnectivitySource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig + ConnectivityDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination ConnectivityParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters ConnectivityIssue = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue ConnectivityHop = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop @@ -164,58 +164,58 @@ module Models GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult ApplicationSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup - ConnectivityDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination + ResourceNavigationLink = Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink Availability = Azure::Network::Mgmt::V2018_01_01::Models::Availability ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAuthenticationCertificate - ResourceNavigationLink = Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink - ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectConfiguration - ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy + ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslOptions - RouteFilterRule = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule + FlowLogInformation = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation EndpointServiceResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServiceResult - NetworkWatcher = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher + ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy RouteFilter = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilter - PatchRouteFilter = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter + RouteFilterRule = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule PatchRouteFilterRule = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule - VirtualNetworkPeering = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering + NetworkWatcher = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher BgpServiceCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunity - PublicIPAddressSkuName = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName + PatchRouteFilter = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListEntity - ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol + VirtualNetworkPeering = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServerHealth - ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName + PublicIPAddressSkuName = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyType - ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType + ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCipherSuite - Access = Azure::Network::Mgmt::V2018_01_01::Models::Access + ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallMode - EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol + ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType LoadBalancerSkuName = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSkuName - EffectiveRouteState = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState + Access = Azure::Network::Mgmt::V2018_01_01::Models::Access EffectiveRouteSource = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteSource - Direction = Azure::Network::Mgmt::V2018_01_01::Models::Direction + EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol AssociationType = Azure::Network::Mgmt::V2018_01_01::Models::AssociationType - PcProtocol = Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol + EffectiveRouteState = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState NextHopType = Azure::Network::Mgmt::V2018_01_01::Models::NextHopType - PcError = Azure::Network::Mgmt::V2018_01_01::Models::PcError + Direction = Azure::Network::Mgmt::V2018_01_01::Models::Direction PcStatus = Azure::Network::Mgmt::V2018_01_01::Models::PcStatus - ConnectionStatus = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus + PcProtocol = Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol IssueType = Azure::Network::Mgmt::V2018_01_01::Models::IssueType - EvaluationState = Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState + PcError = Azure::Network::Mgmt::V2018_01_01::Models::PcError + ConnectionState = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState + ConnectionStatus = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus Severity = Azure::Network::Mgmt::V2018_01_01::Models::Severity - VpnClientProtocol = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol + EvaluationState = Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringState - ConnectionState = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState + VpnClientProtocol = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol BgpPeerState = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerState ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered - PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult - ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult - ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName + ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage + ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult @@ -229,7 +229,7 @@ module Models AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult - ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult @@ -255,62 +255,62 @@ module Models ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayIPConfiguration ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCertificate ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendIPConfiguration - AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult - BackendAddressPool = Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool + ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendPort + PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult InboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRule - SecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRule + BackendAddressPool = Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool NetworkInterface = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterface - NetworkSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroup + SecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRule Route = Azure::Network::Mgmt::V2018_01_01::Models::Route - RouteTable = Azure::Network::Mgmt::V2018_01_01::Models::RouteTable + NetworkSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroup PublicIPAddress = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddress - IPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::IPConfiguration + RouteTable = Azure::Network::Mgmt::V2018_01_01::Models::RouteTable Subnet = Azure::Network::Mgmt::V2018_01_01::Models::Subnet - NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfiguration + IPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::IPConfiguration ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddressPool - ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHttpSettings - ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendPort - ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayPathRule + NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfiguration ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayHttpListener - ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRule + ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHttpSettings ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbe - ApplicationGateway = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGateway + ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayPathRule ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayUrlPathMap - ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeering + ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRule ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization - ExpressRouteServiceProvider = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProvider + ApplicationGateway = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGateway ExpressRouteCircuit = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit - LoadBalancingRule = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancingRule + ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeering FrontendIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::FrontendIPConfiguration - InboundNatPool = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatPool + ExpressRouteServiceProvider = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProvider Probe = Azure::Network::Mgmt::V2018_01_01::Models::Probe - LoadBalancer = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancer + LoadBalancingRule = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancingRule OutboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::OutboundNatRule - VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayIPConfiguration + InboundNatPool = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatPool VirtualNetwork = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetwork - VpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRevokedCertificate + LoadBalancer = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancer VpnClientRootCertificate = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRootCertificate - LocalNetworkGateway = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway + VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayIPConfiguration VirtualNetworkGateway = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGateway - ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName + VpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRevokedCertificate VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnection + LocalNetworkGateway = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway + IPAllocationMethod = Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod TransportProtocol = Azure::Network::Mgmt::V2018_01_01::Models::TransportProtocol SecurityRuleProtocol = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleProtocol - IPAllocationMethod = Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod SecurityRuleAccess = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAccess + SecurityRuleDirection = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection IPVersion = Azure::Network::Mgmt::V2018_01_01::Models::IPVersion RouteNextHopType = Azure::Network::Mgmt::V2018_01_01::Models::RouteNextHopType - SecurityRuleDirection = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection - ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayCookieBasedAffinity ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProtocol + ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayCookieBasedAffinity + ApplicationGatewayTier = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayOperationalState ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRuleType ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState - AuthorizationUseStatus = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationUseStatus - ApplicationGatewayTier = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier - ExpressRouteCircuitPeeringType = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringType + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringState + ExpressRouteCircuitPeeringType = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringType + AuthorizationUseStatus = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationUseStatus ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSkuTier ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSkuFamily ServiceProviderProvisioningState = Azure::Network::Mgmt::V2018_01_01::Models::ServiceProviderProvisioningState @@ -326,17 +326,17 @@ module Models VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionStatus AuthenticationMethod = Azure::Network::Mgmt::V2018_01_01::Models::AuthenticationMethod IpsecEncryption = Azure::Network::Mgmt::V2018_01_01::Models::IpsecEncryption - IpsecIntegrity = Azure::Network::Mgmt::V2018_01_01::Models::IpsecIntegrity + ProvisioningState = Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState Protocol = Azure::Network::Mgmt::V2018_01_01::Models::Protocol IkeIntegrity = Azure::Network::Mgmt::V2018_01_01::Models::IkeIntegrity - ProvisioningState = Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState + DhGroup = Azure::Network::Mgmt::V2018_01_01::Models::DhGroup PfsGroup = Azure::Network::Mgmt::V2018_01_01::Models::PfsGroup + IpsecIntegrity = Azure::Network::Mgmt::V2018_01_01::Models::IpsecIntegrity IkeEncryption = Azure::Network::Mgmt::V2018_01_01::Models::IkeEncryption - DhGroup = Azure::Network::Mgmt::V2018_01_01::Models::DhGroup end class NetworkManagementClass - attr_reader :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :application_security_groups, :available_endpoint_services, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interface_ipconfigurations, :network_interface_load_balancers, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :route_filters, :route_filter_rules, :bgp_service_communities, :virtual_network_peerings, :operations, :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :configurable, :base_url, :options, :model_classes + attr_reader :express_route_circuits, :express_route_service_providers, :load_balancers, :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :application_security_groups, :available_endpoint_services, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interface_ipconfigurations, :network_interface_load_balancers, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :route_filters, :route_filter_rules, :bgp_service_communities, :virtual_network_peerings, :operations, :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -346,6 +346,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @express_route_circuits = @client_0.express_route_circuits + @express_route_service_providers = @client_0.express_route_service_providers + @load_balancers = @client_0.load_balancers @network_interfaces = @client_0.network_interfaces @network_security_groups = @client_0.network_security_groups @security_rules = @client_0.security_rules @@ -380,9 +383,6 @@ def initialize(configurable, base_url=nil, options=nil) @application_gateways = @client_0.application_gateways @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations @express_route_circuit_peerings = @client_0.express_route_circuit_peerings - @express_route_circuits = @client_0.express_route_circuits - @express_route_service_providers = @client_0.express_route_service_providers - @load_balancers = @client_0.load_balancers @model_classes = ModelClasses.new end @@ -443,15 +443,15 @@ def load_balancer_frontend_ipconfiguration_list_result def load_balancer_load_balancing_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult end + def error + Azure::Network::Mgmt::V2018_01_01::Models::Error + end def tunnel_connection_health Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth end def load_balancer_probe_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult end - def application_gateway_connection_draining - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining - end def application_gateway_backend_health_server Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer end @@ -470,8 +470,8 @@ def bgp_peer_status def effective_network_security_group_association Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation end - def error - Azure::Network::Mgmt::V2018_01_01::Models::Error + def effective_network_security_rule + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule end def virtual_network_list_usage_result Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult @@ -488,8 +488,8 @@ def effective_network_security_group_list_result def ipaddress_availability_result Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult end - def effective_network_security_rule - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule + def effective_route + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute end def application_gateway_firewall_disabled_rule_group Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup @@ -497,21 +497,24 @@ def application_gateway_firewall_disabled_rule_group def effective_route_list_result Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult end - def effective_route - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute - end def application_gateway_firewall_rule Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule end def virtual_network_peering_list_result Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult end + def network_watcher_list_result + Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult + end def application_gateway_available_ssl_predefined_policies Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies end def topology_parameters Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters end + def application_gateway_connection_draining + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining + end def tags_object Azure::Network::Mgmt::V2018_01_01::Models::TagsObject end @@ -521,9 +524,6 @@ def application_security_group_list_result def dimension Azure::Network::Mgmt::V2018_01_01::Models::Dimension end - def network_watcher_list_result - Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult - end def topology Azure::Network::Mgmt::V2018_01_01::Models::Topology end @@ -641,15 +641,15 @@ def flow_log_status_parameters def endpoint_services_list_result Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult end - def flow_log_information - Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation - end def connectivity_source Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource end def ipv6_express_route_circuit_peering_config Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end + def connectivity_destination + Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination + end def connectivity_parameters Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters end @@ -755,8 +755,8 @@ def connection_monitor_query_result def application_security_group Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup end - def connectivity_destination - Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination + def resource_navigation_link + Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink end def availability Azure::Network::Mgmt::V2018_01_01::Models::Availability @@ -764,125 +764,125 @@ def availability def application_gateway_authentication_certificate Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAuthenticationCertificate end - def resource_navigation_link - Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink - end - def application_gateway_firewall_rule_set - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet - end def application_gateway_redirect_configuration Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectConfiguration end - def application_gateway_ssl_predefined_policy - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy + def application_gateway_firewall_rule_set + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet end def application_gateway_available_ssl_options Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslOptions end - def route_filter_rule - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule + def flow_log_information + Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation end def endpoint_service_result Azure::Network::Mgmt::V2018_01_01::Models::EndpointServiceResult end - def network_watcher - Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher + def application_gateway_ssl_predefined_policy + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy end def route_filter Azure::Network::Mgmt::V2018_01_01::Models::RouteFilter end - def patch_route_filter - Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter + def route_filter_rule + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule end def patch_route_filter_rule Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule end - def virtual_network_peering - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering + def network_watcher + Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher end def bgp_service_community Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunity end - def public_ipaddress_sku_name - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName + def patch_route_filter + Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter end def virtual_network_gateway_connection_list_entity Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListEntity end - def application_gateway_ssl_protocol - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol + def virtual_network_peering + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering end def application_gateway_backend_health_server_health Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServerHealth end - def application_gateway_ssl_policy_name - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName + def public_ipaddress_sku_name + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName end def application_gateway_ssl_policy_type Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyType end - def application_gateway_redirect_type - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType + def application_gateway_ssl_protocol + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol end def application_gateway_ssl_cipher_suite Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCipherSuite end - def access - Azure::Network::Mgmt::V2018_01_01::Models::Access + def application_gateway_ssl_policy_name + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName end def application_gateway_firewall_mode Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallMode end - def effective_security_rule_protocol - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol + def application_gateway_redirect_type + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType end def load_balancer_sku_name Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSkuName end - def effective_route_state - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState + def access + Azure::Network::Mgmt::V2018_01_01::Models::Access end def effective_route_source Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteSource end - def direction - Azure::Network::Mgmt::V2018_01_01::Models::Direction + def effective_security_rule_protocol + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol end def association_type Azure::Network::Mgmt::V2018_01_01::Models::AssociationType end - def pc_protocol - Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol + def effective_route_state + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState end def next_hop_type Azure::Network::Mgmt::V2018_01_01::Models::NextHopType end - def pc_error - Azure::Network::Mgmt::V2018_01_01::Models::PcError + def direction + Azure::Network::Mgmt::V2018_01_01::Models::Direction end def pc_status Azure::Network::Mgmt::V2018_01_01::Models::PcStatus end - def connection_status - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus + def pc_protocol + Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol end def issue_type Azure::Network::Mgmt::V2018_01_01::Models::IssueType end - def evaluation_state - Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState + def pc_error + Azure::Network::Mgmt::V2018_01_01::Models::PcError + end + def connection_state + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState + end + def connection_status + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus end def severity Azure::Network::Mgmt::V2018_01_01::Models::Severity end - def vpn_client_protocol - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol + def evaluation_state + Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState end def virtual_network_peering_state Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringState end - def connection_state - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState + def vpn_client_protocol + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol end def bgp_peer_state Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerState @@ -893,23 +893,23 @@ def express_route_circuit_list_result def sub_resource Azure::Network::Mgmt::V2018_01_01::Models::SubResource end + def usage_name + Azure::Network::Mgmt::V2018_01_01::Models::UsageName + end def express_route_service_provider_bandwidths_offered Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult - end - def application_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + def usage + Azure::Network::Mgmt::V2018_01_01::Models::Usage end def application_gateway_backend_address Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress end - def usage_name - Azure::Network::Mgmt::V2018_01_01::Models::UsageName + def connection_reset_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey end - def usage - Azure::Network::Mgmt::V2018_01_01::Models::Usage + def application_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult end def network_interface_dns_settings Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings @@ -950,8 +950,8 @@ def express_route_circuit_peering_list_result def usages_list_result Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult end - def connection_reset_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + def authorization_list_result + Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult end def express_route_circuit_service_provider_properties Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties @@ -1028,11 +1028,11 @@ def application_gateway_ssl_certificate def application_gateway_frontend_ipconfiguration Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendIPConfiguration end - def authorization_list_result - Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult + def application_gateway_frontend_port + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendPort end - def backend_address_pool - Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool + def public_ipaddress_list_result + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult end def express_route_circuits_arp_table_list_result Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult @@ -1040,140 +1040,140 @@ def express_route_circuits_arp_table_list_result def inbound_nat_rule Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRule end - def security_rule - Azure::Network::Mgmt::V2018_01_01::Models::SecurityRule + def backend_address_pool + Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool end def network_interface Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterface end - def network_security_group - Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroup + def security_rule + Azure::Network::Mgmt::V2018_01_01::Models::SecurityRule end def route Azure::Network::Mgmt::V2018_01_01::Models::Route end - def route_table - Azure::Network::Mgmt::V2018_01_01::Models::RouteTable + def network_security_group + Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroup end def public_ipaddress Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddress end - def ipconfiguration - Azure::Network::Mgmt::V2018_01_01::Models::IPConfiguration + def route_table + Azure::Network::Mgmt::V2018_01_01::Models::RouteTable end def subnet Azure::Network::Mgmt::V2018_01_01::Models::Subnet end - def network_interface_ipconfiguration - Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfiguration + def ipconfiguration + Azure::Network::Mgmt::V2018_01_01::Models::IPConfiguration end def application_gateway_backend_address_pool Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddressPool end - def application_gateway_backend_http_settings - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHttpSettings - end - def application_gateway_frontend_port - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendPort - end - def application_gateway_path_rule - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayPathRule + def network_interface_ipconfiguration + Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfiguration end def application_gateway_http_listener Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayHttpListener end - def application_gateway_request_routing_rule - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRule + def application_gateway_backend_http_settings + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHttpSettings end def application_gateway_probe Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbe end - def application_gateway - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGateway + def application_gateway_path_rule + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayPathRule end def application_gateway_url_path_map Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayUrlPathMap end - def express_route_circuit_peering - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeering + def application_gateway_request_routing_rule + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRule end def express_route_circuit_authorization Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization end - def express_route_service_provider - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProvider + def application_gateway + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGateway end def express_route_circuit Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit end - def load_balancing_rule - Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancingRule + def express_route_circuit_peering + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeering end def frontend_ipconfiguration Azure::Network::Mgmt::V2018_01_01::Models::FrontendIPConfiguration end - def inbound_nat_pool - Azure::Network::Mgmt::V2018_01_01::Models::InboundNatPool + def express_route_service_provider + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProvider end def probe Azure::Network::Mgmt::V2018_01_01::Models::Probe end - def load_balancer - Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancer + def load_balancing_rule + Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancingRule end def outbound_nat_rule Azure::Network::Mgmt::V2018_01_01::Models::OutboundNatRule end - def virtual_network_gateway_ipconfiguration - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayIPConfiguration + def inbound_nat_pool + Azure::Network::Mgmt::V2018_01_01::Models::InboundNatPool end def virtual_network Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetwork end - def vpn_client_revoked_certificate - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRevokedCertificate + def load_balancer + Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancer end def vpn_client_root_certificate Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRootCertificate end - def local_network_gateway - Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway + def virtual_network_gateway_ipconfiguration + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayIPConfiguration end def virtual_network_gateway Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGateway end - def application_gateway_sku_name - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName + def vpn_client_revoked_certificate + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRevokedCertificate end def virtual_network_gateway_connection Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnection end + def local_network_gateway + Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway + end + def ipallocation_method + Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod + end def transport_protocol Azure::Network::Mgmt::V2018_01_01::Models::TransportProtocol end def security_rule_protocol Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleProtocol end - def ipallocation_method - Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod - end def security_rule_access Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAccess end + def security_rule_direction + Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection + end def ipversion Azure::Network::Mgmt::V2018_01_01::Models::IPVersion end def route_next_hop_type Azure::Network::Mgmt::V2018_01_01::Models::RouteNextHopType end - def security_rule_direction - Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection + def application_gateway_protocol + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProtocol end def application_gateway_cookie_based_affinity Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayCookieBasedAffinity end - def application_gateway_protocol - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProtocol + def application_gateway_tier + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier end def application_gateway_operational_state Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayOperationalState @@ -1184,17 +1184,17 @@ def application_gateway_request_routing_rule_type def express_route_circuit_peering_advertised_public_prefix_state Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState end - def authorization_use_status - Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationUseStatus + def application_gateway_sku_name + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName end - def application_gateway_tier - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier + def express_route_circuit_peering_state + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringState end def express_route_circuit_peering_type Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringType end - def express_route_circuit_peering_state - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringState + def authorization_use_status + Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationUseStatus end def express_route_circuit_sku_tier Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSkuTier @@ -1241,8 +1241,8 @@ def authentication_method def ipsec_encryption Azure::Network::Mgmt::V2018_01_01::Models::IpsecEncryption end - def ipsec_integrity - Azure::Network::Mgmt::V2018_01_01::Models::IpsecIntegrity + def provisioning_state + Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState end def protocol Azure::Network::Mgmt::V2018_01_01::Models::Protocol @@ -1250,18 +1250,18 @@ def protocol def ike_integrity Azure::Network::Mgmt::V2018_01_01::Models::IkeIntegrity end - def provisioning_state - Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState + def dh_group + Azure::Network::Mgmt::V2018_01_01::Models::DhGroup end def pfs_group Azure::Network::Mgmt::V2018_01_01::Models::PfsGroup end + def ipsec_integrity + Azure::Network::Mgmt::V2018_01_01::Models::IpsecIntegrity + end def ike_encryption Azure::Network::Mgmt::V2018_01_01::Models::IkeEncryption end - def dh_group - Azure::Network::Mgmt::V2018_01_01::Models::DhGroup - end end end end diff --git a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb index 9585607879..f6afa0b0a2 100644 --- a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb @@ -9,30 +9,30 @@ module NewsSearch NewsOperations = Azure::CognitiveServices::NewsSearch::V1_0::NewsOperations module Models + ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response NewsArticle = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle + ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase News = Azure::CognitiveServices::NewsSearch::V1_0::Models::News - NewsTopic = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query - ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase - TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics + Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing - CreativeWork = Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork + NewsTopic = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic ErrorCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode + CreativeWork = Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork SafeSearch = Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse - Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article - Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error - ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness end class NewsSearchDataClass @@ -65,6 +65,9 @@ def method_missing(method, *args) end class ModelClasses + def image_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + end def organization Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization end @@ -77,24 +80,24 @@ def response def news_article Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle end + def response_base + Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase + end def news Azure::CognitiveServices::NewsSearch::V1_0::Models::News end - def news_topic - Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic - end def query Azure::CognitiveServices::NewsSearch::V1_0::Models::Query end - 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 trending_topics + Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics + end def search_results_answer Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer end @@ -107,8 +110,8 @@ def answer def thing Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing end - def creative_work - Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork + def news_topic + Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic end def error_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode @@ -116,6 +119,9 @@ def error_code def error_sub_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode end + def creative_work + Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork + end def safe_search Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch end @@ -125,17 +131,11 @@ def text_format def error_response Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse end - def article - Azure::CognitiveServices::NewsSearch::V1_0::Models::Article - end - def freshness - Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness - end def error Azure::CognitiveServices::NewsSearch::V1_0::Models::Error end - def image_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + def freshness + Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness end end end diff --git a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb index d74f445e9e..84086d4b5d 100644 --- a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb @@ -7,11 +7,14 @@ module Azure::Profiles::Latest module NotificationHubs module Mgmt + Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs - Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces module Models + SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters + NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult + SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters @@ -19,10 +22,10 @@ module Models NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential CheckAvailabilityResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult + Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource - Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters NotificationHubPatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource @@ -43,13 +46,10 @@ module Models WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential - SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters - NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult - SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult end class NotificationHubsManagementClass - attr_reader :operations, :notification_hubs, :namespaces, :configurable, :base_url, :options, :model_classes + attr_reader :namespaces, :operations, :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) + @namespaces = @client_0.namespaces @operations = @client_0.operations @notification_hubs = @client_0.notification_hubs - @namespaces = @client_0.namespaces @model_classes = ModelClasses.new end @@ -80,6 +80,15 @@ def method_missing(method, *args) end class ModelClasses + def shared_access_authorization_rule_create_or_update_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters + end + def notification_hub_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult + end + def shared_access_authorization_rule_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult + end def shared_access_authorization_rule_properties Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties end @@ -101,6 +110,9 @@ def baidu_credential def check_availability_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult end + def sku + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku + end def namespace_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters end @@ -110,9 +122,6 @@ def namespace_resource def shared_access_authorization_rule_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource end - def sku - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku - end def notification_hub_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters end @@ -173,15 +182,6 @@ def check_availability_parameters def gcm_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential end - def shared_access_authorization_rule_create_or_update_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters - end - def notification_hub_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult - end - def shared_access_authorization_rule_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult - end end end end diff --git a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb index 7232eea931..83f194d378 100644 --- a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb @@ -9,12 +9,14 @@ module OperationalInsights module Mgmt StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights SavedSearches = Azure::OperationalInsights::Mgmt::V2015_03_20::SavedSearches - 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 + Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations module Models + PurgeState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState + StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue @@ -31,15 +33,13 @@ module Models 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 - 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 + WorkspacePurgeBodyFilters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata + WorkspacePurgeResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse - PurgeState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState - StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource @@ -60,13 +60,13 @@ module Models Operation = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource Workspace = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace - DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource DataSourceKind = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind + DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource EntityStatus = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus end class OperationalInsightsManagementClass - attr_reader :storage_insights, :saved_searches, :workspaces, :operations, :linked_services, :data_sources, :configurable, :base_url, :options, :model_classes + attr_reader :storage_insights, :saved_searches, :linked_services, :data_sources, :workspaces, :operations, :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) - @workspaces = @client_1.workspaces - @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 @@ -108,6 +108,12 @@ def method_missing(method, *args) end class ModelClasses + def purge_state + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState + end + def storage_insight_state + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + end def tag Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag end @@ -156,18 +162,18 @@ def search_sort def search_error Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError end - def workspace_purge_body_filters - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters - end def workspace_purge_body Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody end - def workspace_purge_response - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse + def workspace_purge_body_filters + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters end def search_metadata Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata end + def workspace_purge_response + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse + end def storage_insight Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight end @@ -177,12 +183,6 @@ def search_sort_enum def workspace_purge_status_response Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse end - def purge_state - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState - end - def storage_insight_state - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState - end def sku_name_enum Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum end @@ -243,12 +243,12 @@ def proxy_resource def workspace Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace end - def data_source - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource - end def data_source_kind Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind end + def data_source + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource + end def entity_status Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus end diff --git a/azure_sdk/lib/latest/modules/policy_profile_module.rb b/azure_sdk/lib/latest/modules/policy_profile_module.rb index 8ca73cb485..0c2627e973 100644 --- a/azure_sdk/lib/latest/modules/policy_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policy_profile_module.rb @@ -8,25 +8,25 @@ module Azure::Profiles::Latest module Policy module Mgmt PolicyDefinitions = Azure::Policy::Mgmt::V2016_12_01::PolicyDefinitions - PolicySetDefinitions = Azure::Policy::Mgmt::V2017_06_01_preview::PolicySetDefinitions PolicyAssignments = Azure::Policy::Mgmt::V2017_06_01_preview::PolicyAssignments + PolicySetDefinitions = Azure::Policy::Mgmt::V2017_06_01_preview::PolicySetDefinitions module Models + PolicyMode = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode PolicyDefinition = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition PolicyDefinitionListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult - PolicyMode = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode + PolicySku = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku + ErrorResponse = Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse + PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinitionListResult PolicyType = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType PolicyAssignment = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignment PolicyAssignmentListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult PolicyDefinitionReference = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference PolicySetDefinition = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinition - PolicySku = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku - ErrorResponse = Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse - PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinitionListResult end class PolicyManagementClass - attr_reader :policy_definitions, :policy_set_definitions, :policy_assignments, :configurable, :base_url, :options, :model_classes + attr_reader :policy_definitions, :policy_assignments, :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 @@ -43,8 +43,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @policy_set_definitions = @client_1.policy_set_definitions @policy_assignments = @client_1.policy_assignments + @policy_set_definitions = @client_1.policy_set_definitions @model_classes = ModelClasses.new end @@ -65,14 +65,23 @@ def method_missing(method, *args) end class ModelClasses + def policy_mode + Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode + end def policy_definition Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition end def policy_definition_list_result Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult end - def policy_mode - Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode + def policy_sku + Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku + end + def error_response + Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse + end + def policy_set_definition_list_result + Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinitionListResult end def policy_type Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType @@ -89,15 +98,6 @@ def policy_definition_reference def policy_set_definition Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinition end - def policy_sku - Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku - end - def error_response - Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse - end - def policy_set_definition_list_result - Azure::Policy::Mgmt::V2017_06_01_preview::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 5c6665bd8c..115e9b00ea 100644 --- a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb @@ -12,6 +12,9 @@ module Mgmt PolicyStates = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyStates module Models + PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent + PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState + OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults @@ -25,9 +28,6 @@ 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 - PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState - OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults end class PolicyInsightsManagementClass @@ -62,6 +62,15 @@ def method_missing(method, *args) end class ModelClasses + def policy_event + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent + 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 query_failure_error Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError end @@ -101,15 +110,6 @@ 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 policy_state - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState - end - def operations_list_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults - 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 8053e14052..d094734420 100644 --- a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb +++ b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb @@ -11,6 +11,9 @@ module Mgmt WorkspaceCollections = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::WorkspaceCollections module Models + WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList + 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 OperationList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList WorkspaceCollectionAccessKeys = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys @@ -24,12 +27,9 @@ module Models CheckNameRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest AzureSku = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse - WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList + Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest WorkspaceCollectionList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList - Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error - ErrorDetail = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail - AccessKeyName = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName end class PowerBiEmbeddedManagementClass @@ -63,6 +63,15 @@ def method_missing(method, *args) end class ModelClasses + def workspace_list + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList + 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 + end def check_name_reason Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason end @@ -102,8 +111,8 @@ def azure_sku 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 error + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error end def migrate_workspace_collection_request Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest @@ -111,15 +120,6 @@ def migrate_workspace_collection_request def workspace_collection_list Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList end - def error - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error - 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 - 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 c628fb3d92..0508ad00cf 100644 --- a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb @@ -7,15 +7,18 @@ module Azure::Profiles::Latest module RecoveryServices module Mgmt + VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations + ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations 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 - VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations module Models + ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification + UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails + ReplicationUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails @@ -23,10 +26,10 @@ module Models PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource PatchVault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault VaultExtendedInfoResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource - AuthType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType + Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState - Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku + AuthType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties @@ -47,13 +50,10 @@ module Models VaultUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary VaultUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage - ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification - UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails - ReplicationUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList end class RecoveryServicesManagementClass - attr_reader :operations, :usages, :vault_certificates, :registered_identities, :replication_usages, :vaults, :vault_extended_info_operations, :configurable, :base_url, :options, :model_classes + attr_reader :vault_extended_info_operations, :replication_usages, :operations, :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) + @vault_extended_info_operations = @client_0.vault_extended_info_operations + @replication_usages = @client_0.replication_usages @operations = @client_0.operations @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 - @vault_extended_info_operations = @client_0.vault_extended_info_operations @model_classes = ModelClasses.new end @@ -88,6 +88,15 @@ def method_missing(method, *args) end class ModelClasses + def client_discovery_for_log_specification + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification + end + def upgrade_details + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails + end + def replication_usage_list + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList + end def resource_certificate_details Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails end @@ -109,8 +118,8 @@ def patch_vault def vault_extended_info_resource Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource end - def auth_type - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType + def sku + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku end def tracked_resource Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource @@ -118,8 +127,8 @@ def tracked_resource def vault_upgrade_state Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState end - def sku - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku + def auth_type + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType end def usages_unit Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit @@ -181,15 +190,6 @@ def monitoring_summary def vault_usage Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage end - def client_discovery_for_log_specification - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification - end - def upgrade_details - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails - end - def replication_usage_list - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList - 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 3fea13abaa..a75d1a1527 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb @@ -45,12 +45,13 @@ module Mgmt BackupUsageSummaries = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupUsageSummaries 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 + AzureFileShareRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint AzureFileShareRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRestoreRequest AzureIaaSClassicComputeVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMContainer AzureIaaSClassicComputeVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMProtectableItem @@ -117,8 +118,8 @@ module Models SQLDataDirectoryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryType RestorePointType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointType OverwriteOptions = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OverwriteOptions - BackupType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType StorageTypeState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageTypeState + BackupType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType ContainerType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerType EnhancedSecurityState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState RestorePointQueryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointQueryType @@ -180,9 +181,11 @@ module Models AzureBackupServerEngine = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerEngine AzureFileShareBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareBackupRequest AzureFileShareProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem - AzureFileShareRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint + AzureFileshareProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem + AzureFileShareProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy + FabricName = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName Type = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type - JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType + ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList MabServerType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType AzureIaaSVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem AzureIaaSClassicComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem @@ -194,7 +197,6 @@ module Models DayOfWeek = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek HealthState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState AzureVmWorkloadProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy - JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction AzureVmWorkloadSQLDatabaseProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem DataSourceType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType DPMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem @@ -217,8 +219,8 @@ module Models HealthStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthStatus ProtectedItemState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemState LastBackupStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LastBackupStatus - ProtectedItemHealthStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus Resource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource + ProtectedItemHealthStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus ErrorDetail = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail BackupManagementType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType WorkloadType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType @@ -234,9 +236,9 @@ module Models SubProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy DpmJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails DpmJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo - ResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList MabJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo AzureWorkloadErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo + AzureWorkloadJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails AzureWorkloadJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo MabJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails @@ -245,61 +247,59 @@ module Models BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse AzureIaaSVMHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails - BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse PreValidateEnableBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest BMSBackupSummariesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo - AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails - AzureIaaSVMJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails OperationResultInfoBase = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase - AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + DpmErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo + DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration - ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat - DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo Day = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day - MabErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo - AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo - MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + AzureIaaSVMJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails + ResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList + FeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest SchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy - AzureIaaSVMErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo - OperationWorkerResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse - DpmErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo + ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo ProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy - WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + MabErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList JobQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject - AzureWorkloadJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob YearlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule - ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo - DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + AzureIaaSVMErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo + WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat WeeklyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule - AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob - FeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest + MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob + AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent AzureFileshareProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo AzureVMResourceFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest ProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem - DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob - OperationResultInfoBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource - AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo + ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo + JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob ProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob - SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + OperationWorkerResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse MonthlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule - JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource - AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo - MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob - OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo - FabricName = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName - ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList ProtectionIntentResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource + AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction + SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + OperationResultInfoBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource + DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType ProtectionPolicyResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList - AzureFileshareProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem - AzureFileShareProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy end class RecoveryServicesBackupManagementClass @@ -383,6 +383,12 @@ 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 @@ -395,11 +401,8 @@ 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 + def azure_file_share_recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint end def azure_file_share_restore_request Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRestoreRequest @@ -599,12 +602,12 @@ def restore_point_type def overwrite_options Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OverwriteOptions end - def backup_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType - end def storage_type_state Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageTypeState end + def backup_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType + end def container_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerType end @@ -788,14 +791,20 @@ def azure_file_share_backup_request def azure_file_share_protectable_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem end - def azure_file_share_recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint + def azure_fileshare_protected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem + end + def azure_file_share_protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy + end + def fabric_name + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName end def type Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type end - def job_operation_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType + def protected_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList end def mab_server_type Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType @@ -830,9 +839,6 @@ def health_state def azure_vm_workload_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy end - def job_supported_action - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction - end def azure_vm_workload_sqldatabase_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem end @@ -899,12 +905,12 @@ def protected_item_state def last_backup_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LastBackupStatus end - def protected_item_health_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus - end def resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource end + def protected_item_health_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus + end def error_detail Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail end @@ -950,15 +956,15 @@ def dpm_job_task_details def dpm_job_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo end - def resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList - end def mab_job_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo end def azure_workload_error_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo end + def azure_workload_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + end def azure_workload_job_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo end @@ -983,8 +989,8 @@ def pre_validate_enable_backup_response def azure_iaa_svmhealth_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails end - def backup_status_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + def azure_storage_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails end def backup_status_response Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse @@ -1001,62 +1007,62 @@ def azure_vmresource_feature_support_response def azure_sql_protected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo end - def azure_storage_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails - end - def azure_iaa_svmjob_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails - end def operation_result_info_base Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase end - def azure_storage_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + def dpm_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo + end + def daily_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + end + def backup_status_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest end def retention_duration Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration end - def protection_policy_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + def azure_storage_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo end def daily_retention_format Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat end - def daily_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + def mab_file_folder_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo end def day Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day end - def mab_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo - end def azure_vm_workload_protected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo end - def azure_storage_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + def azure_iaa_svmjob_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails end - def mab_file_folder_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + def resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList + end + def feature_support_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest end def schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy end - def azure_iaa_svmerror_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo + def protection_policy_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject end - def operation_worker_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse + def azure_storage_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo end - def dpm_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo + def dpmprotected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo end def protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy end - def weekly_retention_format - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + def mab_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo end def job_resource_list Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList @@ -1064,26 +1070,26 @@ def job_resource_list def job_query_object Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject end - def azure_workload_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + def azure_iaa_svmjob + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob end def yearly_retention_schedule Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule end - def export_jobs_operation_result_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo + def azure_iaa_svmerror_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo end - def dpmprotected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + def weekly_retention_format + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat end def weekly_retention_schedule Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule end - def azure_iaa_svmjob - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob + def mab_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob end - def feature_support_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest + def azure_resource_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent end def azure_fileshare_protected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo @@ -1094,14 +1100,14 @@ def azure_vmresource_feature_support_request def protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem end - def dpm_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + def operation_result_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo end - def operation_result_info_base_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource + def export_jobs_operation_result_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo end - def azure_resource_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + def job_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource end def azure_storage_job Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob @@ -1112,42 +1118,36 @@ def protected_item_query_object def azure_workload_job Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob end - def support_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + def operation_worker_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse end def monthly_retention_schedule Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule end - def job_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource + def protection_intent_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource end def azure_iaa_svmprotected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo end - def mab_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob + def job_supported_action + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction end - def operation_result_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo + def support_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus end - def fabric_name - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName + def operation_result_info_base_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource end - def protected_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList + def dpm_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob end - def protection_intent_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource + def job_operation_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType end def protection_policy_resource_list Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList end - def azure_fileshare_protected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem - end - def azure_file_share_protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy - end end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb index 3e9279e62f..fb2c34ef87 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb @@ -15,12 +15,12 @@ module Mgmt ReplicationFabrics = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationFabrics ReplicationvCenters = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationvCenters ReplicationStorageClassificationMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationStorageClassificationMappings - ReplicationStorageClassifications = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationStorageClassifications ReplicationRecoveryServicesProviders = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationRecoveryServicesProviders ReplicationRecoveryPlans = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationRecoveryPlans ReplicationProtectionContainers = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationProtectionContainers ReplicationProtectionContainerMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationProtectionContainerMappings ReplicationProtectableItems = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationProtectableItems + ReplicationStorageClassifications = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationStorageClassifications ReplicationPolicies = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationPolicies ReplicationNetworks = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationNetworks ReplicationLogicalNetworks = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationLogicalNetworks @@ -29,93 +29,96 @@ module Mgmt ReplicationAlertSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationAlertSettings module Models - HyperVReplicaAzureEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails HyperVReplicaBaseEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseEventDetails HyperVReplica2012EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012EventDetails - JobStatusEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails - HyperVVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails + InMageAzureV2UpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput + A2AUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AUpdateReplicationProtectedItemInput A2AEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEventDetails InMageAzureV2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EventDetails - InMageAzureV2RecoveryPointDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails - InMageDisableProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput + HyperVReplica2012R2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012R2EventDetails + HyperVReplicaAzureEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails VMwareVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareVirtualMachineDetails ReplicationGroupDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationGroupDetails - InMageAzureV2FailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput - InMageFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput + JobStatusEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails + HyperVVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails HyperVReplicaAzureFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailoverProviderInput HyperVReplicaAzureFailbackProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailbackProviderInput - InMageAzureV2ReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput - InMageReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput + InMageAzureV2RecoveryPointDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails + InMageDisableProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput A2AFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AFailoverProviderInput HyperVReplicaAzureReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReprotectInput - InMageAzureV2ApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput - A2AApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput + InMageAzureV2FailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput + InMageFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput A2AReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReprotectInput HyperVReplicaAzureApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureApplyRecoveryPointInput - FabricReplicationGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails - ManualActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails + InMageAzureV2ReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput + InMageReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput JobTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobTaskDetails VirtualMachineTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VirtualMachineTaskDetails - ConsistencyCheckTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails - AutomationRunbookTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails + InMageAzureV2ApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput + A2AApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput ScriptActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ScriptActionTaskDetails VmNicUpdatesTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmNicUpdatesTaskDetails - RecoveryPlanShutdownGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails - AsrJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails + FabricReplicationGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails + ManualActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails InlineWorkflowTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InlineWorkflowTaskDetails RecoveryPlanGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupTaskDetails - ExportJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails - SwitchProtectionJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails + ConsistencyCheckTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails + AutomationRunbookTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails TestFailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverJobDetails FailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverJobDetails - HyperVReplicaAzurePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails - HyperVReplicaBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails + RecoveryPlanShutdownGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails + AsrJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails A2AContainerCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AContainerCreationInput A2ASwitchProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ASwitchProtectionInput - InMageBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails - InMageAzureV2PolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails + ExportJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails + SwitchProtectionJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails HyperVReplicaPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyDetails HyperVReplicaBluePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyDetails - RcmAzureMigrationPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails - VmwareCbtPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails + HyperVReplicaAzurePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails + HyperVReplicaBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails InMagePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyDetails A2APolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyDetails - HyperVReplicaBluePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput - InMageAzureV2PolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput + InMageBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails + InMageAzureV2PolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails HyperVReplicaAzurePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyInput HyperVReplicaPolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyInput - VMwareCbtPolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput - RecoveryPlanScriptActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails + RcmAzureMigrationPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails + VmwareCbtPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails InMagePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyInput A2APolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyCreationInput - RecoveryPlanHyperVReplicaAzureFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput - RecoveryPlanHyperVReplicaAzureFailbackInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput + HyperVReplicaBluePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput + InMageAzureV2PolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput RecoveryPlanAutomationRunbookActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAutomationRunbookActionDetails RecoveryPlanManualActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanManualActionDetails - RecoveryPlanA2AFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput - Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job + VMwareCbtPolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput + RecoveryPlanScriptActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails RecoveryPlanInMageAzureV2FailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageAzureV2FailoverInput RecoveryPlanInMageFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageFailoverInput - ReplicationProtectedItemOperation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation - AzureFabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput + RecoveryPlanHyperVReplicaAzureFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput + Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job VMwareV2FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricCreationInput RecoveryPlanGroupType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupType - LicenseType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType + RecoveryPlanA2AFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput + AzureFabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput + RecoveryPlanHyperVReplicaAzureFailbackInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput + SourceSiteOperations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations + ReplicationProtectedItemOperation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation PossibleOperationsDirections = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PossibleOperationsDirections FailoverDeploymentModel = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverDeploymentModel - SourceSiteOperations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations - MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus + RecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType + LicenseType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionReason HealthErrorCategory = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorCategory - RecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType - DataSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus + HyperVReplicaAzureRpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType + MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus SetMultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SetMultiVmSyncStatus RecoveryPlanActionLocation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionLocation - HyperVReplicaAzureRpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType - A2ARpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType + RpInMageRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType + DataSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus AlternateLocationRecoveryOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlternateLocationRecoveryOption InMageV2RpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageV2RpRecoveryPointType - RpInMageRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType + A2ARpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType IdentityProviderType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityProviderType Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Event PolicyCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyCollection @@ -289,75 +292,72 @@ module Models Display = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Display A2AVmManagedDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmManagedDiskInputDetails Subnet = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Subnet - ConfigurationSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigurationSettings - EncryptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EncryptionDetails - A2AProtectedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedDiskDetails Resource = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Resource + EncryptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EncryptionDetails + ConfigurationSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigurationSettings + InMageDiskExclusionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput A2AVmDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmDiskInputDetails InMageDiskSignatureExclusionOptions = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskSignatureExclusionOptions - InMageDiskExclusionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput - InMageVolumeExclusionOptions = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageVolumeExclusionOptions - NetworkMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingProperties EventQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventQueryParameter - ReplicationProviderSpecificContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerMappingInput - InputEndpoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InputEndpoint + A2AProtectedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedDiskDetails + NetworkMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingProperties AzureToAzureVmSyncedConfigDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureVmSyncedConfigDetails - SwitchProtectionInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInputProperties - A2AProtectedManagedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedManagedDiskDetails + InMageVolumeExclusionOptions = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageVolumeExclusionOptions + InputEndpoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InputEndpoint ASRTask = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ASRTask - MobilityServiceUpdate = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MobilityServiceUpdate - Alert = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Alert + ReplicationProviderSpecificContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerMappingInput + A2AProtectedManagedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedManagedDiskDetails PolicyProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProperties - LogicalNetwork = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetwork - NetworkMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMapping + SwitchProtectionInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInputProperties + Alert = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Alert Fabric = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Fabric - ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping - Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Policy + MobilityServiceUpdate = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MobilityServiceUpdate + NetworkMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMapping ProtectableItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItem - ProtectionContainer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainer + LogicalNetwork = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetwork Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Network RecoveryServicesProvider = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProvider - ReplicationProtectedItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItem - StorageClassification = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassification + ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping RecoveryPlan = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlan + StorageClassificationMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping + ReplicationProtectedItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItem + Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Policy + RecoveryPoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint VCenter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenter + ProtectionContainer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainer + StorageClassification = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassification + VmmToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings + VmmToVmmNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmNetworkMappingSettings VaultHealthDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthDetails AzureToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureNetworkMappingSettings - StorageClassificationMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping - VmmToVmmNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmNetworkMappingSettings + VmmToVmmCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput + AzureToAzureUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureUpdateNetworkMappingInput AzureToAzureCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureCreateNetworkMappingInput VmmToAzureCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureCreateNetworkMappingInput - RecoveryPoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint - AzureToAzureUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureUpdateNetworkMappingInput - VmmToAzureUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureUpdateNetworkMappingInput - VmmToVmmUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmUpdateNetworkMappingInput - VmmToVmmCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput - VmmToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings - HyperVSiteDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVSiteDetails - VMwareDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareDetails AzureFabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricSpecificDetails VmmDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmDetails - HyperVReplicaReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaReplicationDetails - HyperVReplicaBlueReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBlueReplicationDetails + VmmToAzureUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureUpdateNetworkMappingInput + VmmToVmmUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmUpdateNetworkMappingInput VMwareV2FabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricSpecificDetails HyperVReplicaBaseReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseReplicationDetails - InMageReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReplicationDetails - A2AReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReplicationDetails + HyperVSiteDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVSiteDetails + VMwareDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareDetails HyperVReplicaAzureReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReplicationDetails InMageAzureV2ReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReplicationDetails - InMageAzureV2EnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EnableProtectionInput - InMageEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageEnableProtectionInput + HyperVReplicaReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaReplicationDetails + HyperVReplicaBlueReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBlueReplicationDetails HyperVReplicaAzureEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEnableProtectionInput SanEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SanEnableProtectionInput - InMageAzureV2UpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput - A2AUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AUpdateReplicationProtectedItemInput + InMageReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReplicationDetails + A2AReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReplicationDetails A2AEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEnableProtectionInput HyperVReplicaAzureUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput - HyperVReplica2012R2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012R2EventDetails + InMageAzureV2EnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EnableProtectionInput + InMageEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageEnableProtectionInput end class RecoveryServicesSiteRecoveryManagementClass - attr_reader :operations, :replication_vault_health, :recovery_points, :replication_protected_items, :replication_network_mappings, :replication_fabrics, :replicationv_centers, :replication_storage_classification_mappings, :replication_storage_classifications, :replication_recovery_services_providers, :replication_recovery_plans, :replication_protection_containers, :replication_protection_container_mappings, :replication_protectable_items, :replication_policies, :replication_networks, :replication_logical_networks, :replication_jobs, :replication_events, :replication_alert_settings, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :replication_vault_health, :recovery_points, :replication_protected_items, :replication_network_mappings, :replication_fabrics, :replicationv_centers, :replication_storage_classification_mappings, :replication_recovery_services_providers, :replication_recovery_plans, :replication_protection_containers, :replication_protection_container_mappings, :replication_protectable_items, :replication_storage_classifications, :replication_policies, :replication_networks, :replication_logical_networks, :replication_jobs, :replication_events, :replication_alert_settings, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -375,12 +375,12 @@ def initialize(configurable, base_url=nil, options=nil) @replication_fabrics = @client_0.replication_fabrics @replicationv_centers = @client_0.replicationv_centers @replication_storage_classification_mappings = @client_0.replication_storage_classification_mappings - @replication_storage_classifications = @client_0.replication_storage_classifications @replication_recovery_services_providers = @client_0.replication_recovery_services_providers @replication_recovery_plans = @client_0.replication_recovery_plans @replication_protection_containers = @client_0.replication_protection_containers @replication_protection_container_mappings = @client_0.replication_protection_container_mappings @replication_protectable_items = @client_0.replication_protectable_items + @replication_storage_classifications = @client_0.replication_storage_classifications @replication_policies = @client_0.replication_policies @replication_networks = @client_0.replication_networks @replication_logical_networks = @client_0.replication_logical_networks @@ -405,20 +405,17 @@ def method_missing(method, *args) end class ModelClasses - def hyper_vreplica_azure_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails - end def hyper_vreplica_base_event_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseEventDetails end def hyper_vreplica2012_event_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012EventDetails end - def job_status_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails + def in_mage_azure_v2_update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput end - def hyper_vvirtual_machine_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails + def a2_aupdate_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AUpdateReplicationProtectedItemInput end def a2_aevent_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEventDetails @@ -426,11 +423,11 @@ def a2_aevent_details def in_mage_azure_v2_event_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EventDetails end - def in_mage_azure_v2_recovery_point_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails + def hyper_vreplica2012_r2_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012R2EventDetails end - def in_mage_disable_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput + def hyper_vreplica_azure_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails end def vmware_virtual_machine_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareVirtualMachineDetails @@ -438,11 +435,11 @@ def vmware_virtual_machine_details def replication_group_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationGroupDetails end - def in_mage_azure_v2_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput + def job_status_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails end - def in_mage_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput + def hyper_vvirtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails end def hyper_vreplica_azure_failover_provider_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailoverProviderInput @@ -450,11 +447,11 @@ def hyper_vreplica_azure_failover_provider_input def hyper_vreplica_azure_failback_provider_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailbackProviderInput end - def in_mage_azure_v2_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput + def in_mage_azure_v2_recovery_point_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails end - def in_mage_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput + def in_mage_disable_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput end def a2_afailover_provider_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AFailoverProviderInput @@ -462,11 +459,11 @@ def a2_afailover_provider_input def hyper_vreplica_azure_reprotect_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReprotectInput end - def in_mage_azure_v2_apply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput + def in_mage_azure_v2_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput end - def a2_aapply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput + def in_mage_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput end def a2_areprotect_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReprotectInput @@ -474,11 +471,11 @@ def a2_areprotect_input def hyper_vreplica_azure_apply_recovery_point_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureApplyRecoveryPointInput end - def fabric_replication_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails + def in_mage_azure_v2_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput end - def manual_action_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails + def in_mage_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput end def job_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobTaskDetails @@ -486,11 +483,11 @@ def job_task_details def virtual_machine_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VirtualMachineTaskDetails end - def consistency_check_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails + def in_mage_azure_v2_apply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput end - def automation_runbook_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails + def a2_aapply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput end def script_action_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ScriptActionTaskDetails @@ -498,11 +495,11 @@ def script_action_task_details def vm_nic_updates_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmNicUpdatesTaskDetails end - def recovery_plan_shutdown_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails + def fabric_replication_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails end - def asr_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails + def manual_action_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails end def inline_workflow_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InlineWorkflowTaskDetails @@ -510,11 +507,11 @@ def inline_workflow_task_details def recovery_plan_group_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupTaskDetails end - def export_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails + def consistency_check_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails end - def switch_protection_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails + def automation_runbook_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails end def test_failover_job_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverJobDetails @@ -522,11 +519,11 @@ def test_failover_job_details def failover_job_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverJobDetails end - def hyper_vreplica_azure_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails + def recovery_plan_shutdown_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails end - def hyper_vreplica_base_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails + def asr_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails end def a2_acontainer_creation_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AContainerCreationInput @@ -534,11 +531,11 @@ def a2_acontainer_creation_input def a2_aswitch_protection_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ASwitchProtectionInput end - def in_mage_base_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails + def export_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails end - def in_mage_azure_v2_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails + def switch_protection_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails end def hyper_vreplica_policy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyDetails @@ -546,11 +543,11 @@ def hyper_vreplica_policy_details def hyper_vreplica_blue_policy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyDetails end - def rcm_azure_migration_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails + def hyper_vreplica_azure_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails end - def vmware_cbt_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails + def hyper_vreplica_base_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails end def in_mage_policy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyDetails @@ -558,11 +555,11 @@ def in_mage_policy_details def a2_apolicy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyDetails end - def hyper_vreplica_blue_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput + def in_mage_base_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails end - def in_mage_azure_v2_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput + def in_mage_azure_v2_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails end def hyper_vreplica_azure_policy_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyInput @@ -570,11 +567,11 @@ def hyper_vreplica_azure_policy_input def hyper_vreplica_policy_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyInput end - def vmware_cbt_policy_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput + def rcm_azure_migration_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails end - def recovery_plan_script_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails + def vmware_cbt_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails end def in_mage_policy_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyInput @@ -582,11 +579,11 @@ def in_mage_policy_input def a2_apolicy_creation_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyCreationInput end - def recovery_plan_hyper_vreplica_azure_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput + def hyper_vreplica_blue_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput end - def recovery_plan_hyper_vreplica_azure_failback_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput + def in_mage_azure_v2_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput end def recovery_plan_automation_runbook_action_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAutomationRunbookActionDetails @@ -594,11 +591,11 @@ def recovery_plan_automation_runbook_action_details def recovery_plan_manual_action_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanManualActionDetails end - def recovery_plan_a2_afailover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput + def vmware_cbt_policy_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput end - def job - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job + def recovery_plan_script_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails end def recovery_plan_in_mage_azure_v2_failover_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageAzureV2FailoverInput @@ -606,11 +603,11 @@ def recovery_plan_in_mage_azure_v2_failover_input def recovery_plan_in_mage_failover_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageFailoverInput end - def replication_protected_item_operation - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation + def recovery_plan_hyper_vreplica_azure_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput end - def azure_fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput + def job + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job end def vmware_v2_fabric_creation_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricCreationInput @@ -618,8 +615,20 @@ def vmware_v2_fabric_creation_input def recovery_plan_group_type Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupType end - def license_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType + def recovery_plan_a2_afailover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput + end + def azure_fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput + end + def recovery_plan_hyper_vreplica_azure_failback_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput + end + def source_site_operations + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations + end + def replication_protected_item_operation + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation end def possible_operations_directions Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PossibleOperationsDirections @@ -627,11 +636,11 @@ def possible_operations_directions def failover_deployment_model Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverDeploymentModel end - def source_site_operations - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations + def recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType end - def multi_vm_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus + def license_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType end def disable_protection_reason Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionReason @@ -639,11 +648,11 @@ def disable_protection_reason def health_error_category Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorCategory end - def recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType + def hyper_vreplica_azure_rp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType end - def data_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus + def multi_vm_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus end def set_multi_vm_sync_status Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SetMultiVmSyncStatus @@ -651,11 +660,11 @@ def set_multi_vm_sync_status def recovery_plan_action_location Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionLocation end - def hyper_vreplica_azure_rp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType + def rp_in_mage_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType end - def a2_arp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType + def data_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus end def alternate_location_recovery_option Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlternateLocationRecoveryOption @@ -663,8 +672,8 @@ def alternate_location_recovery_option def in_mage_v2_rp_recovery_point_type Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageV2RpRecoveryPointType end - def rp_in_mage_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType + def a2_arp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType end def identity_provider_type Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityProviderType @@ -1185,17 +1194,17 @@ def a2_avm_managed_disk_input_details def subnet Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Subnet end - def configuration_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigurationSettings + def resource + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Resource end def encryption_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EncryptionDetails end - def a2_aprotected_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedDiskDetails + def configuration_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigurationSettings end - def resource - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Resource + def in_mage_disk_exclusion_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput end def a2_avm_disk_input_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmDiskInputDetails @@ -1203,65 +1212,56 @@ def a2_avm_disk_input_details def in_mage_disk_signature_exclusion_options Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskSignatureExclusionOptions end - def in_mage_disk_exclusion_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput - end - def in_mage_volume_exclusion_options - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageVolumeExclusionOptions - end - def network_mapping_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingProperties - end def event_query_parameter Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventQueryParameter end - def replication_provider_specific_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerMappingInput + def a2_aprotected_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedDiskDetails end - def input_endpoint - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InputEndpoint + def network_mapping_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingProperties end def azure_to_azure_vm_synced_config_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureVmSyncedConfigDetails end - def switch_protection_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInputProperties + def in_mage_volume_exclusion_options + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageVolumeExclusionOptions end - def a2_aprotected_managed_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedManagedDiskDetails + def input_endpoint + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InputEndpoint end def asrtask Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ASRTask end - def mobility_service_update - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MobilityServiceUpdate + def replication_provider_specific_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerMappingInput end - def alert - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Alert + def a2_aprotected_managed_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedManagedDiskDetails end def policy_properties Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProperties end - def logical_network - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetwork + def switch_protection_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInputProperties end - def network_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMapping + def alert + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Alert end def fabric Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Fabric end - def protection_container_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping + def mobility_service_update + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MobilityServiceUpdate end - def policy - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Policy + def network_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMapping end def protectable_item Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItem end - def protection_container - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainer + def logical_network + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetwork end def network Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Network @@ -1269,29 +1269,50 @@ def network def recovery_services_provider Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProvider end + def protection_container_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping + end + def recovery_plan + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlan + end + def storage_classification_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping + end def replication_protected_item Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItem end - def storage_classification - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassification + def policy + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Policy end - def recovery_plan - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlan + def recovery_point + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint end def vcenter Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenter end + def protection_container + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainer + end + def storage_classification + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassification + end + def vmm_to_azure_network_mapping_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings + end + def vmm_to_vmm_network_mapping_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmNetworkMappingSettings + end def vault_health_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthDetails end def azure_to_azure_network_mapping_settings Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureNetworkMappingSettings end - def storage_classification_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping + def vmm_to_vmm_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput end - def vmm_to_vmm_network_mapping_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmNetworkMappingSettings + def azure_to_azure_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureUpdateNetworkMappingInput end def azure_to_azure_create_network_mapping_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureCreateNetworkMappingInput @@ -1299,11 +1320,11 @@ def azure_to_azure_create_network_mapping_input def vmm_to_azure_create_network_mapping_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureCreateNetworkMappingInput end - def recovery_point - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint + def azure_fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricSpecificDetails end - def azure_to_azure_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureUpdateNetworkMappingInput + def vmm_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmDetails end def vmm_to_azure_update_network_mapping_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureUpdateNetworkMappingInput @@ -1311,11 +1332,11 @@ def vmm_to_azure_update_network_mapping_input def vmm_to_vmm_update_network_mapping_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmUpdateNetworkMappingInput end - def vmm_to_vmm_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput + def vmware_v2_fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricSpecificDetails end - def vmm_to_azure_network_mapping_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings + def hyper_vreplica_base_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseReplicationDetails end def hyper_vsite_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVSiteDetails @@ -1323,11 +1344,11 @@ def hyper_vsite_details def vmware_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareDetails end - def azure_fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricSpecificDetails + def hyper_vreplica_azure_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReplicationDetails end - def vmm_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmDetails + def in_mage_azure_v2_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReplicationDetails end def hyper_vreplica_replication_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaReplicationDetails @@ -1335,11 +1356,11 @@ def hyper_vreplica_replication_details def hyper_vreplica_blue_replication_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBlueReplicationDetails end - def vmware_v2_fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricSpecificDetails + def hyper_vreplica_azure_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEnableProtectionInput end - def hyper_vreplica_base_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseReplicationDetails + def san_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SanEnableProtectionInput end def in_mage_replication_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReplicationDetails @@ -1347,11 +1368,11 @@ def in_mage_replication_details def a2_areplication_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReplicationDetails end - def hyper_vreplica_azure_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReplicationDetails + def a2_aenable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEnableProtectionInput end - def in_mage_azure_v2_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReplicationDetails + def hyper_vreplica_azure_update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput end def in_mage_azure_v2_enable_protection_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EnableProtectionInput @@ -1359,27 +1380,6 @@ def in_mage_azure_v2_enable_protection_input def in_mage_enable_protection_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageEnableProtectionInput end - def hyper_vreplica_azure_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEnableProtectionInput - end - def san_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SanEnableProtectionInput - end - def in_mage_azure_v2_update_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput - end - def a2_aupdate_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AUpdateReplicationProtectedItemInput - end - def a2_aenable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEnableProtectionInput - end - def hyper_vreplica_azure_update_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput - end - def hyper_vreplica2012_r2_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012R2EventDetails - end end end end diff --git a/azure_sdk/lib/latest/modules/redis_profile_module.rb b/azure_sdk/lib/latest/modules/redis_profile_module.rb index 5a253a676d..4727274aef 100644 --- a/azure_sdk/lib/latest/modules/redis_profile_module.rb +++ b/azure_sdk/lib/latest/modules/redis_profile_module.rb @@ -8,12 +8,13 @@ module Azure::Profiles::Latest module Redis module Mgmt LinkedServer = Azure::Redis::Mgmt::V2017_10_01::LinkedServer + FirewallRules = Azure::Redis::Mgmt::V2017_10_01::FirewallRules Operations = Azure::Redis::Mgmt::V2017_10_01::Operations Redis = Azure::Redis::Mgmt::V2017_10_01::Redis - FirewallRules = Azure::Redis::Mgmt::V2017_10_01::FirewallRules PatchSchedules = Azure::Redis::Mgmt::V2017_10_01::PatchSchedules module Models + DayOfWeek = Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek Sku = Azure::Redis::Mgmt::V2017_10_01::Models::Sku RedisListResult = Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult RedisRegenerateKeyParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisRegenerateKeyParameters @@ -22,34 +23,33 @@ module Models RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerCreateParameters RedisUpdateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisUpdateParameters RedisRebootParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisRebootParameters + Resource = Azure::Redis::Mgmt::V2017_10_01::Models::Resource RedisFirewallRuleCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleCreateParameters ExportRDBParameters = Azure::Redis::Mgmt::V2017_10_01::Models::ExportRDBParameters ImportRDBParameters = Azure::Redis::Mgmt::V2017_10_01::Models::ImportRDBParameters - Resource = Azure::Redis::Mgmt::V2017_10_01::Models::Resource ScheduleEntry = Azure::Redis::Mgmt::V2017_10_01::Models::ScheduleEntry RedisCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisCreateParameters - RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList + RedisLinkedServer = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer RedisForceRebootResponse = Azure::Redis::Mgmt::V2017_10_01::Models::RedisForceRebootResponse + RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList RedisFirewallRule = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRule - RedisLinkedServer = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer RedisResource = Azure::Redis::Mgmt::V2017_10_01::Models::RedisResource RedisPatchSchedule = Azure::Redis::Mgmt::V2017_10_01::Models::RedisPatchSchedule RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithProperties SkuFamily = Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily OperationDisplay = Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay - SkuName = Azure::Redis::Mgmt::V2017_10_01::Models::SkuName - OperationListResult = Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult RebootType = Azure::Redis::Mgmt::V2017_10_01::Models::RebootType + OperationListResult = Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult + SkuName = Azure::Redis::Mgmt::V2017_10_01::Models::SkuName ReplicationRole = Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole RedisKeyType = Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType ProxyResource = Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource - TrackedResource = Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource Operation = Azure::Redis::Mgmt::V2017_10_01::Models::Operation - DayOfWeek = Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek + TrackedResource = Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource end class RedisManagementClass - attr_reader :linked_server, :operations, :redis, :firewall_rules, :patch_schedules, :configurable, :base_url, :options, :model_classes + attr_reader :linked_server, :firewall_rules, :operations, :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 @@ -60,9 +60,9 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @linked_server = @client_0.linked_server + @firewall_rules = @client_0.firewall_rules @operations = @client_0.operations @redis = @client_0.redis - @firewall_rules = @client_0.firewall_rules @patch_schedules = @client_0.patch_schedules @model_classes = ModelClasses.new @@ -82,6 +82,9 @@ def method_missing(method, *args) end class ModelClasses + def day_of_week + Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek + end def sku Azure::Redis::Mgmt::V2017_10_01::Models::Sku end @@ -106,6 +109,9 @@ def redis_update_parameters def redis_reboot_parameters Azure::Redis::Mgmt::V2017_10_01::Models::RedisRebootParameters end + def resource + Azure::Redis::Mgmt::V2017_10_01::Models::Resource + end def redis_firewall_rule_create_parameters Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleCreateParameters end @@ -115,27 +121,24 @@ def export_rdbparameters def import_rdbparameters Azure::Redis::Mgmt::V2017_10_01::Models::ImportRDBParameters end - def resource - Azure::Redis::Mgmt::V2017_10_01::Models::Resource - end def schedule_entry Azure::Redis::Mgmt::V2017_10_01::Models::ScheduleEntry end def redis_create_parameters Azure::Redis::Mgmt::V2017_10_01::Models::RedisCreateParameters end - def redis_linked_server_with_properties_list - Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList + def redis_linked_server + Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer end def redis_force_reboot_response Azure::Redis::Mgmt::V2017_10_01::Models::RedisForceRebootResponse end + def redis_linked_server_with_properties_list + Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList + end def redis_firewall_rule Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRule end - def redis_linked_server - Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer - end def redis_resource Azure::Redis::Mgmt::V2017_10_01::Models::RedisResource end @@ -151,14 +154,14 @@ def sku_family def operation_display Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay end - def sku_name - Azure::Redis::Mgmt::V2017_10_01::Models::SkuName + def reboot_type + Azure::Redis::Mgmt::V2017_10_01::Models::RebootType end def operation_list_result Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult end - def reboot_type - Azure::Redis::Mgmt::V2017_10_01::Models::RebootType + def sku_name + Azure::Redis::Mgmt::V2017_10_01::Models::SkuName end def replication_role Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole @@ -169,14 +172,11 @@ def redis_key_type def proxy_resource Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource end - def tracked_resource - Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource - end def operation Azure::Redis::Mgmt::V2017_10_01::Models::Operation end - def day_of_week - Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek + def tracked_resource + Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource 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 817d982098..ec07cf60e2 100644 --- a/azure_sdk/lib/latest/modules/relay_profile_module.rb +++ b/azure_sdk/lib/latest/modules/relay_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module Relay module Mgmt + Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces Operations = Azure::Relay::Mgmt::V2017_04_01::Operations HybridConnections = Azure::Relay::Mgmt::V2017_04_01::HybridConnections WCFRelays = Azure::Relay::Mgmt::V2017_04_01::WCFRelays - Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces module Models RelayNamespaceListResult = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult @@ -31,8 +31,8 @@ module Models SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult - RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult AuthorizationRule = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights @@ -43,7 +43,7 @@ module Models end class RelayManagementClass - attr_reader :operations, :hybrid_connections, :wcfrelays, :namespaces, :configurable, :base_url, :options, :model_classes + attr_reader :namespaces, :operations, :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) + @namespaces = @client_0.namespaces @operations = @client_0.operations @hybrid_connections = @client_0.hybrid_connections @wcfrelays = @client_0.wcfrelays - @namespaces = @client_0.namespaces @model_classes = ModelClasses.new end @@ -129,12 +129,12 @@ def access_keys def authorization_rule_list_result Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult end - def regenerate_access_key_parameters - Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - end def operation_display Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay 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 diff --git a/azure_sdk/lib/latest/modules/resources_profile_module.rb b/azure_sdk/lib/latest/modules/resources_profile_module.rb index 14de015b89..78dd8c67b0 100644 --- a/azure_sdk/lib/latest/modules/resources_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resources_profile_module.rb @@ -7,12 +7,12 @@ module Azure::Profiles::Latest module Resources module Mgmt - Tags = Azure::Resources::Mgmt::V2017_05_10::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2017_05_10::DeploymentOperations - Resources = Azure::Resources::Mgmt::V2017_05_10::Resources Deployments = Azure::Resources::Mgmt::V2017_05_10::Deployments Providers = Azure::Resources::Mgmt::V2017_05_10::Providers ResourceGroups = Azure::Resources::Mgmt::V2017_05_10::ResourceGroups + Tags = Azure::Resources::Mgmt::V2017_05_10::Tags + DeploymentOperations = Azure::Resources::Mgmt::V2017_05_10::DeploymentOperations + Resources = Azure::Resources::Mgmt::V2017_05_10::Resources module Models Plan = Azure::Resources::Mgmt::V2017_05_10::Models::Plan @@ -37,20 +37,20 @@ module Models DeploymentListResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentListResult TagValue = Azure::Resources::Mgmt::V2017_05_10::Models::TagValue TagDetails = Azure::Resources::Mgmt::V2017_05_10::Models::TagDetails + Sku = Azure::Resources::Mgmt::V2017_05_10::Models::Sku ParametersLink = Azure::Resources::Mgmt::V2017_05_10::Models::ParametersLink - TagsListResult = Azure::Resources::Mgmt::V2017_05_10::Models::TagsListResult DeploymentExportResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExportResult - Sku = Azure::Resources::Mgmt::V2017_05_10::Models::Sku + TargetResource = Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource ProviderResourceType = Azure::Resources::Mgmt::V2017_05_10::Models::ProviderResourceType HttpMessage = Azure::Resources::Mgmt::V2017_05_10::Models::HttpMessage DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentPropertiesExtended - DeploymentOperationProperties = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationProperties + TagsListResult = Azure::Resources::Mgmt::V2017_05_10::Models::TagsListResult ProviderListResult = Azure::Resources::Mgmt::V2017_05_10::Models::ProviderListResult - TargetResource = Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource + DeploymentOperation = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation DeploymentProperties = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentProperties DeploymentOperationsListResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationsListResult BasicDependency = Azure::Resources::Mgmt::V2017_05_10::Models::BasicDependency - ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceProviderOperationDisplayProperties + DeploymentOperationProperties = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationProperties GenericResourceFilter = Azure::Resources::Mgmt::V2017_05_10::Models::GenericResourceFilter DeploymentExtended = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended AliasPathType = Azure::Resources::Mgmt::V2017_05_10::Models::AliasPathType @@ -60,12 +60,12 @@ module Models DeploymentMode = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentMode GenericResource = Azure::Resources::Mgmt::V2017_05_10::Models::GenericResource SubResource = Azure::Resources::Mgmt::V2017_05_10::Models::SubResource - DeploymentOperation = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation + ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceProviderOperationDisplayProperties ResourceIdentityType = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceIdentityType end class ResourcesManagementClass - attr_reader :tags, :deployment_operations, :resources, :deployments, :providers, :resource_groups, :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 @@ -75,12 +75,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations - @resources = @client_0.resources @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 @model_classes = ModelClasses.new end @@ -165,17 +165,17 @@ def tag_value def tag_details Azure::Resources::Mgmt::V2017_05_10::Models::TagDetails end + def sku + Azure::Resources::Mgmt::V2017_05_10::Models::Sku + end def parameters_link Azure::Resources::Mgmt::V2017_05_10::Models::ParametersLink end - def tags_list_result - Azure::Resources::Mgmt::V2017_05_10::Models::TagsListResult - end def deployment_export_result Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExportResult end - def sku - Azure::Resources::Mgmt::V2017_05_10::Models::Sku + def target_resource + Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource end def provider_resource_type Azure::Resources::Mgmt::V2017_05_10::Models::ProviderResourceType @@ -186,14 +186,14 @@ def http_message def deployment_properties_extended Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentPropertiesExtended end - def deployment_operation_properties - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationProperties + def tags_list_result + Azure::Resources::Mgmt::V2017_05_10::Models::TagsListResult end def provider_list_result Azure::Resources::Mgmt::V2017_05_10::Models::ProviderListResult end - def target_resource - Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource + def deployment_operation + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation end def deployment_properties Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentProperties @@ -204,8 +204,8 @@ def deployment_operations_list_result def basic_dependency Azure::Resources::Mgmt::V2017_05_10::Models::BasicDependency end - def resource_provider_operation_display_properties - Azure::Resources::Mgmt::V2017_05_10::Models::ResourceProviderOperationDisplayProperties + def deployment_operation_properties + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationProperties end def generic_resource_filter Azure::Resources::Mgmt::V2017_05_10::Models::GenericResourceFilter @@ -234,8 +234,8 @@ def generic_resource def sub_resource Azure::Resources::Mgmt::V2017_05_10::Models::SubResource end - def deployment_operation - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation + def resource_provider_operation_display_properties + Azure::Resources::Mgmt::V2017_05_10::Models::ResourceProviderOperationDisplayProperties end def resource_identity_type Azure::Resources::Mgmt::V2017_05_10::Models::ResourceIdentityType diff --git a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb index 7013a444bc..6b206986f1 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 - Operations = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Operations ManagementGroups = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroups ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroupSubscriptions + Operations = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Operations module Models OperationDisplay = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationDisplay @@ -20,14 +20,14 @@ module Models ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupDetails ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupInfo ErrorResponse = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse - ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo CreateGroupRequest = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::CreateGroupRequest + ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo Operation = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::Operation ErrorDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails end class ResourcesManagementManagementClass - attr_reader :operations, :management_groups, :management_group_subscriptions, :configurable, :base_url, :options, :model_classes + attr_reader :management_groups, :management_group_subscriptions, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -37,9 +37,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 @management_groups = @client_0.management_groups @management_group_subscriptions = @client_0.management_group_subscriptions + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -82,12 +82,12 @@ def management_group_info def error_response Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse end - def management_group_child_info - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo - end def create_group_request Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::CreateGroupRequest end + def management_group_child_info + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo + end def operation Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::Operation end diff --git a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb index 2609e2fc04..8153eb5e45 100644 --- a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb +++ b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb @@ -7,10 +7,13 @@ 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 + JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties + HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest + ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties JobAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction JobRecurrenceSchedule = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule JobHistoryDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition @@ -21,25 +24,25 @@ module Models JobMaxRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence JobStateFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter JobRecurrenceScheduleMonthlyOccurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence + JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult ServiceBusMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage 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 - JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult 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 - JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState - JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition + JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState + OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication + RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay JobHistoryActionName = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName - RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType JobExecutionStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus ServiceBusAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType + JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType ServiceBusTransportType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType - RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus + RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState @@ -52,13 +55,10 @@ module Models JobDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition HttpAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication StorageQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage - JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties - HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest - ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties 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,6 +88,15 @@ def method_missing(method, *args) end class ModelClasses + def job_history_definition_properties + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties + end + def http_request + Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest + end + def service_bus_brokered_message_properties + Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties + end def job_action Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction end @@ -118,6 +127,9 @@ def job_state_filter def job_recurrence_schedule_monthly_occurrence Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence end + def job_history_list_result + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult + end def service_bus_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage end @@ -130,26 +142,23 @@ def service_bus_authentication def service_bus_queue_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage end - def job_history_list_result - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult - end def service_bus_topic_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage end 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 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 job_action_type - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType + def oauth_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication end - def sku_definition - Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition + def retry_type + Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType end def job_schedule_day Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay @@ -157,24 +166,24 @@ def job_schedule_day def job_history_action_name Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName end - def retry_type - Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType - end def job_execution_status Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus end def service_bus_authentication_type Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType end + def job_action_type + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType + end def service_bus_transport_type Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType end - def recurrence_frequency - Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency - end def job_status Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus end + def recurrence_frequency + Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency + end def day_of_week Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek end @@ -211,15 +220,6 @@ def http_authentication def storage_queue_message Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage end - def job_history_definition_properties - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties - end - def http_request - Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest - end - def service_bus_brokered_message_properties - Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties - 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 4d20388c69..c3cd51a184 100644 --- a/azure_sdk/lib/latest/modules/search_profile_module.rb +++ b/azure_sdk/lib/latest/modules/search_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module Search module Mgmt - Operations = Azure::Search::Mgmt::V2015_08_19::Operations - AdminKeys = Azure::Search::Mgmt::V2015_08_19::AdminKeys QueryKeys = Azure::Search::Mgmt::V2015_08_19::QueryKeys Services = Azure::Search::Mgmt::V2015_08_19::Services + Operations = Azure::Search::Mgmt::V2015_08_19::Operations + AdminKeys = Azure::Search::Mgmt::V2015_08_19::AdminKeys module Models CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput @@ -21,19 +21,19 @@ module Models AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey - Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService + Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason - HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode - SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus - AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource + SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName + AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind + HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState end class SearchManagementClass - attr_reader :operations, :admin_keys, :query_keys, :services, :configurable, :base_url, :options, :model_classes + attr_reader :query_keys, :services, :operations, :admin_keys, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -43,10 +43,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 - @admin_keys = @client_0.admin_keys @query_keys = @client_0.query_keys @services = @client_0.services + @operations = @client_0.operations + @admin_keys = @client_0.admin_keys @model_classes = ModelClasses.new end @@ -89,29 +89,29 @@ def search_management_request_options def query_key Azure::Search::Mgmt::V2015_08_19::Models::QueryKey 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 operation + Azure::Search::Mgmt::V2015_08_19::Models::Operation + end def unavailable_name_reason Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason end - def hosting_mode - Azure::Search::Mgmt::V2015_08_19::Models::HostingMode + def resource + Azure::Search::Mgmt::V2015_08_19::Models::Resource end def search_service_status Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus end + def sku_name + Azure::Search::Mgmt::V2015_08_19::Models::SkuName + end def admin_key_kind Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind end - def resource - Azure::Search::Mgmt::V2015_08_19::Models::Resource - end - def sku_name - Azure::Search::Mgmt::V2015_08_19::Models::SkuName + def hosting_mode + Azure::Search::Mgmt::V2015_08_19::Models::HostingMode end def provisioning_state Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState diff --git a/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb b/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb index 08c77a49e2..ea9d08951b 100644 --- a/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module ServerManagement module Mgmt + PowerShell = Azure::ServerManagement::Mgmt::V2016_07_01_preview::PowerShell Session = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Session Node = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Node Gateway = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Gateway - PowerShell = Azure::ServerManagement::Mgmt::V2016_07_01_preview::PowerShell module Models UpgradeMode = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode @@ -22,19 +22,19 @@ module Models PowerShellCommandResult = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResult NodeResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResources PowerShellCommandResults = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResults + Resource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource PowerShellTabCompletionResults = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionResults - SessionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters GatewayProfile = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayProfile - Resource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource + PowerShellSessionResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources NodeParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeParameters PowerShellCommandParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandParameters - PowerShellSessionResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources + PowerShellTabCompletionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters PromptMessageResponse = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptMessageResponse GatewayResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResource NodeResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResource SessionResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionResource + SessionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters PowerShellSessionResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResource - PowerShellTabCompletionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters PowerShellCommandStatus = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandStatus RetentionPeriod = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::RetentionPeriod CredentialDataFormat = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::CredentialDataFormat @@ -46,7 +46,7 @@ module Models end class ServerManagementManagementClass - attr_reader :session, :node, :gateway, :power_shell, :configurable, :base_url, :options, :model_classes + attr_reader :power_shell, :session, :node, :gateway, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -56,10 +56,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @power_shell = @client_0.power_shell @session = @client_0.session @node = @client_0.node @gateway = @client_0.gateway - @power_shell = @client_0.power_shell @model_classes = ModelClasses.new end @@ -105,17 +105,17 @@ def node_resources def power_shell_command_results Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResults end + def resource + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource + end def power_shell_tab_completion_results Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionResults end - def session_parameters - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters - end def gateway_profile Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayProfile end - def resource - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource + def power_shell_session_resources + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources end def node_parameters Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeParameters @@ -123,8 +123,8 @@ def node_parameters def power_shell_command_parameters Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandParameters end - def power_shell_session_resources - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources + def power_shell_tab_completion_parameters + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters end def prompt_message_response Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptMessageResponse @@ -138,12 +138,12 @@ def node_resource def session_resource Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionResource end + def session_parameters + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters + end def power_shell_session_resource Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResource end - def power_shell_tab_completion_parameters - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters - end def power_shell_command_status Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandStatus end diff --git a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb index b191be3c3b..014e556ab2 100644 --- a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb @@ -7,15 +7,15 @@ module Azure::Profiles::Latest module ServiceBus module Mgmt + Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions Operations = Azure::ServiceBus::Mgmt::V2017_04_01::Operations Queues = Azure::ServiceBus::Mgmt::V2017_04_01::Queues Rules = Azure::ServiceBus::Mgmt::V2017_04_01::Rules PremiumMessagingRegionsOperations = Azure::ServiceBus::Mgmt::V2017_04_01::PremiumMessagingRegionsOperations Namespaces = Azure::ServiceBus::Mgmt::V2017_04_01::Namespaces - Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics DisasterRecoveryConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::DisasterRecoveryConfigs + Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics EventHubs = Azure::ServiceBus::Mgmt::V2017_04_01::EventHubs - Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions module Models @@ -25,17 +25,17 @@ module Models SBQueueListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueueListResult PremiumMessagingRegionsListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsListResult TrackedResource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource - SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku + Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation SBTopicListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopicListResult - SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult + SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku PremiumMessagingRegionsProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties SBSubscriptionListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult AuthorizationRuleProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties - RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult SBAuthorizationRuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult - MessageCountDetails = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails + SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult SqlFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter CorrelationFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter + SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace SBNamespaceUpdateParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters SBAuthorizationRule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule SBQueue = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue @@ -45,22 +45,22 @@ module Models SqlRuleAction = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions - Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation + RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType + MessageCountDetails = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails KeyType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType - SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource + SkuName = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName + SkuTier = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription Destination = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys ArmDisasterRecoveryListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult - SkuName = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName - SkuTier = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier - RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery AccessRights = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights @@ -72,7 +72,7 @@ module Models end class ServiceBusManagementClass - attr_reader :operations, :queues, :rules, :premium_messaging_regions_operations, :namespaces, :topics, :disaster_recovery_configs, :event_hubs, :regions, :subscriptions, :configurable, :base_url, :options, :model_classes + attr_reader :regions, :operations, :queues, :rules, :premium_messaging_regions_operations, :namespaces, :disaster_recovery_configs, :topics, :event_hubs, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -82,15 +82,15 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @regions = @client_0.regions @operations = @client_0.operations @queues = @client_0.queues @rules = @client_0.rules @premium_messaging_regions_operations = @client_0.premium_messaging_regions_operations @namespaces = @client_0.namespaces - @topics = @client_0.topics @disaster_recovery_configs = @client_0.disaster_recovery_configs + @topics = @client_0.topics @event_hubs = @client_0.event_hubs - @regions = @client_0.regions @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new @@ -128,14 +128,14 @@ def premium_messaging_regions_list_result def tracked_resource Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource end - def sbsku - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku + def operation + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation end def sbtopic_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopicListResult end - def sbnamespace_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult + def sbsku + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku end def premium_messaging_regions_properties Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties @@ -146,14 +146,11 @@ def sbsubscription_list_result def authorization_rule_properties Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties end - def rule_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult - end def sbauthorization_rule_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult end - def message_count_details - Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails + def sbnamespace_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult end def sql_filter Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter @@ -161,6 +158,9 @@ def sql_filter def correlation_filter Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter end + def sbnamespace + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + end def sbnamespace_update_parameters Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters end @@ -188,20 +188,20 @@ def check_name_availability def premium_messaging_regions Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions end - def operation - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation + def rule_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult end def resource_namespace_patch Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end - def filter_type - Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType + def message_count_details + Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails end def key_type Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType end - def sbnamespace - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + def filter_type + Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType end def check_name_availability_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult @@ -209,6 +209,12 @@ def check_name_availability_result def resource Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource end + def sku_name + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName + end + def sku_tier + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier + end def capture_description Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription end @@ -224,18 +230,12 @@ def access_keys def arm_disaster_recovery_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult end - def sku_name - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName - end - def sku_tier - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier + def action + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action end def regenerate_access_key_parameters Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters end - def action - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action - end def eventhub Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub end diff --git a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb index 0cc2847c46..46e5434c9b 100644 --- a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb @@ -8,14 +8,17 @@ module Azure::Profiles::Latest module ServiceFabric module Mgmt Operations = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Operations - Clusters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Clusters Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version + Clusters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Clusters + ClusterVersions = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ClusterVersions ApplicationType = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ApplicationType Service = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Service Application = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Application - ClusterVersions = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ClusterVersions module Models + ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy + AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory + ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy ApplicationTypeResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList ClientCertificateCommonName = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClientCertificateCommonName ApplicationResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList @@ -70,13 +73,10 @@ module Models RollingUpgradeMonitoringPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy ClusterUpgradePolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradePolicy AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay - ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy - AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory - ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy end class ServiceFabricManagementClass - attr_reader :operations, :clusters, :version, :application_type, :service, :application, :cluster_versions, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :version, :clusters, :cluster_versions, :application_type, :service, :application, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -87,12 +87,12 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @operations = @client_0.operations - @clusters = @client_0.clusters @version = @client_0.version + @clusters = @client_0.clusters + @cluster_versions = @client_0.cluster_versions @application_type = @client_0.application_type @service = @client_0.service @application = @client_0.application - @cluster_versions = @client_0.cluster_versions @model_classes = ModelClasses.new end @@ -111,6 +111,15 @@ def method_missing(method, *args) end class ModelClasses + def cluster_health_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy + end + def azure_active_directory + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory + end + def service_type_health_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy + end def application_type_resource_list Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList end @@ -273,15 +282,6 @@ def cluster_upgrade_policy def available_operation_display Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay end - def cluster_health_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy - end - def azure_active_directory - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory - end - def service_type_health_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy - 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 3670d1ac77..dbffad5a20 100644 --- a/azure_sdk/lib/latest/modules/signalr_profile_module.rb +++ b/azure_sdk/lib/latest/modules/signalr_profile_module.rb @@ -7,35 +7,35 @@ module Azure::Profiles::Latest module Signalr module Mgmt - Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations SignalR = Azure::Signalr::Mgmt::V2018_03_01_preview::SignalR + Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations module Models - SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters + SignalRKeys = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys + NameAvailabilityParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource - ProvisioningState = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState + SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters SignalRSkuTier = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier + TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource OperationDisplay = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay + ProvisioningState = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState KeyType = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType OperationList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList ResourceSku = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku RegenerateKeyParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters Operation = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation MetricSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification - TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource + Resource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource SignalRResourceList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList SignalRUpdateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters ServiceSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification NameAvailability = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability - SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties - Resource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource OperationProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties - NameAvailabilityParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters - SignalRKeys = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys + SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties end class SignalrManagementClass - attr_reader :operations, :signal_r, :configurable, :base_url, :options, :model_classes + attr_reader :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 @@ -45,8 +45,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 @signal_r = @client_0.signal_r + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -65,21 +65,30 @@ def method_missing(method, *args) end class ModelClasses - def signal_rcreate_parameters - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters + def signal_rkeys + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys + end + def name_availability_parameters + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters end def signal_rresource Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource end - def provisioning_state - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState + def signal_rcreate_parameters + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters end def signal_rsku_tier Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier end + def tracked_resource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource + end def operation_display Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay end + def provisioning_state + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState + end def key_type Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType end @@ -98,8 +107,8 @@ def operation def metric_specification Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification end - def tracked_resource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource + def resource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource end def signal_rresource_list Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList @@ -113,20 +122,11 @@ def service_specification def name_availability Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability end - def signal_rcreate_or_update_properties - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties - end - def resource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource - end def operation_properties Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties end - def name_availability_parameters - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters - end - def signal_rkeys - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys + def signal_rcreate_or_update_properties + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties 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 04fd32a58c..d0830f7ec2 100644 --- a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb +++ b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb @@ -8,6 +8,7 @@ module Azure::Profiles::Latest module SpellCheck module Models + ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase Identifiable = Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer ErrorCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode @@ -16,11 +17,10 @@ module Models SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse - ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType - Mode = Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck + Mode = Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode + ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response - ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error end @@ -53,6 +53,9 @@ def method_missing(method, *args) end class ModelClasses + def response_base + Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase + end def identifiable Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable end @@ -77,21 +80,18 @@ def error_type def error_response Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse end - def action_type - Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType + def spell_check + Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck end def mode Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode end - def spell_check - Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck + def action_type + Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType end def response Azure::CognitiveServices::SpellCheck::V1_0::Models::Response end - def response_base - Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase - end def error Azure::CognitiveServices::SpellCheck::V1_0::Models::Error end diff --git a/azure_sdk/lib/latest/modules/sql_profile_module.rb b/azure_sdk/lib/latest/modules/sql_profile_module.rb index 71a735b637..9dc9ddb67c 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -40,12 +40,12 @@ module Mgmt Capabilities = Azure::SQL::Mgmt::V2014_04_01::Capabilities Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations + ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors DatabaseRecommendedActions = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseRecommendedActions DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors EncryptionProtectors = Azure::SQL::Mgmt::V2015_05_01_preview::EncryptionProtectors FailoverGroups = Azure::SQL::Mgmt::V2015_05_01_preview::FailoverGroups ManagedInstances = Azure::SQL::Mgmt::V2015_05_01_preview::ManagedInstances - ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors ServerKeys = Azure::SQL::Mgmt::V2015_05_01_preview::ServerKeys DatabaseAutomaticTuningOperations = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAutomaticTuningOperations SyncGroups = Azure::SQL::Mgmt::V2015_05_01_preview::SyncGroups @@ -68,19 +68,22 @@ module Mgmt JobAgents = Azure::SQL::Mgmt::V2017_03_01_preview::JobAgents JobCredentials = Azure::SQL::Mgmt::V2017_03_01_preview::JobCredentials RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints - 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 + JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions 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 ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations - JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases + JobExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobExecutions ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies module Models + ElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult + ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + ReplicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult LocationCapabilities = Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities CheckNameAvailabilityResponse = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityResponse RecommendedElasticPoolListMetricsResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListMetricsResult @@ -152,8 +155,8 @@ module Models CheckNameAvailabilityReason = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason MaxSizeUnits = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits PerformanceLevelUnit = Azure::SQL::Mgmt::V2014_04_01::Models::PerformanceLevelUnit - ServiceObjectiveName = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName ServerConnectionType = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType + ServiceObjectiveName = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName TransparentDataEncryptionStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus RecommendedIndexAction = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexAction DatabaseEdition = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition @@ -203,9 +206,6 @@ module Models ServerAdministratorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult EditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability ElasticPoolPerDatabaseMaxDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability - ElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult - ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability - ReplicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult RecommendedActionImplementationInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo RecommendedActionImpactRecord = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord ManagedInstanceUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceUpdate @@ -256,37 +256,40 @@ module Models Advisor = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor SyncMember = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember SyncAgentLinkedDatabase = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase - Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server SubscriptionUsage = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsage - SyncGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup + VirtualNetworkRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule + Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server AutoExecuteStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus ServerKey = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey - VirtualNetworkRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule - AutoExecuteStatusInheritedFrom = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom - AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus - RecommendedActionInitiatedBy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy ImplementationMethod = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod - IsRetryable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable + AutoExecuteStatusInheritedFrom = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom + SyncGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup AutomaticTuningDisabledReason = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason + IsRetryable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable + AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus RecommendedActionCurrentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState FailoverGroupReplicationRole = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole AutomaticTuningMode = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode ReadOnlyEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadOnlyEndpointFailoverPolicy - SyncGroupLogType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType + RecommendedActionInitiatedBy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy IdentityType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType ServerKeyType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType - SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState + ReadWriteEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy + SyncGroupLogType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType SyncConflictResolutionPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy SyncGroupState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupState SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState SyncMemberDbType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType - ReadWriteEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy - SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState + SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection + SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState FirewallRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult FirewallRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction + DatabaseVulnerabilityAssessmentRuleBaselineItem = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + JobStepOutput = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput ExtendedDatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy ExtendedServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy ServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy @@ -297,25 +300,25 @@ module Models JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule DataWarehouseUserActivities = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities JobAgent = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent + CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + JobExecution = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution JobCredential = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential - DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult + JobTargetGroup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup JobStep = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep - JobExecution = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution + LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup JobVersion = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion - JobTargetGroup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup + ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning ManagedDatabase = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase - LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup + ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias - ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + DatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus ManagementOperationState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState - ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy + JobAgentState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState CatalogCollationType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CatalogCollationType - DatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus - JobExecutionLifecycle = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult - JobScheduleType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType + JobExecutionLifecycle = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle JobTargetType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType - JobAgentState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState + JobScheduleType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType JobStepActionType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType JobStepActionSource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource JobStepOutputType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType @@ -341,10 +344,10 @@ module Models AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource SampleName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName - SecurityAlertPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState RestorePointType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType - JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + SecurityAlertPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState ProvisioningState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState + JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties @@ -366,14 +369,11 @@ module Models JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult - CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition - JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction - DatabaseVulnerabilityAssessmentRuleBaselineItem = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem - JobStepOutput = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput + DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult 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, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :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, :capabilities, :servers, :operations, :database_recommended_actions, :database_advisors, :encryption_protectors, :failover_groups, :managed_instances, :server_advisors, :server_keys, :database_automatic_tuning_operations, :sync_groups, :sync_agents, :subscription_usages, :sync_members, :virtual_network_rules, :firewall_rules, :database_blob_auditing_policies, :jobs, :backup_long_term_retention_policies, :databases, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_operations, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :restore_points, :job_executions, :job_step_executions, :job_steps, :job_target_groups, :job_versions, :long_term_retention_backups, :managed_databases, :server_automatic_tuning_operations, :job_target_executions, :server_dns_aliases, :server_security_alert_policies, :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, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :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, :capabilities, :servers, :operations, :server_advisors, :database_recommended_actions, :database_advisors, :encryption_protectors, :failover_groups, :managed_instances, :server_keys, :database_automatic_tuning_operations, :sync_groups, :sync_agents, :subscription_usages, :sync_members, :virtual_network_rules, :firewall_rules, :database_blob_auditing_policies, :jobs, :backup_long_term_retention_policies, :databases, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_operations, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :restore_points, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :managed_databases, :server_automatic_tuning_operations, :server_dns_aliases, :job_executions, :server_security_alert_policies, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -422,12 +422,12 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_1) @servers = @client_1.servers @operations = @client_1.operations + @server_advisors = @client_1.server_advisors @database_recommended_actions = @client_1.database_recommended_actions @database_advisors = @client_1.database_advisors @encryption_protectors = @client_1.encryption_protectors @failover_groups = @client_1.failover_groups @managed_instances = @client_1.managed_instances - @server_advisors = @client_1.server_advisors @server_keys = @client_1.server_keys @database_automatic_tuning_operations = @client_1.database_automatic_tuning_operations @sync_groups = @client_1.sync_groups @@ -456,16 +456,16 @@ def initialize(configurable, base_url=nil, options=nil) @job_agents = @client_2.job_agents @job_credentials = @client_2.job_credentials @restore_points = @client_2.restore_points - @job_executions = @client_2.job_executions @job_step_executions = @client_2.job_step_executions @job_steps = @client_2.job_steps + @job_target_executions = @client_2.job_target_executions @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 @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations - @job_target_executions = @client_2.job_target_executions @server_dns_aliases = @client_2.server_dns_aliases + @job_executions = @client_2.job_executions @server_security_alert_policies = @client_2.server_security_alert_policies @model_classes = ModelClasses.new @@ -489,6 +489,15 @@ def method_missing(method, *args) end class ModelClasses + def elastic_pool_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult + end + def elastic_pool_edition_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + end + def replication_link_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult + end def location_capabilities Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities end @@ -702,12 +711,12 @@ def max_size_units def performance_level_unit Azure::SQL::Mgmt::V2014_04_01::Models::PerformanceLevelUnit end - def service_objective_name - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName - end def server_connection_type Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType end + def service_objective_name + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName + end def transparent_data_encryption_status Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus end @@ -855,15 +864,6 @@ def edition_capability def elastic_pool_per_database_max_dtu_capability Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability end - def elastic_pool_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult - end - def elastic_pool_edition_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability - end - def replication_link_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult - end def recommended_action_implementation_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo end @@ -1014,14 +1014,14 @@ def sync_member def sync_agent_linked_database Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase end - def server - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server - end def subscription_usage Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsage end - def sync_group - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup + def virtual_network_rule + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule + end + def server + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server end def auto_execute_status Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus @@ -1029,26 +1029,23 @@ def auto_execute_status def server_key Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey end - def virtual_network_rule - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule + def implementation_method + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod end def auto_execute_status_inherited_from Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom end - def advisor_status - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus - end - def recommended_action_initiated_by - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy + def sync_group + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup end - def implementation_method - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod + def automatic_tuning_disabled_reason + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason end def is_retryable Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable end - def automatic_tuning_disabled_reason - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason + def advisor_status + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus end def recommended_action_current_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState @@ -1062,8 +1059,8 @@ def automatic_tuning_mode def read_only_endpoint_failover_policy Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadOnlyEndpointFailoverPolicy end - def sync_group_log_type - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType + def recommended_action_initiated_by + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy end def identity_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType @@ -1071,8 +1068,11 @@ def identity_type def server_key_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType end - def sync_member_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState + def read_write_endpoint_failover_policy + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy + 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 @@ -1086,14 +1086,14 @@ def sync_agent_state def sync_member_db_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType end - def read_write_endpoint_failover_policy - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy + def virtual_network_rule_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState end def sync_direction Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection end - def virtual_network_rule_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState + def sync_member_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState end def firewall_rule_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult @@ -1107,6 +1107,15 @@ def operation_origin def server_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult end + def job_step_action + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction + end + def database_vulnerability_assessment_rule_baseline_item + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + end + def job_step_output + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput + end def extended_database_blob_auditing_policy Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy end @@ -1137,62 +1146,62 @@ def data_warehouse_user_activities def job_agent Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent end + def complete_database_restore_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + end + def job_execution + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution + end def job_credential Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential end - def database_operation_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult + def job_target_group + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup end def job_step Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep end - def job_execution - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution + def long_term_retention_backup + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup end def job_version Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion end - def job_target_group - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup + def server_automatic_tuning + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning end def managed_database Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase end - def long_term_retention_backup - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup + def server_security_alert_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy end def server_dns_alias Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias end - def server_automatic_tuning - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + def database_status + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus end def management_operation_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState end - def server_security_alert_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy + def job_agent_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState end def catalog_collation_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::CatalogCollationType end - def database_status - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus - end - def job_execution_lifecycle - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle - end def database_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult end - def job_schedule_type - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType + def job_execution_lifecycle + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle end def job_target_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType end - def job_agent_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState + def job_schedule_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType end def job_step_action_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType @@ -1269,18 +1278,18 @@ def resource def sample_name Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName end - def security_alert_policy_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState - end def restore_point_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType end - def job_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + def security_alert_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState end def provisioning_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState end + def job_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + end def job_agent_update Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate end @@ -1344,17 +1353,8 @@ def import_export_database_definition def restore_point_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult end - def complete_database_restore_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition - end - def job_step_action - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction - end - def database_vulnerability_assessment_rule_baseline_item - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem - end - def job_step_output - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput + def database_operation_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult end end end diff --git a/azure_sdk/lib/latest/modules/storage_profile_module.rb b/azure_sdk/lib/latest/modules/storage_profile_module.rb index 8059b055b6..741e4b3aa4 100644 --- a/azure_sdk/lib/latest/modules/storage_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storage_profile_module.rb @@ -8,18 +8,20 @@ module Azure::Profiles::Latest module Storage module Mgmt Operations = Azure::Storage::Mgmt::V2018_03_01_preview::Operations + StorageAccounts = Azure::Storage::Mgmt::V2018_03_01_preview::StorageAccounts Skus = Azure::Storage::Mgmt::V2018_03_01_preview::Skus BlobContainers = Azure::Storage::Mgmt::V2018_03_01_preview::BlobContainers Usages = Azure::Storage::Mgmt::V2018_03_01_preview::Usages - StorageAccounts = Azure::Storage::Mgmt::V2018_03_01_preview::StorageAccounts module Models + KeySource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource + Bypass = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass + DefaultAction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction SignedResourceTypes = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes HttpProtocol = Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol SignedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource PublicAccess = Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess LeaseStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus - KeyPermission = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission LeaseState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState LeaseDuration = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState @@ -27,8 +29,8 @@ module Models Permissions = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions ServiceSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification State = Azure::Storage::Mgmt::V2018_03_01_preview::Models::State - OperationDisplay = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay Reason = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason + OperationDisplay = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay OperationListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult ProxyResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource Services = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services @@ -47,24 +49,25 @@ module Models Endpoints = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters CustomDomain = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain - Dimension = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension UsageName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName + StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters Usage = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage EncryptionServices = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices + Dimension = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension UsageListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult - Resource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource MetricSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification StorageAccount = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount - SkuName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName + Resource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource SkuTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier - StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters + SkuName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName Kind = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind AccessTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier AccountStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus ProvisioningState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState UsageUnit = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit Action = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action + KeyPermission = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission SKUCapability = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability AccountSasParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountSasParameters ListAccountSasResponse = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListAccountSasResponse @@ -88,13 +91,10 @@ module Models ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicy ListContainerItem = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItem ReasonCode = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode - KeySource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource - Bypass = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass - DefaultAction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction end class StorageManagementClass - attr_reader :operations, :skus, :blob_containers, :usages, :storage_accounts, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :storage_accounts, :skus, :blob_containers, :usages, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -105,10 +105,10 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @operations = @client_0.operations + @storage_accounts = @client_0.storage_accounts @skus = @client_0.skus @blob_containers = @client_0.blob_containers @usages = @client_0.usages - @storage_accounts = @client_0.storage_accounts @model_classes = ModelClasses.new end @@ -127,6 +127,15 @@ def method_missing(method, *args) end class ModelClasses + def key_source + Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource + end + def bypass + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass + end + def default_action + Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction + end def signed_resource_types Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes end @@ -142,9 +151,6 @@ def public_access def lease_status Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus end - def key_permission - Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission - end def lease_state Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState end @@ -166,12 +172,12 @@ def service_specification def state Azure::Storage::Mgmt::V2018_03_01_preview::Models::State end - def operation_display - Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay - end def reason Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason end + def operation_display + Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay + end def operation_list_result Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult end @@ -226,41 +232,41 @@ def storage_account_update_parameters def custom_domain Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain end - def dimension - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension - end def usage_name Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName end + def storage_account_create_parameters + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters + end def usage Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage end def encryption_services Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices end + def dimension + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension + end def usage_list_result Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult end def check_name_availability_result Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult end - def resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource - end def metric_specification Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification end def storage_account Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount end - def sku_name - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName + def resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource end def sku_tier Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier end - def storage_account_create_parameters - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters + def sku_name + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName end def kind Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind @@ -280,6 +286,9 @@ def usage_unit def action Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action end + def key_permission + Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission + end def skucapability Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability end @@ -349,15 +358,6 @@ def list_container_item def reason_code Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode end - def key_source - Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource - end - def bypass - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass - end - def default_action - Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction - 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 107fb87a73..1de4d20232 100644 --- a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb @@ -7,6 +7,9 @@ module Azure::Profiles::Latest module StorSimple8000Series module Mgmt + DeviceSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::DeviceSettings + BackupSchedules = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupSchedules + CloudAppliances = Azure::StorSimple8000Series::Mgmt::V2017_06_01::CloudAppliances HardwareComponentGroups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::HardwareComponentGroups Operations = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Operations Volumes = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Volumes @@ -20,11 +23,11 @@ module Mgmt AccessControlRecords = Azure::StorSimple8000Series::Mgmt::V2017_06_01::AccessControlRecords Alerts = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Alerts BandwidthSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BandwidthSettings - CloudAppliances = Azure::StorSimple8000Series::Mgmt::V2017_06_01::CloudAppliances - DeviceSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::DeviceSettings - BackupSchedules = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupSchedules module Models + AlertSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings + BandwidthSetting = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting + CloudApplianceConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration BackupSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule ControllerPowerStateChangeRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest HardwareComponentGroup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup @@ -87,8 +90,8 @@ module Models Job = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job Volume = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume BackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus - BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType Resource = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource + BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType Kind = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind AuthenticationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType Device = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device @@ -129,65 +132,62 @@ module Models CloudApplianceSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceSettings NetworkSettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettingsPatch NetworkInterfaceData0Settings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkInterfaceData0Settings + Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time HardwareComponentGroupList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroupList JobErrorItem = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorItem DeviceDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceDetails - Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time RemoteManagementSettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettingsPatch + JobStage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage DevicePatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DevicePatch WebproxySettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::WebproxySettings - JobStage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage - DNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DNSSettings + JobFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter JobList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobList + DNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DNSSettings AvailableProviderOperationList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationList - JobFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter BackupList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupList - BackupScheduleList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupScheduleList - ManagerIntrinsicSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerIntrinsicSettings ListFailoverTargetsRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest - Key = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key - ManagerSku = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerSku + ManagerIntrinsicSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerIntrinsicSettings BandwidthSettingList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList + Key = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key + CloneRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest NetworkAdapterList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapterList - CloudApplianceConfigurationList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfigurationList + BackupScheduleList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupScheduleList + 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 - CloneRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest + ManagerSku = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerSku + 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 - NetworkAdapters = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters + CloudApplianceConfigurationList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfigurationList + MetricAvailablity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity AvailableProviderOperationDisplay = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay - MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData - DeviceRolloverDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails + ManagerList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList + BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList ChapSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings - MetricDimension = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension - MetricAvailablity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity + DimensionFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter + SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings DeviceList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList - MetricDefinitionList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList - BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList + MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData + VolumeList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList MetricNameFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricNameFilter - VmImage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage - SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings + MetricDimension = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension + MetricFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter AlertFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertFilter + MetricDefinitionList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList Metrics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics - VolumeList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList MetricList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList - BandwidthSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule + VmImage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage MetricName = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName NicIPv4 = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv4 - AccessControlRecord = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord + BandwidthSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule DataStatistics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics - MetricFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + AccessControlRecord = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord Alert = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert Backup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Backup BackupPolicy = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy - AlertSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings - BandwidthSetting = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting - CloudApplianceConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration end class StorSimple8000SeriesManagementClass - attr_reader :hardware_component_groups, :operations, :volumes, :volume_containers, :backups, :storage_account_credentials, :jobs, :devices, :backup_policies, :managers, :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :device_settings, :backup_schedules, :configurable, :base_url, :options, :model_classes + attr_reader :device_settings, :backup_schedules, :cloud_appliances, :hardware_component_groups, :operations, :volumes, :volume_containers, :backups, :storage_account_credentials, :jobs, :devices, :backup_policies, :managers, :access_control_records, :alerts, :bandwidth_settings, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -197,6 +197,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @device_settings = @client_0.device_settings + @backup_schedules = @client_0.backup_schedules + @cloud_appliances = @client_0.cloud_appliances @hardware_component_groups = @client_0.hardware_component_groups @operations = @client_0.operations @volumes = @client_0.volumes @@ -210,9 +213,6 @@ def initialize(configurable, base_url=nil, options=nil) @access_control_records = @client_0.access_control_records @alerts = @client_0.alerts @bandwidth_settings = @client_0.bandwidth_settings - @cloud_appliances = @client_0.cloud_appliances - @device_settings = @client_0.device_settings - @backup_schedules = @client_0.backup_schedules @model_classes = ModelClasses.new end @@ -231,6 +231,15 @@ def method_missing(method, *args) end class ModelClasses + def alert_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings + end + def bandwidth_setting + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting + end + def cloud_appliance_configuration + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration + end def backup_schedule Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule end @@ -417,12 +426,12 @@ def volume def backup_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus end - def backup_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType - end def resource Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource end + def backup_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType + end def kind Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind end @@ -543,6 +552,9 @@ def network_settings_patch def network_interface_data0_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkInterfaceData0Settings end + def time + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time + end def hardware_component_group_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroupList end @@ -552,128 +564,125 @@ def job_error_item def device_details Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceDetails end - def time - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time - end def remote_management_settings_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettingsPatch end + def job_stage + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage + end def device_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DevicePatch end def webproxy_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::WebproxySettings end - def job_stage - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage - end - def dnssettings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DNSSettings + def job_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter end def job_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobList end + def dnssettings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DNSSettings + end def available_provider_operation_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationList end - def job_filter - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter - end def backup_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupList end - def backup_schedule_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupScheduleList + def list_failover_targets_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest end def manager_intrinsic_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerIntrinsicSettings end - def list_failover_targets_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest + def bandwidth_setting_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList end def key Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key end - def manager_sku - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerSku - end - def bandwidth_setting_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList + def clone_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest end def network_adapter_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapterList end - def cloud_appliance_configuration_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfigurationList + def backup_schedule_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupScheduleList + end + def network_adapters + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters end def security_settings_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettingsPatch end - def manager_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList + def manager_sku + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerSku end - def clone_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest + 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 + def cloud_appliance_configuration_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfigurationList end - def network_adapters - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters + def metric_availablity + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity end def available_provider_operation_display Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay end - def metric_data - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData + def manager_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList end - def device_rollover_details - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails + 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_dimension - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension + def dimension_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter end - def metric_availablity - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity + def secondary_dnssettings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings end def device_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList end - def metric_definition_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList + def metric_data + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData end - def backup_policy_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList + def volume_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList end def metric_name_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricNameFilter end - def vm_image - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage + def metric_dimension + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension end - def secondary_dnssettings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings + def metric_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter end def alert_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertFilter end + def metric_definition_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList + end def metrics Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics end - def volume_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList - end def metric_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList end - def bandwidth_schedule - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule + def vm_image + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage end def metric_name Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName @@ -681,14 +690,14 @@ def metric_name def nic_ipv4 Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv4 end - def access_control_record - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord + def bandwidth_schedule + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule end def data_statistics Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics end - def metric_filter - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + def access_control_record + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord end def alert Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert @@ -699,15 +708,6 @@ def backup def backup_policy Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy end - def alert_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings - end - def bandwidth_setting - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting - end - def cloud_appliance_configuration - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration - 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 6e98c0f218..e44e75df50 100644 --- a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb @@ -26,7 +26,7 @@ module Models AzureMachineLearningWebServiceInputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs FunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionBinding Diagnostics = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics - ReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource + FunctionOutput = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput DiagnosticCondition = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition OutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputDataSource InputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputProperties @@ -34,14 +34,14 @@ module Models ServiceBusDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusDataSourceProperties OutputListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputListResult FunctionInput = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionInput + Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku StartStreamingJobParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters BlobDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobDataSourceProperties FunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters - Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku AzureSqlDatabaseDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties + StreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource StreamingJobListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJobListResult InputListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputListResult - StreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource OAuthBasedDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OAuthBasedDataSourceProperties AzureMachineLearningWebServiceOutputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn @@ -49,11 +49,11 @@ 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 - Output = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output - Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation - JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + Output = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output + JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation AvroSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization Function = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function StreamingJob = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob @@ -62,13 +62,13 @@ module Models ScalarFunctionProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties AzureDataLakeStoreOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource JsonSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization - FunctionOutput = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput + EventHubDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties ServiceBusTopicOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource PowerBIOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource - EventHubDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties + 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 - DocumentDbOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource + ReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource BlobOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource EventHubOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource AzureTableOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource @@ -82,12 +82,12 @@ module Models AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters JavaScriptFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy - SkuName = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName + OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode EventsOutOfOrderPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy UdfType = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType CompatibilityLevel = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel - OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode JsonOutputSerializationFormat = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat + SkuName = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName end class StreamAnalyticsManagementClass @@ -156,8 +156,8 @@ def function_binding def diagnostics Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics end - def reference_input_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource + def function_output + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput end def diagnostic_condition Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition @@ -180,6 +180,9 @@ def output_list_result def function_input Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionInput end + def sku + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku + end def start_streaming_job_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters end @@ -189,21 +192,18 @@ def blob_data_source_properties def function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters end - def sku - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku - end def azure_sql_database_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties end + def stream_input_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource + end def streaming_job_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJobListResult end def input_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputListResult end - def stream_input_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource - end def sub_resource Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource end @@ -225,20 +225,20 @@ def input def function_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult end + def resource + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource + end + def storage_account + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + end def output Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output end - def transformation - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation - end def java_script_function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding end - def resource - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource - end - def storage_account - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + def transformation + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation end def avro_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization @@ -264,8 +264,8 @@ def azure_data_lake_store_output_data_source def json_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization end - def function_output - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput + def event_hub_data_source_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties end def service_bus_topic_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource @@ -273,8 +273,8 @@ def service_bus_topic_output_data_source def power_bioutput_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource end - def event_hub_data_source_properties - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties + def document_db_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource end def azure_sql_database_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource @@ -282,8 +282,8 @@ def azure_sql_database_output_data_source 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 reference_input_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource end def blob_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource @@ -324,8 +324,8 @@ def java_script_function_retrieve_default_definition_parameters def output_error_policy Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy end - def sku_name - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName + 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 @@ -336,12 +336,12 @@ def udf_type def compatibility_level Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel end - def output_start_mode - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode - end def json_output_serialization_format Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat end + def sku_name + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName + end end end end diff --git a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb index 82659e0d14..023cf66144 100644 --- a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb +++ b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb @@ -11,13 +11,13 @@ module Mgmt Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models + Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult SubscriptionPolicies = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies - Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit end @@ -53,6 +53,9 @@ def method_missing(method, *args) end class ModelClasses + def location + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location + end def subscription Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription end @@ -71,9 +74,6 @@ def tenant_list_result def subscription_policies Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies end - def location - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location - end def subscription_state Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState end diff --git a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb index f4bbad3ddf..d866ccdc8c 100644 --- a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb @@ -8,6 +8,9 @@ module Azure::Profiles::Latest module TextAnalytics module Models + LanguageBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem + LanguageBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult + ErrorRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem MultiLanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput SentimentBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult @@ -20,9 +23,6 @@ module Models BatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::BatchInput KeyPhraseBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem KeyPhraseBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult - LanguageBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem - LanguageBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult - ErrorRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord end class TextAnalyticsDataClass @@ -54,6 +54,15 @@ def method_missing(method, *args) end class ModelClasses + def language_batch_result_item + Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem + end + def language_batch_result + Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult + end + def error_record + Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord + end def sentiment_batch_result_item Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem end @@ -90,15 +99,6 @@ def key_phrase_batch_result_item def key_phrase_batch_result Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult end - def language_batch_result_item - Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem - end - def language_batch_result - Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult - end - def error_record - Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord - end end end end diff --git a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb index 168e4f43e8..a52d1ae75c 100644 --- a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb +++ b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb @@ -8,8 +8,8 @@ module Azure::Profiles::Latest module TrafficManager module Mgmt Endpoints = Azure::TrafficManager::Mgmt::V2017_05_01::Endpoints - GeographicHierarchies = Azure::TrafficManager::Mgmt::V2017_05_01::GeographicHierarchies Profiles = Azure::TrafficManager::Mgmt::V2017_05_01::Profiles + GeographicHierarchies = Azure::TrafficManager::Mgmt::V2017_05_01::GeographicHierarchies HeatMap = Azure::TrafficManager::Mgmt::V2017_09_01_preview::HeatMap TrafficManagerUserMetricsKeys = Azure::TrafficManager::Mgmt::V2017_09_01_preview::TrafficManagerUserMetricsKeys @@ -26,22 +26,22 @@ module Models MonitorProtocol = Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorProtocol Profile = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile ProfileListResult = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult - ProfileStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileStatus Endpoint = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint + ProfileStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileStatus TrafficRoutingMethod = Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficRoutingMethod + QueryExperience = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience + ProxyResource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::ProxyResource + HeatMapModel = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapModel TrafficManagerUserMetricsKeyModel = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel TrackedResource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource DeleteOperationResult = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::DeleteOperationResult Resource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::Resource HeatMapEndpoint = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint TrafficFlow = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficFlow - QueryExperience = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience - ProxyResource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::ProxyResource - HeatMapModel = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapModel end class TrafficManagerManagementClass - attr_reader :endpoints, :geographic_hierarchies, :profiles, :heat_map, :traffic_manager_user_metrics_keys, :configurable, :base_url, :options, :model_classes + attr_reader :endpoints, :profiles, :geographic_hierarchies, :heat_map, :traffic_manager_user_metrics_keys, :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) end add_telemetry(@client_0) @endpoints = @client_0.endpoints - @geographic_hierarchies = @client_0.geographic_hierarchies @profiles = @client_0.profiles + @geographic_hierarchies = @client_0.geographic_hierarchies @client_1 = Azure::TrafficManager::Mgmt::V2017_09_01_preview::TrafficManagerManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @@ -118,15 +118,24 @@ def profile def profile_list_result Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult end - def profile_status - Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileStatus - end def endpoint Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint end + def profile_status + Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileStatus + end def traffic_routing_method Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficRoutingMethod end + def query_experience + Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience + end + def proxy_resource + Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::ProxyResource + end + def heat_map_model + Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapModel + end def traffic_manager_user_metrics_key_model Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel end @@ -145,15 +154,6 @@ def heat_map_endpoint def traffic_flow Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficFlow end - def query_experience - Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience - end - def proxy_resource - Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::ProxyResource - end - def heat_map_model - Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapModel - end end end end diff --git a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb index 336743e456..8bf55ac6ec 100644 --- a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb @@ -9,6 +9,7 @@ module VideoSearch VideosOperations = Azure::CognitiveServices::VideoSearch::V1_0::VideosOperations module Models + ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject TrendingVideosCategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory TrendingVideosSubcategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory @@ -19,8 +20,8 @@ module Models VideoDetails = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails VideoQueryScenario = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario VideoLength = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength - VideoPricing = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response + VideoPricing = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing VideoResolution = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule ResponseBase = Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase @@ -38,9 +39,8 @@ module Models SafeSearch = Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse - Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error - ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness end class VideoSearchDataClass @@ -73,6 +73,9 @@ def method_missing(method, *args) end class ModelClasses + def image_object + Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + end def media_object Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject end @@ -103,12 +106,12 @@ def video_query_scenario def video_length Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength end - def video_pricing - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing - end def response Azure::CognitiveServices::VideoSearch::V1_0::Models::Response end + def video_pricing + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing + end def video_resolution Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution end @@ -160,14 +163,11 @@ def text_format def error_response Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse end - def freshness - Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness - end def error Azure::CognitiveServices::VideoSearch::V1_0::Models::Error end - def image_object - Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + def freshness + Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness end end end diff --git a/azure_sdk/lib/latest/modules/web_profile_module.rb b/azure_sdk/lib/latest/modules/web_profile_module.rb index c3e9611dbe..7f90cf6509 100644 --- a/azure_sdk/lib/latest/modules/web_profile_module.rb +++ b/azure_sdk/lib/latest/modules/web_profile_module.rb @@ -7,45 +7,45 @@ module Azure::Profiles::Latest module Web module Mgmt + DomainRegistrationProvider = Azure::Web::Mgmt::V2015_04_01::DomainRegistrationProvider TopLevelDomains = Azure::Web::Mgmt::V2015_04_01::TopLevelDomains Domains = Azure::Web::Mgmt::V2015_04_01::Domains - DomainRegistrationProvider = Azure::Web::Mgmt::V2015_04_01::DomainRegistrationProvider - CertificateRegistrationProvider = Azure::Web::Mgmt::V2015_08_01::CertificateRegistrationProvider AppServiceCertificateOrders = Azure::Web::Mgmt::V2015_08_01::AppServiceCertificateOrders + CertificateRegistrationProvider = Azure::Web::Mgmt::V2015_08_01::CertificateRegistrationProvider + Diagnostics = Azure::Web::Mgmt::V2016_03_01::Diagnostics + Provider = Azure::Web::Mgmt::V2016_03_01::Provider DeletedWebApps = Azure::Web::Mgmt::V2016_03_01::DeletedWebApps Recommendations = Azure::Web::Mgmt::V2016_03_01::Recommendations Certificates = Azure::Web::Mgmt::V2016_03_01::Certificates - Diagnostics = Azure::Web::Mgmt::V2016_03_01::Diagnostics - Provider = Azure::Web::Mgmt::V2016_03_01::Provider WebApps = Azure::Web::Mgmt::V2016_08_01::WebApps AppServiceEnvironments = Azure::Web::Mgmt::V2016_09_01::AppServiceEnvironments AppServicePlans = Azure::Web::Mgmt::V2016_09_01::AppServicePlans module Models - TopLevelDomain = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain DomainStatus = Azure::Web::Mgmt::V2015_04_01::Models::DomainStatus DnsType = Azure::Web::Mgmt::V2015_04_01::Models::DnsType + TopLevelDomain = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain DomainType = Azure::Web::Mgmt::V2015_04_01::Models::DomainType - DomainOwnershipIdentifier = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier - DomainPatchResource = Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource ErrorResponse = Azure::Web::Mgmt::V2015_04_01::Models::ErrorResponse Domain = Azure::Web::Mgmt::V2015_04_01::Models::Domain Contact = Azure::Web::Mgmt::V2015_04_01::Models::Contact DomainPurchaseConsent = Azure::Web::Mgmt::V2015_04_01::Models::DomainPurchaseConsent DomainAvailablilityCheckResult = Azure::Web::Mgmt::V2015_04_01::Models::DomainAvailablilityCheckResult DomainControlCenterSsoRequest = Azure::Web::Mgmt::V2015_04_01::Models::DomainControlCenterSsoRequest + DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection DomainRecommendationSearchParameters = Azure::Web::Mgmt::V2015_04_01::Models::DomainRecommendationSearchParameters NameIdentifierCollection = Azure::Web::Mgmt::V2015_04_01::Models::NameIdentifierCollection - DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection - Address = Azure::Web::Mgmt::V2015_04_01::Models::Address - TopLevelDomainCollection = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainCollection HostName = Azure::Web::Mgmt::V2015_04_01::Models::HostName + TopLevelDomainCollection = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainCollection + Address = Azure::Web::Mgmt::V2015_04_01::Models::Address DomainCollection = Azure::Web::Mgmt::V2015_04_01::Models::DomainCollection TldLegalAgreement = Azure::Web::Mgmt::V2015_04_01::Models::TldLegalAgreement TopLevelDomainAgreementOption = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainAgreementOption TldLegalAgreementCollection = Azure::Web::Mgmt::V2015_04_01::Models::TldLegalAgreementCollection + DomainOwnershipIdentifier = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier + DomainPatchResource = Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource CertificateEmail = Azure::Web::Mgmt::V2015_08_01::Models::CertificateEmail - CertificateOrderAction = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction + ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest RenewCertificateOrderRequest = Azure::Web::Mgmt::V2015_08_01::Models::RenewCertificateOrderRequest CertificateProductType = Azure::Web::Mgmt::V2015_08_01::Models::CertificateProductType CertificateOrderStatus = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderStatus @@ -53,22 +53,23 @@ module Models AppServiceCertificateCollection = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateCollection AppServiceCertificateOrderCollection = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrderCollection SiteSealRequest = Azure::Web::Mgmt::V2015_08_01::Models::SiteSealRequest - AppServiceCertificateOrder = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder SiteSeal = Azure::Web::Mgmt::V2015_08_01::Models::SiteSeal CertificateDetails = Azure::Web::Mgmt::V2015_08_01::Models::CertificateDetails - ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest + AppServiceCertificateOrder = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder AppServiceCertificateOrderPatchResource = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrderPatchResource + CertificateOrderAction = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction AppServiceCertificatePatchResource = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificatePatchResource CertificateOrderActionType = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderActionType AppServiceCertificateResource = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource + CheckNameResourceTypes = Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes SolutionType = Azure::Web::Mgmt::V2016_03_01::Models::SolutionType ResourceScopeType = Azure::Web::Mgmt::V2016_03_01::Models::ResourceScopeType NotificationLevel = Azure::Web::Mgmt::V2016_03_01::Models::NotificationLevel VnetValidationFailureDetails = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails MetricAvailability = Azure::Web::Mgmt::V2016_03_01::Models::MetricAvailability ServiceSpecification = Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification - CheckNameResourceTypes = Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes Channels = Azure::Web::Mgmt::V2016_03_01::Models::Channels + InAvailabilityReasonType = Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType IssueType = Azure::Web::Mgmt::V2016_03_01::Models::IssueType KeyVaultSecretStatus = Azure::Web::Mgmt::V2016_03_01::Models::KeyVaultSecretStatus SkuName = Azure::Web::Mgmt::V2016_03_01::Models::SkuName @@ -123,45 +124,45 @@ module Models CsmOperationDescription = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription CsmOperationDescriptionProperties = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties ValidateResourceTypes = Azure::Web::Mgmt::V2016_03_01::Models::ValidateResourceTypes - InAvailabilityReasonType = Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType + FunctionSecrets = Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets PublicCertificate = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificate - RestoreResponse = Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse + RestoreRequest = Azure::Web::Mgmt::V2016_08_01::Models::RestoreRequest SiteAuthSettings = Azure::Web::Mgmt::V2016_08_01::Models::SiteAuthSettings MigrateMySqlStatus = Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlStatus SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfo SiteInstance = Azure::Web::Mgmt::V2016_08_01::Models::SiteInstance ProcessThreadInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfo - ProcessModuleInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo + SitePatchResource = Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource SitePhpErrorLogFlag = Azure::Web::Mgmt::V2016_08_01::Models::SitePhpErrorLogFlag - SlotConfigNamesResource = Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource + RestoreResponse = Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse SlotDifference = Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference SiteConfigResource = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource StorageMigrationResponse = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationResponse SiteExtensionInfo = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfo TriggeredJobRun = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobRun TriggeredJobHistory = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistory - SitePatchResource = Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource + TriggeredWebJob = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob WebJob = Azure::Web::Mgmt::V2016_08_01::Models::WebJob SiteSourceControl = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl - BackupItemStatus = Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus + SlotConfigNamesResource = Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource StorageMigrationOptions = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions StringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::StringDictionary - TriggeredWebJob = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob + DnsVerificationTestResult = Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult AzureResourceType = Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType LogLevel = Azure::Web::Mgmt::V2016_08_01::Models::LogLevel - HostNameType = Azure::Web::Mgmt::V2016_08_01::Models::HostNameType FrequencyUnit = Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit BackupRestoreOperationType = Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType + ContinuousWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus PublishingProfileFormat = Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat - DnsVerificationTestResult = Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + HostNameType = Azure::Web::Mgmt::V2016_08_01::Models::HostNameType MSDeployLogEntryType = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType MySqlMigrationType = Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType - PublicCertificateLocation = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + BackupItemStatus = Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus DatabaseType = Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType Snapshot = Azure::Web::Mgmt::V2016_08_01::Models::Snapshot CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType - ContinuousWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus WebJobType = Azure::Web::Mgmt::V2016_08_01::Models::WebJobType + PublicCertificateLocation = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation UnauthenticatedClientAction = Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider CloneAbilityResult = Azure::Web::Mgmt::V2016_08_01::Models::CloneAbilityResult @@ -187,25 +188,25 @@ module Models PerfMonSet = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSet SiteCloneabilityCriterion = Azure::Web::Mgmt::V2016_08_01::Models::SiteCloneabilityCriterion HostNameBindingCollection = Azure::Web::Mgmt::V2016_08_01::Models::HostNameBindingCollection + WebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::WebJobCollection SiteCloneability = Azure::Web::Mgmt::V2016_08_01::Models::SiteCloneability - ContinuousWebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobCollection FileSystemApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::FileSystemApplicationLogsConfig + FileSystemHttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::FileSystemHttpLogsConfig + ContinuousWebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobCollection + HttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig PerfMonCounterCollection = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonCounterCollection - WebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::WebJobCollection + AzureBlobStorageHttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig + MSDeployLogEntry = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntry SlotDifferenceCollection = Azure::Web::Mgmt::V2016_08_01::Models::SlotDifferenceCollection - FileSystemHttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::FileSystemHttpLogsConfig AzureBlobStorageApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageApplicationLogsConfig - MSDeployLogEntry = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntry - FunctionEnvelopeCollection = Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection - DeploymentCollection = Azure::Web::Mgmt::V2016_08_01::Models::DeploymentCollection - AzureBlobStorageHttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig + SiteConfigurationSnapshotInfoCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection SiteConfigResourceCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResourceCollection PerfMonSample = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSample PerfMonResponse = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonResponse - SiteConfigurationSnapshotInfoCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection - HttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig - ConnectionStringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary + DeploymentCollection = Azure::Web::Mgmt::V2016_08_01::Models::DeploymentCollection CsmSlotEntity = Azure::Web::Mgmt::V2016_08_01::Models::CsmSlotEntity + FunctionEnvelopeCollection = Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection + CustomHostnameAnalysisResult = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult BackupItem = Azure::Web::Mgmt::V2016_08_01::Models::BackupItem ContinuousWebJob = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJob FunctionEnvelope = Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelope @@ -213,9 +214,9 @@ module Models MSDeployLog = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLog MigrateMySqlRequest = Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlRequest SiteExtensionInfoCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection - PremierAddOn = Azure::Web::Mgmt::V2016_08_01::Models::PremierAddOn + ConnectionStringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary MSDeployStatus = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployStatus - CustomHostnameAnalysisResult = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult + ProcessModuleInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo NetworkFeatures = Azure::Web::Mgmt::V2016_08_01::Models::NetworkFeatures Deployment = Azure::Web::Mgmt::V2016_08_01::Models::Deployment RelayServiceConnectionEntity = Azure::Web::Mgmt::V2016_08_01::Models::RelayServiceConnectionEntity @@ -224,15 +225,16 @@ module Models BackupRequest = Azure::Web::Mgmt::V2016_08_01::Models::BackupRequest SiteLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::SiteLogsConfig BackupSchedule = Azure::Web::Mgmt::V2016_08_01::Models::BackupSchedule - RestoreRequest = Azure::Web::Mgmt::V2016_08_01::Models::RestoreRequest - FunctionSecrets = Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets + PremierAddOn = Azure::Web::Mgmt::V2016_08_01::Models::PremierAddOn + VnetRoute = Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute + VnetInfo = Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo + VnetGateway = Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway SnapshotRecoveryRequest = Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryRequest ResourceMetricDefinition = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinition PushSettings = Azure::Web::Mgmt::V2016_09_01::Models::PushSettings HybridConnectionKey = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionKey Site = Azure::Web::Mgmt::V2016_09_01::Models::Site AppServicePlan = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan - VnetGateway = Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway RouteType = Azure::Web::Mgmt::V2016_09_01::Models::RouteType AutoHealActionType = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActionType ConnectionStringType = Azure::Web::Mgmt::V2016_09_01::Models::ConnectionStringType @@ -259,11 +261,11 @@ module Models VirtualIPMapping = Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping StampCapacity = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection - NetworkAccessControlEntry = Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics + AddressResponse = Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse SkuInfoCollection = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection + NetworkAccessControlEntry = Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry ResourceCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection - AddressResponse = Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse WorkerPoolCollection = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection HybridConnectionCollection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection MetricAvailabilily = Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily @@ -280,10 +282,10 @@ module Models WebAppCollection = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection StampCapacityCollection = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection HybridConnectionLimits = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits - AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource + ManagedServiceIdentity = Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity WorkerPoolResource = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource ResourceMetricValue = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue - ManagedServiceIdentity = Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity + AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource CsmUsageQuota = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota AppServicePlanPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource SlotSwapStatus = Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus @@ -291,17 +293,17 @@ module Models HostingEnvironmentProfile = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile HostingEnvironmentStatus = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus IpSecurityRestriction = Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction - InternalLoadBalancingMode = Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode + ComputeModeOptions = Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions ApiDefinitionInfo = Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo WorkerSizeOptions = Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions CorsSettings = Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings AutoHealCustomAction = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction - ComputeModeOptions = Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions AutoHealActions = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions AccessControlEntryAction = Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction SlowRequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger StatusCodesBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger RequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger + InternalLoadBalancingMode = Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode SiteConfig = Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig SnapshotRecoveryTarget = Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryTarget ResourceMetricAvailability = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricAvailability @@ -321,13 +323,11 @@ module Models VirtualApplication = Azure::Web::Mgmt::V2016_09_01::Models::VirtualApplication HandlerMapping = Azure::Web::Mgmt::V2016_09_01::Models::HandlerMapping SiteMachineKey = Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey - VnetRoute = Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute - VnetInfo = Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo Identifier = Azure::Web::Mgmt::V2016_09_01::Models::Identifier end class WebManagementClass - attr_reader :top_level_domains, :domains, :domain_registration_provider, :certificate_registration_provider, :app_service_certificate_orders, :deleted_web_apps, :recommendations, :certificates, :diagnostics, :provider, :web_apps, :app_service_environments, :app_service_plans, :configurable, :base_url, :options, :model_classes + attr_reader :domain_registration_provider, :top_level_domains, :domains, :app_service_certificate_orders, :certificate_registration_provider, :diagnostics, :provider, :deleted_web_apps, :recommendations, :certificates, :web_apps, :app_service_environments, :app_service_plans, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -337,28 +337,28 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @domain_registration_provider = @client_0.domain_registration_provider @top_level_domains = @client_0.top_level_domains @domains = @client_0.domains - @domain_registration_provider = @client_0.domain_registration_provider @client_1 = Azure::Web::Mgmt::V2015_08_01::WebSiteManagementClient.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) - @certificate_registration_provider = @client_1.certificate_registration_provider @app_service_certificate_orders = @client_1.app_service_certificate_orders + @certificate_registration_provider = @client_1.certificate_registration_provider @client_2 = Azure::Web::Mgmt::V2016_03_01::WebSiteManagementClient.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) + @diagnostics = @client_2.diagnostics + @provider = @client_2.provider @deleted_web_apps = @client_2.deleted_web_apps @recommendations = @client_2.recommendations @certificates = @client_2.certificates - @diagnostics = @client_2.diagnostics - @provider = @client_2.provider @client_3 = Azure::Web::Mgmt::V2016_08_01::WebSiteManagementClient.new(configurable.credentials, base_url, options) if(@client_3.respond_to?(:subscription_id)) @@ -400,24 +400,18 @@ def method_missing(method, *args) end class ModelClasses - def top_level_domain - Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain - end def domain_status Azure::Web::Mgmt::V2015_04_01::Models::DomainStatus end def dns_type Azure::Web::Mgmt::V2015_04_01::Models::DnsType end + def top_level_domain + Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain + end def domain_type Azure::Web::Mgmt::V2015_04_01::Models::DomainType end - def domain_ownership_identifier - Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier - end - def domain_patch_resource - Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource - end def error_response Azure::Web::Mgmt::V2015_04_01::Models::ErrorResponse end @@ -436,23 +430,23 @@ def domain_availablility_check_result def domain_control_center_sso_request Azure::Web::Mgmt::V2015_04_01::Models::DomainControlCenterSsoRequest end + def domain_ownership_identifier_collection + Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection + end def domain_recommendation_search_parameters Azure::Web::Mgmt::V2015_04_01::Models::DomainRecommendationSearchParameters end def name_identifier_collection Azure::Web::Mgmt::V2015_04_01::Models::NameIdentifierCollection end - def domain_ownership_identifier_collection - Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection - end - def address - Azure::Web::Mgmt::V2015_04_01::Models::Address + def host_name + Azure::Web::Mgmt::V2015_04_01::Models::HostName end def top_level_domain_collection Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainCollection end - def host_name - Azure::Web::Mgmt::V2015_04_01::Models::HostName + def address + Azure::Web::Mgmt::V2015_04_01::Models::Address end def domain_collection Azure::Web::Mgmt::V2015_04_01::Models::DomainCollection @@ -466,11 +460,17 @@ def top_level_domain_agreement_option def tld_legal_agreement_collection Azure::Web::Mgmt::V2015_04_01::Models::TldLegalAgreementCollection end + def domain_ownership_identifier + Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier + end + def domain_patch_resource + Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource + end def certificate_email Azure::Web::Mgmt::V2015_08_01::Models::CertificateEmail end - def certificate_order_action - Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction + def reissue_certificate_order_request + Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest end def renew_certificate_order_request Azure::Web::Mgmt::V2015_08_01::Models::RenewCertificateOrderRequest @@ -493,21 +493,21 @@ def app_service_certificate_order_collection def site_seal_request Azure::Web::Mgmt::V2015_08_01::Models::SiteSealRequest end - def app_service_certificate_order - Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder - end def site_seal Azure::Web::Mgmt::V2015_08_01::Models::SiteSeal end def certificate_details Azure::Web::Mgmt::V2015_08_01::Models::CertificateDetails end - def reissue_certificate_order_request - Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest + def app_service_certificate_order + Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder end def app_service_certificate_order_patch_resource Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrderPatchResource end + def certificate_order_action + Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction + end def app_service_certificate_patch_resource Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificatePatchResource end @@ -517,6 +517,9 @@ def certificate_order_action_type def app_service_certificate_resource Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource end + def check_name_resource_types + Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes + end def solution_type Azure::Web::Mgmt::V2016_03_01::Models::SolutionType end @@ -535,12 +538,12 @@ def metric_availability def service_specification Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification end - def check_name_resource_types - Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes - end def channels Azure::Web::Mgmt::V2016_03_01::Models::Channels end + def in_availability_reason_type + Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType + end def issue_type Azure::Web::Mgmt::V2016_03_01::Models::IssueType end @@ -703,14 +706,14 @@ def csm_operation_description_properties def validate_resource_types Azure::Web::Mgmt::V2016_03_01::Models::ValidateResourceTypes end - def in_availability_reason_type - Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType + def function_secrets + Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets end def public_certificate Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificate end - def restore_response - Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse + def restore_request + Azure::Web::Mgmt::V2016_08_01::Models::RestoreRequest end def site_auth_settings Azure::Web::Mgmt::V2016_08_01::Models::SiteAuthSettings @@ -727,14 +730,14 @@ def site_instance def process_thread_info Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfo end - def process_module_info - Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo + def site_patch_resource + Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource end def site_php_error_log_flag Azure::Web::Mgmt::V2016_08_01::Models::SitePhpErrorLogFlag end - def slot_config_names_resource - Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource + def restore_response + Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse end def slot_difference Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference @@ -754,8 +757,8 @@ def triggered_job_run def triggered_job_history Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistory end - def site_patch_resource - Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource + def triggered_web_job + Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob end def web_job Azure::Web::Mgmt::V2016_08_01::Models::WebJob @@ -763,8 +766,8 @@ def web_job def site_source_control Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl end - def backup_item_status - Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus + def slot_config_names_resource + Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource end def storage_migration_options Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions @@ -772,8 +775,8 @@ def storage_migration_options def string_dictionary Azure::Web::Mgmt::V2016_08_01::Models::StringDictionary end - def triggered_web_job - Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob + def dns_verification_test_result + Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult end def azure_resource_type Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType @@ -781,20 +784,20 @@ def azure_resource_type def log_level Azure::Web::Mgmt::V2016_08_01::Models::LogLevel end - def host_name_type - Azure::Web::Mgmt::V2016_08_01::Models::HostNameType - end def frequency_unit Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit end def backup_restore_operation_type Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType end + def continuous_web_job_status + Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus + end def publishing_profile_format Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat end - def dns_verification_test_result - Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + def host_name_type + Azure::Web::Mgmt::V2016_08_01::Models::HostNameType end def msdeploy_log_entry_type Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType @@ -802,8 +805,8 @@ def msdeploy_log_entry_type def my_sql_migration_type Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType end - def public_certificate_location - Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + def backup_item_status + Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus end def database_type Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType @@ -814,12 +817,12 @@ def snapshot def custom_host_name_dns_record_type Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType end - def continuous_web_job_status - Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus - end def web_job_type Azure::Web::Mgmt::V2016_08_01::Models::WebJobType end + def public_certificate_location + Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + end def unauthenticated_client_action Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction end @@ -895,41 +898,41 @@ def site_cloneability_criterion def host_name_binding_collection Azure::Web::Mgmt::V2016_08_01::Models::HostNameBindingCollection end + def web_job_collection + Azure::Web::Mgmt::V2016_08_01::Models::WebJobCollection + end def site_cloneability Azure::Web::Mgmt::V2016_08_01::Models::SiteCloneability end + def file_system_application_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::FileSystemApplicationLogsConfig + end + def file_system_http_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::FileSystemHttpLogsConfig + end def continuous_web_job_collection Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobCollection end - def file_system_application_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::FileSystemApplicationLogsConfig + def http_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig end def perf_mon_counter_collection Azure::Web::Mgmt::V2016_08_01::Models::PerfMonCounterCollection end - def web_job_collection - Azure::Web::Mgmt::V2016_08_01::Models::WebJobCollection + def azure_blob_storage_http_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig + end + def msdeploy_log_entry + Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntry end def slot_difference_collection Azure::Web::Mgmt::V2016_08_01::Models::SlotDifferenceCollection end - def file_system_http_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::FileSystemHttpLogsConfig - end def azure_blob_storage_application_logs_config Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageApplicationLogsConfig end - def msdeploy_log_entry - Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntry - end - def function_envelope_collection - Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection - end - def deployment_collection - Azure::Web::Mgmt::V2016_08_01::Models::DeploymentCollection - end - def azure_blob_storage_http_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig + def site_configuration_snapshot_info_collection + Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection end def site_config_resource_collection Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResourceCollection @@ -940,18 +943,18 @@ def perf_mon_sample def perf_mon_response Azure::Web::Mgmt::V2016_08_01::Models::PerfMonResponse end - def site_configuration_snapshot_info_collection - Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection - end - def http_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig - end - def connection_string_dictionary - Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary + def deployment_collection + Azure::Web::Mgmt::V2016_08_01::Models::DeploymentCollection end def csm_slot_entity Azure::Web::Mgmt::V2016_08_01::Models::CsmSlotEntity end + def function_envelope_collection + Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection + end + def custom_hostname_analysis_result + Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult + end def backup_item Azure::Web::Mgmt::V2016_08_01::Models::BackupItem end @@ -973,14 +976,14 @@ def migrate_my_sql_request def site_extension_info_collection Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection end - def premier_add_on - Azure::Web::Mgmt::V2016_08_01::Models::PremierAddOn + def connection_string_dictionary + Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary end def msdeploy_status Azure::Web::Mgmt::V2016_08_01::Models::MSDeployStatus end - def custom_hostname_analysis_result - Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult + def process_module_info + Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo end def network_features Azure::Web::Mgmt::V2016_08_01::Models::NetworkFeatures @@ -1006,11 +1009,17 @@ def site_logs_config def backup_schedule Azure::Web::Mgmt::V2016_08_01::Models::BackupSchedule end - def restore_request - Azure::Web::Mgmt::V2016_08_01::Models::RestoreRequest + def premier_add_on + Azure::Web::Mgmt::V2016_08_01::Models::PremierAddOn end - def function_secrets - Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets + def vnet_route + Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute + end + def vnet_info + Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo + end + def vnet_gateway + Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway end def snapshot_recovery_request Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryRequest @@ -1030,9 +1039,6 @@ def site def app_service_plan Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan end - def vnet_gateway - Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway - end def route_type Azure::Web::Mgmt::V2016_09_01::Models::RouteType end @@ -1111,21 +1117,21 @@ def stamp_capacity def app_service_environment_collection Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection end - def network_access_control_entry - Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry - end def hosting_environment_diagnostics Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics end + def address_response + Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse + end def sku_info_collection Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection end + def network_access_control_entry + Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry + end def resource_collection Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection end - def address_response - Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse - end def worker_pool_collection Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection end @@ -1174,8 +1180,8 @@ def stamp_capacity_collection def hybrid_connection_limits Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits end - def app_service_environment_patch_resource - Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource + def managed_service_identity + Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity end def worker_pool_resource Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource @@ -1183,8 +1189,8 @@ def worker_pool_resource def resource_metric_value Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue end - def managed_service_identity - Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity + def app_service_environment_patch_resource + Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource end def csm_usage_quota Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota @@ -1207,8 +1213,8 @@ def hosting_environment_status def ip_security_restriction Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction end - def internal_load_balancing_mode - Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode + def compute_mode_options + Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions end def api_definition_info Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo @@ -1222,9 +1228,6 @@ def cors_settings def auto_heal_custom_action Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction end - def compute_mode_options - Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions - end def auto_heal_actions Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions end @@ -1240,6 +1243,9 @@ def status_codes_based_trigger def requests_based_trigger Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger end + def internal_load_balancing_mode + Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode + end def site_config Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig end @@ -1297,12 +1303,6 @@ def handler_mapping def site_machine_key Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey end - def vnet_route - Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute - end - def vnet_info - Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo - end def identifier Azure::Web::Mgmt::V2016_09_01::Models::Identifier end diff --git a/azure_sdk/lib/latest/modules/websearch_profile_module.rb b/azure_sdk/lib/latest/modules/websearch_profile_module.rb index b256258621..b88f52cada 100644 --- a/azure_sdk/lib/latest/modules/websearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/websearch_profile_module.rb @@ -9,6 +9,7 @@ module WebSearch Web = Azure::CognitiveServices::WebSearch::V1_0::Web 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 @@ -20,36 +21,35 @@ module Models NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle 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 WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping + Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query + ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase TimeZoneTimeZoneInformation = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation + Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage - Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable - Answer = Azure::CognitiveServices::WebSearch::V1_0::Models::Answer - Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork - RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse - SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer + Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject - Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation - QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext - SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions + Answer = Azure::CognitiveServices::WebSearch::V1_0::Models::Answer + RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer + SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode - WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer - ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase - ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + News = Azure::CognitiveServices::WebSearch::V1_0::Models::News + SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat - RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer - News = Azure::CognitiveServices::WebSearch::V1_0::Models::News + WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer + ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness - Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error - ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject end class WebSearchDataClass @@ -82,6 +82,9 @@ def method_missing(method, *args) end class ModelClasses + def image_object + Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject + end def places Azure::CognitiveServices::WebSearch::V1_0::Models::Places end @@ -115,8 +118,8 @@ def ranking_ranking_item def ranking_ranking_group Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup end - def query - Azure::CognitiveServices::WebSearch::V1_0::Models::Query + def ranking_ranking_response + Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse end def web_meta_tag Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag @@ -124,44 +127,44 @@ def web_meta_tag def web_web_grouping Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping end + def query + Azure::CognitiveServices::WebSearch::V1_0::Models::Query + end + def response_base + Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase + end def time_zone_time_zone_information Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation end + def identifiable + Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable + end def search_response Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse end def web_page Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage end - def identifiable - Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable - end - def answer - Azure::CognitiveServices::WebSearch::V1_0::Models::Answer - end - def thing - Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + def query_context + Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext end def creative_work Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork end - def ranking_ranking_response - Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse - end - def search_results_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer + def thing + Azure::CognitiveServices::WebSearch::V1_0::Models::Thing end def video_object Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject end - def computation - Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + def answer + Azure::CognitiveServices::WebSearch::V1_0::Models::Answer end - def query_context - Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext + 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 search_results_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer end def time_zone Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone @@ -169,14 +172,14 @@ def time_zone def error_sub_code Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode end - def web_web_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer + def computation + Azure::CognitiveServices::WebSearch::V1_0::Models::Computation end - def response_base - Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase + def news + Azure::CognitiveServices::WebSearch::V1_0::Models::News end - def error_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + def spell_suggestions + Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions end def error_response Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse @@ -187,11 +190,14 @@ def safe_search def text_format Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat end - def related_searches_related_search_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer + def web_web_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer end - def news - Azure::CognitiveServices::WebSearch::V1_0::Models::News + def error_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + end + def error + Azure::CognitiveServices::WebSearch::V1_0::Models::Error end def article Azure::CognitiveServices::WebSearch::V1_0::Models::Article @@ -199,12 +205,6 @@ def article def freshness Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness end - def error - Azure::CognitiveServices::WebSearch::V1_0::Models::Error - end - def image_object - Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject - 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 b9b7436448..9513abdb16 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,15 +7,15 @@ 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 + UsageOperations = Azure::Compute::Mgmt::V2016_03_30::UsageOperations VirtualMachineSizes = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineSizes VirtualMachineScaleSets = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSets VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSetVMs - UsageOperations = Azure::Compute::Mgmt::V2016_03_30::UsageOperations - AvailabilitySets = Azure::Compute::Mgmt::V2016_03_30::AvailabilitySets - VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensionImages - VirtualMachineExtensions = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensions module Models Sku = Azure::Compute::Mgmt::V2016_03_30::Models::Sku @@ -122,7 +122,7 @@ module Models end class ComputeManagementClass - attr_reader :virtual_machines, :virtual_machine_images, :virtual_machine_sizes, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :usage_operations, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :configurable, :base_url, :options, :model_classes + 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 def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -132,15 +132,15 @@ 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 + @usage_operations = @client_0.usage_operations @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 - @usage_operations = @client_0.usage_operations - @availability_sets = @client_0.availability_sets - @virtual_machine_extension_images = @client_0.virtual_machine_extension_images - @virtual_machine_extensions = @client_0.virtual_machine_extensions @model_classes = ModelClasses.new 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 da9b9dbfa1..57b4eb99eb 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 @@ -10,11 +10,11 @@ module Mgmt ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks module Models + Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties - Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter end class LinksManagementClass @@ -47,6 +47,9 @@ def method_missing(method, *args) end class ModelClasses + def filter + Azure::Links::Mgmt::V2016_09_01::Models::Filter + end def resource_link Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink end @@ -59,9 +62,6 @@ def resource_link_result def resource_link_properties Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties end - def filter - Azure::Links::Mgmt::V2016_09_01::Models::Filter - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb index 613649e774..9fd4849d18 100644 --- a/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb @@ -10,9 +10,9 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2015_01_01::ManagementLocks module Models - LockLevel = Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel ManagementLockListResult = Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockListResult ManagementLockObject = Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockObject + LockLevel = Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel end class LocksManagementClass @@ -45,15 +45,15 @@ def method_missing(method, *args) end class ModelClasses - def lock_level - Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel - end def management_lock_list_result Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockListResult end def management_lock_object Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockObject end + def lock_level + Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel + 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 e19abe6da8..58091c87bf 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,6 +7,9 @@ module Azure::Profiles::V2017_03_09 module Network module Mgmt + ExpressRouteCircuits = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuits + ExpressRouteServiceProviders = Azure::Network::Mgmt::V2015_06_15::ExpressRouteServiceProviders + LoadBalancers = Azure::Network::Mgmt::V2015_06_15::LoadBalancers NetworkInterfaces = Azure::Network::Mgmt::V2015_06_15::NetworkInterfaces NetworkSecurityGroups = Azure::Network::Mgmt::V2015_06_15::NetworkSecurityGroups SecurityRules = Azure::Network::Mgmt::V2015_06_15::SecurityRules @@ -22,9 +25,6 @@ module Mgmt ApplicationGateways = Azure::Network::Mgmt::V2015_06_15::ApplicationGateways ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitAuthorizations ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitPeerings - ExpressRouteCircuits = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuits - ExpressRouteServiceProviders = Azure::Network::Mgmt::V2015_06_15::ExpressRouteServiceProviders - LoadBalancers = Azure::Network::Mgmt::V2015_06_15::LoadBalancers module Models ExpressRouteCircuitsStatsListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsStatsListResult @@ -36,45 +36,45 @@ module Models ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress ConnectionResetSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey DnsNameAvailabilityResult = Azure::Network::Mgmt::V2015_06_15::Models::DnsNameAvailabilityResult + Resource = Azure::Network::Mgmt::V2015_06_15::Models::Resource NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroupListResult VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult - Resource = Azure::Network::Mgmt::V2015_06_15::Models::Resource AuthorizationListResult = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationListResult BgpSettings = Azure::Network::Mgmt::V2015_06_15::Models::BgpSettings - ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringConfig VpnClientConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration ExpressRouteCircuitStats = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitStats + VirtualNetworkListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult SecurityRuleListResult = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleListResult AddressSpace = Azure::Network::Mgmt::V2015_06_15::Models::AddressSpace ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringListResult UsagesListResult = Azure::Network::Mgmt::V2015_06_15::Models::UsagesListResult ExpressRouteCircuitSku = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku - VirtualNetworkListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitServiceProviderProperties + ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringConfig RouteTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteTableListResult NetworkInterfaceListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult - UsageName = Azure::Network::Mgmt::V2015_06_15::Models::UsageName - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable ConnectionSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey - ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable ConnectionSharedKeyResult = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult + ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult + UsageName = Azure::Network::Mgmt::V2015_06_15::Models::UsageName ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitRoutesTable PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsRoutesTableListResult DhcpOptions = Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions - Usage = Azure::Network::Mgmt::V2015_06_15::Models::Usage - ApplicationGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGatewayListResult - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult + ApplicationGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku LoadBalancerListResult = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancerListResult - VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult AzureAsyncOperationResult = Azure::Network::Mgmt::V2015_06_15::Models::AzureAsyncOperationResult - RouteListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult + Usage = Azure::Network::Mgmt::V2015_06_15::Models::Usage SubnetListResult = Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult - ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult - VpnClientParameters = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters - ErrorDetails = Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails + RouteListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult + VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration + ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort BackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::BackendAddressPool InboundNatRule = Azure::Network::Mgmt::V2015_06_15::Models::InboundNatRule @@ -109,15 +109,15 @@ module Models 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 - ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration - LocalNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway VirtualNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway - ApplicationGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName + LocalNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection - IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName ApplicationGatewayTier = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult + VpnClientParameters = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters + ErrorDetails = Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails + IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod TransportProtocol = Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol SecurityRuleProtocol = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol SecurityRuleAccess = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleAccess @@ -136,10 +136,10 @@ module Models ServiceProviderProvisioningState = Azure::Network::Mgmt::V2015_06_15::Models::ServiceProviderProvisioningState LoadDistribution = Azure::Network::Mgmt::V2015_06_15::Models::LoadDistribution ProbeProtocol = Azure::Network::Mgmt::V2015_06_15::Models::ProbeProtocol - NetworkOperationStatus = Azure::Network::Mgmt::V2015_06_15::Models::NetworkOperationStatus + Error = Azure::Network::Mgmt::V2015_06_15::Models::Error VirtualNetworkGatewayType = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayType VpnType = Azure::Network::Mgmt::V2015_06_15::Models::VpnType - Error = Azure::Network::Mgmt::V2015_06_15::Models::Error + NetworkOperationStatus = Azure::Network::Mgmt::V2015_06_15::Models::NetworkOperationStatus VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuTier ProcessorArchitecture = Azure::Network::Mgmt::V2015_06_15::Models::ProcessorArchitecture VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuName @@ -148,7 +148,7 @@ module Models end class NetworkManagementClass - attr_reader :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :configurable, :base_url, :options, :model_classes + attr_reader :express_route_circuits, :express_route_service_providers, :load_balancers, :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -158,6 +158,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @express_route_circuits = @client_0.express_route_circuits + @express_route_service_providers = @client_0.express_route_service_providers + @load_balancers = @client_0.load_balancers @network_interfaces = @client_0.network_interfaces @network_security_groups = @client_0.network_security_groups @security_rules = @client_0.security_rules @@ -173,9 +176,6 @@ def initialize(configurable, base_url=nil, options=nil) @application_gateways = @client_0.application_gateways @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations @express_route_circuit_peerings = @client_0.express_route_circuit_peerings - @express_route_circuits = @client_0.express_route_circuits - @express_route_service_providers = @client_0.express_route_service_providers - @load_balancers = @client_0.load_balancers @model_classes = ModelClasses.new end @@ -221,6 +221,9 @@ def connection_reset_shared_key def dns_name_availability_result Azure::Network::Mgmt::V2015_06_15::Models::DnsNameAvailabilityResult end + def resource + Azure::Network::Mgmt::V2015_06_15::Models::Resource + end def network_interface_dns_settings Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings end @@ -230,24 +233,21 @@ def network_security_group_list_result def virtual_network_gateway_list_result Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult end - def resource - Azure::Network::Mgmt::V2015_06_15::Models::Resource - end def authorization_list_result Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationListResult end def bgp_settings Azure::Network::Mgmt::V2015_06_15::Models::BgpSettings end - def express_route_circuit_peering_config - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringConfig - end def vpn_client_configuration Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration end def express_route_circuit_stats Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitStats end + def virtual_network_list_result + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult + end def security_rule_list_result Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleListResult end @@ -263,32 +263,32 @@ def usages_list_result def express_route_circuit_sku Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku end - def virtual_network_list_result - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult - end def express_route_circuit_service_provider_properties Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitServiceProviderProperties end + def express_route_circuit_peering_config + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringConfig + end def route_table_list_result Azure::Network::Mgmt::V2015_06_15::Models::RouteTableListResult end def network_interface_list_result Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult end - def usage_name - Azure::Network::Mgmt::V2015_06_15::Models::UsageName + def connection_shared_key + Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey end def express_route_circuit_arp_table Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable end - def connection_shared_key - Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey + def connection_shared_key_result + Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult end def express_route_circuits_arp_table_list_result Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult end - def connection_shared_key_result - Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult + def usage_name + Azure::Network::Mgmt::V2015_06_15::Models::UsageName end def express_route_circuit_routes_table Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitRoutesTable @@ -302,41 +302,41 @@ def express_route_circuits_routes_table_list_result def dhcp_options Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions end - def usage - Azure::Network::Mgmt::V2015_06_15::Models::Usage - end - def application_gateway_sku - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku - end def local_network_gateway_list_result Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGatewayListResult end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult + def application_gateway_sku + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku end def load_balancer_list_result Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancerListResult end - def virtual_network_gateway_sku - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult end def azure_async_operation_result Azure::Network::Mgmt::V2015_06_15::Models::AzureAsyncOperationResult end - def route_list_result - Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult + def usage + Azure::Network::Mgmt::V2015_06_15::Models::Usage end def subnet_list_result Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult + def route_list_result + Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult end - def vpn_client_parameters - Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters + def virtual_network_gateway_sku + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku end - def error_details - Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration + end + def application_gateway_ssl_certificate + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate + end + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration end def application_gateway_frontend_port Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort @@ -440,32 +440,32 @@ def vpn_client_root_certificate def vpn_client_revoked_certificate Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRevokedCertificate end - def application_gateway_ssl_certificate - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate - end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration - end - def local_network_gateway - Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway - end def virtual_network_gateway Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway end - def application_gateway_sku_name - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName + def local_network_gateway + Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway end def virtual_network_gateway_connection Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection end - def ipallocation_method - Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod + def application_gateway_sku_name + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName end def application_gateway_tier Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult + end + def vpn_client_parameters + Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters + end + def error_details + Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails + end + def ipallocation_method + Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod end def transport_protocol Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol @@ -521,8 +521,8 @@ def load_distribution def probe_protocol Azure::Network::Mgmt::V2015_06_15::Models::ProbeProtocol end - def network_operation_status - Azure::Network::Mgmt::V2015_06_15::Models::NetworkOperationStatus + def error + Azure::Network::Mgmt::V2015_06_15::Models::Error end def virtual_network_gateway_type Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayType @@ -530,8 +530,8 @@ def virtual_network_gateway_type def vpn_type Azure::Network::Mgmt::V2015_06_15::Models::VpnType end - def error - Azure::Network::Mgmt::V2015_06_15::Models::Error + def network_operation_status + Azure::Network::Mgmt::V2015_06_15::Models::NetworkOperationStatus end def virtual_network_gateway_sku_tier Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuTier 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 95235e7d32..ebfc132f43 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 @@ -7,12 +7,12 @@ module Azure::Profiles::V2017_03_09 module Resources module Mgmt - Tags = Azure::Resources::Mgmt::V2016_02_01::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations - Resources = Azure::Resources::Mgmt::V2016_02_01::Resources Deployments = Azure::Resources::Mgmt::V2016_02_01::Deployments 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 module Models Plan = Azure::Resources::Mgmt::V2016_02_01::Models::Plan @@ -37,10 +37,10 @@ module Models DeploymentListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult TagValue = Azure::Resources::Mgmt::V2016_02_01::Models::TagValue TagDetails = Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails + Sku = Azure::Resources::Mgmt::V2016_02_01::Models::Sku ParametersLink = Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink TagsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult DeploymentExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult - Sku = Azure::Resources::Mgmt::V2016_02_01::Models::Sku TargetResource = Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource ProviderResourceType = Azure::Resources::Mgmt::V2016_02_01::Models::ProviderResourceType HttpMessage = Azure::Resources::Mgmt::V2016_02_01::Models::HttpMessage @@ -53,9 +53,9 @@ module Models BasicDependency = Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties GenericResourceFilter = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter - DeploymentExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended - AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType Resource = Azure::Resources::Mgmt::V2016_02_01::Models::Resource + AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType + DeploymentExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended GenericResource = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource ResourceGroupExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult DeploymentMode = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode @@ -64,7 +64,7 @@ module Models end class ResourcesManagementClass - attr_reader :tags, :deployment_operations, :resources, :deployments, :providers, :resource_groups, :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 @@ -74,12 +74,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations - @resources = @client_0.resources @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 @model_classes = ModelClasses.new end @@ -164,6 +164,9 @@ def tag_value def tag_details Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails end + def sku + Azure::Resources::Mgmt::V2016_02_01::Models::Sku + end def parameters_link Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink end @@ -173,9 +176,6 @@ def tags_list_result def deployment_export_result Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult end - def sku - Azure::Resources::Mgmt::V2016_02_01::Models::Sku - end def target_resource Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource end @@ -212,14 +212,14 @@ def resource_provider_operation_display_properties def generic_resource_filter Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter end - def deployment_extended - Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended + def resource + Azure::Resources::Mgmt::V2016_02_01::Models::Resource end def alias_path_type Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType end - def resource - Azure::Resources::Mgmt::V2016_02_01::Models::Resource + def deployment_extended + Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended end def generic_resource Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource 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 adb01282d7..20d2afb5da 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 @@ -11,13 +11,13 @@ module Mgmt Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models + Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult SubscriptionPolicies = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies - Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit end @@ -53,6 +53,9 @@ def method_missing(method, *args) end class ModelClasses + def location + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location + end def subscription Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription end @@ -71,9 +74,6 @@ def tenant_list_result def subscription_policies Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies end - def location - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location - end def subscription_state Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState end From 7eaa5af54a30ddb435c5db73850f62626c7f814b Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 24 Oct 2018 15:38:00 -0700 Subject: [PATCH 22/22] Generated from 5baf0aca3fb1797d51b48a10b91cd3ac73ed0cdc (#1805) ACS multiapi for Python --- azure_sdk/lib/azure_sdk.rb | 2 +- .../lib/azure_mgmt_container_service.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/azure_sdk/lib/azure_sdk.rb b/azure_sdk/lib/azure_sdk.rb index 3d3eabaa94..4de13c3d8b 100644 --- a/azure_sdk/lib/azure_sdk.rb +++ b/azure_sdk/lib/azure_sdk.rb @@ -2,5 +2,5 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require 'v2017_03_09/v2017_03_09_profile_client' require 'latest/latest_profile_client' +require 'v2017_03_09/v2017_03_09_profile_client' diff --git a/management/azure_mgmt_container_service/lib/azure_mgmt_container_service.rb b/management/azure_mgmt_container_service/lib/azure_mgmt_container_service.rb index f6d477bf92..29069d02b5 100644 --- a/management/azure_mgmt_container_service/lib/azure_mgmt_container_service.rb +++ b/management/azure_mgmt_container_service/lib/azure_mgmt_container_service.rb @@ -2,7 +2,7 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require '2016-03-30/generated/azure_mgmt_container_service' require '2016-09-30/generated/azure_mgmt_container_service' require '2017-01-31/generated/azure_mgmt_container_service' +require '2016-03-30/generated/azure_mgmt_container_service' require 'profiles/latest/containerservice_latest_profile_client'